From patchwork Sun Jun 4 12:12:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13266566 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 77B75C7EE33 for ; Sun, 4 Jun 2023 12:13:41 +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=aMFDAL8FGEJgaoGvIxrmY9KBUdx6RaWCoB1defP50YA=; b=mOxYp0e3Roe4ed S6tcsC4DCLMZwRgSIhPIhen1Bi7M92ItQASbWysqYBv4MgOHJrYg+t2cjhHCSQ+K+A1G+oT/gKIBl 0Jd2q+EmlQwAJBdku1WWrwH6ERxs0A0aE1bs+gnzbD2BAc4CfnjzXK1Htad7lM4F6fJQwI0ljavOs sB3tG86xYBIDrGs3ODwi2xMVMyXdbkYSKIY/Y8g/itYDX7R3KsnsTbpwsPbbh5OUl21EVou6TE773 hgzEN09GOpF8UXQ0Q/aLBguzIx4MnBWdLUIePhGkH/gfiCGqY+K5lDXtBYJrLKhU2JZZp2bTJFe+B HoaN+cdDAu8h9/wLN6TQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q5mbl-00C6eD-1o; Sun, 04 Jun 2023 12:13:17 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q5mbc-00C6XW-1X for linux-arm-kernel@lists.infradead.org; Sun, 04 Jun 2023 12:13:12 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MYvLi-1parfS299k-00UseR; Sun, 04 Jun 2023 14:12:46 +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?= , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , 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 06/10] ARM: dts: bcm283x: Increase pwm-cells Date: Sun, 4 Jun 2023 14:12:19 +0200 Message-Id: <20230604121223.9625-7-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230604121223.9625-1-stefan.wahren@i2se.com> References: <20230604121223.9625-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:Ay9E1GOc/hVwhqqW+B2nos8Az5+GOBVwcX2XGQbjPiYWqWsvowg q1p7h8OQiAoT4f/pWfsqadTmYhWyZsW502ec0xUNLJCEVZNguwCoc1EHLcew251qly/P63j /Ch0om9DtfThmHWeiCvu75nDZDOGWbYIMjEJZlFxTTZjqsQDGZZEDGYDI5Fy44PhVTWNy2N bylzZawBR9NUqpWUenzlA== UI-OutboundReport: notjunk:1;M01:P0:xK69g/38ndo=;YN0PURB2/gwSWuPHUPRS+xc01hv 8tFg7cH60CtI4rBpwgfpRLAErmDRrIvC0v95mMjqsiDUsNhbENhTZltka04KxeY2SslrntzUr IXkAv/din40cmDNmAjZw/pE57o+Nvj+YYzonbG740Dtz3c3sXHizic7+AOQl/lwEs7pUOb1fz bxT+k34nJ0i6qIdgwnegD3K3HHmn/Dm7f27xCJZDU9Rb5V7vFHd2Wi9E3ET/RvjJKSM+j+rfD aAnQErNy3zMQ2rWiGccTUJ87htbhUjITXWAHCbuVTmXMoVbB9oRiVMwloQyeWXhcvSbA8glCP 2o2jqYP+lSm8GaRMJ1qB/to5JK3OD/Q+R5Fpmvy0gQH611Mafen3LdM4tZ7RXjvWr6/4AesPp 5a+adF8VOIko3uS96VKSi2BbWOK+dRsyybBw54XNUPu8SDhgRHP80Z0O1H8vjPL1easlWnELV r0xHi1SK+R1249+CC2+3x0jlfl6sb3zzcpLQc1uHjOvZbvPwgy+hYSHWDj1qv7+vx6NMfo36G dvrPvtFXH6Q1NMDc/5sxiOumvxEOvIZemE8ZtMY+S6QXoiuTVFJVX89viz9/rUpr2hgyTlVET SChzj7y4a08GZKeVxnkuqL9ymVQMGJATXOG9c0SO73h3fV8bS2LJ3nXzTvCreCRghhDUnm2qP jiatEHDANkw/Liib+lvlVM6H9G61FwgzinpEhTZTEw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230604_051308_816878_81796771 X-CRM114-Status: GOOD ( 13.36 ) 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 83745672a120..239db6927a02 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"; };