From patchwork Tue May 16 13:17:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13243166 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 2898CC77B7F for ; Tue, 16 May 2023 13:18:23 +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=f4Ls1gZ0W24UXjQqvHEIKDp/1Dl42FThSt88HTnjtbk=; b=fr+Xh92oxN0sgQ ZokWzjSCbGs1aFmlSZyrW4ME7sCcGsV3RlKxW7oWVIa+i+Lvfpv7BHToCswPgo7L96P/EVxXKFlJh EpMdWml+f9TOjiJgkcSaPYrZgYsBqA6nv5uHCa7O2ZVSp+ptZBSYjEhtovtvgLC5STLbayWHRk7a5 is/5wgLHd92Kt7WdFe2ycXyf1mVq5sdA7TJ2anJ3nJm26XWtG5jqoOKy4UY1VIPGPXdIMHfEGt8W3 J7TM3zNeaFwzMcdTAY6oyNG2ROT31rUivGN9aOHAx007x6UM9rKia0wFvYd+gBkfhEojp94dptofg OQtUESy+nybhP1CBja8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyuYy-005so4-1D; Tue, 16 May 2023 13:18:00 +0000 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyuYv-005smP-0p for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 13:17:58 +0000 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-1925fa399c6so2966983fac.1 for ; Tue, 16 May 2023 06:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684243072; x=1686835072; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=q4TT/qe2NSVHR/sToSR6o7vzIlNFMNpSMTh4ahD7gKg=; b=l+cpjtLzS359Ldzzx/w4ML0/1jodqHOuSf6CV/7OWyD1ExU5vZiExIoxAdpxb6Y7RX y+woz759dZVmrLa039X5A1TVBDuV1ZcnVM4K91+3dGGfvZDpKNZV22FPBP5M8KtdNcFU LacAzudV8dSG+TIwVn8+WoesrMEBGnApXKRqmog4iJBAZAMF0IY+ZQGxcDYBCwBRfVbL vskGi2qm9Dvzy5V1ZJjFUs3cw8FXrC7dwfm0JOdZbW+3neMHs8T+J5LHyZpehTk8Rgxo QnsITuAq9k6HTj3dWq9brq5ufwKjqAQZo56hC8+nFBJxgFQyOBL7tvsIeIcsXsxxgdSq RyYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684243072; x=1686835072; 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=q4TT/qe2NSVHR/sToSR6o7vzIlNFMNpSMTh4ahD7gKg=; b=C5U4pLSf+RBJd08DEB5hDLLLmWjA6iHlSwiLlALnGeqIeqy2AZ192X7tPgHAWNrmEV N5YbOwBXaL5VDmWbQdSLYK6YSBRf4HE9fDh+MvpsJrtnXto+1rkeLv+efrntNIa/U1dG EqFzaSCwxO3Ykc5ykukY5MMtDLyRHFJomnX3ULphb/3bbq6vsjw9FFduxyWwcrHThADZ tVk1HhTThi+tdrRfdnl6B1E0VuDdd6lruCVPTdtpD7czpvdp/7ZL5aaag+2M/xp+kiGd 2E0iRhKw3b2D1HeKac+ByK9LGD0kIx2R/4f8yPbMaN0ZqBMaTSVzjqlQWtgqFd33dGbV cvow== X-Gm-Message-State: AC+VfDyIogwkdQSyy+iM6pp6SyfS61aSJImvp1vYcrgMyaymWO7gx2QV M9SlEXquHm9cMHIz+oD/4qw= X-Google-Smtp-Source: ACHHUZ6DFMyOxltvWZDouGjeWOEVHVowlYFk4gLJuq6qNtjhlWGL74raf/xQeFu/Ie3N/CeoE9ArNA== X-Received: by 2002:a05:6870:618e:b0:18e:a5ce:71f7 with SMTP id a14-20020a056870618e00b0018ea5ce71f7mr6552096oah.0.1684243072249; Tue, 16 May 2023 06:17:52 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:12fe:baa9:ec21:f64b]) by smtp.gmail.com with ESMTPSA id x19-20020a056870435300b001843c39b65esm13028340oah.21.2023.05.16.06.17.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 06:17:51 -0700 (PDT) From: Fabio Estevam To: f.fainelli@gmail.com Cc: hauke@hauke-m.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 1/2] ARM: dts: bcm4708-buffalo-wzr: Replace deprecated spi-gpio properties Date: Tue, 16 May 2023 10:17:45 -0300 Message-Id: <20230516131745.580361-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-20230516_061757_294608_0D47D06F X-CRM114-Status: GOOD ( 11.32 ) 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-mosi' and 'gpio-sck' are deprecated properties. Use the recommeded 'mosi-gpios' and 'sck-gpios' instead. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi | 4 ++-- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 4 ++-- arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 4 ++-- arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi index e583b9cbf07c..0846887ba144 100644 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi @@ -16,8 +16,8 @@ / { spi { compatible = "spi-gpio"; num-chipselects = <1>; - gpio-sck = <&chipcommon 7 0>; - gpio-mosi = <&chipcommon 4 0>; + sck-gpios = <&chipcommon 7 0>; + mosi-gpios = <&chipcommon 4 0>; cs-gpios = <&chipcommon 6 0>; #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts index 43c698a0a7c3..95ef6ca7210b 100644 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts @@ -28,8 +28,8 @@ memory@0 { spi { compatible = "spi-gpio"; num-chipselects = <1>; - gpio-sck = <&chipcommon 7 0>; - gpio-mosi = <&chipcommon 4 0>; + sck-gpios = <&chipcommon 7 0>; + mosi-gpios = <&chipcommon 4 0>; cs-gpios = <&chipcommon 6 0>; #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts index 407319cb5c0d..a2b7644eaf39 100644 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts @@ -28,8 +28,8 @@ memory@0 { spi { compatible = "spi-gpio"; num-chipselects = <1>; - gpio-sck = <&chipcommon 7 0>; - gpio-mosi = <&chipcommon 4 0>; + sck-gpios = <&chipcommon 7 0>; + mosi-gpios = <&chipcommon 4 0>; cs-gpios = <&chipcommon 6 0>; #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts index f8622ecce6a2..7655e4ff2d1c 100644 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts @@ -28,8 +28,8 @@ memory@0 { spi { compatible = "spi-gpio"; num-chipselects = <1>; - gpio-sck = <&chipcommon 7 0>; - gpio-mosi = <&chipcommon 4 0>; + sck-gpios = <&chipcommon 7 0>; + mosi-gpios = <&chipcommon 4 0>; cs-gpios = <&chipcommon 6 0>; #address-cells = <1>; #size-cells = <0>;