Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp34440rdb; Tue, 16 Jan 2024 14:05:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRif5h8G5peoOG2MZZAQQmVYk0dLHMFAbWOhde5a6g4NbqHN/3UE/43fSjUL6GUMLDUz8w X-Received: by 2002:a17:907:d30c:b0:a2c:ce00:1bfa with SMTP id vg12-20020a170907d30c00b00a2cce001bfamr5032603ejc.87.1705442728954; Tue, 16 Jan 2024 14:05:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705442728; cv=pass; d=google.com; s=arc-20160816; b=qoNCc17xiKHz6dSOzpK25jJ1gEFRsOweaGFckSQ2/QZmlXAd/IYwcvru0ZobVw0Q+C 4HqHiMjQjZk1ANgTxd8Aj+AhZgWgIkePjRF276tGE9CDifAHBBaCOvrwKGfkMjp0ObYo V6gu4Ht/Wt+k1uJFWvgsKa/4/NhMkkXA/rLNj0G1mKVgYnbckq/tqDhk2ip9wHh/HaN3 jIijCzXyAYM1TgWH2NSMKJYxRtXpb6yM0WsMvvEVMeAJ/SU++L5qN8ZUGkNxCj4C083o 74D178XUxUP2Xitwl6sd2dQy+WPwAt1Yf97y43P/RSj1K7lGZ5ZR4n/7Z7hsjLfb1Nuo auaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ZRrEboebYZZVnt1cfk5KaagbhXBmyPjhy/UYRrJgosQ=; fh=+TTCJAadNlKLrn+kK/vOxexBGiD+D7RDSZo9Xw47KbY=; b=Yymk4//g7NLmdZ1Jl1y/ZjLg6GRECT8f7caxCTUANaZk5gFJJsZtQVNammymVt2DKL LgZwM9bjExmxiKaDfQKJznr6R90odm3AdMzVCgBMr3SmAKD1Hmsw2nBkrO4ta63PC/Tz 0Jicw1kieqJ/vgWRQIkpwLnIIkfY+h8YEgQmXTOBr+VEmCjEyiS5JIotDfOKHziN26Lg LVBoshSMMfARy/nIQXvfIg209g/IuSMGf4PLb3gBHbD+9WCkBJ4eQauP8xqny1p9IBai 36FBktc8KIA8zTKMPXhdYgfqS5Zh4U/cCNukdFPVIqD/MldquodCXbZ1QaMCassgTnD+ Mmqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z3U7kh0H; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-28227-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28227-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d15-20020a170906344f00b00a2ec5b5024csi34939ejb.230.2024.01.16.14.05.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 14:05:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28227-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z3U7kh0H; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-28227-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28227-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B1DDD1F288F1 for ; Tue, 16 Jan 2024 22:05:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D6DA516C52E; Tue, 16 Jan 2024 20:05:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z3U7kh0H" 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 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: linux-kernel@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