introduce fwnode in the I2C subsystem
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | property: add fwnode_property_read_string_index()drivers/ include/ | +51 | 6 replies | |
| 1/6 | property: add fwnode_property_read_string_index()drivers/ include/ | +51 | 0 replies | |
| 2/6 | i2c: fwnode: add fwnode_find_i2c_adapter_by_node()drivers/ drivers/ include/ | +44 | 2 replies | |
| 2/6 | i2c: fwnode: add fwnode_find_i2c_adapter_by_node()drivers/ drivers/ include/ | +44 | 0 replies | |
| 3/6 | i2c: of: use fwnode_get_i2c_adapter_by_node()drivers/ include/ | +4 | 0 replies | |
| 3/6 | i2c: of: use fwnode_get_i2c_adapter_by_node()drivers/ include/ | +4 | 0 replies | |
| 4/6 | i2c: mux: pinctrl: remove CONFIG_OF dependency and use fwnode APIdrivers/ drivers/ | +11 | 3 replies | |
| 4/6 | i2c: mux: pinctrl: remove CONFIG_OF dependency and use fwnode APIdrivers/ drivers/ | +11 | 0 replies | |
| 5/6 | i2c: mux: add support for fwnodedrivers/ | +18 | 0 replies | |
| 5/6 | i2c: mux: add support for fwnodedrivers/ | +18 | 0 replies | |
| 6/6 | net: sfp: add support for fwnodedrivers/ | +14 | 2 replies | |
| 6/6 | net: sfp: add support for fwnodedrivers/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] introduce fwnode in the I2C subsystem
In order to allow the I2C subsystem to be usable with fwnode, add some functions to retrieve an i2c_adapter from a fwnode and use these functions in both i2c mux and sfp. ACPI and device-tree are handled to allow these modifications to work with both descriptions.
This series is a subset of the one that was first submitted as a larger series to add swnode support [1]. In this one, it will be focused on fwnode support only since it seems to have reach a consensus that adding fwnode to subsystems makes sense.
[1] https://lore.kernel.org/netdev/[email protected]/T/
Clément Léger (6):
property: add fwnode_property_read_string_index()
i2c: fwnode: add fwnode_find_i2c_adapter_by_node()
i2c: of: use fwnode_get_i2c_adapter_by_node()
i2c: mux: pinctrl: remove CONFIG_OF dependency and use fwnode API
i2c: mux: add support for fwnode
net: sfp: add support for fwnode
drivers/base/property.c | 48 +++++++++++++++++++++++++++++ drivers/i2c/Makefile | 1 + drivers/i2c/i2c-core-fwnode.c | 41 ++++++++++++++++++++++++ drivers/i2c/i2c-core-of.c | 30 ------------------ drivers/i2c/i2c-mux.c | 39 +++++++++++------------ drivers/i2c/muxes/Kconfig | 1 - drivers/i2c/muxes/i2c-mux-pinctrl.c | 21 +++++++------ drivers/net/phy/sfp.c | 46 +++++++++------------------ include/linux/i2c.h | 7 ++++- include/linux/property.h | 3 ++ 10 files changed, 142 insertions(+), 95 deletions(-) create mode 100644 drivers/i2c/i2c-core-fwnode.c
Signature · 1 line
2.34.1