Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp30910rwe; Wed, 24 Aug 2022 16:15:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Zz2/RtK4dip4xFj9S4uhCaMHHVw0SGF4ERqc1YgjhhO87Pj0y1oZXrp9S1AnbDN9DTvDA X-Received: by 2002:aa7:d990:0:b0:447:8c86:a8ab with SMTP id u16-20020aa7d990000000b004478c86a8abmr955948eds.157.1661382930473; Wed, 24 Aug 2022 16:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661382930; cv=none; d=google.com; s=arc-20160816; b=qvnlb8QyDbzpJIOjJdDlmN5gl1Nq0O5JBzyBdmjttyAlBxa6lGoXdTc0BCV779FrSW fOUdnPQHFf6UUX9yEpbkVHxe4mzjRayns/zeQ1PwGV8b8BmSZzokEhmP3jU6ASK+/sOK GaFBVMNxEeL5RO82QbQEwoHHmzfIhDLfm8F+z2A88fgU64iObrDENHwcXXA/G1wreuUS CzUrFq+woKN/0MAvl6FkkYmIXq4fn0Pg7lnouWqGrIRddj6v5YuPAiTEHgfFKQZqfQcj i/7Ds07djBxbXHA6e3/yEEu/HxPVGVLjhaH2zMJPEDHuI6H379oznlehkzKGh8UjlGOB gEaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3YxTWlwj6hpuvjVEdRMLYeT0pIlYczjHkrqv1cz/hbY=; b=Aj4btjBDaSWrCpQXB0H8sFEPiWO5LV9DLJxQNPRbTl7kwo/rJleUU9nHRdvWO+B4wt eZpKj2NQIqI2y4FzNKQTgU2i0TyOFYcxyhDsqCx1O0YkMHofCtVq3afds2dpgIpLtPJr RffhND85Q5QbB2c77SGVxKICGR6Kx87rZOZJzKktN2c4zALuWn3lsXz1FJ/pBmt1nNKQ 2wVNbooIO+cwOw57jCToDdUahKYgpr+n4EW8BPeSJXq1JLZTP0WpYdP5rjRgnbw8N6fR yO3VRSppjv2mviGqiphSgotsI2WEGEzIzY9Z7OfdQQYCO1MGZX7nTUeznqumbyzwhtgD biYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a1709066ad200b0073d543f0ca7si2488172ejs.404.2022.08.24.16.14.39; Wed, 24 Aug 2022 16:15:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231547AbiHXXMh (ORCPT + 99 others); Wed, 24 Aug 2022 19:12:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231245AbiHXXM3 (ORCPT ); Wed, 24 Aug 2022 19:12:29 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CAD48034F; Wed, 24 Aug 2022 16:12:21 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F1CC31A13C6; Thu, 25 Aug 2022 01:12:18 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B0C421A1404; Thu, 25 Aug 2022 01:12:18 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.134]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 5F06B4060D; Wed, 24 Aug 2022 16:12:17 -0700 (MST) From: Li Yang To: shawnguo@kernel.org, devicetree@vger.kernel.org Cc: robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Li Yang , Zhang Ying Subject: [PATCH 7/9] arm64: dts: ls1046a: add gpios based i2c recovery information Date: Wed, 24 Aug 2022 18:11:58 -0500 Message-Id: <20220824231200.494-8-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20220824231200.494-1-leoyang.li@nxp.com> References: <20220824231200.494-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add scl-gpios property for i2c recovery and add SoC specific compatible string for SoC specific fixup. Signed-off-by: Zhang Ying Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index c7c6c82626fd..c95a990e2edd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -502,7 +502,7 @@ dspi: spi@2100000 { }; i2c0: i2c@2180000 { - compatible = "fsl,vf610-i2c"; + compatible = "fsl,ls1046a-i2c", "fsl,vf610-i2c"; #address-cells = <1>; #size-cells = <0>; reg = <0x0 0x2180000 0x0 0x10000>; @@ -516,35 +516,38 @@ i2c0: i2c@2180000 { }; i2c1: i2c@2190000 { - compatible = "fsl,vf610-i2c"; + compatible = "fsl,ls1046a-i2c", "fsl,vf610-i2c"; #address-cells = <1>; #size-cells = <0>; reg = <0x0 0x2190000 0x0 0x10000>; interrupts = ; clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(2)>; + scl-gpios = <&gpio3 2 0>; status = "disabled"; }; i2c2: i2c@21a0000 { - compatible = "fsl,vf610-i2c"; + compatible = "fsl,ls1046a-i2c", "fsl,vf610-i2c"; #address-cells = <1>; #size-cells = <0>; reg = <0x0 0x21a0000 0x0 0x10000>; interrupts = ; clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(2)>; + scl-gpios = <&gpio3 10 0>; status = "disabled"; }; i2c3: i2c@21b0000 { - compatible = "fsl,vf610-i2c"; + compatible = "fsl,ls1046a-i2c", "fsl,vf610-i2c"; #address-cells = <1>; #size-cells = <0>; reg = <0x0 0x21b0000 0x0 0x10000>; interrupts = ; clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(2)>; + scl-gpios = <&gpio3 12 0>; status = "disabled"; }; -- 2.37.1