Re: [PATCH 0/5] arm64: dts: renesas: move I2C aliases to board files

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

 



Hi Geert,

> I have never been a fan of the i2c aliases in the SoC-specific .dtsi files,
> as aliases are typically board-specific.
> We also don't have physical connectors labeled "i2c<N>" on any of
> the affected boards.  But people like the i2c aliases, because i2c

The reasoning here was that the busses were named like this in the
schematics. Debugging was confusing if these numbers were mixed.

> exposes the full buses to userspace, and the aliases fix the userspace
> naming of /dev/i2c-<N> (I believe there is no better way to identify
> i2c buses from userspace?).

The proper way is udev rules.

> So moving the i2c aliases to the board files is definitely a step in
> the good direction.
> 
> BTW, you missed r8a774a1.dtsi in your update.

Okay, so I will send v2 with the above SoC converted as well?

Thanks for your comments,

   Wolfram

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux