From patchwork Fri Apr 7 16:14: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: 13205047 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 5BC43C6FD1D for ; Fri, 7 Apr 2023 16:16:11 +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=bdZtvlkvqOhkfz4j4JAgd19IBYRJ22yOwzFne0NU6j4=; b=d/FHF9+lYIdvsv GUnD9rjWdP8bccJxvcSiVFLtM4dSXm0KReeD2Cy/lbUO+7xmcFBqtGQTeBb1flcGdId54gVzlj4pg paS0XPPOyhe4y+BGILNU/y9nfZkCOpbg4RPngByti2ACIS/X1Ng0blX4rCLXFU3OXOfHm9jaND0G3 4UQlGWpRO65q0bxk1cUzeKrHqAa/1w3lI8UIS1mD5wcTmHzPXxrCMXFWK0JPKTSRu96ekfmXi0uDU Xyus+WFiA9h9g8VVdop3BCMpAzJrgIdcGO3qLt5VyYChi7HLDFqzUUfEezO6YRZmqX0tBhAvTbiiV XOvwCruZnfq+p3GEBMqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkokJ-00Ah5G-1U; Fri, 07 Apr 2023 16:15:27 +0000 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkokG-00AgvJ-0s for linux-arm-kernel@lists.infradead.org; Fri, 07 Apr 2023 16:15:25 +0000 Received: by mail-ot1-x331.google.com with SMTP id 46e09a7af769-6a37d42f989so162710a34.0 for ; Fri, 07 Apr 2023 09:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680884124; x=1683476124; 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=tZyvvgQEdHO6FsUf6DGM2oqa7+ztGwt+ZwRzWk+9YQ0=; b=q51Ce+0CfZ0ql+gEnula+2LEuyDr7YnPVJUqoKY1kOIqUG5/z7XBxdL51CpXKd8uSm 1LZ2EDnsWCmdlMJNH6WDER2QxTfilP32ZKuqMEcdBWDi3cAVALsHTpnzfFvdiyNE7l0y xfU1oq3EYfxtwFggwgg5Y7ECarwEPWhcEc+oazBw1tGVXzPVJPsxAR0iXEJfHti6CLR2 m3K6+cIG67kq/rARxk1j7cJNcm+Pj/6K2ame6h0s3K9WxLyPa9z2lUWXjSHbO09W2u6N VkyxL9A9vX7l0BMc8lxaLZj4umAtsDQJFoyNJmvphhRZm6PqAit7mEBXFKcr4RZYTg/k U/BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680884124; x=1683476124; 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=tZyvvgQEdHO6FsUf6DGM2oqa7+ztGwt+ZwRzWk+9YQ0=; b=XvdC8i+50BuQr5kw/05hLMkDhAVl5b0d9BRH43+zh0fcm4xmtu0DmwAXagTEgB1UEW HVClahA+M8KmU+OrDGvsHLWb1cbMooIpqQZP/wvtFwulZ00CXeEpVKg3pplFo+DOagGJ 9UNIYJGaihAqPGdHxosyy5bNpsn2La1uWSAeR+3mQmaSvDI1yHAJZYEHdvk0zrqarZ2C lv3fN+pNyIccpT/BTCAz9/1AI2JgxdpdglHmQqcwE6qnudRsz1EBDPFVniUfSaAMRu8y 8wTEpJ0WjHLsjh5uuVFYPWBRTbuvhkFPPfhtdtXCU/GFVuLkDGbd19MwAvx2aIH8SmMP 0CAw== X-Gm-Message-State: AAQBX9dpCPUNjtWOzc9347xiG6rsakqiNtFdGlPDxzJstWUTzuMOibdP Zf1jfAwlUMM+bBFWQpTzYg7JmN3zv7s= X-Google-Smtp-Source: AKy350YhPE6xzw2gj/oMGKeI54CLowJ3UPwi7RoBrJaBP3PRMGjmtLZMQt5Qd2f5gEi335lIwK4GtA== X-Received: by 2002:a05:6830:d86:b0:6a1:6d65:9849 with SMTP id bv6-20020a0568300d8600b006a16d659849mr1835998otb.2.1680884123891; Fri, 07 Apr 2023 09:15:23 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:7f0:b380:973d:85ce:575d:c0a1:5abf]) by smtp.gmail.com with ESMTPSA id q25-20020a9d7c99000000b00690e21a46e1sm1801910otn.56.2023.04.07.09.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 09:15:20 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 7/7] ARM: dts: imx28-cfa: Replace deprecated spi-gpio properties Date: Fri, 7 Apr 2023 13:14:44 -0300 Message-Id: <20230407161444.1682038-7-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230407161444.1682038-1-festevam@gmail.com> References: <20230407161444.1682038-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230407_091524_312663_404BA814 X-CRM114-Status: GOOD ( 10.98 ) 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 As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml, 'gpio-miso', 'gpio-mosi' and 'gpio-sck' are deprecated properties. Use the recommeded 'miso-gpios', 'mosi-gpios' and 'sck-gpios' instead. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx28-cfa10049.dts | 10 +++++----- arch/arm/boot/dts/imx28-cfa10055.dts | 6 +++--- arch/arm/boot/dts/imx28-cfa10056.dts | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index 94d6614c1983..c5a7f56d83db 100644 --- a/arch/arm/boot/dts/imx28-cfa10049.dts +++ b/arch/arm/boot/dts/imx28-cfa10049.dts @@ -100,9 +100,9 @@ spi-2 { pinctrl-names = "default"; pinctrl-0 = <&spi2_pins_cfa10049>; status = "okay"; - gpio-sck = <&gpio2 16 0>; - gpio-mosi = <&gpio2 17 0>; - gpio-miso = <&gpio2 18 0>; + sck-gpios = <&gpio2 16 0>; + mosi-gpios = <&gpio2 17 0>; + miso-gpios = <&gpio2 18 0>; cs-gpios = <&gpio3 5 0>; num-chipselects = <1>; #address-cells = <1>; @@ -124,8 +124,8 @@ spi-3 { pinctrl-names = "default"; pinctrl-0 = <&spi3_pins_cfa10049>; status = "okay"; - gpio-sck = <&gpio0 24 0>; - gpio-mosi = <&gpio0 28 0>; + sck-gpios = <&gpio0 24 0>; + mosi-gpios = <&gpio0 28 0>; cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>; num-chipselects = <3>; #address-cells = <1>; diff --git a/arch/arm/boot/dts/imx28-cfa10055.dts b/arch/arm/boot/dts/imx28-cfa10055.dts index 42ba7da48beb..70e225a99fbe 100644 --- a/arch/arm/boot/dts/imx28-cfa10055.dts +++ b/arch/arm/boot/dts/imx28-cfa10055.dts @@ -19,9 +19,9 @@ spi-2 { pinctrl-names = "default"; pinctrl-0 = <&spi2_pins_cfa10055>; status = "okay"; - gpio-sck = <&gpio2 16 0>; - gpio-mosi = <&gpio2 17 0>; - gpio-miso = <&gpio2 18 0>; + sck-gpios = <&gpio2 16 0>; + mosi-gpios = <&gpio2 17 0>; + miso-gpios = <&gpio2 18 0>; cs-gpios = <&gpio3 5 0>; num-chipselects = <1>; #address-cells = <1>; diff --git a/arch/arm/boot/dts/imx28-cfa10056.dts b/arch/arm/boot/dts/imx28-cfa10056.dts index 0e15bdfd7281..bc2d6fcad12f 100644 --- a/arch/arm/boot/dts/imx28-cfa10056.dts +++ b/arch/arm/boot/dts/imx28-cfa10056.dts @@ -18,9 +18,9 @@ spi-2 { pinctrl-names = "default"; pinctrl-0 = <&spi2_pins_cfa10056>; status = "okay"; - gpio-sck = <&gpio2 16 0>; - gpio-mosi = <&gpio2 17 0>; - gpio-miso = <&gpio2 18 0>; + sck-gpios = <&gpio2 16 0>; + mosi-gpios = <&gpio2 17 0>; + miso-gpios = <&gpio2 18 0>; cs-gpios = <&gpio3 5 0>; num-chipselects = <1>; #address-cells = <1>;