From patchwork Tue Sep 12 21:38:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13382198 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 27FD1EE3F37 for ; Tue, 12 Sep 2023 21:39:13 +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:References:In-Reply-To: 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: List-Owner; bh=aYvZ7FKaZhqXsiT5SEwvlnzymnOVlVRb6S1RU9KRI4A=; b=bs+m70ylaapeq8 BgQrZ7DLz0o6uxp+ycWdaj8N3srHniIOgZNO6vxzz/6apDNTTjCuoXYRZPuMz87/62ZZ/drP6PYIg WPUANb2hqDJV6x1bJYfQihK6s4Wo/jKKAnx8ia+FY4LZfoBHVr+jILmx1I9H8PXq6sYJakGSlQIdr fcK7IfkMxG6z/jx15xFkQ4VN0Iw0VuyhFnQZURZcMeLohZV6ZIfPNK+A8G4QwnWhhXbxY2VZ2e5kW SssfkibxNqn7yrvopXWBLbyKTpqFEINhvmrW7yzDUUHdEOWcqf2MXLm5Ab3Qi+CzkeNG4pAEyBAWO pXWepWKvndQPrXOC6TUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qgB5r-0048v1-37; 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 1qgB5p-0048uN-0f 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-6bc9353be9bso1047852a34.1 for ; Tue, 12 Sep 2023 14:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694554724; x=1695159524; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rfj9pAY5jMQha0/apEQW8rCe8NOUath9j9ddenVr5NE=; b=b/KMzpPLahueacyenOZCM16wKyLniW9/c6xpn5uNztHCqrAFFtUGLSqmhbuWNTRy4t Hc27LfNPVJCF5aggmtAdFQYgAqlJJCgXgu4O3rE6LjkMNMCbWxYSYPdJv7CjNKOGMMov 4f4CW9iMjBuIOHjh7a+1YfJB/WDAWBWpvCoel0r5ZbW3zOTntQMR+LbCD05pyoTrWuWJ a/2lrd7L/HW5K6P/zYCx7w1tU9mtzpCnDSIGyjBhluMjcMeOBq8A3Aq6hkxf5SoQRL4A IBtW8RFlqBCnSI3sPXzKXPl2tPg8mjTJhW8wTTAS+hAcrxb4arDaQEveR6ne37zxCEAE fOlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694554724; x=1695159524; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rfj9pAY5jMQha0/apEQW8rCe8NOUath9j9ddenVr5NE=; b=Zu7jqQW3XtgsLTtjFO775LyQHBZN7r9PqWnx8y1LPt2m76JYPD9/o4eEAI+MwacC0y 89cmWMtdY3Db03qqBB/RaLn0HanENoePQM4DNBPrjjWoA6fCQkfbRWJ/NGUjmY1GMyfC jh+PNn9bIyrfw5FONEJhsL5gAeL74KSeWRjkYfzyZmlzT0M8xwd5YOiFIneDrxQ65+WB yisC7mJk1yCphGW9qlArbQMR6utqlpMm4DSmUFIEGairkJms1/aaeVT8Z/0S78uJIYsG PozHJ4q77JT7VRcJFlE4JaSZndG9ZNzR2wnfes9Ur6VyaO6UV9dUNztSuqv3IgHxp8xe iDoA== X-Gm-Message-State: AOJu0YzCQJy4P1CRRcAEZUjQF7Xws45HfIenjqFcCl2hkPkZPHg2vmp2 e4p+yZDrClqfnPqlSSTkM4ga5LjBmkA= X-Google-Smtp-Source: AGHT+IFfFGhGQylllzcq7RXQGgJc24MHq2N30neNZCuEJSC65Ts3qTMBcE0wjZUCfl9OhruTHV2URA== X-Received: by 2002:a05:6808:3247:b0:3a9:e8e2:579d with SMTP id cc7-20020a056808324700b003a9e8e2579dmr872824oib.2.1694554724304; Tue, 12 Sep 2023 14:38:44 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 14:38:43 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH v2 2/2] ARM: dts: imx51-zii-rdu1: Use preferred i2c-gpios properties Date: Tue, 12 Sep 2023 18:38:37 -0300 Message-Id: <20230912213837.1804113-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230912213837.1804113-1-festevam@gmail.com> References: <20230912213837.1804113-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_143845_240760_37736C5F X-CRM114-Status: GOOD ( 13.40 ) 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 From: Fabio Estevam 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: imx51-zii-rdu1.dtb: i2c-gpio: 'sda-gpios' is a required property from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# imx51-zii-rdu1.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/imx51-zii-rdu1.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx51-zii-rdu1.dts b/arch/arm/boot/dts/nxp/imx/imx51-zii-rdu1.dts index 5d4b29d76585..7cd17b43b4b2 100644 --- a/arch/arm/boot/dts/nxp/imx/imx51-zii-rdu1.dts +++ b/arch/arm/boot/dts/nxp/imx/imx51-zii-rdu1.dts @@ -119,8 +119,8 @@ i2c_gpio: i2c-gpio { compatible = "i2c-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_swi2c>; - gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>, /* sda */ - <&gpio3 4 GPIO_ACTIVE_HIGH>; /* scl */ + sda-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + scl-gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; i2c-gpio,delay-us = <50>; status = "okay";