[PATCH] drm: don't link DP aux i2c adapter to the hardware device node

Thierry Reding thierry.reding at gmail.com
Mon Jan 23 16:33:47 UTC 2017


On Fri, Jan 13, 2017 at 06:36:30PM +0100, Lucas Stach wrote:
> The i2c adapter on DP AUX is purely a software construct. Linking
> it to the device node of the parent device is wrong, as it leads to
> 2 devices sharing the same device node, which is bad practice, as

Who says that two devices can't share the same device node? It's done
all the time.

> well as the i2c trying to populate children of the i2c adapter by
> looking at the child device nodes of the parent device.

A set of patches landed in v4.9 to work around this issue in a better
way. See:

	98b00488459e dt-bindings: i2c: Add support for 'i2c-bus' subnode
	7e4c224abfe8 i2c: core: Add support for 'i2c-bus' subnode

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170123/cd3ec114/attachment.sig>


More information about the dri-devel mailing list