i2c: add GPIO buses sharing one SCL line
Subsystems (2)
cover i2c: add GPIO buses sharing one SCL line
Some Realtek RTL930x switches bit-bang several I2C buses on SoC GPIOs with a single SCL line and one SDA line per bus. The MokerLink POE-10G07110GSM, for example, has its fan controller, its PoE controllers and its SFP+ cage on SDA GPIOs 9, 10 and 11, all clocked by GPIO 8. i2c-gpio cannot describe this: every bus would request the same SCL GPIO.
This series adds a binding and a small driver that requests SCL once and registers one i2c-algo-bit adapter per SDA line, serializing the transfers so that only one bus clocks SCL at a time.
The SoC's own I2C master (i2c-rtl9300) is wired to the same pins, but it moves at most 16 bytes per transfer, and the PoE controllers on this board only accept their 25 KiB firmware as one continuous write: sent in 16-byte writes, they NAK the second one. Tested on the MokerLink POE-10G07110GSM.
Ross Cawston (2):
dt-bindings: i2c: add GPIO buses sharing one SCL line
i2c: add driver for GPIO buses sharing one SCL line
.../bindings/i2c/i2c-gpio-shared-scl.yaml | 94 +++++++ MAINTAINERS | 7 + drivers/i2c/busses/Kconfig | 12 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-gpio-shared-scl.c | 229 ++++++++++++++++++ 5 files changed, 343 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-gpio-shared-scl.yaml create mode 100644 drivers/i2c/busses/i2c-gpio-shared-scl.c
Signature · 1 line
2.55.0.windows.5
PATCH 1/2 dt-bindings: i2c: add GPIO buses sharing one SCL line
Add a binding for several bit-banged I2C buses that share one SCL GPIO and have one SDA GPIO each, as on some Realtek RTL930x switches. Each child node is a bus with its own SDA line; the parent holds the shared SCL line and the i2c-gpio style timing properties.
--- .../bindings/i2c/i2c-gpio-shared-scl.yaml | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-gpio-shared-scl.yaml
Documentation/devicetree/bindings/i2c/i2c-gpio-shared-scl.yaml new file +94 -0
@@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/i2c-gpio-shared-scl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bit-banged I2C buses sharing one SCL line + +maintainers: + - Ross Cawston <[email protected]> + +description: | + Several I2C buses bit-banged on GPIOs, with one SCL line common to all of + them and one SDA line per bus. Each child node is a separate I2C bus. + Transfers are serialized, so only one bus clocks SCL at a time. + +properties: + compatible: + const: i2c-gpio-shared-scl + + scl-gpios: + description: The shared SCL line, usually open drain. + maxItems: 1 + + i2c-gpio,delay-us: + description: Half the clock period in microseconds, as for i2c-gpio. + default: 5 + + i2c-gpio,timeout-ms: + description: Clock stretching timeout in milliseconds, as for i2c-gpio. + default: 100 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^i2c@[0-9a-f]+$": + $ref: /schemas/i2c/i2c-controller.yaml# + unevaluatedProperties: false + + properties: + reg: + description: Index of the bus, for naming only. + maxItems: 1 + + sda-gpios: + description: The SDA line of this bus, usually open drain. + maxItems: 1 + + required: + - reg + - sda-gpios + +required: + - compatible + - scl-gpios + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + i2c-gpio-shared { + compatible = "i2c-gpio-shared-scl"; + scl-gpios = <&gpio0 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + i2c-gpio,delay-us = <5>; + #address-cells = <1>; + #size-cells = <0>; + + i2c@0 { + reg = <0>; + sda-gpios = <&gpio0 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + #address-cells = <1>; + #size-cells = <0>; + + fan-controller@2e { + compatible = "adi,adt7476"; + reg = <0x2e>; + }; + }; + + i2c@1 { + reg = <1>; + sda-gpios = <&gpio0 10 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + #address-cells = <1>; + #size-cells = <0>; + }; + };
Signature · 1 line
2.55.0.windows.5
[email protected]
AI reviewRe: [PATCH 1/2] dt-bindings: i2c: add GPIO buses sharing one SCL line
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] dt-bindings: i2c: redundant i2c-gpio-shared-scl binding duplicates i2c-gpio --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: i2c: redundant i2c-gpio-shared-scl binding duplicates i2c-gpio --
commit ee80c5111c8336e97eace1faedb4188f4c454089
Author: Ross Cawston <[email protected]>
dt-bindings: i2c: add GPIO buses sharing one SCL line
This commit adds a Device Tree binding for bit-banged I2C buses that share a single SCL GPIO line across child bus nodes, each with its own SDA GPIO line.
Quoted 51 lines
Documentation/devicetree/bindings/i2c/i2c-gpio-shared-scl.yaml new file +45
-0@@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/i2c-gpio-shared-scl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bit-banged I2C buses sharing one SCL line + +maintainers: + - Ross Cawston <[email protected]> + +description: | + Several I2C buses bit-banged on GPIOs, with one SCL line common to all of + them and one SDA line per bus. Each child node is a separate I2C bus. + Transfers are serialized, so only one bus clocks SCL at a time. + +properties: + compatible: + const: i2c-gpio-shared-scl + + scl-gpios: + description: The shared SCL line, usually open drain. + maxItems: 1 + + i2c-gpio,delay-us: + description: Half the clock period in microseconds, as for i2c-gpio. + default: 5 + + i2c-gpio,timeout-ms: + description: Clock stretching timeout in milliseconds, as for i2c-gpio. + default: 100 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^i2c@[0-9a-f]+$": + $ref: /schemas/i2c/i2c-controller.yaml# + unevaluatedProperties: false + + properties: + reg:
Documentation/devicetree/bindings/i2c/i2c-gpio-shared-scl.yaml line 55
Quoted 10 lines
Documentation/devicetree/bindings/i2c/i2c-gpio-shared-scl.yaml new file +10
-0+ description: Index of the bus, for naming only. + maxItems: 1 + + sda-gpios: + description: The SDA line of this bus, usually open drain. + maxItems: 1 + + required: + - reg + - sda-gpios
[Severity: Medium]
Is a separate i2c-gpio-shared-scl binding needed here? The existing i2c-gpio binding in Documentation/devicetree/bindings/i2c/i2c-gpio.yaml and the driver in drivers/i2c/busses/i2c-gpio.c already support multiple buses sharing a single SCL GPIO line (added in commit 645c3d7d07fa ("i2c:
i2c-gpio: Enhance driver for buses with shared SCL") for Realtek switches).
In drivers/i2c/busses/i2c-gpio.c, i2c_gpio_create_scl() and i2c_gpio_lookup_scl() match the scl-gpios phandle and specifier cells across standard i2c-gpio nodes:
drivers/i2c/busses/i2c-gpio.c:i2c_gpio_create_scl() {
if (fwnode) {
ret = fwnode_property_get_reference_args(fwnode, "scl-gpios",
"#gpio-cells", 0, 0, &args);
if (ret)
/* try the ancient way */
ret = fwnode_property_get_reference_args(fwnode, "gpios",
"#gpio-cells", 0, 1, &args);
if (!ret) {
if (args.nargs >= 1)
sharable = true;
else
fwnode_handle_put(args.fwnode);
}
}
}That existing mechanism refcounts the shared struct gpio_desc and serializes transfers across all adapters sharing the SCL line via i2c_gpio_lock_ops and scl->lock, while preserving standard per-bus i2c-gpio properties (such as per-bus i2c-gpio,delay-us, i2c-gpio,timeout-ms, i2c-gpio,sda-output-only, and i2c-gpio,scl-output-only).
Also, defining a virtual parent container node and child reg properties described as "Index of the bus, for naming only" runs counter to Documentation/devicetree/bindings/writing-bindings.rst regarding driver-only container nodes and arbitrary software instance indices. Could standard i2c-gpio nodes referencing the same scl-gpios phandle be used instead?
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
PATCH 2/2 i2c: add driver for GPIO buses sharing one SCL line
In reply to Ross CawstonSome boards bit-bang several I2C buses on GPIOs with one common SCL line and one SDA line per bus. The MokerLink POE-10G07110GSM, an RTL9303 PoE switch, clocks its fan controller, its two PoE controllers and its SFP+ cage this way. i2c-gpio cannot be used, as each instance would request the shared SCL GPIO.
Request SCL once and register one i2c-algo-bit adapter per SDA child node. A mutex taken in pre_xfer and released in post_xfer serializes the transfers across the buses, so only one bus clocks SCL at a time and the idle SDA lines see clock pulses only without a START.
--- MAINTAINERS | 7 + drivers/i2c/busses/Kconfig | 12 ++ drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-gpio-shared-scl.c | 229 +++++++++++++++++++++++ 4 files changed, 249 insertions(+) create mode 100644 drivers/i2c/busses/i2c-gpio-shared-scl.c
MAINTAINERS +7 -0
@@ -12250,6 +12250,13 @@ S: Maintained F: Documentation/i2c/busses/i2c-nvidia-gpu.rst F: drivers/i2c/busses/i2c-nvidia-gpu.c +I2C GPIO BUSES SHARING SCL DRIVER +M: Ross Cawston <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/devicetree/bindings/i2c/i2c-gpio-shared-scl.yaml +F: drivers/i2c/busses/i2c-gpio-shared-scl.c + I2C MUXES M: Peter Rosin <[email protected]> L: [email protected]
drivers/i2c/busses/Kconfig +12 -0
@@ -691,6 +691,18 @@ config I2C_GPIO This is a very simple bitbanging I2C driver utilizing the arch-neutral GPIO API to control the SCL and SDA lines. +config I2C_GPIO_SHARED_SCL + tristate "GPIO-based bitbanging I2C buses sharing one SCL line" + depends on GPIOLIB || COMPILE_TEST + select I2C_ALGOBIT + help + Several bitbanged I2C buses with one common SCL GPIO and one SDA + GPIO per bus, as found on some Realtek RTL930x switches. Each + SDA line becomes its own I2C adapter; transfers are serialized. + + This driver can also be built as a module. If so, the module + will be called i2c-gpio-shared-scl. + config I2C_GPIO_FAULT_INJECTOR bool "GPIO-based fault injector" depends on I2C_GPIO
drivers/i2c/busses/Makefile +1 -0
@@ -66,6 +66,7 @@ obj-$(CONFIG_I2C_EG20T) += i2c-eg20t.o obj-$(CONFIG_I2C_EMEV2) += i2c-emev2.o obj-$(CONFIG_I2C_EXYNOS5) += i2c-exynos5.o obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o +obj-$(CONFIG_I2C_GPIO_SHARED_SCL) += i2c-gpio-shared-scl.o obj-$(CONFIG_I2C_HIGHLANDER) += i2c-highlander.o obj-$(CONFIG_I2C_HISI) += i2c-hisi.o obj-$(CONFIG_I2C_HIX5HD2) += i2c-hix5hd2.o
drivers/i2c/busses/i2c-gpio-shared-scl.c new file +229 -0
229 lines not on this page · raw message
Signature · 1 line
2.55.0.windows.5
[email protected]
AI reviewRe: [PATCH 2/2] i2c: add driver for GPIO buses sharing one SCL line
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider: - [High] i2c: i2c-gpio-shared-scl: sleeping mutex in pre_xfer() breaks atomic xfer - [Medium] i2c…
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] i2c: i2c-gpio-shared-scl: sleeping mutex in pre_xfer() breaks atomic xfer
- [Medium] i2c: i2c-gpio-shared-scl: buses registered before all SDA GPIOs driven high
- [Medium] i2c: i2c-gpio-shared-scl: duplicates shared-SCL support in i2c-gpio --
commit 79f8386f6a7c7a3c6b945869078cb1a7bbcc4a64
Author: Ross Cawston <[email protected]>
i2c: add driver for GPIO buses sharing one SCL line
This commit adds a driver for GPIO-bitbanged I2C buses that share a single SCL GPIO line across multiple SDA child nodes, serializing transfers with a mutex in pre_xfer and post_xfer.
Quoted 22 lines
i2c: add driver for GPIO buses sharing one SCL line
Some boards bit-bang several I2C buses on GPIOs with one common SCL line and one SDA line per bus. The MokerLink POE-10G07110GSM, an RTL9303 PoE switch, clocks its fan controller, its two PoE controllers and its SFP+ cage this way. i2c-gpio cannot be used, as each instance would request the shared SCL GPIO.
Request SCL once and register one i2c-algo-bit adapter per SDA child node. A mutex taken in
pre_xferand released inpost_xferserializes the transfers across the buses, so only one bus clocks SCL at a time and the idle SDA lines see clock pulses only without a START.Signed-off-by Ross Cawston <[email protected]>drivers/i2c/busses/i2c-gpio-shared-scl.c new file +1
-0@@ -0,0 +1,229 @@ +// SPDX-License-Identifier: GPL-2.0-or-later
drivers/i2c/busses/i2c-gpio-shared-scl.c line 11
Quoted 10 lines
drivers/i2c/busses/i2c-gpio-shared-scl.c new file +10
-0+/* +* Bit-banged I2C buses that share one SCL line +* +* Some boards wire several I2C buses to GPIOs with one common SCL line and +* a separate SDA line per bus. The vendor firmware bit-bangs them in turn. +* i2c-gpio cannot describe this, because every bus would request the same +* SCL GPIO. This driver requests SCL once and registers one adapter per SDA +* line. Transfers on the adapters are serialized, so only one bus drives +* SCL at a time; devices on the other buses see SCL toggle while their SDA +* stays high, which is never a START condition, and ignore it.
[Severity: Medium]
The commit message and file header state that i2c-gpio cannot be used because each instance would request the shared SCL GPIO. Is a separate driver needed here given that drivers/i2c/busses/i2c-gpio.c already supports shared SCL lines since commit 645c3d7d07fa ("i2c: i2c-gpio:
Enhance driver for buses with shared SCL")?
In drivers/i2c/busses/i2c-gpio.c, i2c_gpio_lookup_scl() matches shared scl-gpios phandles and GPIO cells across multiple i2c-gpio DT nodes via i2c_gpio_scl_matches(), requests the SCL descriptor once, reference-counts it across bus instances in i2c_gpio_scl_list, sets bit_data->skip_bit_test, and serializes transfers across all buses sharing that SCL line via i2c_gpio_lock_ops:
drivers/i2c/busses/i2c-gpio.c:i2c_gpio_lookup_scl() {
scoped_guard(mutex, &i2c_gpio_scl_list_lock) {
list_for_each_entry(scl, &i2c_gpio_scl_list, list) {
if (!i2c_gpio_scl_matches(scl, new_scl))
continue;
i2c_gpio_free_scl(new_scl);
if (!scl->gpio)
return ERR_PTR(-EPROBE_DEFER);
refcount_inc(&scl->ref);
if (scl->args.fwnode)
dev_dbg(dev, "reusing shared SCL (%pfwP)\n", scl->args.fwnode);
return scl;
}
list_add(&new_scl->list, &i2c_gpio_scl_list);
}
}Can the MokerLink RTL9303 switch use the existing i2c-gpio driver and binding instead?
[ ... ]
Quoted 5 lines
drivers/i2c/busses/i2c-gpio-shared-scl.c new file +5
-0+static int i2c_gpio_shared_scl_pre_xfer (struct i2c_adapter *adap) +{ +struct i2c_gpio_shared_scl_bus *bus =i2c_get_adapdata (adap); + +mutex_lock (&bus->parent->lock);
drivers/i2c/busses/i2c-gpio-shared-scl.c line 89
Quoted 10 lines
drivers/i2c/busses/i2c-gpio-shared-scl.c new file +10
-0+ +return 0 ; +} + +static void i2c_gpio_shared_scl_post_xfer (struct i2c_adapter *adap) +{ +struct i2c_gpio_shared_scl_bus *bus =i2c_get_adapdata (adap); + +mutex_unlock (&bus->parent->lock); +}
[Severity: High]
Will taking bus->parent->lock in i2c_gpio_shared_scl_pre_xfer() sleep in atomic context during atomic I2C transfers, and allow sibling buses to interleave during multi-transfer locked sequences?
i2c_gpio_shared_scl_add_bus() registers each adapter with i2c_bit_add_bus(), which sets adap->algo to i2c_bit_algo (whose xfer_atomic callback is bit_xfer_atomic()) while leaving adap->lock_ops unset.
When i2c_in_atomic_xfer_mode() is true (such as during system shutdown, reboot, poweroff, or panic), __i2c_lock_bus_helper() calls i2c_trylock_bus(), which only trylocks the per-adapter adap->bus_lock and cannot see if a sibling bus holds bus->parent->lock. __i2c_transfer() then invokes:
bit_xfer_atomic()
-> bit_xfer()
-> adap->pre_xfer()
-> i2c_gpio_shared_scl_pre_xfer()
-> mutex_lock(&bus->parent->lock)Even though bit_data->can_do_atomic is false, bit_xfer_atomic() only logs a warning and still proceeds into bit_xfer():
drivers/i2c/algos/i2c-algo-bit.c:bit_xfer_atomic() {
struct i2c_algo_bit_data *adap = i2c_adap->algo_data;
if (!adap->can_do_atomic)
dev_warn(&i2c_adap->dev, "not flagged for atomic transfers\n");
return bit_xfer(i2c_adap, msgs, num);
}This unconditionally calls mutex_lock() (followed by gpiod_set_value_cansleep() and gpiod_get_value_cansleep()) in atomic context.
In addition, callers that lock an adapter across multiple __i2c_transfer() calls via i2c_lock_bus() (for example, i2c_transfer_rollball() in drivers/net/mdio/mdio-i2c.c for SFP+ cages, or i2c-mux operations) only hold the per-adapter adap->bus_lock while bus->parent->lock is released in i2c_gpio_shared_scl_post_xfer() after each individual transfer, allowing a sibling bus to clock the shared SCL line mid-sequence. Normal transfers also nest struct mutex (bus->parent->lock) inside rt_mutex (adap->bus_lock).
Should this instead implement struct i2c_lock_operations (lock_bus, trylock_bus, unlock_bus) on adap->lock_ops backed by an rt_mutex (and set bit_data->can_do_atomic based on gpiod_cansleep()), similar to how drivers/i2c/busses/i2c-gpio.c handles shared SCL locking?
[ ... ]
Quoted 51 lines
drivers/i2c/busses/i2c-gpio-shared-scl.c new file +51
-0+static int i2c_gpio_shared_scl_add_bus (struct i2c_gpio_shared_scl *priv, +struct i2c_gpio_shared_scl_bus *bus, +struct fwnode_handle *child, +u32 udelay,u32 timeout_ms) +{ +struct device *dev = priv->dev; +struct i2c_algo_bit_data *bit_data = &bus->bit_data; +struct i2c_adapter *adap = &bus->adap; +u32 reg; +int ret; + + ret =fwnode_property_read_u32 (child,"reg" , ®); +if (ret) +return dev_err_probe (dev, ret,"%pfwP: missing reg\n" , child); + + bus->parent = priv; + bus->sda =devm_fwnode_gpiod_get (dev, child,"sda" , +GPIOD_OUT_HIGH_OPEN_DRAIN , +fwnode_get_name (child)); +if (IS_ERR (bus->sda)) +return dev_err_probe (dev,PTR_ERR (bus->sda), +"%pfwP: cannot get SDA GPIO\n" , child); + + bit_data->data = bus; + bit_data->setsda = i2c_gpio_shared_scl_setsda; + bit_data->getsda = i2c_gpio_shared_scl_getsda; + bit_data->setscl = i2c_gpio_shared_scl_setscl; + bit_data->getscl = i2c_gpio_shared_scl_getscl; + bit_data->pre_xfer = i2c_gpio_shared_scl_pre_xfer; + bit_data->post_xfer = i2c_gpio_shared_scl_post_xfer; + bit_data->udelay = udelay; + bit_data->timeout =msecs_to_jiffies (timeout_ms); + + adap->owner =THIS_MODULE ; + adap->algo_data = bit_data; + adap->dev.parent = dev; +device_set_node (&adap->dev, child); +snprintf (adap->name,sizeof (adap->name),"%s SDA%u" ,dev_name (dev), reg); +i2c_set_adapdata (adap, bus); + + ret =i2c_bit_add_bus (adap); +if (ret) +return dev_err_probe (dev, ret,"%pfwP: cannot add bus\n" , child); + + bus->registered = true; + +return 0 ; +} + +static int i2c_gpio_shared_scl_probe (struct platform_device *pdev) +{
[ ... ]
drivers/i2c/busses/i2c-gpio-shared-scl.c line 188
Quoted 8 lines
drivers/i2c/busses/i2c-gpio-shared-scl.c new file +8
-0+device_for_each_child_node_scoped (dev, child) { + ret =i2c_gpio_shared_scl_add_bus (priv, &priv->buses[i++], child, + udelay, timeout_ms); +if (ret) { +i2c_gpio_shared_scl_del_buses (priv); +return ret; + } + }
[Severity: Medium]
Can registering each adapter in the same loop that requests the per-bus SDA GPIOs cause spurious START or STOP conditions on sibling buses that have not yet been initialized?
For devices on idle buses to ignore activity on the shared priv->scl line, their SDA lines must already be driven high (GPIOD_OUT_HIGH_OPEN_DRAIN). However, i2c_gpio_shared_scl_probe() calls i2c_gpio_shared_scl_add_bus() in a single pass, which calls i2c_bit_add_bus() for priv->buses[0] before priv->buses[1..num_buses - 1] have requested their SDA GPIOs.
During i2c_bit_add_bus(&priv->buses[0].adap), the shared SCL line is clocked immediately if i2c_algo_bit.bit_test is set or when child client devices on bus 0 probe via of_i2c_register_devices() and perform transfers while sibling SDA lines are still in their pre-probe state. Furthermore, once bus 0 is registered, transfers on bus 0 can toggle priv->scl under priv->lock concurrently while subsequent iterations of the loop call devm_fwnode_gpiod_get(..., GPIOD_OUT_HIGH_OPEN_DRAIN, ...) for later buses without holding priv->lock; transitioning a sibling SDA line while priv->scl happens to be high creates a START or STOP condition on that sibling bus.
Would it be safer to request and configure all child SDA GPIOs (and validate DT properties) in a first pass before registering any of the adapters with i2c_bit_add_bus()?
[ ... ]
Quoted 1 line
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Re: [PATCH 2/2] i2c: add driver for GPIO buses sharing one SCL line
In reply to Ross Cawstondrivers/i2c/busses/i2c-gpio-shared-scl.c line 25
Quoted 3 lines · Ross Cawston
drivers/i2c/busses/i2c-gpio-shared-scl.c new file +2
-0+#include <linux/mod_devicetable.h> +#include <linux/platform_device.h>
<linux/platform_device.h> already provides of_device_id, so there is no need to also #include <linux/mod_devicetable.h> which also pulls in a lot of unneeded dependencies.
Best regards
Uwe
Hi,
Please drop this series. As the automated review points out, i2c-gpio has handled buses that share one SCL line since commit 645c3d7d07fa ("i2c: i2c-gpio: Enhance driver for buses with shared SCL") in v7.3, which I had missed. The MokerLink POE-10G07110GSM will use i2c-gpio instead.
Sorry for the noise.
Ross