From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08075C6FA82 for ; Mon, 5 Sep 2022 01:42:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cjnvMjtYCETI7sEoQ7rhoyJVinLPrGjMdg8aD1az/9A=; b=HYUt9ISGvTPUrh ztAf3dhUVKdS1ATlEFDhkrKTR6Ho1ywV2kAabQH776k4nUJ6tPNeypTh8d/qx3KOaah5IjjHBZA1X V8d+/N6N0rMLKnQWLG8Qh9I/GtESbKypwiR9hF2Lc/+SyiBv8iG1CVbwHniIBpYx6IvYaSwNQIaIS JxJfTc7UPpXLWvoaedLVN57tIeFA+zRfGzqIgvYb0y4f7vG0EszG1+KXPCAuJRZ24CQYKbYY3z9Vo rvac6LgBqmYP0Lk6o1lHZAsJuM4yIcRy06hRfUU7aG66C48avfM5Xo0OZKKf3je2sc+AH1R1WPpq7 YcdWySUGYVrUf5ls7cEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oV177-004k0v-QW; Mon, 05 Sep 2022 01:41:26 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oV0Zd-003SxH-05 for linux-arm-kernel@lists.infradead.org; Mon, 05 Sep 2022 01:06:52 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8449060F3C; Mon, 5 Sep 2022 01:06:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF8EDC433D6; Mon, 5 Sep 2022 01:06:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662340007; bh=WHlHuifdgAP3L07PRo0ZESVFpJt3mJTHJqUFvycAowI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bwNk0ThxJwpFzzWy8saa5YQp49fQMKD/CsU0saAAVH26vYzyNsv5avmW1q6U8HjkY hIXkSS4kLxoOd2XVRy6b6J4p448ainTNkro/Te4IC6V0+u7rKg/QumMlKIMcpDhepr /9XsZkng8utT8ExKZwFoyy43/s2H8b7h5fGUKOFAZwMRONF4Or9YtZsPpZeIti5K3n g6OfQVcKv44vvavHXf79/juUDwNh1Sj/CUpjwpHemMb66ayz8lfPJvYbxZToKOZb9D 2PkmEsbildcfZWo0gjFTKf3/pgo6//fx4zl/lutTkwYR2UZZM7D3uvfi3RiEKnuOtD /qrN1oGXWK2YQ== Date: Mon, 5 Sep 2022 09:06:42 +0800 From: Shawn Guo To: Li Yang Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Zhang Ying Subject: Re: [PATCH 08/11] arm64: dts: ls1043a: add gpio based i2c recovery information Message-ID: <20220905010642.GP1728671@dragon> References: <20220824223700.32442-1-leoyang.li@nxp.com> <20220824223700.32442-9-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220824223700.32442-9-leoyang.li@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220904_180649_740811_37D005F4 X-CRM114-Status: GOOD ( 16.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Aug 24, 2022 at 05:36:59PM -0500, Li Yang wrote: > 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-ls1043a.dtsi | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > index b37244acf16a..20888aceb5f4 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > @@ -538,7 +538,7 @@ dspi1: spi@2110000 { > }; > > i2c0: i2c@2180000 { > - compatible = "fsl,vf610-i2c"; > + compatible = "fsl,ls1043a-i2c", "fsl,vf610-i2c"; > #address-cells = <1>; > #size-cells = <0>; > reg = <0x0 0x2180000 0x0 0x10000>; > @@ -553,7 +553,7 @@ i2c0: i2c@2180000 { > }; > > i2c1: i2c@2190000 { > - compatible = "fsl,vf610-i2c"; > + compatible = "fsl,ls1043a-i2c", "fsl,vf610-i2c"; > #address-cells = <1>; > #size-cells = <0>; > reg = <0x0 0x2190000 0x0 0x10000>; > @@ -561,11 +561,12 @@ i2c1: i2c@2190000 { > clock-names = "i2c"; > clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL > QORIQ_CLK_PLL_DIV(1)>; > + scl-gpios = <&gpio4 2 0>; Could you use the polarity define from include/dt-bindings/gpio/gpio.h? Shawn > status = "disabled"; > }; > > i2c2: i2c@21a0000 { > - compatible = "fsl,vf610-i2c"; > + compatible = "fsl,ls1043a-i2c", "fsl,vf610-i2c"; > #address-cells = <1>; > #size-cells = <0>; > reg = <0x0 0x21a0000 0x0 0x10000>; > @@ -573,11 +574,12 @@ i2c2: i2c@21a0000 { > clock-names = "i2c"; > clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL > QORIQ_CLK_PLL_DIV(1)>; > + scl-gpios = <&gpio4 10 0>; > status = "disabled"; > }; > > i2c3: i2c@21b0000 { > - compatible = "fsl,vf610-i2c"; > + compatible = "fsl,ls1043a-i2c", "fsl,vf610-i2c"; > #address-cells = <1>; > #size-cells = <0>; > reg = <0x0 0x21b0000 0x0 0x10000>; > @@ -585,6 +587,7 @@ i2c3: i2c@21b0000 { > clock-names = "i2c"; > clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL > QORIQ_CLK_PLL_DIV(1)>; > + scl-gpios = <&gpio4 12 0>; > status = "disabled"; > }; > > -- > 2.37.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel