From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3DB016C520; Tue, 16 Jan 2024 20:05:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705435502; cv=none; b=DCvsFKwUSgOvOclUAHIfnZJZSCG5TTOS7dJBK7uokvFpZ7VgLucqodp9EiGccLq/20a+AvWtLvcHo8Z6TJbdw2LcivWT6W4ExiwpOCl8QIrmSYYKbglN36UuPC0Pztalbe/4tBxtUGX6AdNM/jjAIyabSn3Gb3m6dqvc+J9d2XA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705435502; c=relaxed/simple; bh=UyU6gqyUEfKHn9iL4LApO7Vm3kAa///8hvXlgdcJ4Us=; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version:X-stable: X-Patchwork-Hint:X-stable-base:Content-Transfer-Encoding; b=oEFMilw8jCXxDpO0CdBAqymaLAiVV3Z7vWsGKowVjsggAGMNp94UNaLbd1SfY1s8hiqRFUaeSUi7NxNl/7S8mNm7ADgvgRQeTKa2veADFqXCyJJJF5OFzdIDxSt320tBT62ekg5jUF3BM3WluF8nqOiNG1csFNMn57vv+5yfZa4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z3U7kh0H; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z3U7kh0H" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3BEFC433C7; Tue, 16 Jan 2024 20:05:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705435501; bh=UyU6gqyUEfKHn9iL4LApO7Vm3kAa///8hvXlgdcJ4Us=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z3U7kh0H+aPyEP6Db8IozLwLdUE5Mw7kZmOn34ht3iSc/eNTbDcQFgdNcF7cZTgv+ X7+5t/IMdYD2vEY1eoF7ygq/tVGJ/sZNMXUfyOT/1uxM7P7VrZfkLAtW7WDbvHm7hE yJ2cqRPfTik+TeD6ecqAcLNfxdnYt96Da9QSxZ0UXBTS146JADKUCCmz1nbUoMmOGw HaH+aEQzMCP0Gd5g4rRHSrjU1PHoRo6ebz95ODFKOF6yVVFCndAN96kRIHFIZz15B2 lcQtqucTgym5KgYJT1EbUr85LZS6mo+vMGnMNa2PfDRELX9hoObeAN6a5INPEsmWlk OIREWRuV49sng== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Fabio Estevam , Shawn Guo , Sasha Levin , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 16/22] ARM: dts: imx23-sansa: Use preferred i2c-gpios properties Date: Tue, 16 Jan 2024 15:04:10 -0500 Message-ID: <20240116200432.260016-16-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240116200432.260016-1-sashal@kernel.org> References: <20240116200432.260016-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 4.19.305 Content-Transfer-Encoding: 8bit From: Fabio Estevam [ Upstream commit e3aa1a82fb20ee97597022f6528823a8ab82bde6 ] The 'gpios' property to describe the SDA and SCL GPIOs is considered deprecated according to i2c-gpio.yaml. Switch to the preferred 'sda-gpios' and 'scl-gpios' properties. This fixes the following schema warnings: imx23-sansa.dtb: i2c-0: 'sda-gpios' is a required property from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# imx23-sansa.dtb: i2c-0: 'scl-gpios' is a required property from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx23-sansa.dts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/imx23-sansa.dts b/arch/arm/boot/dts/imx23-sansa.dts index fa22fd9b2412..a0bbc39e644a 100644 --- a/arch/arm/boot/dts/imx23-sansa.dts +++ b/arch/arm/boot/dts/imx23-sansa.dts @@ -175,10 +175,8 @@ i2c-0 { #address-cells = <1>; #size-cells = <0>; compatible = "i2c-gpio"; - gpios = < - &gpio1 24 0 /* SDA */ - &gpio1 22 0 /* SCL */ - >; + sda-gpios = <&gpio1 24 0>; + scl-gpios = <&gpio1 22 0>; i2c-gpio,delay-us = <2>; /* ~100 kHz */ }; @@ -186,10 +184,8 @@ i2c-1 { #address-cells = <1>; #size-cells = <0>; compatible = "i2c-gpio"; - gpios = < - &gpio0 31 0 /* SDA */ - &gpio0 30 0 /* SCL */ - >; + sda-gpios = <&gpio0 31 0>; + scl-gpios = <&gpio0 30 0>; i2c-gpio,delay-us = <2>; /* ~100 kHz */ touch: touch@20 { -- 2.43.0 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 4B9AAC47DA7 for ; Tue, 16 Jan 2024 20:05:35 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kMOPWwZ6l4N2elXHTZpIKcQbCqTK7f6VLn/ezevF0sA=; b=lOifa07kRbV0o7 0vdcFpQ3OX/XEfNq9H77F2pfeHvdryGBsOVeNactCLkwZxB0hWsnVVwwqLcA8xUhrsrF4aUP8VUqi hw1NPyWogwRS3cF/oLOqjmKVV8kl7jqT19JVfIgZVKzNqn+sF0PGoGQ0Y+MXvV3w2PZjqAx2NWWxy FDoMN11y2Tj80zor3Uqy6uCmbYlju3CdxhuSeIp129MgsTQqTib43nRKwsvgb4a4KMF6zebON8NRj 5H0tWZVTxsG4YZyajPVJ9QOogn789vw2Di+zMCEY3s6/kPlXFMbF0u9dfiyeW6ppXTJydMd7tf3xS +1V83l10N2kU30qfR+6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPpgN-00DMDj-1U; Tue, 16 Jan 2024 20:05:11 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPpgF-00DM5l-2y for linux-arm-kernel@lists.infradead.org; Tue, 16 Jan 2024 20:05:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 7D7A3B80E11; Tue, 16 Jan 2024 20:05:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3BEFC433C7; Tue, 16 Jan 2024 20:05:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705435501; bh=UyU6gqyUEfKHn9iL4LApO7Vm3kAa///8hvXlgdcJ4Us=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z3U7kh0H+aPyEP6Db8IozLwLdUE5Mw7kZmOn34ht3iSc/eNTbDcQFgdNcF7cZTgv+ X7+5t/IMdYD2vEY1eoF7ygq/tVGJ/sZNMXUfyOT/1uxM7P7VrZfkLAtW7WDbvHm7hE yJ2cqRPfTik+TeD6ecqAcLNfxdnYt96Da9QSxZ0UXBTS146JADKUCCmz1nbUoMmOGw HaH+aEQzMCP0Gd5g4rRHSrjU1PHoRo6ebz95ODFKOF6yVVFCndAN96kRIHFIZz15B2 lcQtqucTgym5KgYJT1EbUr85LZS6mo+vMGnMNa2PfDRELX9hoObeAN6a5INPEsmWlk OIREWRuV49sng== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Fabio Estevam , Shawn Guo , Sasha Levin , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 16/22] ARM: dts: imx23-sansa: Use preferred i2c-gpios properties Date: Tue, 16 Jan 2024 15:04:10 -0500 Message-ID: <20240116200432.260016-16-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240116200432.260016-1-sashal@kernel.org> References: <20240116200432.260016-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 4.19.305 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240116_120504_165906_87BB0564 X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. 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 From: Fabio Estevam [ Upstream commit e3aa1a82fb20ee97597022f6528823a8ab82bde6 ] The 'gpios' property to describe the SDA and SCL GPIOs is considered deprecated according to i2c-gpio.yaml. Switch to the preferred 'sda-gpios' and 'scl-gpios' properties. This fixes the following schema warnings: imx23-sansa.dtb: i2c-0: 'sda-gpios' is a required property from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# imx23-sansa.dtb: i2c-0: 'scl-gpios' is a required property from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx23-sansa.dts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/imx23-sansa.dts b/arch/arm/boot/dts/imx23-sansa.dts index fa22fd9b2412..a0bbc39e644a 100644 --- a/arch/arm/boot/dts/imx23-sansa.dts +++ b/arch/arm/boot/dts/imx23-sansa.dts @@ -175,10 +175,8 @@ i2c-0 { #address-cells = <1>; #size-cells = <0>; compatible = "i2c-gpio"; - gpios = < - &gpio1 24 0 /* SDA */ - &gpio1 22 0 /* SCL */ - >; + sda-gpios = <&gpio1 24 0>; + scl-gpios = <&gpio1 22 0>; i2c-gpio,delay-us = <2>; /* ~100 kHz */ }; @@ -186,10 +184,8 @@ i2c-1 { #address-cells = <1>; #size-cells = <0>; compatible = "i2c-gpio"; - gpios = < - &gpio0 31 0 /* SDA */ - &gpio0 30 0 /* SCL */ - >; + sda-gpios = <&gpio0 31 0>; + scl-gpios = <&gpio0 30 0>; i2c-gpio,delay-us = <2>; /* ~100 kHz */ touch: touch@20 { -- 2.43.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel