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 BB6AB12E58; Sat, 3 Feb 2024 04:09:31 +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=1706933371; cv=none; b=aHzOGB5kQpAPvu8pBu2R6fvNFYWUr2kUlF3o+MueOCQbgMFI1Iu0ONpOZ2PvpT0Tw27rojrZo9jcY/hueIW2IL3jE//DR95ghFWr5ndpZPWAH47JIqI8b/gFTyY0cpZG1hzOnfnw/ObSfwwN1j0fExQ2no6equEK66qX5EiHLrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706933371; c=relaxed/simple; bh=kZeyYCuZ3J8OLU94uTLI/YzHRPNj9vqd/Zo6S0qOaf8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MOhIyZ9UlhaGEWpfbD15LyBQPxxvnvNaTDhlXUkHfTFxEnngVI/Y2yUME0sKSfYobZyl1xw0ph0+mD7GZy830cO0vxlr0B5JvKE8jIP6xxiubz8Cb1mLtQxXhdDq19gsw48m9KnDg4+nS2EN3igLX6++irkRGCNgwU+rnB8tQPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q3xjXcdC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="q3xjXcdC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85F3DC433C7; Sat, 3 Feb 2024 04:09:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706933371; bh=kZeyYCuZ3J8OLU94uTLI/YzHRPNj9vqd/Zo6S0qOaf8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q3xjXcdCAbaBQho8MIvXbtEIOirn+9M3jyqKr+YRhVroNPm4rgh9YWCtaAXRBOmaa 2fI5wSvWINauFQi6Idu7m//AJVM1k0B7JzSsY4zk8RL21IV/2X+Ll2EuztC4xXsLQP E9ailLKctkftzsSTe7nfpArVFvGu1tsKkUeUuOpw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Fabio Estevam , Shawn Guo , Sasha Levin Subject: [PATCH 6.1 080/219] ARM: dts: imx23-sansa: Use preferred i2c-gpios properties Date: Fri, 2 Feb 2024 20:04:13 -0800 Message-ID: <20240203035328.357044409@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203035317.354186483@linuxfoundation.org> References: <20240203035317.354186483@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ 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 46057d9bf555..c2efcc20ae80 100644 --- a/arch/arm/boot/dts/imx23-sansa.dts +++ b/arch/arm/boot/dts/imx23-sansa.dts @@ -175,10 +175,8 @@ #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 @@ #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