Re: [PATCH v3 2/2] i2c: mux: create "channel-n" symlinks for child segments in the mux device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I know this has already been applied but I wanted to comment that on
embedded systems this patch increases the probe time of mux devices.
Otherwise the patch works and provides much needed parent device
information without breaking the api.

On Tue, Nov 18, 2014 at 7:12 AM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
> On Thu, Nov 13, 2014 at 02:39:56PM +0100, Wolfram Sang wrote:
>> From: Gerlando Falauto <gerlando.falauto@xxxxxxxxxxx>
>>
>> This makes the topology clearer. For instance, by adding a pca9547
>> device with address 0x70 to bus i2c-0, you get:
>>
>> /sys/class/i2c-dev/i2c-0/device/0-0070/channel-0 -> i2c-1
>> ...
>> /sys/class/i2c-dev/i2c-0/device/0-0070/channel-7 -> i2c-8
>>
>> Signed-off-by: Gerlando Falauto <gerlando.falauto@xxxxxxxxxxx>
>> [wsa: simplified sysfs-usage and fixed format string usage]
>> Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
>> Cc: Jean Delvare <jdelvare@xxxxxxx>
>> Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
>> Cc: Martin Belanger <martin.belanger@xxxxxxxxxxx>
>> Cc: Rodolfo Giometti <giometti@xxxxxxxxxxxx>
>> Cc: Michael Lawnick <ml.lawnick@xxxxxx>
>> Cc: Jeroen De Wachter <jeroen.de.wachter@xxxxxxxxxx>
>
> Applied to for-next, thanks!
>



-- 
- Danielle Costantino
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux