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]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux