From nobody Fri Feb 13 09:34:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7418E7F14B for ; Wed, 27 Sep 2023 00:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232338AbjI0AjK (ORCPT ); Tue, 26 Sep 2023 20:39:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233274AbjI0AhE (ORCPT ); Tue, 26 Sep 2023 20:37:04 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 094E01FED for ; Tue, 26 Sep 2023 16:48:10 -0700 (PDT) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 3607E2C04AB; Wed, 27 Sep 2023 12:48:08 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1695772088; bh=4djadmt2Z7kYAn+dgx4Dqa4/nGoiuXn4rvyEJGFX05o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mDXn0pJ+CKnZmP4ry4xyi4WJeGY0zzZudbrBM3EmpPqvWjdL8UOYoMB5rj9KXyvsW WOelT94oVUat4P6gcSBjXsDfIg0YqahvkkwB/lDvWtRSD1wXNO8oKjyCFxQTpWzJO6 r75hlllOru1gv401I5WC7Y121nmnl9W3HafyuZGlZvBCml1Rp/WHYxavp04V/sLeQu hCQCrTTBV//np2Ofpl+g3zaYCpE5hTo7XvsZG8fDeJQxKeGLCdGnv2+nggxHLSkXti 4uSl83In/DdHkWGo+CZtDE43VjUGymRcqT2HCQyu919D/m61thd3eMcE+bF+/ontse OPuRz5rCh3TSw== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Wed, 27 Sep 2023 12:48:08 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id EA2A513EE44; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id E73C92809A2; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) From: Chris Packham To: gregory.clement@bootlin.com, andi.shyti@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, pierre.gondois@arm.com Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 1/3] dt-bindings: i2c: mv64xxx: update bindings for unstuck register Date: Wed, 27 Sep 2023 12:47:59 +1300 Message-ID: <20230926234801.4078042-2-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> References: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SEG-SpamProfiler-Analysis: v=2.3 cv=fOpHIqSe c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=zNV7Rl7Rt7sA:10 a=b5Pq3k1ZBCuUTZ-Yr4IA:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Some newer Marvell SoCs support an "unstuck" function for I2C bus recovery. This is an alternative to the generic GPIO based recovery that the older SoCs use. The unstuck register falls outside of the usual address block for the I2C controller so requires an additional cell in the register property. This is optional and does not need to be supplied. Signed-off-by: Chris Packham Acked-by: Conor Dooley --- .../devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml= b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml index 984fc1ed3ec6..461d1c9ee3f7 100644 --- a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml @@ -45,7 +45,10 @@ properties: auto-detects this and sets it appropriately. =20 reg: - maxItems: 1 + minItems: 1 + items: + - description: I2C controller registers + - description: I2C unstuck register =20 interrupts: maxItems: 1 --=20 2.42.0 From nobody Fri Feb 13 09:34:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD41BE7F150 for ; Wed, 27 Sep 2023 00:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233006AbjI0AjN (ORCPT ); Tue, 26 Sep 2023 20:39:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229901AbjI0AhH (ORCPT ); Tue, 26 Sep 2023 20:37:07 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A9591FFD for ; Tue, 26 Sep 2023 16:48:10 -0700 (PDT) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 20C8E2C034B; Wed, 27 Sep 2023 12:48:08 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1695772088; bh=ttASz5PFIq45SB63T27urLBr0KsSG9UVkEiGsDKUa0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HTBhQarCGGfFnRSdJCnky2YSbcTl+qyjwVfmi+HBiMth8EYBWBfNJ4RzYE/SDYT26 jOcTffu9HR4ylyOwI6rmQqSHVXsdVqetBCYzgSxAiyJ34JUMlG7mOVTTDNUL6JJMMS 14Fqf/Vmn5mnvx1WYH5000jgIyg0M7Uu4D/rM72reA2jOvCBqnvht0Yz6kkrJBEKrb YIPQWR/eH3YF+cwp5hnnrJ1aadmFUWVuAX6lPPpDXc+09ne87y/3YB6hojixPriNyE m9PWxmEyJhSz0YaniC5SEpkM9bw+G+UI/mQehZs3zEEYjWxTA2QS02xSSOF/TDXP9W i5jbFbEpq0hkQ== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Wed, 27 Sep 2023 12:48:08 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id EBCCB13EE85; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id EAC4D28160F; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) From: Chris Packham To: gregory.clement@bootlin.com, andi.shyti@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, pierre.gondois@arm.com Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 2/3] arm64: dts: marvell: AC5: use I2C unstuck function Date: Wed, 27 Sep 2023 12:48:00 +1300 Message-ID: <20230926234801.4078042-3-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> References: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SEG-SpamProfiler-Analysis: v=2.3 cv=fOpHIqSe c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=zNV7Rl7Rt7sA:10 a=Jm_8IDygZZvVWM1ZSnEA:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The AC5 SoC supports using a controller based I2C unstuck function for recovery. Use this instead of the generic GPIO recovery. Signed-off-by: Chris Packham --- arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi b/arch/arm64/boo= t/dts/marvell/ac5-98dx25xx.dtsi index c9ce1010c415..e52d3c3496d5 100644 --- a/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi +++ b/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi @@ -137,7 +137,7 @@ mdio: mdio@22004 { =20 i2c0: i2c@11000{ compatible =3D "marvell,mv78230-i2c"; - reg =3D <0x11000 0x20>; + reg =3D <0x11000 0x20>, <0x110a0 0x4>; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -146,17 +146,14 @@ i2c0: i2c@11000{ interrupts =3D ; clock-frequency=3D<100000>; =20 - pinctrl-names =3D "default", "gpio"; + pinctrl-names =3D "default"; pinctrl-0 =3D <&i2c0_pins>; - pinctrl-1 =3D <&i2c0_gpio>; - scl-gpios =3D <&gpio0 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - sda-gpios =3D <&gpio0 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status =3D "disabled"; }; =20 i2c1: i2c@11100{ compatible =3D "marvell,mv78230-i2c"; - reg =3D <0x11100 0x20>; + reg =3D <0x11100 0x20>, <0x110a4 0x4>; #address-cells =3D <1>; #size-cells =3D <0>; =20 @@ -165,11 +162,8 @@ i2c1: i2c@11100{ interrupts =3D ; clock-frequency=3D<100000>; =20 - pinctrl-names =3D "default", "gpio"; + pinctrl-names =3D "default"; pinctrl-0 =3D <&i2c1_pins>; - pinctrl-1 =3D <&i2c1_gpio>; - scl-gpios =3D <&gpio0 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - sda-gpios =3D <&gpio0 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status =3D "disabled"; }; =20 --=20 2.42.0 From nobody Fri Feb 13 09:34:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C052E7F150 for ; Wed, 27 Sep 2023 00:39:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231571AbjI0AjG (ORCPT ); Tue, 26 Sep 2023 20:39:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233192AbjI0AhE (ORCPT ); Tue, 26 Sep 2023 20:37:04 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12B972D79 for ; Tue, 26 Sep 2023 16:48:10 -0700 (PDT) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 537702C066D; Wed, 27 Sep 2023 12:48:08 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1695772088; bh=KR9YXJasf5jtvRl6VEb7GUZv9d995ayF9hchctxuvZ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yoC0VhJ3EZVg8XM27manwPD9Ghj7zbdpeYO8W3Rt8RMx51ekI/8P/sLS2PUgmHiOV Dr+Ud48fuzjmUEjJ19Wg+u6uEiTV/5gpmyYWtqZU0/TDMsaTqHgl+EWVhjYML7wv9y A5rB17Td1K15jIfaY+UAldwsWx7/aS/Q/ifhehHS+r5SPCfVznZF2XBeRGskUH+z80 JyDAvq8+odXGb637ey7EQonPxThtMD+nwqu83r7tckchFf4v/eoYEEXnhnjjBikutB PaZIBQIYChyEDoLMDfJ2ldYyzMNQYhVVC1oKR58c4aU9iXDUc67h0hMbKDhY2wr3wJ syOVqhNgBL0Kg== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Wed, 27 Sep 2023 12:48:08 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id EED7813EEA1; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id EDCB028160F; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) From: Chris Packham To: gregory.clement@bootlin.com, andi.shyti@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, pierre.gondois@arm.com Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 3/3] i2c: mv64xxx: add support for FSM based recovery Date: Wed, 27 Sep 2023 12:48:01 +1300 Message-ID: <20230926234801.4078042-4-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> References: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SEG-SpamProfiler-Analysis: v=2.3 cv=fOpHIqSe c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=zNV7Rl7Rt7sA:10 a=B8jpvDMl2VDXHxTB5w4A:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Some newer Marvell SoCs (AC5 and CN9130, possibly more) support a I2C unstuck function. This provides a recovery function as part of the FSM as an alternative to changing pinctrl modes and using the generic GPIO based recovery. Allow for using this by adding an optional resource to the platform data which contains the address of the I2C unstuck register for the I2C controller. Signed-off-by: Chris Packham --- drivers/i2c/busses/i2c-mv64xxx.c | 71 ++++++++++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64= xxx.c index fd8403b07fa6..4345ab19b89c 100644 --- a/drivers/i2c/busses/i2c-mv64xxx.c +++ b/drivers/i2c/busses/i2c-mv64xxx.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -82,6 +83,13 @@ /* Bridge Status values */ #define MV64XXX_I2C_BRIDGE_STATUS_ERROR BIT(0) =20 +/* Unstuck Register values */ +#define MV64XXX_I2C_UNSTUCK_TRIGGER BIT(0) +#define MV64XXX_I2C_UNSTUCK_ON_GOING BIT(1) +#define MV64XXX_I2C_UNSTUCK_ERROR BIT(2) +#define MV64XXX_I2C_UNSTUCK_COUNT(val) ((val & 0xf0) >> 4) +#define MV64XXX_I2C_UNSTUCK_INPROGRESS (MV64XXX_I2C_UNSTUCK_TRIGGER|MV64XX= X_I2C_UNSTUCK_ON_GOING) + /* Driver states */ enum { MV64XXX_I2C_STATE_INVALID, @@ -126,6 +134,7 @@ struct mv64xxx_i2c_data { u32 aborting; u32 cntl_bits; void __iomem *reg_base; + void __iomem *unstuck_reg; struct mv64xxx_i2c_regs reg_offsets; u32 addr1; u32 addr2; @@ -735,6 +744,33 @@ mv64xxx_i2c_can_offload(struct mv64xxx_i2c_data *drv_d= ata) return false; } =20 +static int +mv64xxx_i2c_recover_bus(struct i2c_adapter *adap) +{ + struct mv64xxx_i2c_data *drv_data =3D i2c_get_adapdata(adap); + int ret; + u32 val; + + dev_dbg(&adap->dev, "Trying i2c bus recovery\n"); + writel(MV64XXX_I2C_UNSTUCK_TRIGGER, drv_data->unstuck_reg); + ret =3D readl_poll_timeout_atomic(drv_data->unstuck_reg, val, + !(val & MV64XXX_I2C_UNSTUCK_INPROGRESS), + 1000, 5000); + if (ret) { + dev_err(&adap->dev, "recovery timeout\n"); + return ret; + } + + if (val & MV64XXX_I2C_UNSTUCK_ERROR) { + dev_err(&adap->dev, "recovery failed\n"); + return -EBUSY; + } + + dev_info(&adap->dev, "recovery complete after %d pulses\n", MV64XXX_I2C_U= NSTUCK_COUNT(val)); + + return 0; +} + /* *************************************************************************= **** * @@ -914,7 +950,8 @@ mv64xxx_of_config(struct mv64xxx_i2c_data *drv_data, drv_data->errata_delay =3D true; } =20 - if (of_device_is_compatible(np, "marvell,mv78230-a0-i2c")) { + if (of_device_is_compatible(np, "marvell,mv78230-a0-i2c") || + of_device_is_compatible(np, "marvell,armada-8k-i2c")) { drv_data->offload_enabled =3D false; /* The delay is only needed in standard mode (100kHz) */ if (bus_freq <=3D I2C_MAX_STANDARD_MODE_FREQ) @@ -936,8 +973,21 @@ mv64xxx_of_config(struct mv64xxx_i2c_data *drv_data, } #endif /* CONFIG_OF */ =20 -static int mv64xxx_i2c_init_recovery_info(struct mv64xxx_i2c_data *drv_dat= a, - struct device *dev) +static int mv64xxx_i2c_init_fsm_recovery_info(struct mv64xxx_i2c_data *drv= _data, + struct device *dev) +{ + struct i2c_bus_recovery_info *rinfo =3D &drv_data->rinfo; + + dev_info(dev, "using FSM for recovery\n"); + rinfo->recover_bus =3D mv64xxx_i2c_recover_bus; + drv_data->adapter.bus_recovery_info =3D rinfo; + + return 0; + +} + +static int mv64xxx_i2c_init_gpio_recovery_info(struct mv64xxx_i2c_data *dr= v_data, + struct device *dev) { struct i2c_bus_recovery_info *rinfo =3D &drv_data->rinfo; =20 @@ -986,6 +1036,7 @@ mv64xxx_i2c_probe(struct platform_device *pd) { struct mv64xxx_i2c_data *drv_data; struct mv64xxx_i2c_pdata *pdata =3D dev_get_platdata(&pd->dev); + struct resource *res; int rc; =20 if ((!pdata && !pd->dev.of_node)) @@ -1000,6 +1051,14 @@ mv64xxx_i2c_probe(struct platform_device *pd) if (IS_ERR(drv_data->reg_base)) return PTR_ERR(drv_data->reg_base); =20 + /* optional unstuck support */ + res =3D platform_get_resource(pd, IORESOURCE_MEM, 1); + if (res) { + drv_data->unstuck_reg =3D devm_ioremap_resource(&pd->dev, res); + if (IS_ERR(drv_data->unstuck_reg)) + return PTR_ERR(drv_data->unstuck_reg); + } + strscpy(drv_data->adapter.name, MV64XXX_I2C_CTLR_NAME " adapter", sizeof(drv_data->adapter.name)); =20 @@ -1037,7 +1096,11 @@ mv64xxx_i2c_probe(struct platform_device *pd) return rc; } =20 - rc =3D mv64xxx_i2c_init_recovery_info(drv_data, &pd->dev); + if (drv_data->unstuck_reg) + rc =3D mv64xxx_i2c_init_fsm_recovery_info(drv_data, &pd->dev); + else + rc =3D mv64xxx_i2c_init_gpio_recovery_info(drv_data, &pd->dev); + if (rc =3D=3D -EPROBE_DEFER) return rc; =20 --=20 2.42.0