From patchwork Thu Dec 7 10:12:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13483092 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 4DFF9C4167B for ; Thu, 7 Dec 2023 10:13:01 +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=GbjBXRsdSSGCvJIZUMWYaEEY5qIm08rdxjlQdWLhIEk=; b=DG0yZhfjsdI2ML QS3NKBVOHQlGkRQ9/tDKsh4JQ0dEV+lQ5hCWgWOdpDTg7VvLAtKuOAYg8pjJi5gXQ6GWuDFw2j6PD KEHduP3RpEWZkv/sA+XJB6lmY0wMs0myFlqFWF2pBtwgUTlaDc280n8PN4vssVH9XiO6eEfcRks2j bEy14eulCwgc3YZ1vincXZz5SQM1Hcvc7klN8Yh+ehwWnjJfFBfyTlSfc6I2RCCV/Nxm5jjcvIKTh WKX8ywjBPZHTdNVk+ad/hAotGwxvVyEcfVTtnXv3Qw1pWG6l9pXCrMekRLJHBVib++i8yq+XkOMfZ Jlq7sdU7SRVgnvKnVZzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBBMr-00CRqj-2F; Thu, 07 Dec 2023 10:12:29 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBBMp-00CRpd-01 for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2023 10:12:28 +0000 Received: by mail-oi1-x232.google.com with SMTP id 5614622812f47-3b9e0c3c2c8so43224b6e.0 for ; Thu, 07 Dec 2023 02:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701943945; x=1702548745; 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=t53iq6dRn25W4y0nZZ+zJKS+/46lFI2YJ/UDH8dGZCk=; b=ZKcBPh/HMQpilNYt1mLvP1VLpUwYluxtbOkaAnHi/nz2FWivKqKQf2VOmHlawUgWEm 4Q5DCQAYLYXXmb7CxYL84E5SFo/xLXenHaWwRmAb8WqAN0ROGfMY7nSKYHGCsNtph+XV ncwT8aFNjU95pTTYZKSrRCccyt2fTi83v8xKFgzNG+KMTI2jJ1i1HpEPNmPkt/QtAgSW NMuRjNWkVgRVzsea5pLAoEp9D14+eT0U2eQOx1JBqIbYkF1Riuf0CFtpLIqywpd6mfY/ +xKFQNcIEBqjV98vLxW6nZJrrq18fF1Un9I+dzDOVNYNdxCFzGCNPlLHLz2Tq6EEMVy3 pe2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701943945; x=1702548745; 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=t53iq6dRn25W4y0nZZ+zJKS+/46lFI2YJ/UDH8dGZCk=; b=uGWyEfWnN5EsQDm8dxbcNp2af9+Sa5LXDkuVNVwsi+ZXNsQAXGFMNYYLiaM5uLBkyh z0kglhZBJuEKmTN02rh4RTXceUy72gPzA0TT02fufBHZwXn2ViJtEA95AEll/WLHUCBZ jj4wiaaVIsp2+IdIN9cbpUMBKLRXJA2wuCc7iwiWkUxjA62GHRcVocJMSvYy3OK97UuT dlI+JggnMbnWHpaiPsNobbi62Vhwi7xJ1bsbpgA/MFidMs0wLzMY9K1NMHYr7S9MaOa/ vNM3IV/PPDJ2QtvgX7Hcx3wCkIMO2P8YGuM+slsEDQ+Sdk+WwyOnGMoxSYJJAlQTkCp7 E1kg== X-Gm-Message-State: AOJu0Yz2wcsqczkv8RdQCZN4hK0A4FrltuTPgbxOlmawg9wUmLe4mPzo hyt6naSZacjBH5vQzB7YMBhU1vB60rc= X-Google-Smtp-Source: AGHT+IEB50iIEZpFMgzrZ0jNny9MkjV2Gm6Pe8Nc/c+epi5XoQyY9ZpQLzTjfJtgPc2hfMRQNxqzIQ== X-Received: by 2002:a05:6358:884:b0:170:4ac0:f9e6 with SMTP id m4-20020a056358088400b001704ac0f9e6mr5643126rwj.3.1701943945343; Thu, 07 Dec 2023 02:12:25 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:492a:db3d:eb42:de92]) by smtp.gmail.com with ESMTPSA id g28-20020a63375c000000b005b458aa0541sm892512pgn.15.2023.12.07.02.12.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 02:12:24 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] ARM: dts: imx23-sansa: Use preferred i2c-gpios properties Date: Thu, 7 Dec 2023 07:12:12 -0300 Message-Id: <20231207101212.2495648-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-20231207_021227_046429_9D6CA461 X-CRM114-Status: GOOD ( 10.14 ) 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: 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 --- arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts b/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts index 636cf09a2b37..b23e7ada9c80 100644 --- a/arch/arm/boot/dts/nxp/mxs/imx23-sansa.dts +++ b/arch/arm/boot/dts/nxp/mxs/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 {