Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: interrupt-controller: Convert cirrus,ep7209-intc to DT schema

Convert the Cirrus EP7209 interrupt controller binding to schema format.
It's a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144631.1288086-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+71 -41
-41
Documentation/devicetree/bindings/interrupt-controller/cirrus,clps711x-intc.txt
··· 1 - Cirrus Logic CLPS711X Interrupt Controller 2 - 3 - Required properties: 4 - 5 - - compatible: Should be "cirrus,ep7209-intc". 6 - - reg: Specifies base physical address of the registers set. 7 - - interrupt-controller: Identifies the node as an interrupt controller. 8 - - #interrupt-cells: Specifies the number of cells needed to encode an 9 - interrupt source. The value shall be 1. 10 - 11 - The interrupt sources are as follows: 12 - ID Name Description 13 - --------------------------- 14 - 1: BLINT Battery low (FIQ) 15 - 3: MCINT Media changed (FIQ) 16 - 4: CSINT CODEC sound 17 - 5: EINT1 External 1 18 - 6: EINT2 External 2 19 - 7: EINT3 External 3 20 - 8: TC1OI TC1 under flow 21 - 9: TC2OI TC2 under flow 22 - 10: RTCMI RTC compare match 23 - 11: TINT 64Hz tick 24 - 12: UTXINT1 UART1 transmit FIFO half empty 25 - 13: URXINT1 UART1 receive FIFO half full 26 - 14: UMSINT UART1 modem status changed 27 - 15: SSEOTI SSI1 end of transfer 28 - 16: KBDINT Keyboard 29 - 17: SS2RX SSI2 receive FIFO half or greater full 30 - 18: SS2TX SSI2 transmit FIFO less than half empty 31 - 28: UTXINT2 UART2 transmit FIFO half empty 32 - 29: URXINT2 UART2 receive FIFO half full 33 - 32: DAIINT DAI interface (FIQ) 34 - 35 - Example: 36 - intc: interrupt-controller { 37 - compatible = "cirrus,ep7312-intc", "cirrus,ep7209-intc"; 38 - reg = <0x80000000 0x4000>; 39 - interrupt-controller; 40 - #interrupt-cells = <1>; 41 - };
+71
Documentation/devicetree/bindings/interrupt-controller/cirrus,ep7209-intc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/interrupt-controller/cirrus,ep7209-intc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Cirrus Logic CLPS711X Interrupt Controller 8 + 9 + maintainers: 10 + - Alexander Shiyan <shc_work@mail.ru> 11 + 12 + description: > 13 + Cirrus Logic CLPS711X Interrupt Controller 14 + 15 + The interrupt sources are as follows: 16 + ID Name Description 17 + --------------------------- 18 + 1: BLINT Battery low (FIQ) 19 + 3: MCINT Media changed (FIQ) 20 + 4: CSINT CODEC sound 21 + 5: EINT1 External 1 22 + 6: EINT2 External 2 23 + 7: EINT3 External 3 24 + 8: TC1OI TC1 under flow 25 + 9: TC2OI TC2 under flow 26 + 10: RTCMI RTC compare match 27 + 11: TINT 64Hz tick 28 + 12: UTXINT1 UART1 transmit FIFO half empty 29 + 13: URXINT1 UART1 receive FIFO half full 30 + 14: UMSINT UART1 modem status changed 31 + 15: SSEOTI SSI1 end of transfer 32 + 16: KBDINT Keyboard 33 + 17: SS2RX SSI2 receive FIFO half or greater full 34 + 18: SS2TX SSI2 transmit FIFO less than half empty 35 + 28: UTXINT2 UART2 transmit FIFO half empty 36 + 29: URXINT2 UART2 receive FIFO half full 37 + 32: DAIINT DAI interface (FIQ) 38 + 39 + properties: 40 + compatible: 41 + oneOf: 42 + - items: 43 + - const: cirrus,ep7312-intc 44 + - const: cirrus,ep7209-intc 45 + - items: 46 + - const: cirrus,ep7209-intc 47 + 48 + reg: 49 + maxItems: 1 50 + 51 + interrupt-controller: true 52 + 53 + '#interrupt-cells': 54 + const: 1 55 + 56 + required: 57 + - compatible 58 + - reg 59 + - interrupt-controller 60 + - '#interrupt-cells' 61 + 62 + additionalProperties: false 63 + 64 + examples: 65 + - | 66 + interrupt-controller@80000000 { 67 + compatible = "cirrus,ep7312-intc", "cirrus,ep7209-intc"; 68 + reg = <0x80000000 0x4000>; 69 + interrupt-controller; 70 + #interrupt-cells = <1>; 71 + };