Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/i2c
> On Jan 14, 2026, at 10:25 PM, Nick Hudson <skrll%netbsd.org@localhost> wrote:
>
> Module Name: src
> Committed By: skrll
> Date: Thu Jan 15 06:25:45 UTC 2026
>
> Modified Files:
> src/sys/dev/i2c: i2c.c
>
> Log Message:
> Do the same workaround for i2c as was done for spi...
>
> XXX XXX Big, fat, ugly workaround for an unfortunate senario triggered
> XXX XXX by the CI20 kernel where there isn't a SoC I2C controller driver
> XXX XXX that carries the fdt_i2c config attribute
+ * XXX As it happens we can fairly safely elide this call
+ * XXX because, at the moment (15 Jan 2026), there are no
+ * XXX consumers of the registration it performs. However,
+ * XXX this points to a larger problem if needed a way to
+ * XXX resolve these situations at runtime with some sort
+ * XXX of "platform" abstraction rather than at kernel build
+ * XXX time.
This statement isn’t true for I2C. At least a few HDMI drivers use it the I2C controller registration.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index