From patchwork Tue Sep 12 21:38:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13382199 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 35280EE3F37 for ; Tue, 12 Sep 2023 21:39:18 +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=eh6V6RDzrNCYK3H7ENpypl4aNs5fiPXX5zPknQOkeaM=; b=otpvi72IsBWMWt 2hUNfPwb+FFDFpJVIGgGN/JiExtueWs1psuuLQtLzY4CsqhGJjsMweRdHwRVU/WoedSdyMh00zRpe KmIe5e6Fez9yNLCMiC0jNm/xk/X0ds4hUHsOI9puJUE9N+c3BixkAHGZhWT+wy8wpr/4B+CtfAKhM kIO4nvdHDYz01MJa6jrzmXEfg8G1wYuiBmlkVu8nH6/w6De1r6YTtUqDgl/Kb9sqjr7HJcypKo2Se jwYxYkDerg0oWJaSfcyVahC81XbEMrc5EWD5gsm4FwHDGiTlqZmDryOKN5tbMOWDWkBVGlxg21d2Q GqC4Di3t+p1kIyGzM4Lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qgB5r-0048um-1V; Tue, 12 Sep 2023 21:38:47 +0000 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qgB5o-0048tw-2O for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 21:38:46 +0000 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-6bf3850bcd2so399557a34.1 for ; Tue, 12 Sep 2023 14:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694554722; x=1695159522; 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=AwszalQokQ1NqrRpJWWhjsf7sOywVZ7OqQL5uK785v8=; b=SLzGupcqhSzmjpx/RDVBdeouoDbt7sWgyrQ0I1aFWK1lDx4ab8znmgBkka3C4Kmd64 MqfeMdvHkpDr/B8oDBX6z9YdDrzBZs+Ya0EU+JIqhgDLtM9wB7ZsatT1Pa19Mc36amm0 W7Ae+Fm5aCVTx93W8rnjNsFaK08O61aGHSZrFwuNrg9mZqgZlLtNBRBNX0hjdlMtc1E2 bdeuhAxzZ01fy7ovwuh5VKpeZLKa3214caWcEyRR/ir/TeY9iEHexGYmKGeAzMxXTASb y5y9EchOZTskNtBnjoBUOUrbqCCPSn5JwGZDzRHCmKwMqNAQm2aKE3ORWObcjGS2YtI2 +ByA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694554722; x=1695159522; 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=AwszalQokQ1NqrRpJWWhjsf7sOywVZ7OqQL5uK785v8=; b=rlzScQnYR87Fgc7rTtiBc36mD4VbDo+JsexloOT7oSmmeyucxh+mQYUXmrUnTuXYON 6poCVeZBY+HOY/2HgWpMlg0Ohd9CTyoA6gedsXffVZ3YOWJvFEsxfP7twZbibj+JQ7O3 6paYHYP2ShZeGaCkSU6kI9aS4kaj4/UaWp6cmDIZheLOF6f4jNaEShHaOSWQelEzaWTU W9l17SJ/OJGIrmlwR2Qm4zWZAZgKjz9P0N7Q8AJXAWOONCXoqXnW+KJ0u8cpTunpK+AJ Y9z0uJAwhsVBgWqtMf85vqduFrOe/S0NOJHm45QD798eOUhXkPCD4ysn0AcOc4DSR3tB EYgg== X-Gm-Message-State: AOJu0Yy5KyD7zcUQ4xCjNEmlZIwtSbuvfklLWqByFlF3PrjQCdyEEmNO PeRoHHsFdamWQTWDH3iuroazDZ//7rI= X-Google-Smtp-Source: AGHT+IHTLUyu7Illrd/PcYVHgJVob3ReLRo4UKtech6u3u+9+KFFfHP+nEZ47gbF1ADl0vsvWb8BVA== X-Received: by 2002:a05:6830:3546:b0:6bd:6d51:e9e5 with SMTP id bf6-20020a056830354600b006bd6d51e9e5mr1146637otb.0.1694554722550; Tue, 12 Sep 2023 14:38:42 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:676a:5a77:75a8:efc8]) by smtp.gmail.com with ESMTPSA id j14-20020a9d7d8e000000b006b881a6518esm4415264otn.10.2023.09.12.14.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 14:38:42 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH v2 1/2] ARM: dts: imx6ul-tx6ul: Use preferred i2c-gpios properties Date: Tue, 12 Sep 2023 18:38:36 -0300 Message-Id: <20230912213837.1804113-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_143844_775453_11898D49 X-CRM114-Status: GOOD ( 11.85 ) 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. This 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 --- Changes since v1: - Fix typo in commit log. 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";