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

dt-bindings: interrupt-controller: Convert rda,8810pl-intc to YAML

Convert RDA Micro interrupt controller bindings to DT schema format.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220611180703.GA24988@standask-GA-A55M-S2HP

authored by

Stanislav Jakubek and committed by
Rob Herring
668c01ba 38a85b9d

+44 -62
-61
Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt
··· 1 - RDA Micro RDA8810PL Interrupt Controller 2 - 3 - The interrupt controller in RDA8810PL SoC is a custom interrupt controller 4 - which supports up to 32 interrupts. 5 - 6 - Required properties: 7 - 8 - - compatible: Should be "rda,8810pl-intc". 9 - - reg: Specifies base physical address of the registers set. 10 - - interrupt-controller: Identifies the node as an interrupt controller. 11 - - #interrupt-cells: Specifies the number of cells needed to encode an 12 - interrupt source. The value shall be 2. 13 - 14 - The interrupt sources are as follows: 15 - 16 - ID Name 17 - ------------ 18 - 0: PULSE_DUMMY 19 - 1: I2C 20 - 2: NAND_NFSC 21 - 3: SDMMC1 22 - 4: SDMMC2 23 - 5: SDMMC3 24 - 6: SPI1 25 - 7: SPI2 26 - 8: SPI3 27 - 9: UART1 28 - 10: UART2 29 - 11: UART3 30 - 12: GPIO1 31 - 13: GPIO2 32 - 14: GPIO3 33 - 15: KEYPAD 34 - 16: TIMER 35 - 17: TIMEROS 36 - 18: COMREG0 37 - 19: COMREG1 38 - 20: USB 39 - 21: DMC 40 - 22: DMA 41 - 23: CAMERA 42 - 24: GOUDA 43 - 25: GPU 44 - 26: VPU_JPG 45 - 27: VPU_HOST 46 - 28: VOC 47 - 29: AUIFC0 48 - 30: AUIFC1 49 - 31: L2CC 50 - 51 - Example: 52 - apb@20800000 { 53 - compatible = "simple-bus"; 54 - ... 55 - intc: interrupt-controller@0 { 56 - compatible = "rda,8810pl-intc"; 57 - reg = <0x0 0x1000>; 58 - interrupt-controller; 59 - #interrupt-cells = <2>; 60 - }; 61 - };
+43
Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-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/rda,8810pl-intc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: RDA Micro RDA8810PL interrupt controller 8 + 9 + maintainers: 10 + - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 + 12 + allOf: 13 + - $ref: /schemas/interrupt-controller.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: rda,8810pl-intc 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + interrupt-controller: true 23 + 24 + '#interrupt-cells': 25 + const: 2 26 + 27 + required: 28 + - compatible 29 + - reg 30 + - interrupt-controller 31 + - '#interrupt-cells' 32 + 33 + additionalProperties: false 34 + 35 + examples: 36 + - | 37 + intc: interrupt-controller@0 { 38 + compatible = "rda,8810pl-intc"; 39 + reg = <0x0 0x1000>; 40 + interrupt-controller; 41 + #interrupt-cells = <2>; 42 + }; 43 + ...
+1 -1
MAINTAINERS
··· 2587 2587 S: Maintained 2588 2588 F: Documentation/devicetree/bindings/arm/rda.yaml 2589 2589 F: Documentation/devicetree/bindings/gpio/gpio-rda.yaml 2590 - F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt 2590 + F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.yaml 2591 2591 F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml 2592 2592 F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml 2593 2593 F: arch/arm/boot/dts/rda8810pl-*