Skip to contentSkip to conversation

dt-bindings: interrupt-controller: Convert google,goldfish-pic to DT schema

PATCH New Rob Herring (Arm) 1 participant 1 message May 5, 2025

Subsystems (3)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: interrupt-controller: Convert google,goldfish-pic to DT schema

Convert the Google Goldfish PIC interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller.

---
 .../google,goldfish-pic.txt                   | 30 ------------
 .../google,goldfish-pic.yaml                  | 47 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 48 insertions(+), 31 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.yaml
Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt deleted +0 -30
deleted file mode 100644
index 35f752706e7d..000000000000
@@ -1,30 +0,0 @@
-Android Goldfish PIC
-
-Android Goldfish programmable interrupt device used by Android
-emulator.
-
-Required properties:
-
-- compatible : should contain "google,goldfish-pic"
-- reg        : <registers mapping>
-- interrupts : <interrupt mapping>
-
-Example for mips when used in cascade mode:
-
-        cpuintc {
-                #interrupt-cells = <0x1>;
-                #address-cells = <0>;
-                interrupt-controller;
-                compatible = "mti,cpu-interrupt-controller";
-        };
-
-        interrupt-controller@1f000000 {
-                compatible = "google,goldfish-pic";
-                reg = <0x1f000000 0x1000>;
-
-                interrupt-controller;
-                #interrupt-cells = <0x1>;
-
-                interrupt-parent = <&cpuintc>;
-                interrupts = <0x2>;
-        };
Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.yaml new file +47 -0

47 lines not on this page · raw message

MAINTAINERS +1 -1
index a792c5495d15..cf5d0b25e94b 100644
@@ -1694,7 +1694,7 @@ F:	drivers/android/
 ANDROID GOLDFISH PIC DRIVER
 M:	Miodrag Dinic <[email protected]>
 S:	Supported
-F:	Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt
+F:	Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.yaml
 F:	drivers/irqchip/irq-goldfish-pic.c
 
 ANDROID GOLDFISH RTC DRIVER
Signature · 1 line
2.47.2