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 9EB322A1D7; Wed, 21 Feb 2024 13:35:35 +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=1708522535; cv=none; b=P0Mv8CSk+R1VrdSIaauUzmTwG1paUDGCpIMljVzZdCMLhq1cSFToZwTGusO5Y21Z05m6U+J9zvN87puKRMJ92pQF7N6GcjNDj912J1shaQwn5Rw9CUBFeol9BQKAfQ9eU+P4eN/LatOkLrYDaHdvineFbKBhb0uDSSPeC2ENPzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708522535; c=relaxed/simple; bh=O/WI+bZl5clnd2j0RiJAwPUuvUidlaDrRPIZFrkVMrU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OHOTZmkMW3qCZQdfXGhMajXT0+8W1jD0pmoQAePB0LAba7N49zv23+JjlQzml8A5C4wc4ZQ/Ll5Lr6yu/y3SqZtcTNr8Sa9Jr2wcBEfYkZQXwVrxxcteeiF0udU+V3NFFU7QhZ3eZc1OzfHp6cF0PCk5FanaFQgQf50Lz9Id+tw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iLQncRZS; 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="iLQncRZS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14F01C433C7; Wed, 21 Feb 2024 13:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708522535; bh=O/WI+bZl5clnd2j0RiJAwPUuvUidlaDrRPIZFrkVMrU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iLQncRZS1pbxClOb0e33G3zfqGvHJiEJcr+tpWIiBvxoMKeq9TMbojRvM7AR8Uk2a Ha68x+WAfG6s8QrnlwfsUtiaSTAUv9lX2Z++fP1asJhmsIKmsb8zbRgV1RhOL1iSeP va7PhXruT0sut/AsGtsgK1JhOH6YWAvPZatElsMM= 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 5.15 191/476] ARM: dts: imx23-sansa: Use preferred i2c-gpios properties Date: Wed, 21 Feb 2024 14:04:02 +0100 Message-ID: <20240221130014.966243070@linuxfoundation.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240221130007.738356493@linuxfoundation.org> References: <20240221130007.738356493@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-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