* Re: [PATCH] i2c-dev: Introduce "linux,i2c-dev-name" property for device tree of I2C controller.
[not found] <20240519165504.19627-1-egyszeregy@freemail.hu>
@ 2024-05-29 10:28 ` Wolfram Sang
2024-05-29 16:10 ` Conor Dooley
0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2024-05-29 10:28 UTC (permalink / raw)
To: egyszeregy, devicetree; +Cc: linux-i2c, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
> Optionally, an I2C controller may have a "linux,i2c-dev-name" property.
> This is a string which is defining a custom suffix name for I2C device
> in /dev/i2c-<name> format. It helps to improve software portability between
> various SoCs and reduce complexities of hardware related codes in SWs.
(I thought I already replied to this?)
Highly similar to [1] from 2021. I don't have a super clear opinion
about this, so I'd need help from the DT maintainers. But the discussion
from back then stalled.
[1] http://patchwork.ozlabs.org/project/linux-i2c/list/?series=237908
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c-dev: Introduce "linux,i2c-dev-name" property for device tree of I2C controller.
2024-05-29 10:28 ` [PATCH] i2c-dev: Introduce "linux,i2c-dev-name" property for device tree of I2C controller Wolfram Sang
@ 2024-05-29 16:10 ` Conor Dooley
0 siblings, 0 replies; 2+ messages in thread
From: Conor Dooley @ 2024-05-29 16:10 UTC (permalink / raw)
To: Wolfram Sang, egyszeregy, devicetree, linux-i2c, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]
On Wed, May 29, 2024 at 12:28:03PM +0200, Wolfram Sang wrote:
>
> > Optionally, an I2C controller may have a "linux,i2c-dev-name" property.
> > This is a string which is defining a custom suffix name for I2C device
> > in /dev/i2c-<name> format. It helps to improve software portability between
> > various SoCs and reduce complexities of hardware related codes in SWs.
>
> (I thought I already replied to this?)
>
> Highly similar to [1] from 2021. I don't have a super clear opinion
> about this, so I'd need help from the DT maintainers. But the discussion
> from back then stalled.
>
> [1] http://patchwork.ozlabs.org/project/linux-i2c/list/?series=237908
This patch (or one very similar) got sent to the SPI and GPIO subsystems
too. The response was effectively "use udev":
https://lore.kernel.org/all/20240519144920.14804-1-egyszeregy@freemail.hu/
https://lore.kernel.org/all/20240519211346.30323-1-egyszeregy@freemail.hu/
This definitely is in "devicetree properties are not for software-policy"
territory to me, maybe Rob's changed his mind since 2021.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-29 16:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240519165504.19627-1-egyszeregy@freemail.hu>
2024-05-29 10:28 ` [PATCH] i2c-dev: Introduce "linux,i2c-dev-name" property for device tree of I2C controller Wolfram Sang
2024-05-29 16:10 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).