From patchwork Sun Jun 4 12:12:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13266570 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 28E89C87FDC for ; Sun, 4 Jun 2023 12:13:42 +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=mwj229D9hiBGTDoLzjpXX6RuKpmUb7WYPGF2yB2FQfw=; b=uvytEUftVnMZl9 ev7cGTQRxz+bBZwBlPZd2P2TQ084S10c8M1wygELScCDyjk2x79sHFYAbQ4Q3YvnkehyrWp/bHdCB 2e+7UJmh7XMEOU9eBdpm86ZEaFp/+wbnmtB2pHn14Z9hiM6YcKcse1xceUZqq21gNsnduM0s0DXWe Cn/HcmN+C2b7qcAGu7yBk0Fy6LIK3CO8+47wKzROj2juY37hdcVTBNzEmI64jssZEde5SHRaKxFmO uMh0uqKXwUxl+2rppNMvmH9WjIq/mdL1356fqJmiEP146QfQH6ca5x4pAa5wfmipezqRB3zZboRfx qfjh55CvMlRgQ6/ZE5yQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q5mbh-00C6br-2x; Sun, 04 Jun 2023 12:13:13 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q5mbb-00C6X9-0O for linux-arm-kernel@lists.infradead.org; Sun, 04 Jun 2023 12:13:10 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N8X9L-1qATOr2RN3-014UNu; Sun, 04 Jun 2023 14:12:40 +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 00/10] ARM: dts: bcm283x: Improve device-trees and bindings Date: Sun, 4 Jun 2023 14:12:13 +0200 Message-Id: <20230604121223.9625-1-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:InVEfdF7FbcX0KjLtcf4OB5k41Snq4cQeb8Dl3ZMTAcW/5Y7se2 e8TraZ1VjDOR9ql4stiw/IB7ANuI+JBbtvUEdREnZZtwDBBgmUbsUl/aQXeBSzrv2yUqqiU cxf46dwxtPGaQvwFle7jdHAYJW+0oFK/zP6Hq5Dr1TC/Cca1XJ3fVG/NwBX6TQfB0i8GNPD 3W4mEiGZbUjwAwZR7oQPg== UI-OutboundReport: notjunk:1;M01:P0:CDQ8hyV3H/8=;un1GSPShwLUxKic0L6A8g8PZey8 QD/mvQZb1L5BvhZvj95vPc3tHMQc2kisNg2gHaR0nTj4OREOjcfYSp+QBfnSqEDYsJhW9mb/p 5MEjT/yATzTwnekOEc0Qw3AMzkCZE4+gV0FlpLp4dOvWAxpv8ugn9j2wNZsAhCNr8TM5Zut3E n96PWUdoNQpl8XhaGDUQhqzmn3tWWj0w2/uakrLwJNojpAaLdCNMH9OJGncgGal85ERbhJuXg SgWg9Zr/kSbqYqgnl+8/cbfBpETphM0uQrTGg2MSb1Bfi9AWhaWe4ph2R1AO1vLS2ijuGv7ks Wu3iY/gv1lbsL0867HHMdj5gHTPQapyEPtt28MHZ3pCGz7FwtND28d0HbsNhDiR2gSDtuegsW V+yrw4/XF5vjUs6y+iqV7Q1aQXfRiKtH9/EcYLu83tt0q7yHk08395jouKFLdScjpc4QXb1+5 4RbV6xWXAQU2wACUMPVgMP8XK5O8vv1y7+RsZlrnFPgvuq67LL+sKytnuRvbjGXTO/+d2XWTj EZ0Zohats+ZLs+YbF6G6tZGmg1MaP+n06WyBTghAI/IbK1FaKzxowHXYaLHX6c8ixNXRDgRUP tyG7EN/8Q1r9H6BAyB+Ea9TxpGOvKCElf2YDYXVsYTRFpniikIwULiSzeWi+sDantZ8SZ03TF Mpkv2XtRlTAS8lQ4hS/S8SN5f7VURFnuUr1uLd8Sjg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230604_051307_449897_9EE5ADF8 X-CRM114-Status: GOOD ( 12.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 This series fix some dtbs_check warning for the Raspberry Pi boards and convert 6 txt DT bindings for BCM2835 to YAML. Please be aware that there is a functional dependency between patch 2 and 4. So just cherry-picking patch 4 would break boot of BCM2835. Stefan Wahren (10): ARM: dts: bcm283x: Fix pinctrl groups dmaengine: bcm2835: also support generic dma-channel-mask dt-bindings: dma: convert bcm2835-dma bindings to YAML ARM: dts: bcm2835: adjust DMA nodes dt-bindings: pwm: convert pwm-bcm2835 bindings to YAML ARM: dts: bcm283x: Increase pwm-cells dt-bindings: mailbox: convert bcm2835-mbox bindings to YAML dt-bindings: mmc: convert bcm2835-sdhost bindings to YAML dt-bindings: thermal: convert bcm2835-thermal bindings to YAML dt-bindings: timer: convert bcm2835-system-timer bindings to YAML .../bindings/dma/brcm,bcm2835-dma.txt | 83 ---------------- .../bindings/dma/brcm,bcm2835-dma.yaml | 98 +++++++++++++++++++ .../bindings/mailbox/brcm,bcm2835-mbox.txt | 26 ----- .../bindings/mailbox/brcm,bcm2835-mbox.yaml | 40 ++++++++ .../bindings/mmc/brcm,bcm2835-sdhost.txt | 23 ----- .../bindings/mmc/brcm,bcm2835-sdhost.yaml | 54 ++++++++++ .../devicetree/bindings/pwm/pwm-bcm2835.txt | 30 ------ .../devicetree/bindings/pwm/pwm-bcm2835.yaml | 43 ++++++++ .../bindings/thermal/brcm,bcm2835-thermal.txt | 41 -------- .../thermal/brcm,bcm2835-thermal.yaml | 48 +++++++++ .../timer/brcm,bcm2835-system-timer.txt | 22 ----- .../timer/brcm,bcm2835-system-timer.yaml | 44 +++++++++ arch/arm/boot/dts/bcm2711.dtsi | 6 +- arch/arm/boot/dts/bcm2835-common.dtsi | 4 +- arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-a.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-b.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-cm1-io1.dts | 1 + arch/arm/boot/dts/bcm2835-rpi-zero-w.dts | 2 + arch/arm/boot/dts/bcm2835-rpi-zero.dts | 1 + arch/arm/boot/dts/bcm2835-rpi.dtsi | 2 - arch/arm/boot/dts/bcm2836-rpi-2-b.dts | 1 + arch/arm/boot/dts/bcm2837-rpi-cm3-io3.dts | 1 + arch/arm/boot/dts/bcm2837-rpi-zero-2-w.dts | 2 + arch/arm/boot/dts/bcm283x.dtsi | 2 +- drivers/dma/bcm2835-dma.c | 18 ++-- 28 files changed, 358 insertions(+), 239 deletions(-) delete mode 100644 Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt create mode 100644 Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml delete mode 100644 Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.txt create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt create mode 100644 Documentation/devicetree/bindings/pwm/pwm-bcm2835.yaml delete mode 100644 Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt create mode 100644 Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml delete mode 100644 Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt create mode 100644 Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml