From patchwork Fri Jun 2 14:54:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13265430 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 B0748C77B7A for ; Fri, 2 Jun 2023 14:55:43 +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=30QMHOmRsQCHk0nzRzftqwLfplUXhJjKm6zeo2FgmY0=; b=SWo2hwtixmnWIl qgBqwK4kTrEh/1pZuanDeZL/kadp1UPQyyEdiUQ11Q6vtXLX5j29mURL2rz4+i0/Bq53C6K+TKJAt 7zkL5tfIVYpUExo2mLZ/8g+gw4xjzAzfAkH0+ORZ2BylQhM+pYlfWDKNhFsJh6k8itZM5Y7qqU6L2 AB/pVZcIQyCMbH/ZGr4F3OKaUYSAiJqtQBel/Qa6s5vYBJ56f9HkF/fn93boaxkKaXUTkKK2cCKlo COEAa4ggGHIcRsOYf6sDoJD+fXF52Oliyf7+bgAb5OdUs14NsTPp6cfPgXUZiiKkWPr9KlF8zxO0O W8SziCmmfCrdj+aFdrBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q56BP-007APF-17; Fri, 02 Jun 2023 14:55:15 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q56BN-007AOa-0c for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2023 14:55:14 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4f3b314b1d7so2844157e87.1 for ; Fri, 02 Jun 2023 07:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685717710; x=1688309710; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xJNUVlgds7t6ZphnTS9QNzdJzZn0b5QCJlQjBpXkafw=; b=e8/qkoCtR6xTkEhpN829hQI0x1nRJEmDo/dyOeB5Y4t6Poolv5I1NxPmfKjva8yOyx 9mEXVsH4Rb88/0+DexoaoL39ikcuiTOniyxTAXNHA1zprxAGeUDkO1yetxTMLT0iQSQj ejSIuK+2J3YCe63bP76OyL80Uxt+VEHKau/8NkhpKMDOrYj/xrupjz5a91NEuGRwcCny tp6Zqa2f1pKGzLBE+WtyO2jUHiXRh36QVwcDjWOqxWrZVem45HYkL8hUwNMNOmMSJz76 WOCbpM8N6PIfNg9P8MbCB/C5IffTMjCqJefBS3OoQoS2bfGe7fWUUJYHaSd82MOQgKw2 bcyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685717710; x=1688309710; 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=xJNUVlgds7t6ZphnTS9QNzdJzZn0b5QCJlQjBpXkafw=; b=IZvmDfAdEZ3c/lKCWyqGWP4temT8zJPFsnt2SIWb7PRLBuwDumZkDN2LiaJVySlz4M 4WdU621gxZ/tW2fbhwXIsgZoGFCmdBxOiarrWIbDbIgntZElQZ8QSV1fttz9Zl6lavCF KuLpn40YilpwHxKRInt/3vZpQKH7xKrgr9W9gkOaErMDIzLuceVrEFi8ZgysyOq9c3vu aVQROdFTMW/dijP485BC7t5QZU28bCUJCFuP19J83LLrcWT3k1wQP8TOQr9SkM8H9FNW wop1xiRjFrg80WpiCBTgYo1jIP6U8/as2UAw0HpZzVdkN+fsNexe7ENp9I6bIjaB7DrF 7zUQ== X-Gm-Message-State: AC+VfDwBGVyTT//bkjXSsxYH1hDUc6IgiCK0uoJ600U0+3okY8OX7yG2 f1P7lkv5M5mhwyN23wy6Rpc= X-Google-Smtp-Source: ACHHUZ6RmFY4GVpw+KVnVpJ0BrkQo4HXNM070W5R9Uxyj4XIJNdRg5/RknGrC5IH9C2FT1ZbjMa6Bw== X-Received: by 2002:a05:6512:96e:b0:4f1:3be7:e1d with SMTP id v14-20020a056512096e00b004f13be70e1dmr1812532lft.62.1685717709988; Fri, 02 Jun 2023 07:55:09 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id h18-20020ac25972000000b004efd3c2b746sm185234lfp.162.2023.06.02.07.55.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 07:55:09 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Hauke Mehrtens , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] ARM: dts: BCM5301X: Use updated "spi-gpio" binding properties Date: Fri, 2 Jun 2023 16:54:58 +0200 Message-Id: <20230602145458.6655-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230602_075513_234456_12670497 X-CRM114-Status: GOOD ( 12.95 ) 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: Rafał Miłecki Switch away from deprecated properties. This fixes: arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: gpio-sck: False schema does not allow [[6, 7, 0]] From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: gpio-mosi: False schema does not allow [[6, 4, 0]] From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: 'sck-gpios' is a required property From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: Unevaluated properties are not allowed ('gpio-mosi', 'gpio-sck' were unexpected) From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml Signed-off-by: Rafał Miłecki --- 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 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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>;