From patchwork Mon Aug 12 10:36:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13760428 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 57112C52D7C for ; Mon, 12 Aug 2024 10:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IMh4FjVIipmJTy4+pD0doUDz2cuv0Dpwf6VJPrLqVFQ=; b=dP372QT9odUY0xcpSlu2ouuQPx ImA/XpkW72e+9wGyfXjIA/yhk2JFtWBgj1wpOcIRWtTNuy3h5qTXupZQmO6lmg8DKNsxExS/KsnJ/ 2nps0y+cWRCrxr8Do6kFTnCNI13r6HIAHNEMYugmLIO6dbWXZruDyuqjNqmKeC3U/W4EEuU8ESa8K e5RGFrkSRE91KVf0IIAUijtNc5jgLpDpah+seCuxoSFJn+ExHi/3IXkioEQtT8aw7Vr3P3vflD1H3 7Xzakwqhkk1YzJnP3gX/0Sk3OIjKF+PEaZlCmIVNb2C5vrc66BnV/OO4obOEEAQDShSLdf5GolsI1 9y0WJTEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdST6-000000003T8-2Y5k; Mon, 12 Aug 2024 10:40:04 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdSQI-0000000031u-0G3s for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 10:37:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723459016; x=1724063816; i=wahrenst@gmx.net; bh=IMh4FjVIipmJTy4+pD0doUDz2cuv0Dpwf6VJPrLqVFQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=dFdcObxRsBYNGEuYr1aFMvMzIUqUkWPaKB72an80AB77+Bpj1j3fcnaQvM8AVKAm 78FUZmB0xSCXaafcgEPWByoSQ/5fY+50n1nUk+bdmecQuCzJlFj7MzctvBxFhtV4p N74BSa2U7td/zRt1S2Uo09ko6H4VNRjrIrF3rfptJGFSOw0Md3IfNcjQP1d+UlZq9 VlBEB0MwVOXardkK/ZplNeb1uZjV2bGPJlyH/+iRB5dLjzsJMEx1cuI+B4/cFEvmK Cl+FyesYzRUDhyBzMKRx5AXMDXgftbBuZkBlksMYvt8IXVWU1xAKYb7eMO5jaQYvN KY5Ncc7EaU+ht18Vfw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MEUz4-1sObOP3uA6-00DaHm; Mon, 12 Aug 2024 12:36:56 +0200 From: Stefan Wahren To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano Cc: bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, Stefan Wahren Subject: [PATCH V3 1/4] dt-bindings: timer: convert bcm2835-system-timer bindings to YAML Date: Mon, 12 Aug 2024 12:36:49 +0200 Message-Id: <20240812103652.29221-2-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812103652.29221-1-wahrenst@gmx.net> References: <20240812103652.29221-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:Kl+M6FLccxauXdTsfBLQthCU2prHFOcUwCkFkWXm305ABIe7vSx ndV5oVE3jcVdy3F4Q22/qG2GkReprXYiJVnlVR6h4leVxpcoTZZXWkgINGzEUidJnjJbBEi an49IAH/W5k8G/H05VARYMxZaEum5n7tw1lqLIfMXK9sFEipm+ru8E/jIwCkPD2X29pmzUR Eq7VAqWvSTNXiySDAohBg== UI-OutboundReport: notjunk:1;M01:P0:7aDysgcNVsA=;xYy8JX6TrYfXkeKKDIfijKIC7WE hMjmqRuh2YbAObqbj74KSxBwhI6YNGLMDfj3BAP2OEFZJOJdx0Fpm8OQP+aQrC3/P2HJ2P9wk UpkrxGAvx/6crKnmyHOriailuYYf4+jjwMf7UTqJpRJYddpnojGnJ6iKRSUKZoQhHtXwG8cN3 BbM0DCquZv2C+GAH6NRUljYDmMnHhZKYIi+vzi9+/z89oCtjH4YgNJvX5hKh6bA9UBLgP+ZB7 W8IUKIdPgaPCF3rypad1hgLVW3UKD7Cm7aqakghif5d0UNoTamMZA97qfehq+aq5jQc+Hi0VT Uv7vi5qihkkuO1bqpaj4DC2Ghc3HZN0M0X7tOqNINP5g40iD58uSdcwFn6ClYeb4V68Rrrn2M wdJN74e1wvkR5HZpIexVfkLRJ80p4IkoCm5t7HH8vE6N665BGMCGnqUXh4FcR4lDIFosPuawo 38tQcq8f3I5CS8zZ1UV4PwIq6v3lRDTTHJ29DN2fJHwjuHM64IWLQVaZnwgqmVH4uIkIcdIFn ZwTQasAUKI5V9dAVoZe4w5LIGp/rApjeziNK3BZXzCF1bWlUgaKjuWjttUibAvMyBXwk18wi9 NNm1alSHgrNL6oN4p4VIyz8feh670dftuy63IWxAMAv9pK0uG+AtjHb/zaWbwZwzH9bkJvbZB bCGDwY+gBppsFc62X3pPrXocM2MPjJ7ObH8kT5aNuHa42OXqzfD0CQn5V8SgMqqdeI3o4VIh5 lIvE7j+ctljMHDh7diWt20819zIxv/gfUR0aSsRYWAo3Lsao4yv8p6fyaBS9xjiDigZZjm/2M Cgz6ocgml4fLaWyvk413d9kQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_033710_442416_DB5CF456 X-CRM114-Status: GOOD ( 13.41 ) 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 Convert the DT binding document for bcm2835-system-timer from .txt to YAML. Signed-off-by: Stefan Wahren --- .../timer/brcm,bcm2835-system-timer.txt | 22 -------- .../timer/brcm,bcm2835-system-timer.yaml | 50 +++++++++++++++++++ 2 files changed, 50 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt create mode 100644 Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml -- 2.34.1 diff --git a/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt b/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt deleted file mode 100644 index 844bd5fbd04c..000000000000 --- a/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt +++ /dev/null @@ -1,22 +0,0 @@ -BCM2835 System Timer - -The System Timer peripheral provides four 32-bit timer channels and a -single 64-bit free running counter. Each channel has an output compare -register, which is compared against the 32 least significant bits of the -free running counter values, and generates an interrupt. - -Required properties: - -- compatible : should be "brcm,bcm2835-system-timer" -- reg : Specifies base physical address and size of the registers. -- interrupts : A list of 4 interrupt sinks; one per timer channel. -- clock-frequency : The frequency of the clock that drives the counter, in Hz. - -Example: - -timer { - compatible = "brcm,bcm2835-system-timer"; - reg = <0x7e003000 0x1000>; - interrupts = <1 0>, <1 1>, <1 2>, <1 3>; - clock-frequency = <1000000>; -}; diff --git a/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml b/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml new file mode 100644 index 000000000000..f5804b5b0e63 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/brcm,bcm2835-system-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM2835 System Timer + +maintainers: + - Stefan Wahren + - Raspberry Pi Kernel Maintenance + +description: + The System Timer peripheral provides four 32-bit timer channels and a + single 64-bit free running counter. Each channel has an output compare + register, which is compared against the 32 least significant bits of the + free running counter values, and generates an interrupt. + +properties: + compatible: + const: brcm,bcm2835-system-timer + + reg: + maxItems: 1 + + interrupts: + items: + - description: System Timer Compare 0 match (used by VideoCore GPU) + - description: System Timer Compare 1 match (usable for ARM core) + - description: System Timer Compare 2 match (used by VideoCore GPU) + - description: System Timer Compare 3 match (usable for ARM core) + + clock-frequency: true + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + timer@7e003000 { + compatible = "brcm,bcm2835-system-timer"; + reg = <0x7e003000 0x1000>; + interrupts = <1 0>, <1 1>, <1 2>, <1 3>; + clock-frequency = <1000000>; + }; +... From patchwork Mon Aug 12 10:36:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13760424 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 C7662C3DA7F for ; Mon, 12 Aug 2024 10:38:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1oRfQu9T2MITEuhucVL1NP6tSY/GRs7k2gT6QM5aKA4=; b=HTuMkzw9HQXc8WXv4ikl2YU0Vy 5tu7qEfJ+Q1gCGqxH/n2PzDUxgOWosfFbxWQkbTHBn5Ek1E/ZjqJQxdVbO1gSEMY8N5bvEmKFjpw4 VjNyIOinHbrp9T9vKw8Asl7vf/YLmHXeQJjmRMQ7w7kmSRS6WRYqkqPRMkOS5nFAYszravDowvael x4F3TPxmh6RZ66ncIjJoCLoZ34Tvd6s1AoHbbWkN6XvEm5bLaZSCHLmriznyeWUg2RHX6pnO/AC3L WnLWN21EfZ8lFHeaKY/TGQ/NqAWdukdvbDIaE9XwFmmZo5ISAT6agOy9/C2IKytHNt2Lbvd+Laeah XXd8Rqtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdSQt-00000000374-26DO; Mon, 12 Aug 2024 10:37:47 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdSQH-0000000031v-3pd0 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 10:37:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723459016; x=1724063816; i=wahrenst@gmx.net; bh=1oRfQu9T2MITEuhucVL1NP6tSY/GRs7k2gT6QM5aKA4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=swc5ueX22hfkk/lunXVngc2Zxq6Z0rRXuqKXYu10HZsh2x7K0P1erKZVqugROezN yFNpCoWCKjWovjBY9YW9sCwcK0ld9aBVMzo4Ebd027prcrQUV0L0JtTCjBdBM3Vzs /yT7u1Jl8c57j8dsmTgRmZFKM5eQJxDICn29Af+TfLWieNGuQPPRRsV2kQ2yy94JR fe+VCuUIZZYv1BQv0EkQwdismz1+c1ufj76vXpWh39/LxoDOzcBxnCZy5iN/2qCsz HhMyAcwBUzvxfoBIfmCgE8GdH5XitOeEL7DON1oHjP4URDU4CQ2tt3za2X50oqYgj Gyu5Wu5MT5xHQDyoVg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M4s51-1sepSx25rj-003ObD; Mon, 12 Aug 2024 12:36:56 +0200 From: Stefan Wahren To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano Cc: bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, Stefan Wahren Subject: [PATCH V3 2/4] dt-bindings: interrupt-controller: convert bcm2836-l1-intc to yaml Date: Mon, 12 Aug 2024 12:36:50 +0200 Message-Id: <20240812103652.29221-3-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812103652.29221-1-wahrenst@gmx.net> References: <20240812103652.29221-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:PyPn8fR+0pQaMa/CL7hPoq1dejZL/Ve0nMPq1mUB4/e2BK3qK4x B1Qzb1FuZMYE7F+C4BRaJbP1B3HbLKvSheq0wi7v8tfN2qBmJ0bn/MUiM7Gw5mrr3twV7gr 99H1TqKQLqR/CYQyYTgjvAk8zrHJJ37ILNZqiiPHXT5HkkH8PdXNeuzRW/SvVLTmTSma8Zw EiCklK8oVd2vrUrecraJg== UI-OutboundReport: notjunk:1;M01:P0:IRXSDsxbz7M=;jun0z3Ra2rl+PxcRhoxrh8q3tPd 7qui7WozJPxDr0XxuxCqnD0I27ysE2rLRTVNKMNdd/S5YiPtLKG0Uhqx7dFI+gigm1WLDgjEY r1G/+kuCin+oJ7b4IIqPawhiUyV9IF7L6qcq0Gn9Diso6X9VMdh5g2uGQ1WugDgtFuA4De+4g SuRRctSJlydzeyBU9KZbOOyedwZgrmQn3k92+RFWZAoukilqI4HIuZfF68tghBgIWT7vl6pys +TQtkkpQC+x3cDM/mvHoLQi2Tx8v8Ytno27y4xOGrd9DRwzuDtRvcAHYc/DJtToc2rLKG7jRH ELeD4m0PbMGvdlaunhECjtmxDIm34MAsLJ+8xh7YO8bD7zekCnpHtosKqQZntFXaeBcTpGRnt aD/TufL942SdegbhaD++0KfJ6fHRoYvOIKS7+zd3Nx+e+W0fZpcguh2JrXl8C4/uE4O72lJHM EOo204XBsGOLf9PsrhHl+T2V4CxD+y+b79sx5eOZePRUy0gegzAgdJMES8fJVpmAdDCtgkump hpW0Dt14UTFLMY4iCOUg93YFjY2ZgGGVA+9q+eY11SwyGaK4w7yJIXWPZNKwoF7UzMSvTdnQp mk0tI9eC99NAkkWBME57UUZ5mvEupKX/lB6urFcsWR4uzUx4L80uuLW+VQcmiYsLRJpPh+65K FPH91MtTuymjFnodha0IQXE57IGTlNPOXyUqaNtMFXGUhKvX7CNO6BDlSD5F5C5LjAnv5BiNB /0PzCi4L5Cm2G1tAxygopxYY2Ra4T6GDDfqs1EyKRDk4XbhLpbsHCelN6v2nFOv4GuQ9q54fF k68YJKuNry7AmjrNxOp/q2Cw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_033710_372596_90ADB89A X-CRM114-Status: GOOD ( 12.58 ) 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 Convert the DT binding document for BCM2836 per-CPU interrupt controller from .txt to YAML. Signed-off-by: Stefan Wahren --- .../brcm,bcm2836-l1-intc.txt | 37 -------------- .../brcm,bcm2836-l1-intc.yaml | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 37 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml -- 2.34.1 diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.txt deleted file mode 100644 index 8ced1696c325..000000000000 --- a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.txt +++ /dev/null @@ -1,37 +0,0 @@ -BCM2836 per-CPU interrupt controller - -The BCM2836 has a per-cpu interrupt controller for the timer, PMU -events, and SMP IPIs. One of the CPUs may receive interrupts for the -peripheral (GPU) events, which chain to the BCM2835-style interrupt -controller. - -Required properties: - -- compatible: Should be "brcm,bcm2836-l1-intc" -- reg: Specifies base physical address and size of the - registers -- interrupt-controller: Identifies the node as an interrupt controller -- #interrupt-cells: Specifies the number of cells needed to encode an - interrupt source. The value shall be 2 - -Please refer to interrupts.txt in this directory for details of the common -Interrupt Controllers bindings used by client devices. - -The interrupt sources are as follows: - -0: CNTPSIRQ -1: CNTPNSIRQ -2: CNTHPIRQ -3: CNTVIRQ -8: GPU_FAST -9: PMU_FAST - -Example: - -local_intc: local_intc { - compatible = "brcm,bcm2836-l1-intc"; - reg = <0x40000000 0x100>; - interrupt-controller; - #interrupt-cells = <2>; - interrupt-parent = <&local_intc>; -}; diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml new file mode 100644 index 000000000000..5fda626c80ce --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/brcm,bcm2836-l1-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM2836 per-CPU interrupt controller + +maintainers: + - Stefan Wahren + - Raspberry Pi Kernel Maintenance + +description: + The BCM2836 has a per-cpu interrupt controller for the timer, PMU + events, and SMP IPIs. One of the CPUs may receive interrupts for the + peripheral (GPU) events, which chain to the BCM2835-style interrupt + controller. + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + const: brcm,bcm2836-l1-intc + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + local_intc: interrupt-controller@40000000 { + compatible = "brcm,bcm2836-l1-intc"; + reg = <0x40000000 0x100>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&local_intc>; + }; +... From patchwork Mon Aug 12 10:36:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13760427 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 112DFC52D7C for ; Mon, 12 Aug 2024 10:39: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HO47TQazxXx58MX8h1xTQ87s+WOtD0J4ofQ62CoNhds=; b=TgDOzKKUpxRnzoicN7vexq2140 FZxxIO8hUQ3WFEr0tICmlA0ZxwwquMP4aGGnt5dXGUuiJbqlNf1ybL7AcpljjDL6cjxHF/Wk/VGwO Y+Xywd5/0dBWmfP8edSeEIp1kvc3mEeflkRXz/A+dQ5e2f2rgQHYtFb85W03xou0TU5Y1HyFm5cVO LCp/ybMs5HL1IOcfSdLtozbxgRCKRAGK/Q9pjYxU2Ot8dpeyUhmzqvWNTMtT/ifFEhMHJq444aqWI QoqpXe+9UgzHCCB7JGFvsTrrMyKvb31KJRBzEcObqHnCpjUJEIE+frulk0ZlSEpMxfs+uSSH+YYSl zZgosExA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdSSY-000000003Nf-3TN9; Mon, 12 Aug 2024 10:39:30 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdSQI-00000000321-3Kxc for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 10:37:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723459017; x=1724063817; i=wahrenst@gmx.net; bh=HO47TQazxXx58MX8h1xTQ87s+WOtD0J4ofQ62CoNhds=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=k1b2xL86Wv6PSXvf5uUbTavoOkzzHaRPcP1CxU0o0JbtYC8dXxfcCTmeeVoSiZ0L Bh75PjeXNCWiBOLlyuMFX9dZ47OIGM97aQ720B4N/R3iZEuDsyStfjGIUla9B+HeY Gn7GzMyDiI+uDz1pKoTOIn31eHrL4PMzHyUbxMXDXnEhqG5XnT76Uw2efWW74q9qu xk33SuiKLkLbhb6jVpPw/i4mbFQxNw0TcyegthRLVmJB4ppi4AmyQ9xppfzgFVDCc XgfWwtCaUOh6lOSzhZZbiEzX5kUWWA9Z7NkehaGFpaO8zHJLVE/y0UG9e7YwrarGI WPOM/96Ce/+BSWeeDw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MNKhm-1soxve42IM-00MHQs; Mon, 12 Aug 2024 12:36:57 +0200 From: Stefan Wahren To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano Cc: bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, Stefan Wahren Subject: [PATCH V3 3/4] ARM: dts: bcm2837/bcm2712: adjust local intc node names Date: Mon, 12 Aug 2024 12:36:51 +0200 Message-Id: <20240812103652.29221-4-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812103652.29221-1-wahrenst@gmx.net> References: <20240812103652.29221-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:cCl15jvHx4RjxQL99ABWznf+fozj2HO+iXmzawS/1nKw5xJJxtS cKWelyGs13P+KE1rQduWFyu5kMK1/5Hwur6x4+qETkHI4jcQaj3vcTlkU3TmwbupiK0gyqP XzxHzbPVsnXH+/67AvS8l7buIMQKJTtBYvRqd3d8I7F/EXESEm16YmW3xy7dGr2YrvAnzpl UCs72JMgFPtY2ph28FbBA== UI-OutboundReport: notjunk:1;M01:P0:YglToBcVRiI=;wIYNOQ5uJ/uLLIyZdNXqlSIgr42 nIu7YJGckVpL/rycP5XHFBV6QbCEfub+DWuo90gg7UmTwTzmWHftuPZ/NmxAqhsU529JTUJvD OzvoblwJ6EQztVISKqh7fMeUGe0hUBBlwDF1dKXn8SzNXpYLUCNveCaz4OzTWZ8PpYeOdym/G alotzETLgoSbO8pwXGkmd/S50+2cRyVLfljgCextW++vsyRsybPaPZrFhrWp/X5kwrYHnSZAd VSP3R+7GU+ByBsyDE1AsFtANnOwOR8zjzKhLDbnFswBxQFIHxDhiOkX6cmLPaAFfd1Zl21MBb UNSNEdnRypw43l9FFqW9iJ6yG7trgDJogzFU+KqYma2nuGPCQ+fI0zzBVSFKDgn4iWRshmThP v8iwjIO1PwKU9iZOpNOZiES2b+T2mRlvtXzd78RvbhMPKUrPO8MY9r1q+Cvv4HBaHGpsd7I3F 6Po8bB0E6baqDG+jO1LTSMceEbOGTbSE7Pm/xWkzYKzD+IEMpVKCmI2FOZbnmVnSSOQIZV7eL zd/y/2OYWFP66GgUSO+D2gvkiv/u0v9la4TUWIQ/P/NnsqiexdWwlGiYnQnl0hxnW9zFX5LGr sbo0XlOpT14kGVWxptBK1LcUHmtfVnx2XXM8CRVuqQwHJT7lvHaolnSxlwv12vw4hKWz3seb+ vBnNMHqm0JRIDh3ZdvyVyT9jV3MEqAwK3zNmonjwn7PGvOUd1aLbKcEMWZwd4ANNzNeVw3BPR tDxFpQY/Prx4G+CmpOgDuvWLmwMY71vtqCy1O7MVNhPZ2wz6nsbUE9YqJVEtTt3WmiLRbyiC+ jOVyUKpph9grAcXpi9yS5KRg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_033711_156077_5CF83ECD X-CRM114-Status: GOOD ( 11.47 ) 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 After converting the bcm2836-l1-intc DT binding to YAML, the DT schema checks gave warnings like: 'local_intc@40000000' does not match '^interrupt-controller(@[0-9a-f,]+)*$' So fix them accordingly. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/broadcom/bcm2837.dtsi | 2 +- arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.34.1 diff --git a/arch/arm/boot/dts/broadcom/bcm2837.dtsi b/arch/arm/boot/dts/broadcom/bcm2837.dtsi index 84c08b46519d..c281697142b1 100644 --- a/arch/arm/boot/dts/broadcom/bcm2837.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm2837.dtsi @@ -9,7 +9,7 @@ soc { <0x40000000 0x40000000 0x00001000>; dma-ranges = <0xc0000000 0x00000000 0x3f000000>; - local_intc: local_intc@40000000 { + local_intc: interrupt-controller@40000000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x40000000 0x100>; interrupt-controller; diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index bccb7318ce7e..6e5a984c1d4e 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -221,7 +221,7 @@ mailbox: mailbox@7c013880 { #mbox-cells = <0>; }; - local_intc: local-intc@7cd00000 { + local_intc: interrupt-controller@7cd00000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x7cd00000 0x100>; }; From patchwork Mon Aug 12 10:36:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13760426 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 83D91C3DA7F for ; Mon, 12 Aug 2024 10:39:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=X+yHI1RwfqKGeFeDMAcuSDj34uctL82kpPe2GZDjx9Q=; b=5B/LWYIp/PdIsvv1VkDZE4qc6y bKc1m4XG2w9DL4tfNO/Usx6PUlFTuc9Jhk06rR6Metg5edrf6zhn2Wuc+fCBG4yNufqzC/0S9BZDG uNXcAkMlvIWA3VhPNKbo70AzPf+OWXrOHLo00b7Pyw+PZYekhb6CsCnNvhRAg1zxIRPdXp+oxYMXN M1sbu8+p+/9gsVbSAptncKsoRvzt3YTf84mMO2hgsmpm4nraoSIZD2y+AnlSOvmii3uIKw7UP6mBj z0Nrhs19qcIemURAQ9luja00aXMTRmY+JJIrEDxvb94X3s1iKW2tq1W8Wp2VZlfaz3MPJ/fdiPrCx HrdvvAAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdSS0-000000003Fu-3pSd; Mon, 12 Aug 2024 10:38:56 +0000 Received: from mout.gmx.net ([212.227.17.21]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdSQI-0000000031y-1Eas for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 10:37:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723459017; x=1724063817; i=wahrenst@gmx.net; bh=X+yHI1RwfqKGeFeDMAcuSDj34uctL82kpPe2GZDjx9Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=AIrWs4Ktn+qmfPWwTO1E4zLXMtHLHYS5IM3xzZLxo7mplZ/0QSR6PmoD/PVUT+ny +YJs8lfoN5THcF631bhoCbT2m4U579f1XchlWc2jMLH23WTvMbJvELoUoYW+1rS1g cruEH/0z4Uk4ByeJ0TQ0azEbwyvH/2xhPhkvUZVpPPQaOjC3RuTgYgcAv1P7KPkag 3ku40tUO9aUzJ9DvnlneEmYvqef1LY7ACziqASRqmE12Rz9f/43FFqkBpkRDroGoj ZwX8bfn/CUQiQbK5SjuKqKeCpFxHsdKbMqaSlt6nF9evLSXweZMIZzVhmrajEJi81 M0WQ8l3Q76j9g0p5NA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mzyuc-1sIutz1zWg-00yv6Y; Mon, 12 Aug 2024 12:36:57 +0200 From: Stefan Wahren To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano Cc: bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, Stefan Wahren Subject: [PATCH V3 4/4] ARM: dts: bcm271x: add missing properties to local_intc Date: Mon, 12 Aug 2024 12:36:52 +0200 Message-Id: <20240812103652.29221-5-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812103652.29221-1-wahrenst@gmx.net> References: <20240812103652.29221-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:uFtAgvcM5IdWv1y6EqrA7MSb2jtkC8XJmTxgslUtUjoxgVlhHMS 7SfZL6+tAwFqlv7w0WeRJG0+Ppnuy6eFCDeOjJ0pLAUywrpkmhz7UCxs07Pv2ml0YsqPeZF psLrj42Z2deyd07fEwJD+3si897chlD0jErFurDLGOcAOD/d6/KP33PHKfK4YXG+1oX3AOW sGGZsHz1m+FG2Z3Rt/6Tw== UI-OutboundReport: notjunk:1;M01:P0:fO1cGcRH39c=;QmAmWq8atEQToP7kKyobPHJovXc JebhVw4LG6jKalqofs8ksgyo3zQwHbqE0VXk9Y3kXKhPO+0zbLbROgaMmMQDiWCv9JH+ovOLn dha0gjs8fAQs7S7OSUoIR1D9uZSvxf/S5KCRKNpKOCmMHttO8mbcRRyj/ccTgo6iyUdTuT4gS 2HQHZmKbjH3bES53DgeRYo9ex5Sabr3qHoaZTmuFTJGzzm1Cq1YmovMBRytkNKtOm2i8GRCTG E6WYiWFYVT/wxZLC6BgV1rQ2Z+gtOwJ+v7F6Ez5TuSTFuVbLlkHXPpR138H/2Ov33W41qHpM5 sZ6MiC6YZJIUbuEsqXgX1lNjJ98Oi32CyVTMvl5XDTl3dowVn8g/dhivsyrV4aZAMJPolYSRS lrbMrR3T8XLmnTd38e/arHXo5EM1y5Gbu112vDwIef9H9xbj8YDq/gsRuuxsyHwM2Cvh+dfmd KtalxWWo7cjXoq5PMo0nj67WO5kzs0JUdm9c9UdrG//drFJcRMGML6JP5ZDRWyMP/aiirc2VA oZjYXZCuPZJ2GUeatJLrtxAbUQpRR0pjNW7UYvxN5+9KCpw+3+9KDDUReHqNj/9oyKvTH+ZTU zOz9GSyZgSfEkvNPnSr9JaZNku0AWFWFXhDDq9pOiKDW3MRSE2eMnxiD3IqGDclOgO7aD4bTY A4/2vRxf5Kxzg42qcbAD3SOAaRLR295ndfh7oXUI1E2jxfYP/GckaikMmX9Esw5/B8Thl7t2n N0KIblCzFuLFJrN3Vxw+DcXlkMYYYb2sbDQlYX8w/ZOUxfPEdc2OZfeAJu6pYg9XjldHybrtM AqyvAuPnhgImYT7JgzExwolQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_033710_652913_DA7EE1FD X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. 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 After converting the bcm2836-l1-intc DT binding to YAML, the DT schema checks gave warnings like: interrupt-controller@40000000: 'interrupt-controller' is a required property interrupt-controller@40000000: '#interrupt-cells' is a required property So add them accordingly. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/broadcom/bcm2711.dtsi | 2 ++ arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 2 ++ 2 files changed, 4 insertions(+) -- 2.34.1 diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi index e4e42af21ef3..313b1046d74f 100644 --- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi @@ -51,6 +51,8 @@ soc { local_intc: interrupt-controller@40000000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x40000000 0x100>; + interrupt-controller; + #interrupt-cells = <2>; }; gicv2: interrupt-controller@40041000 { diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index 6e5a984c1d4e..7d192a5be851 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -224,6 +224,8 @@ mailbox: mailbox@7c013880 { local_intc: interrupt-controller@7cd00000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x7cd00000 0x100>; + interrupt-controller; + #interrupt-cells = <2>; }; uart10: serial@7d001000 {