From mboxrd@z Thu Jan 1 00:00:00 1970 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 BB5D6C52D7B for ; Tue, 13 Aug 2024 16:06:24 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=M9PPo2pNQpGMg7WUdGoIFD1wzLQ8IlLK3vQB+mSNpXE=; b=0/zLHmdI7RsFOHPiRJnkzh1n10 j92eH26jRueT/cbQENKGmDB6+FNKHyAj2b/H7C4Z6uK32rGa/To4KYbUW0BLmaXTlv7aOWPaGH//O AB5A1WzuJWOQFuGQiQHJsXtw9aH0vbrZ5LxlFxspxV0TgcEwgUOomvdHm4wi1wkhALGHrQSmXAm8W blAt3ortouaMj1+RznEHJHx2mb/Yrgco1E/kng3+v4b+DwYhHDh/1TbNd50/uIVjDHFhJhBfhe9RI dGfNOujbcH0xR2Az/xo+8/w8f6dg+nAmkQY7oeDBvwNBU5WsDaYjrpXCkToEDwrDwJeJMovtpKtD8 TDlloUNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdu2H-00000004Ilu-2JZZ; Tue, 13 Aug 2024 16:06:13 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdu1d-00000004Idx-3WR8 for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2024 16:05:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 62358CE11AA; Tue, 13 Aug 2024 16:05:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A1DBC4AF09; Tue, 13 Aug 2024 16:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723565130; bh=xzw4wiqcclr3zHNKKjAlMjEmWthPPhTBXbfL9tmQXTw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DaBGxmtxczIVyYtBHOtWGAbk9zfsnGifLFeMNQhHcvo0Nb/KClM5Ql2NnLdw5DKqh WjkcB93G41OvlvetW8OnFZJGU2nk+LUFRRbzIBV44/LflwZQEJAPk1UXrgfMhh602j +DwZz+kpAw7fOB9FfO/lFPLW6vUAjvJWuNEg9IU2e1pogNpi909KQq5E4dH/ChG4xf s8kUPu4qLcjZp2R9u6dxVlcFGM9wGVURG754OQ5B1+Fq+qs8CqQbwb8vdRvHmpk5hA GhzRUyVjS/Omqq23GXQgLEFIFgUjDxhZvhBSCR70ZJ7CdX24H6SBsI3Oc8wjq+zS3p Nk0x9Y1hal/dA== Date: Tue, 13 Aug 2024 17:05:25 +0100 From: Conor Dooley To: Stefan Wahren Cc: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano , Andrea della Porta , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, devicetree@vger.kernel.org Subject: Re: [PATCH V3 RESEND 2/4] dt-bindings: interrupt-controller: convert bcm2836-l1-intc to yaml Message-ID: <20240813-defective-angled-8a429e78e8e5@spud> References: <20240812200358.4061-1-wahrenst@gmx.net> <20240812200358.4061-3-wahrenst@gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="auHGIicSjdrXJOCZ" Content-Disposition: inline In-Reply-To: <20240812200358.4061-3-wahrenst@gmx.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240813_090534_316306_60A7156E X-CRM114-Status: GOOD ( 22.71 ) 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 --auHGIicSjdrXJOCZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 12, 2024 at 10:03:56PM +0200, Stefan Wahren wrote: > Convert the DT binding document for BCM2836 per-CPU interrupt > controller from .txt to YAML. >=20 > 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-controlle= r/brcm,bcm2836-l1-intc.txt > create mode 100644 Documentation/devicetree/bindings/interrupt-controlle= r/brcm,bcm2836-l1-intc.yaml >=20 > diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,= bcm2836-l1-intc.txt b/Documentation/devicetree/bindings/interrupt-controlle= r/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 comm= on > -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 =3D "brcm,bcm2836-l1-intc"; > - reg =3D <0x40000000 0x100>; > - interrupt-controller; > - #interrupt-cells =3D <2>; > - interrupt-parent =3D <&local_intc>; > -}; > diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,= bcm2836-l1-intc.yaml b/Documentation/devicetree/bindings/interrupt-controll= er/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 { If, for some reason, there's a respin - drop the label. Reviewed-by: Conor Dooley > + compatible =3D "brcm,bcm2836-l1-intc"; > + reg =3D <0x40000000 0x100>; > + interrupt-controller; > + #interrupt-cells =3D <2>; > + interrupt-parent =3D <&local_intc>; > + }; > +... > -- > 2.34.1 >=20 --auHGIicSjdrXJOCZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZruERQAKCRB4tDGHoIJi 0ghoAP9686PEjhkD4aXDeIGm/WHW0z+TntifpIl5HwMKxjCLFQD/aOiMGKokPvUB EBjXpOJMkaIjlzbmqo4VvC71D+7uJwk= =BkUN -----END PGP SIGNATURE----- --auHGIicSjdrXJOCZ--