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>; From patchwork Tue May 16 13:18:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13243167 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 135F0C77B7F for ; Tue, 16 May 2023 13:19:24 +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=GMROZBWOHgd/oiLNpwlta42w1imN4NRt+4FzfBzVe7w=; b=S0FavpPVXTzVgy 72GM98zReG1tKMSPf0UwboLO2VwWHU4UtCINrwj6hP+ApSAAJOcQbl6Uq4nk0YyoElRFyEPkI5WbH tEv+1YEDaWMSH05A1HSgaJruU+72coXTxR9nf7sapO0nnat+JR90xzAx7rHmtEhqfivYH1qZBXydh IaNtHrqmzdIyDoKmuagRD1qR3qS4B8cJTjwOztEdWWLguPYl63RC41urhYdG60RZhB9IWnNI/FUyb vFGjVajr+zSVxAVDgpIm2G5wF/MY6zS4uYoBMyIFE0u2oxVJOZf3IZhQ5VIOoKcSTWnmfHyvVyLp7 a2FRyDg+fbJxfeAhAfCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyuZx-005t9l-0B; Tue, 16 May 2023 13:19:01 +0000 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyuZv-005t8E-0v for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 13:19:00 +0000 Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-6a93981c8d8so2190620a34.1 for ; Tue, 16 May 2023 06:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684243137; x=1686835137; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zWCoYyc6KMpf4b+p57bQAtgyaIy8WwxCdNoHBbj8E+o=; b=BgcC5KEFGseKN9ErbNho3kDUNDrqVvHQjIVOcNYZ7DIlez4dDqyMcyEAOa5GWevhfx pjHZy7+sz4GEmVt0OmepYuAVX4N4pUbw22hni1/mGD+darfCGQM79gMUDX8A3AzCUsFw H3PWr3AvKvHdJVccPC+x5+VecKyC0BLVlabDapPxpeNSlFY5CGiyFF+Tv/gjW8amNKbf 7JcuqdjyW4LrR4TqNqJQ0XKndQZOcU54B+3ysefycjVAA6UVZQ13MtwNpg0FwTr7iNMl FsvLS9PhbxxM3LQ6LoA3YdPKzY7BGqvpLaqU++NA/daTWEV/Y4k0dc5xoI3jXk4cB8z4 BIDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684243137; x=1686835137; 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=zWCoYyc6KMpf4b+p57bQAtgyaIy8WwxCdNoHBbj8E+o=; b=F9pf3TqKeDBwXm0p+WqppJPn9xq1iAl/3fRwQ41fMKtzD+Fhr4GAsUcebSBkLfJKYH N1bhMByBhWgUbStCfuCvHi7z1pou9fqvyDZ/9ucwN1H/5YvcD3f+A8aM52xrDjqhRpV7 zw74965eAjVtHKfA6Af372FgqSg1H4Pjvq57xxBMfuh1mwPlhhooG31MyNfVhxj2r7jn 0nEIbqEQx99pE5LNeJ80YIYBHUzY5pbe9kfpbuakB/N1OGOOzP+DKvX4Fgdkjuykfq2K CLCLUHx+csFj595mv/0+AHRG9y8Eie6KJliCsZrFm6GRwpbtDSD0u7JZhRNzKlre2Bc9 LDEA== X-Gm-Message-State: AC+VfDzJDuW9odIUnxb8NkIEEjSXG5SSHoib6smPGGHiPhz1br8/gHl2 DsJnEUJHdz6+yNGLwtTvFt4= X-Google-Smtp-Source: ACHHUZ70p+9YkT0P1vLXAGzIwlJGPyi3xnAAAPhAzJcOtEgDWWKrADjv9tb/LwlXHWuQa+XVPcEx3w== X-Received: by 2002:a05:6830:459b:b0:6aa:f618:8103 with SMTP id az27-20020a056830459b00b006aaf6188103mr1009385otb.3.1684243137230; Tue, 16 May 2023 06:18:57 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:12fe:baa9:ec21:f64b]) by smtp.gmail.com with ESMTPSA id l12-20020a056830154c00b006ab15b6f50esm7763917otp.59.2023.05.16.06.18.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 06:18:56 -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 2/2] ARM: dts: bcm947189acdbmr: Replace deprecated spi-gpio properties Date: Tue, 16 May 2023 10:18:48 -0300 Message-Id: <20230516131848.580507-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_061859_324451_C391804E X-CRM114-Status: GOOD ( 10.30 ) 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/bcm947189acdbmr.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/bcm947189acdbmr.dts b/arch/arm/boot/dts/bcm947189acdbmr.dts index 3709baa2376f..0b8727ae6f16 100644 --- a/arch/arm/boot/dts/bcm947189acdbmr.dts +++ b/arch/arm/boot/dts/bcm947189acdbmr.dts @@ -60,9 +60,9 @@ button-wps { spi { compatible = "spi-gpio"; num-chipselects = <1>; - gpio-sck = <&chipcommon 21 0>; - gpio-miso = <&chipcommon 22 0>; - gpio-mosi = <&chipcommon 23 0>; + sck-gpios = <&chipcommon 21 0>; + miso-gpios = <&chipcommon 22 0>; + mosi-gpios = <&chipcommon 23 0>; cs-gpios = <&chipcommon 24 0>; #address-cells = <1>; #size-cells = <0>;