From patchwork Tue May 16 13:15:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13243164 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 02ED8C77B7F for ; Tue, 16 May 2023 13:16:00 +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=jxOpW/55hyI6yAfS/tH5gbOfolzwWWBMMme1Rnrc+v0=; b=NKIjwDbyQTNRlK nVdcMo0IfFiniS0ZhD1QZvzJK1QlxpyrSOZynmiWWqNv0DikRtCsjJRKlf4QXlBbz8+12mr8vvkcw vhPJOAkpMoS+2LQU9O8pVqqgwRM4fPG3xLjtnQjgT/Aa7Lg2hyPcg9d/rR0cH+NIDqjV6Coiv5TGh MbRdZvuKzpc7np49enLX52Nle9FncyB/+9epxEzhSeoLCUL4Nd+DtQ5bsd5YPzRuuvUZprJhDbtAB pMzZWumB28mtVRnf87XruZsv7aBzpPqfuRwVEalGF6sJ1FkyggW4J5HU4Or6l2TLdUP+HgBTJywr6 h+T2yObhxY55xuBBgytg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyuWd-005sJK-31; Tue, 16 May 2023 13:15:35 +0000 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyuWb-005sIa-1G for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 13:15:34 +0000 Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-6aaf9180636so621924a34.1 for ; Tue, 16 May 2023 06:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684242931; x=1686834931; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8M1CkEaQmILboM4aYksgyMh6Zp1q5h2RHHddRmh6ZZ4=; b=sqU59nBGdFKWGbL0tH3USun1IB9pDADWybMpY1+sZawAP2zxqsMIJlvolOLn7jd95V fOd6YVYk7jdfDJMAj7G6ALXWct4U+vF54zv8LXtL0bHN9b6+oCRJZI6m90wAFr/rUiDQ hNdwLyT6IiinB+IdMLpFa8HITW1MKGeswB75fYON+QRyqrsAgwGlx17YbNGtg/befMjJ lhNQNjN0AENu+fsFbCZI7+Wo481DDV45t7tNLooCYwM+sdOJ+5BbRca3s9MgDvOh5sSv e7psTIozNTjF/m6vkoAfT9bCnrYc9n9CfKXu0Lrv7vyTUfIo7M2KUXzhOsZ/VfDtN50b s1tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684242931; x=1686834931; 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=8M1CkEaQmILboM4aYksgyMh6Zp1q5h2RHHddRmh6ZZ4=; b=BkDJ0rhfpbWp/GhLulOjduScsN8dTV+gDXyq5HEdDaw7sbfmDnotCY3AwoHq4v34F3 lmTZ78zlQ0QfZe8Iu5tVV00ovjpojbuO7+0Rtcr/z1/aENbbmp13ZTGyGBCTr44UXwsc dmR+WPAwRcAtol+nDSQT9kr4QF+B/1HJkry/fhmUMuYC0sGU096unKFl/UX2HpMf236Y jnTg/MJVAT4Y8OmSvUj4ka/Xn01fzaQ85Hf85HOdyYgCZPpsH1s2ipSRpbOeEP+t++dx 4lluvA3mDNGJMqCG3ooCjJhpi9CjqV76VIkQcJR3ju3YHBw11s4wlgU3MXCknRVu+5ia Wk0w== X-Gm-Message-State: AC+VfDyQhoVfwiR41uUk/PG0Kal/dNInx5KuSjA3Nl8Q/CNPughGY8jb WAms7d2RZ/hr3OZ/HlSrrqI= X-Google-Smtp-Source: ACHHUZ58Mkx4TYdA+kCdgy42EyUN7rZ9l9IIUs5P3R8Dj8yBAiQks0QnEHCOz1XNqapoBaFPyZlrJA== X-Received: by 2002:a05:6830:380d:b0:6a6:2563:2dcb with SMTP id bh13-20020a056830380d00b006a625632dcbmr6489169otb.3.1684242931428; Tue, 16 May 2023 06:15:31 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:12fe:baa9:ec21:f64b]) by smtp.gmail.com with ESMTPSA id l6-20020a4a4346000000b0052a32a952e9sm11833897ooj.48.2023.05.16.06.15.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 06:15:30 -0700 (PDT) From: Fabio Estevam To: joel@jms.id.au Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] ARM: dts: aspeed-bmc-facebook: Replace deprecated spi-gpio properties Date: Tue, 16 May 2023 10:15:15 -0300 Message-Id: <20230516131515.580069-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_061533_426865_F11D7B85 X-CRM114-Status: GOOD ( 10.46 ) 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/aspeed-bmc-facebook-bletchley.dts | 6 +++--- arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index e899de681f47..005c4f62b4d7 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -39,9 +39,9 @@ spi1_gpio: spi1-gpio { #address-cells = <1>; #size-cells = <0>; - gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; - gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; - gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; + sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; + miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; num-chipselects = <1>; cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts index ed305948386f..7a3f0e81e96f 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts @@ -74,9 +74,9 @@ spi_gpio: spi { #size-cells = <0>; cs-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_LOW>; - gpio-sck = <&gpio ASPEED_GPIO(R, 3) GPIO_ACTIVE_HIGH>; - gpio-mosi = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_HIGH>; - gpio-miso = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_HIGH>; + sck-gpios = <&gpio ASPEED_GPIO(R, 3) GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_HIGH>; + miso-gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_HIGH>; num-chipselects = <1>; tpmdev@0 {