diff options
author | Jamie Iles <quic_jiles@quicinc.com> | 2022-01-17 18:48:16 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-03-04 11:39:03 +0100 |
commit | 72a4501b5d089772671360a6ec74d5350acf8c2e (patch) | |
tree | 27d46f0684f4395baccaf347ac74234ce4fd6453 /samples/landlock | |
parent | i3c: remove i2c board info from i2c_dev_desc (diff) | |
download | linux-72a4501b5d089772671360a6ec74d5350acf8c2e.tar.xz linux-72a4501b5d089772671360a6ec74d5350acf8c2e.zip |
i3c: support dynamically added i2c devices
I2C devices can be added to the system dynamically through several
sources other than static board info including device tree overlays and
sysfs i2c new_device.
Add an I2C bus notifier to attach the clients at runtime if they were
not defined in the board info. For DT devices find the LVR in the reg
property, for user-space new_device additions we synthesize a
conservative setting of no spike filters and fast mode only.
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Jamie Iles <quic_jiles@quicinc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220117174816.1963463-3-quic_jiles@quicinc.com
Diffstat (limited to 'samples/landlock')
0 files changed, 0 insertions, 0 deletions