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 799B54C62; Wed, 21 Feb 2024 14:21:28 +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=1708525288; cv=none; b=OmlnN40dP04ROAGLMSnkVj3rzI8EGzCiB7nrLveF752BXFe9R3DklfA52MTqLtTAQrbE6hh1H7Gfl+KLodFnWJe/s1amaTLBI9sW95P9gqM+ZLlmTUaw91NdJ2f/43BfaE6M8JU58NZzWR/r0c+4QV1OW9lkcUsdJBNTnym9Hok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708525288; c=relaxed/simple; bh=Z+0FSEkNASmaHQOf9ch1HvU+nr9gSXXI6HjGcf64oj0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qJ5PoDFVkmLX/Tjv4sATxImhgH9emliABa2Y/bvuvsi1McBRitsrVnJTGVrDaig7wSix3tK84VDTmdEIoY4B+7Pz0MzSSryiXCIMNQ06dctH+KFPq5tllv0vsbyx3m9mAFYfrgdqY/M3frM6M5B1QG3ZnsyojJFe/EIndn+bnT0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J/u/NZMd; 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="J/u/NZMd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6D80C433F1; Wed, 21 Feb 2024 14:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708525288; bh=Z+0FSEkNASmaHQOf9ch1HvU+nr9gSXXI6HjGcf64oj0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J/u/NZMd1uRy/g51z2IBJKUsUUjEh2mrUq6Afo7AFiY/XApQ3Mh45jfEwmkKhtADt QZw8QeSNiXapdXzMxsmt7EZSlXz16W5rjIx2TX0JKOJRgYSrV6rRbElBqaK2LiqDDK 2tf8u6xSumsmnfnfHn8JiuJbIenXz3oTzZ0cxe3E= 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.4 111/267] ARM: dts: imx23-sansa: Use preferred i2c-gpios properties Date: Wed, 21 Feb 2024 14:07:32 +0100 Message-ID: <20240221125943.448429864@linuxfoundation.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240221125940.058369148@linuxfoundation.org> References: <20240221125940.058369148@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.4-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