From patchwork Fri Jun 2 15:10:23 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: 13265494 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 115EBC7EE24 for ; Fri, 2 Jun 2023 15:10:57 +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=hnCZkhAsmP0BysFMf0+yEhW1MmFzCBnMYVSAei/3q5c=; b=ZT5ltVk+4n+2YY JCG+YIaOcSd1YQW+dGGIx/cKayWh9N4NvSgrfU9VEHuvblc5Nuguc+qAZAFW+zkmmBghSbnuS5ko/ ukXRf4HK9UOhDGwTeFIafaGmMqDQYwp6QxOW/mEzEwLXOV1Nysey3UhSdxMGxAUguwlGBcfIWfbR3 mgESDHqEzi4Xv6NKbUhx1ylXLUpnNE048mdR6ulVkRLVuwMkIN+sv1s36QcQ8shRjEDAQzOdjGNgo xFvJPVKqpcoxfwcAUSP5LDrX/wSrZXtkN9JDCEZRUFexX8nPGxBhJYZ1OdI9ei9wHvbS4UuKD9VAC mACnjqm0ukEofC+Hxaig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q56QE-007DAc-36; Fri, 02 Jun 2023 15:10:34 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q56QB-007D98-2O for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2023 15:10:33 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f3b4ed6fdeso2871319e87.3 for ; Fri, 02 Jun 2023 08:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685718628; x=1688310628; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HnLsk6jDDqo5sMm8ukF9RbIFXwBQOGbNHyy1yJ+BIY8=; b=VZmCPOhwm5Qb4UoZeOgjrNl+/S955GOGVNwjrcNTqsugACyV+f3GKfgikfTcy6y+03 A8hUqbO/czZj9VrJreZZs7AqgfezHORPpSxTW0DDciHtzMA5CvFH9KzESigJ008sOhQS aI7DsJVYmw7KSnZdvgtk+w/xOdcDZkq50rEK2xenaX45vszEym9FuRvWmYW+3pqX++/j ADVs7JB0OoIlbbfU10BhmjKGKcnEMWujSh5PHQdTBKWuhU90gPkPbpxLbT46XmIzmJ8V gH8/o5rDjvWU5dSzDPLtfecId6YvJo5EzBEpch6QKwf0gycJI6WoDYjHUGPjeV1LSkbI 0ktA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685718628; x=1688310628; 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=HnLsk6jDDqo5sMm8ukF9RbIFXwBQOGbNHyy1yJ+BIY8=; b=efDDX/YajndDSm/HHBulZUAY8O0/uhIAyHMtC4rqBkaeWnXq8pMpwK0civsQwziOOF I+aof9SXbaFhbFTSiWu175aaO/6XRZdGm7qpqcapkXjDCN70wOmddpcU1ifig7kUlXhB hI2Jup6Ja5Nkw5OxWjNEWmJG/t0gyX/2+D0qELj/REQsTTndtrB8Xapd2kJLpwo50b1T tFQsZO8WA7pT0lKnFOf9wrM+3CtdYriBECilTmDLEXSA1eaGE5TE0CBjBJKB81xHio5t Dj8LNr+d0YQRbewcYZaKJV+kN0JeLihz9FKKMYgBzVjLDB6cnmpQlsO+1O7gbl02WE1E 7xXw== X-Gm-Message-State: AC+VfDzmFhV09Y59P3qFwDRPvoDmcVLbCQHDyxYhiZh+7k07f/arqp0H F9sfsClNJQzRt7HW0ibgHxo= X-Google-Smtp-Source: ACHHUZ6oUbT8aezDjY4ZDRg2WMorO9P1iuCzVI9kvvPgKyfQb3TJc7YEd2YRlqPK/jI2GNpkdZRtyQ== X-Received: by 2002:ac2:4a9a:0:b0:4f4:b3a6:4140 with SMTP id l26-20020ac24a9a000000b004f4b3a64140mr2018798lfp.42.1685718627634; Fri, 02 Jun 2023 08:10:27 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id r23-20020ac24d17000000b004f4b0f20f1fsm190000lfi.281.2023.06.02.08.10.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:10:27 -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 V2] ARM: dts: BCM5301X: Use updated "spi-gpio" binding properties Date: Fri, 2 Jun 2023 17:10:23 +0200 Message-Id: <20230602151023.8607-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_081031_774500_B424A614 X-CRM114-Status: GOOD ( 13.09 ) 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 --- V2: Update bcm4708-buffalo-wzr-1166dhp-common.dtsi as well --- 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>;