From patchwork Mon Aug 12 20:03:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13760993 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 31285C52D7C for ; Mon, 12 Aug 2024 20:07:01 +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=cHqzZHFXVtuCYcA9Uqef0VCAzR k7A3q282j33N6xsvicvjBUrclhKA5WxPVLXjRApQuz6oC1GiC9lKHifAsWU7NSYHGZXdFGPI6W5YI x3w/RhAlg0mGhBFEdYTJbalyVcbis6nNqYQ1ygtXhDha0uPJ8M3iFJH9+MkezW8DzTv1n3R6djJ7e JdaQb3QiS04Y1tcO6vGNMg0Dj4EOm1oWW/QNL5hFDIs5dysAyr4cVfXOwUr2Q+bU6nZQnYoeD01Rr eBSdhGeP8f2Om8zpEMKljX8KMjjifEuNqNip2dC9uihrHCR9ijrN24zSiVFxoL1xYcY4FSg25iMeU EUC5L5Iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdbJb-00000001PFq-2tUI; Mon, 12 Aug 2024 20:06:51 +0000 Received: from mout.gmx.net ([212.227.15.18]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdbHG-00000001OW5-3M4o for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 20:04:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723493052; x=1724097852; 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=HSoKYcCKaDwAuGVSafdjc9x5x3evNburRR72s+SKL7Er3Pp7+sT093g8OXCgUXES MGqKmLr8erA53NfYB7zfByONGtuvtWNpDWA/f9G4BR4BO43zr+CceGQs1sf+HPrbq c0zLsic/M7OgaOV+H3UFfxumqAE5yVAShp43rr4Qq5qLNeHnvfr69iOrI80uxW+wH /fNMhR+C02VoIIeoQwz60SsBU2Cw8bQlLsmJ2y4CTW9qWsvgA2EAGVlouM4iOV3LP 1Hx4BSGb4yclezWO3N6Ok5ZcH0jw6bVuvOp0BaWy+DJ86pmLOKSPy/iT+D+hRYY4b EklyQC0sXSNNpIbwdw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MfYLa-1rxwrE2pei-00hyFw; Mon, 12 Aug 2024 22:04:12 +0200 From: Stefan Wahren To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano Cc: Andrea della Porta , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, devicetree@vger.kernel.org, Stefan Wahren Subject: [PATCH V3 RESEND 1/4] dt-bindings: timer: convert bcm2835-system-timer bindings to YAML Date: Mon, 12 Aug 2024 22:03:55 +0200 Message-Id: <20240812200358.4061-2-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812200358.4061-1-wahrenst@gmx.net> References: <20240812200358.4061-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:mu/oF/4bYE6jGb2ALHipmOVn1kSsEdyts+r/EHG7NeN00PWmbAX z8U588CgZeVz7tf0BFJ8Lc6tz4OlGJBI5rIbh1LxUa1vQwoBBPscl1WTuXmyHfBJQ5jnEOR ScgBx7knnANaXGYL7VwkQ6mQoDejMEp51/ZIzniyDTeDZRf7ypPkcSe4t9zfrwtXqMeQ79T sUCETiRYKtTyUWssPVQpw== UI-OutboundReport: notjunk:1;M01:P0:AH5SQxKRtC8=;sfwqJTjbpLLyKATvWuGLGElxUR2 DQmSYh67BFgAZHnEIP6tix2jYSzct1dPXBItPl+kJ5OUcn3zQx4Rvl2dia/DHLt98vQcT5vWS C8zm2W24A1xNwazH5Z9b729Rg2S4ZbMNavQOnpyjnOsqZP2TixNQWNl4qbvcezAHEGgwyH64W ww+Y5Th1FThSgV7T6JjWYml6QvL+EMdse1C242YaAYhgLKdNvDsw+dOoevtbdtYFOs6Q8u+tZ /SIYXGvL+prPq6UqdOxZsYan38XvHafKsTLnJnGBU+i2kKu1SVFYduAHeIhzQJGBKYlp6Ra9A zgSi7KP+wCjiKoabYqNcPLidDzsnOWOEYGCeYlf35HTSajFRCaxQC1hCVhLJQGjdT1rN8Kp65 WbfCmQFua95sM8eqUuUOpkgQYmKp/K/Bkfc/+pa5VzFyBonis54sEB9MoW/UekbaVuWGKbGrB nCOF9M2nnIIe9Jo9RsoqnZJ7ewl/OonP4Xz88u/7uPyRlN/VJfxKL9yaZgZ4zdKNmdbNbp4E7 7J3XIGnpZDyFFUvsUmRvIxpjRWUTMxngcjPbgTDtEN4KhPzaZZmzl5LXzuc+euJCPFY+tAooK SS/kk8ol8oBDIXN/H8PN3alsPRXCdby+3enZ/A8h3KGG1fLuTkMR3pph5Dp6BamYB+lWF7yHd 9AOuEiMK+fnF2bDLeyu7bWaaNyXX7x2oYqq1stSEtLNfjiso4VL4ZJTtiFBxsxBzTltow7ecp pPpnmDljqtGBdfbC8Ugm18lcvgAsz/CpCTetVtTBa/cIHf+LE2DoOWQkLRIooM9qPeUF+T6Zj mENLxwpMHry0K6nabmU63zoWkFnCb59/LSdv/0XBvKmyA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_130427_268720_FF58D1B2 X-CRM114-Status: GOOD ( 14.09 ) 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 Reviewed-by: Conor Dooley --- .../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 20:03:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13760994 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 15FFFC52D7F for ; Mon, 12 Aug 2024 20:07:39 +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=Z7F1EmiKWNnGfbOkPNVLG5NUGO PyshiR+oxoQdSZ1Km5ffAt1sbvoDBriSIOOmlT75wLtVmJxZONn19S3YBw90Zg04jatEPwOG1bG+K 29Ci5FzuxOdc0WdHnx6uK1ZJGbCUFI/p6cwz9FxfVoYx1p8wJzy0hNyDkJIXcL/FsNiYv5v/eow+3 hlmaMO3IHJddo86Zs0Tyn7dRXoPn0XpxXtQ4Fx62YDaiNN2TCMxz3LT7Dy4lOaFN0x/ZprnopZcQy 34JnMxGr1cwlzbzXX7zi3ZZC86Tj4G9Gxyfvx0DeGZnEOdJ6faB0wNUOLB8X7eR+B/0ZCPqY2D+Ad Jq0jqPJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdbKA-00000001PQs-3xxm; Mon, 12 Aug 2024 20:07:26 +0000 Received: from mout.gmx.net ([212.227.15.19]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdbHG-00000001OW7-3Ml0 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 20:04:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723493053; x=1724097853; 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=tezrkaetYEHClvMsw2ZxUqeb5cl8mlojVNZusQLy2xyI6H2P4asUuB/CWFBO33Q6 WVQoPCSz/ULcaX3ZeC77ZBt8r+qDF3iyYt0bO9+kooUqZhI60I6GpnXNZEbWm+wDA FhYsgjsho2+ExTZhDR0nMfjyu4Tbv9KkscCz0KhaIRLf926I7aO0N4h6BscPrPLlh K9v6GOUAkEUoC3sdl8EWohI1eSVsFTr2GKFBS/0wXMgksWpKOGoy/wOhAUJ5O6jvN 3zub8XrJ1GTrIYUO+e65BW3ZPjMxkjbVzdvnvSLvvImDudYfZM50K+mwjbjY/z8FN OSrs8kZzSKP/JZH5Jw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MtfNl-1sKgoE0sWt-00tCVf; Mon, 12 Aug 2024 22:04:13 +0200 From: Stefan Wahren To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano Cc: Andrea della Porta , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, devicetree@vger.kernel.org, Stefan Wahren Subject: [PATCH V3 RESEND 2/4] dt-bindings: interrupt-controller: convert bcm2836-l1-intc to yaml Date: Mon, 12 Aug 2024 22:03:56 +0200 Message-Id: <20240812200358.4061-3-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812200358.4061-1-wahrenst@gmx.net> References: <20240812200358.4061-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:2O4e8Jnf1oCwiJzQ2qSBKvoSNjYHW2qKyaKf+KcTnlZ7oOt4xco R5ryOoJOhZmwDiOxfpdU7KWXm6ONbuatWQ++nM8m5ybvZFG6wG4Ror11uZao4+fqMB67UUk jemynsnxyTX+1nNo6Wdk6vCM1muFC7/isuGMrvo4NwppZPt8o17axPzzINTqA1JteSjF6Yt H98HZkCBwp8vDEmBXbWsQ== UI-OutboundReport: notjunk:1;M01:P0:dUJFkJkCZpc=;R5UQi3BRd6YAS0CQHSbG6FdSrnc M+0pVTznwY/dPpVIK6WpkPBlJmdg4ZWpUgnhXf1xhX+/GlysCkkGJZZaL6HPQLaDjGLUuZEZh K4hgWiWuifxKj4/aG2lQdh+JsFbANk0QK2Xi3HkCLfBUHuYzVsWWLPMmC5CKqtExVLxzJn1rR fRU1rxC94qFBlZNfMeQFjpntQxtf47O+a3oDqoU5+HzuXcjtW4bnePbRhUaCtzFixkbfDWPSi WbD77mqo3xsBr0Ef/Lq9SRRkr3FGjW32AC/P1qfIcr7XAkh/hbjEysFZq5of+i0iMc3oCbZ+V qK1hzv6Q2oPfQLgB8UzHmveV//9mx8idCZbAS69a44kcuVOBzVrVzBK7BSdvjnRElaGSP6rQU uIYyRXdr9kt9GlDUsrXkPdudDDwwDUVfjsW9+k1SG3D4oSlTol22gxzenGFrI4g4ciDVpyHdx zY7Exi21LfTJPZtugua+/A6y8UXZqz7sAAnPw3yDKnDtDu7vKk9/2z9S53wTX7Z4ykw+YBzmS u6+qH9pBrDU9Cpb0p3IuE4X6EuYsaA/egZBKuXyxnxS5nTnf/DKfoRod6cja9a4h9SX5/GU32 fe4L5UF4CZ9ex5SJKw7MNuIaZYsv/Flg/7o6V+wm2dl3wfk1JvM8j35Wem1/Ts3g5tt7HWqJJ 7kPHUpTdDDvD3FE+nbR9N3eJO+AhWyaNN9TDKF3pxnVCxYdZTkiHMQPZVRSovyNZAMkn3IyAX aNZTmN6U4rgdeZ5wPAgUZ3DU6ci2+LqbdEOFA4xbgKaMyhQpFv0SVDOCCz8y4yLBjsYmBelmD Fx+8P04aH28cQrmixHsS2BeAjKKU0ffNKgUuIQHsiUO/4= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_130427_164742_45B0009B X-CRM114-Status: GOOD ( 12.70 ) 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 Reviewed-by: Conor Dooley --- .../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 20:03:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13760989 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 DF9E3C52D7C for ; Mon, 12 Aug 2024 20:06:28 +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=O0IzuQCRm0/jNCQ15PRHyvNmsT fVZY9qK3hxy2SjV6V+vKYEsbahqpe+kk68WO6I6gVw5xpNLZ8od4Emj+Kz13puZg+vzcnrslM8VcC iBffP4eh+8VLaR0okdhdpe/AljjOYTNJva74GJuCrfsQFcJ/HqcOq1mwe0I5Qt7yU7XRoA+gEmRVJ KdZVLIkbFECBiHIhFpHdQaw+7EPyThgKx0heI4JY6fJG9kVLYBxSUfTwb+Sm7BdDoA/EQqNRSkCMs JOVtfMpRQ9fyZRKiBfCZNQwNPmxO+Q6PS9yD3Md+zPvTdR1yex9yHtLvUpmjXKvXPSmn4t5POv3YK gimT0qeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdbJ1-00000001P4K-2rjp; Mon, 12 Aug 2024 20:06:15 +0000 Received: from mout.gmx.net ([212.227.15.19]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdbHG-00000001OW6-3Mgi for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 20:04:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723493053; x=1724097853; 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=rHwUObKVIX+yW8Tb/6ST8af3OZ6xqYYSvpjUyYdKnAl21aoG4bA4p4DGlX02ZU2u 4SKNWFsarg9GiHVK6rncGDzO5qm6gTbh41kaDOrNnlV5H3yNhaiDJxxG2JRCgBXnP yqwLGM9lIPhjavcbb6InubTlwmq4siKe/xTlFBfY0Hk763CI16oaaQDtABifJnYfY 0ddi74s9U4103ESbpmcAAOyr+LBStct84sffmgp0x6wFSYDm4a8LenG542zPenWo8 duJhnpQeKEBr9Oi4y98uKMBZZydpBwugAJ1rmnUKWYbqcCMIRwLLJBg1QWg/NaPqA yhPkE1OwbkyVtuuc0g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MTiU3-1slT6W33AD-00TB9F; Mon, 12 Aug 2024 22:04:13 +0200 From: Stefan Wahren To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano Cc: Andrea della Porta , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, devicetree@vger.kernel.org, Stefan Wahren Subject: [PATCH V3 RESEND 3/4] ARM: dts: bcm2837/bcm2712: adjust local intc node names Date: Mon, 12 Aug 2024 22:03:57 +0200 Message-Id: <20240812200358.4061-4-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812200358.4061-1-wahrenst@gmx.net> References: <20240812200358.4061-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:u2FTH2ODU1p6HMaMeojYc4DUOCEdNV5hREs+21z/H10jDatXMwZ V6ydKOekcouJ3hbEiMYLqLdIsvAik2SHPiZeO3pnFgzRenjDbUeUYAeK7Z4ae+Nv5Pl22y4 JA6gLlcNaA5Q7uObdgkQ7f2c8jLRBVj8y/jNV8Io2DIcY1VAJ/tmgjnO1IyUcCYWcUPSUd5 FAh0OpLPb+0O28FSwMJLA== UI-OutboundReport: notjunk:1;M01:P0:ModlvcrtSxE=;sTv3LDMACqK7KptpuRtC57BMYMf o4juMsQSzUwiOH0YaNmrMvql1jLpRhtk1jshfcQ4+9RQlU2Uy+LuLydryFETT1VJpf1DlvWFC jrMUW5qoBd5kHJ5aVwKHcD4FCnvbSal/TO8kkbpnIg8FOo1kAabJ4yNBz27/UPhec+hVeRwjM mkBUlG7r/HrZps8iNEN3IiS8xqgtdUIR85ncEliDsdvncLiHtbAOmUxDajQHos5seFRhoa27A FAE+oXcnAdggEuxijpa3ggCwtOyaDC7GArEZwMYB1V149K4RhcObLC4FLVhjyuEdTxNIHK/GL C4IwD+dZf1aDoMsR+1UUU4IhfGMEmYDTdhbejWVwKPsDWSiiNLdAD96BIal5tMr/xarCULO1Z hwaLES+FJOX0Ah0bMniI9jvAAd0hmf19Vb4+qiBuDnFyXC/Us64ejNTFUWxxcRMkSuNiYyFrr lhe19j/WqepPehuTPo23w2wDLU9sD8muhYzGx7V/0EUT8rv7G2QJj6iEWvh1s2dZGp0INSRhF fLGhX8MRULx8RdnhNWMFRb6y/1umy1d+KH12tUKsQ94DBLENGVOA4pb6bHYQ3YgjZannpM4Ex DAbJ1u7MWtrBOacheZqZdEs0VVpNBhD+YuZP4g6OQZ0Mi9uDhNZk6j8UegmgfsQAsU0SaPzsg 4xZFd32XLH852AzdimoYmb0bBEr5yTWeFiAFb5WPARFfjBKQN5vmLeMXpotnBHrQp3X+SxNvM piIG/CgZs7AqqRKBcTqg1XhyG7VgI9U3mdkjHAqlxBzocOeubqJNQyAMun3n+hsfValUl+qet N68NAZdKbkLWHYF1DZStYsyw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_130427_276086_C632C130 X-CRM114-Status: GOOD ( 10.63 ) 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 20:03:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13760988 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 4C6F1C3DA7F for ; Mon, 12 Aug 2024 20:05:52 +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=0YZl7THG2jOSSBLSnZgRvqzdCJ 9zuuXRj0AvxQsnS74YdZEkErV3JG5nyTTSzgzDZhFLCb8kDNShN8gPo65LWIKWud8nlSP8r2GdoCG /4WOIyxeAlo/jwC5a3bBsdtbI1RzGwFU583m98vUo3RY+sA+qmIrQrOYVc6+Iaea/TBFgH7UQqnhs oyjNhwjvIKZdPQqlvNAzJTLu45uk0Q3gak/O1DKBJgp3XT6HI+gGPEpnP0LFuNUEErly7FYG3pFBd 75mhmgM9pGuDOeNPWNJmX5ez9KNuAoNw2fh5rGdGP45u3orF4FJLIzi+KzehcVKKCIyXrL6Mx0aDN mt3hIZgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdbIS-00000001Ot1-2Pb5; Mon, 12 Aug 2024 20:05:40 +0000 Received: from mout.gmx.net ([212.227.15.15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdbHG-00000001OWA-2Xgl for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 20:04:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723493054; x=1724097854; 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=NRyV7bkbZktPYSRnvLXWA2ejJ4v1Vk3SXnqLkQ6CiZUTZKLIAN+zNcRKMLJTGCA/ t51IrMbMlSo1B64HnEmp9QUZOyun66KfpeSUtlepK9bIOvDJ02Z/Q91UtKGhH8WMd gjIYXUjH0ETb7uWuQXYppz8xOL5O5Jk3pcnnJW9FsbBdoJ7qOuoBVOcjVzI/3uw84 nxhQskBkyoZxD5zlwkkXTp729IRU6V1sAvOIG8wLU9ipsVft0dGQpGZxBCl8mpItC 8t5K9HvqwI1l7n3KKWEevL49iS3qkoCUPIojtxyCiqUGuElWLDut5pz0GVlmePRw3 8PeoS3gZF21uedJPBA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mplc7-1rqUjL10W5-00pMll; Mon, 12 Aug 2024 22:04:14 +0200 From: Stefan Wahren To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , Daniel Lezcano Cc: Andrea della Porta , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, kernel-list@raspberrypi.com, devicetree@vger.kernel.org, Stefan Wahren Subject: [PATCH V3 RESEND 4/4] ARM: dts: bcm271x: add missing properties to local_intc Date: Mon, 12 Aug 2024 22:03:58 +0200 Message-Id: <20240812200358.4061-5-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812200358.4061-1-wahrenst@gmx.net> References: <20240812200358.4061-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:25iRptNP+UMCfwoQcrqHvYF9odB7wutRxGZwuM2iINX5NNYJXAJ d8Vuixx3k7SVd7J8mxcg3pjBqof7E+QAe5U3YdABD61BvAc115OvmmkUOxMCFnn5vli8CCB jPGeqP5FSUa+eB+MqHDSLt4TZjAv0jRKIZC+7+M3G0aG8ZJIj3N8HzvSF3I7A3YS+md1VOD b0WlTLVNr/NV3rG8wvEbg== UI-OutboundReport: notjunk:1;M01:P0:ACqlgHSleg0=;gpTyx7ilFF4CK5EaxcYgTekeSjm T9KPQHZdGWN6EPH94hFMcnd4+8s+58ZUFOvknA3c9UnK1E5ktegCz9ZgGzpzlpTGQn+GHLzxR 2KAnKji3QR2xaubJ7qnp1uDwzWQmFeYTaNjMq+2btPQ+hKfQFcvcn1UFHXI4PojVUVrvLrq1Z UdjvfcrIhKVwGp4z/tfClQ6xo3v3ygSlPKYPGldhS1IVLXkY+EkM7ZnhNoNjFqVjToIzgix59 hA+7h+trzUhjfN7AQW5Kjo5cr3aq/8iOtmGPfOz1yVs6jjGlG7TXwF2KBXw3z7wCU+Ij4PKqH j+FMePIQyNxF9aQxoB7sbbk4ChUPLnJ5eL0AdGWApv04yll5fvSI0DJN6LtDgK3sA2FPtOFeY 5vUhoYj5QCbNoRRh2Dwrh2bS3pBC4qcAHcczcXhuNJ+utGD+CjL+bde4oWQZ3ycdYtbpPpvIK bE06rwl2hYBFQVEB5T4cMrJVE9Ap17RGbvPfOlGX9+xJ/QbHdys8uDgW/8++Gt7Eq4NKEBMnM P8Amtw/ig9mLXiPvm/EKT30dy7t3etAcotCLoxgeEryT2gwkxF9ohSqA0Pkx6QOEPvsjgyBLh T8HPbIeC9GsGMv3lJ8QF6POp4Cs1VQJUbcYy8G5vy1BBe+mb6XUX6d+esXlvHRHiuEoyCmObu rQ0sR28/zetTmtldCuKhusFYfDA4FgHD0+twPNDbpserMEYgCozk0JcAHC3cTqBgiG5hKprsS K0cq/xc/rwnSAHn+mfiPyaffmmMnuQTgtbGWVJRaWkct14eoVCZO2blLDKqGbTcRFgehKG+Jf qEm7Jk5lF4TvItfDyhiHolXg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_130426_943566_88463C50 X-CRM114-Status: UNSURE ( 8.68 ) 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 {