[OpenWrt-Devel] [PATCH] mvebu: add kmod-i2c-mux-pca954x for Turris Omnia

Hauke Mehrtens hauke at hauke-m.de
Fri May 3 14:06:49 PDT 2019


On 5/3/19 2:44 PM, Petr Štetiar wrote:
> Josef Schlehofer <josef.schlehofer at nic.cz> [2019-04-20 01:05:05]:
> 
> Hi,
> 
>> The driver is for the I2C mux.
>> Schematic available at https://doc.turris.cz/doc/_media/rtrom01-schema.pdf
>>
>> Signed-off-by: Josef Schlehofer <josef.schlehofer at nic.cz>
>> ---
>>  target/linux/mvebu/image/cortex-a9.mk | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/target/linux/mvebu/image/cortex-a9.mk b/target/linux/mvebu/image/cortex-a9.mk
>> index 66cf54f9c5..f6d63fa786 100644
>> --- a/target/linux/mvebu/image/cortex-a9.mk
>> +++ b/target/linux/mvebu/image/cortex-a9.mk
>> @@ -163,7 +163,7 @@ define Device/turris-omnia
>>    DEVICE_PACKAGES :=  \
>>      mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
>>      wpad-basic kmod-ath9k kmod-ath10k-ct ath10k-firmware-qca988x-ct \
>> -    partx-utils
>> +    partx-utils kmod-i2c-core kmod-i2c-mux kmod-i2c-mux-pca954x
> 
> is there any reason for adding explicit kmod-i2c-core and kmod-i2c-mux
> dependencies?

Without giving all these options it is not possible to select
kmod-i2c-mux-pca954x.

kmod-i2c-mux is only shown in the menu if kmod-i2c-core is selected and
kmod-i2c-mux-pca954x is only shown if kmod-i2c-mux is selected, you have
to select all 3.

Hauke



More information about the openwrt-devel mailing list