From patchwork Sat Jun 17 13:36:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13283617 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 64016EB64D9 for ; Sat, 17 Jun 2023 13:37:36 +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:References:In-Reply-To: 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: List-Owner; bh=tb2J8m5hByFb5meYEu2tp0qkAIn5/WAoRgi3KGWeIOU=; b=yF6Zsd2E11aR4J mbZEYVnOZzu5DmxYogHCtu5lsuTq2Vz7Ro6Y5JIG45UDM8LI7NdgBVfVQ7AlsbJGDuVh7UzMX2DJZ FJqXxdW6uj5BflSuUwZuVVdwhwY+EG91agqgipUpxKvDB99IOTZSBvet/gYTZWXVqxf6r95WHy9fe ZxMEQEy24vI8NmjNZHxZkLbsVtb85u5Pls00HZMk2YnVtn9SUVpGGbGvlQk7Lf3V7vVrqIaq7tlOH lWMfg+k3xEYDwVrOVFbJjJv82NQKfm9ndIh+d53vapGaEQYalsGhNmOOz90U1fpwuwS4CEU1gMbOY 4EY99YRF7vWewHm3EoEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qAW77-003fvM-12; Sat, 17 Jun 2023 13:37:13 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qAW6r-003fp8-2Z for linux-arm-kernel@lists.infradead.org; Sat, 17 Jun 2023 13:37:00 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MF39M-1qLTON09jk-00FRDF; Sat, 17 Jun 2023 15:36:43 +0200 From: Stefan Wahren To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Jassi Brar , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Daniel Lezcano , Thomas Gleixner Cc: linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-pwm@vger.kernel.org, linux-pm@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Stefan Wahren Subject: [PATCH V2 5/7] ARM: dts: bcm283x: Increase pwm-cells Date: Sat, 17 Jun 2023 15:36:18 +0200 Message-Id: <20230617133620.53129-6-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230617133620.53129-1-stefan.wahren@i2se.com> References: <20230617133620.53129-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:HwZ2By+DqYznZAq+JpbxaECqFpuhlzYBGthEdyq3eKs4ULiL2QJ DwzNWFpWI3tiEeJ8J97YVaRX4ByZbuCwPFymzrPyobGGP7Zke7QoCE8ayY+q9JkfrfD/tfR T8BIyqDhqidMQ+fCsEBYY93A9mfvRMJ9fH4x4gI2EzgIzgnGEWDu9ilUF54zbqPBqX0GtjI WlzJwV1owq8KPemtsNcuQ== UI-OutboundReport: notjunk:1;M01:P0:vD1J7F/c8E8=;lkhcH/Oxss4gTNsD0iVV55Un//k RO8jxUg0Kt3XcG+h0a5ImhwiMEqe2/7/HN5GMc3mp7AFulZEH2/g/hGL2zCYQBLm0gjx78bbZ bAs7/KKfLNpBK0AOnQ5kTf6wvWditOaD9vfhk/oSevHrjhIfX8wGLeIvF2J7sK/nxxel1M504 YstkJ8Ea6oZ3i8FKuPpgJCJeY7e50xAi1prMOnLOlc0xnEoQPADq1WJVdn2J2FI0shGkVRKed VKQUUAu4bhFzoWrgDj+mH14n6aKGWc8CQGqBAFEQuFAKl0i1AyJGDEA7hwRxNgXQWMn3n/xed kW9hdvjX76HUG+HyWyZFMuvO2AmEw5Hsjd5IAoldv07B3vUJVx+dd83O4Bh6lnjYVoevJ3OL0 uHVhIka2wSrgKHxqCSWbiG1hsVNy2CdWt69ZvOCa4b3Ceo9aOLkHdzgO/9vEAi+DY7aRTZHVm HYM5nbMiBbcmzPiF9mQ/7qJHQffobUMJU6kvrL2tiOhO/TqvTJ5CK5PvoGal/9IOY6Z/PNdqD 5cJ3JgIgBsNTklU9dQ8TjDbGNxx6RVLdqEkVa5+Yyf1myertJl+1KRFkLJsu0+u9H5QLPWxsG Z2BrTEwN95uoZ41LqBhkBI6aNOb6YOoL7nScYcuTB0v8ep7qbZeXRy52oVJ/LossiZ6TUKyxl R/r+L/zaRfyBvbQgJ6wvRzGebSsjA4AYvkceQ9PKZw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230617_063658_137549_2140353F X-CRM114-Status: GOOD ( 12.29 ) 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 The pwm-bcm2835 supports PWM polarity, so adjust the affected dtsi files accordingly and fix the dtbs_check warning: pwm@7e20c000: #pwm-cells:0:0: 3 was expected Signed-off-by: Stefan Wahren Reviewed-by: Uwe Kleine-König --- arch/arm/boot/dts/bcm2711.dtsi | 2 +- arch/arm/boot/dts/bcm283x.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi index d30c19311145..4a379a14966d 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -278,7 +278,7 @@ pwm1: pwm@7e20c800 { clocks = <&clocks BCM2835_CLOCK_PWM>; assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; assigned-clock-rates = <10000000>; - #pwm-cells = <2>; + #pwm-cells = <3>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index c9c52a19ef3b..2ca8a2505a4d 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -416,7 +416,7 @@ pwm: pwm@7e20c000 { clocks = <&clocks BCM2835_CLOCK_PWM>; assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; assigned-clock-rates = <10000000>; - #pwm-cells = <2>; + #pwm-cells = <3>; status = "disabled"; };