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 7F1915A7AB; Tue, 16 Jan 2024 19:52:24 +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=1705434744; cv=none; b=coqrz+w/ya8Xo5iOCqUeyjqLuj7UExlLgOhmEl5UO51GuMfLSDGGqImMGqp7TFUXjGJBD0mokEehs7+34SmAaS35MNj2SKL7w6WPboTOAS5tROJXN142PanApfyCpnGEubaQLwbJJWaD5J21b0VfxgibIDvw+OshxQgK4Belza4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705434744; c=relaxed/simple; bh=q5vP/0Qb6qBjYXsKqokqy1x41hQ1MKaIT7XBq712DHk=; 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=J51uIODwF9CypqCkJomYIRVMigbClCO838wUXJvUs8XNf9eYTuBGgYaUFSMyq42PfasKfNOwVtPotu/5DBIdBXdAYBELVkwV5QD4DlRtZoy42V8dALCCpXGfUQ6ZH3Lln6/fYdk6nUFzcDBOPeu2U2ivE7p/4iD0bF8tJHDXFPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Biow0Uu2; 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="Biow0Uu2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF24EC433C7; Tue, 16 Jan 2024 19:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705434744; bh=q5vP/0Qb6qBjYXsKqokqy1x41hQ1MKaIT7XBq712DHk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Biow0Uu2pq2CYpQCMJyFEmeXLMIe+FGugyU/CdOJrTOYolEXivq8uCtHrxBkd9l2L d3yhsYtyr8ZRSeh+J+mEie7N+bjq1iIGrCqKQuIm1mJyHAb3mu2C186g7CASxNHzxS RDz9mVq4cDFtE+tBJ0IQslTqfrf6Cevj1pBDbBP9sd3SbuNDDpYT8AABG69M3X/2+E i4o5ZmAIIu+p0vDwP+pDfe3KT8XMkoaYFcobnuBXFQjZ9Jo3RFif8U5ECPKElMr8KE jn1Ne3b7EpKvGldqRI/iq7EHgiM6lqBw4grZSg/jlOWnPfoQUxNs9XNJai6tC+ftgC 2Vq4sgQ+AMAHQ== 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 6.6 069/104] ARM: dts: imx23-sansa: Use preferred i2c-gpios properties Date: Tue, 16 Jan 2024 14:46:35 -0500 Message-ID: <20240116194908.253437-69-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240116194908.253437-1-sashal@kernel.org> References: <20240116194908.253437-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 6.6.12 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/nxp/mxs/imx23-sansa.dts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts b/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts index 46057d9bf555..c2efcc20ae80 100644 --- a/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts +++ b/arch/arm/boot/dts/nxp/mxs/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 D629AC47258 for ; Tue, 16 Jan 2024 19:52:56 +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=iGHDJmguuwtQt3SrG3joGX1nypX2QfgFl3cmmKkP/IU=; b=J2nuiGoBnuH94q VbqI3tB13cPJ+HyXi/Ga+dZbZClXRrIMxCu+CjkIU/Piq22v1v3yDR71is9XJROQhNcsNa724P7+A kShLRePAClzFqJxp8dJ2tpVy1qcL4TDu4hcf/10+7m0A7F10C2JAacscA/HtHoZo3k/u33XTPqaNT /rHW5fVEvUvRAwO1jtwhlDpgWUHG5rmvek+hnHdTezUlDJ9P4z4r7o/kDySggUdlNZq6OI+zrsMBq o4SrD4id0gmMnDA2UCxvJSGE79iNXaHGxVFuHEP3urwNPZQMkGy+bZKsByHoHQkJBSXVgvKpJt9sG 3pPJkEWPjQljDixEXY6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPpUA-00DFbP-0z; Tue, 16 Jan 2024 19:52:34 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPpU1-00DFUu-3D for linux-arm-kernel@lists.infradead.org; Tue, 16 Jan 2024 19:52:27 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 63A11B80FAC; Tue, 16 Jan 2024 19:52:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF24EC433C7; Tue, 16 Jan 2024 19:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705434744; bh=q5vP/0Qb6qBjYXsKqokqy1x41hQ1MKaIT7XBq712DHk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Biow0Uu2pq2CYpQCMJyFEmeXLMIe+FGugyU/CdOJrTOYolEXivq8uCtHrxBkd9l2L d3yhsYtyr8ZRSeh+J+mEie7N+bjq1iIGrCqKQuIm1mJyHAb3mu2C186g7CASxNHzxS RDz9mVq4cDFtE+tBJ0IQslTqfrf6Cevj1pBDbBP9sd3SbuNDDpYT8AABG69M3X/2+E i4o5ZmAIIu+p0vDwP+pDfe3KT8XMkoaYFcobnuBXFQjZ9Jo3RFif8U5ECPKElMr8KE jn1Ne3b7EpKvGldqRI/iq7EHgiM6lqBw4grZSg/jlOWnPfoQUxNs9XNJai6tC+ftgC 2Vq4sgQ+AMAHQ== 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 6.6 069/104] ARM: dts: imx23-sansa: Use preferred i2c-gpios properties Date: Tue, 16 Jan 2024 14:46:35 -0500 Message-ID: <20240116194908.253437-69-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240116194908.253437-1-sashal@kernel.org> References: <20240116194908.253437-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.6.12 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240116_115226_168580_683D99A9 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/nxp/mxs/imx23-sansa.dts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts b/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts index 46057d9bf555..c2efcc20ae80 100644 --- a/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts +++ b/arch/arm/boot/dts/nxp/mxs/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