[PATCH 2/4] ARM: dts: uniphier: delete i2c aliases

Arnd Bergmann arnd at arndb.de
Fri Oct 23 13:16:29 PDT 2015

On Wednesday 21 October 2015 20:36:28 Masahiro Yamada wrote:
> The user space should not expect that a particular I2C channel is
> always visible through the same character device.
> No reason to fix the I2C indexes with aliases.
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

As I said in my reply to the earlier mail, I didn't really like the
idea of having holes in the numbering for the i2c controllers, but
this new approach also doesn't look ideal.

We should have stable bus numbers on any given board, and the aliases
work well for that. I just don't think the aliases need to be stable
between different boards just because they are based on the same

I'd suggest staying with the current slightly awkward approach though,
to avoid regressions. Please send a follow-up patch to add the same
aliases on the new boards and drop this patch, unless someone else
can come up with a better idea.


More information about the linux-arm-kernel mailing list