From patchwork Tue Sep 12 21:36:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13382194 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 3001BEE3F37 for ; Tue, 12 Sep 2023 21:37:29 +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: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:In-Reply-To:References: List-Owner; bh=EBLeFJO8y3C/K5UeDmKTLN3e3GTb3fa43vARGjKfeYQ=; b=QfopqVgQ/qF/j3 WiwIodQa6s1Nug3YhakIvQvE/D+Yf6L/TY4jWIKquKcJiRlAEm7U6v2sGR3b3W4GRvn0D2otEkE5o ETG5GIcESJhEdBxoHXp5R7J8J5ADm7TRhOy5jGAAWfxlqwiNWLW5L3QnVachO4ONZBi0ApxGTjfyq YztogSFAK2LAq6NQZRIx+KyHD0YptVhRpdNJuwzGqflEz5qXhrbi8KQvuxFmvjRlmyCn/FrZ+MePf G6jHC2np6Db9l6ooLgBCk+oJ4J0vhvlo311OiWP8e0txscqA4wjNHXku3eYh567m/5zmUvGzck/Es 6BqiOUAHhx5rf1OxbUEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qgB45-0048iB-0r; Tue, 12 Sep 2023 21:36:57 +0000 Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qgB41-0048hR-1g for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 21:36:55 +0000 Received: by mail-ot1-x32a.google.com with SMTP id 46e09a7af769-6bf106fb6a0so1048491a34.0 for ; Tue, 12 Sep 2023 14:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694554610; x=1695159410; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2uvmAhAwA1OSdTMVxVAjpKN9xFUM356ZQVD0Yd7U7Ck=; b=G/2vuyLXuBtRfKC7IUxpgoD+rPD+BZu6w2RLP8JU7ZGONUPUDEtG3xm37mIypq8y0c 6aCVLc9h43KjfN3duIyWR7SpUo/taU3YM/eGU22DDVNVc6CTmM5LkgaDF/eWlnpxIZ4B fIatOstYye1kbGsp/V3qoSq1Jl4ux9s8bZaOdgXMSyUGu9tQPAChfDAme2/PkB43SAsX yypie5cjPB2IHvU81M9KpaEpC4Mk+r1Cs0GNMOeWiNjs59IkQ1tib7ZHqv5S3R0JlPtk bewew+6gAKo69uMpq5NkYSoouQUrUZZ5KscKiG8rCRH78ADQSTlPzdRwb4n0y/Me3pd+ 0T+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694554610; x=1695159410; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2uvmAhAwA1OSdTMVxVAjpKN9xFUM356ZQVD0Yd7U7Ck=; b=pNtg41kmW1QDNMnUgWmCgzI41OtwCb97IOWmQT0vZRQafm5kxglwgWQVRJVh5Mfypl 570gjiziE4aMGSPttGf3yUsGr7rw9tDhqN3efCjjmhq2VmQ5mbz76r6QowOBh5fwdlgk GDlTBezCb+hfyTCFN2nhCOm5bmnBHAZtTcY7W+a6I80xWxAt08flrFYuW+Jsk9P3bAHA OGFq1IixuFu4qX287YVqujU+OedjLtCIPk0tWXyEBsRynb3S2KJlo3gksVr6RA/r5/k3 SrmGgjyndfB04GqZIVDrxm/gGLLaX2QGiSlAquggsDdSYIz1KIJJShAr59lnLedQ52oV 80Sg== X-Gm-Message-State: AOJu0YzvuMHbXQ41YyqG4n1VwZ001CZ/VD1ZnuMIJv5T+RaQQcSQGeW7 Z/xSsl7eYkKmibAtdd7LTgI= X-Google-Smtp-Source: AGHT+IFxo6lCxwxq0TgqnVU6wLfG0HhwRjs8uOY5na14RV5SgzX3vmvHvS93s4g0c10UbQSY0Ms9rQ== X-Received: by 2002:a05:6808:1a19:b0:3a7:2eb4:ce04 with SMTP id bk25-20020a0568081a1900b003a72eb4ce04mr1139955oib.5.1694554610730; Tue, 12 Sep 2023 14:36:50 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:676a:5a77:75a8:efc8]) by smtp.gmail.com with ESMTPSA id bk17-20020a0568081a1100b003a84c946bd1sm4587909oib.55.2023.09.12.14.36.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 14:36:50 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 1/2] ARM: dts: imx6ul-tx6ul: Use preferred i2c-gpios properties Date: Tue, 12 Sep 2023 18:36:44 -0300 Message-Id: <20230912213645.1803914-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_143653_556939_966D62E9 X-CRM114-Status: GOOD ( 11.36 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Thsis fixes the following schema warnings: imx6ul-tx6ul-0011.dtb: i2c-gpio: 'sda-gpios' is a required property from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# imx6ul-tx6ul-0011.dtb: i2c-gpio: 'scl-gpios' is a required property from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/nxp/imx/imx6ul-tx6ul.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-tx6ul.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-tx6ul.dtsi index 6bd90473050b..1db146ac1c17 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-tx6ul.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-tx6ul.dtsi @@ -114,10 +114,8 @@ i2c_gpio: i2c-gpio { #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c_gpio>; - gpios = < - &gpio5 1 GPIO_ACTIVE_HIGH /* SDA */ - &gpio5 0 GPIO_ACTIVE_HIGH /* SCL */ - >; + sda-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; + scl-gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>; clock-frequency = <400000>; status = "okay";