Skip to content

Commit ee35e2a

Browse files
committed
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. Link: https://lore.kernel.org/r/20250505144658.1289158-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent a911481 commit ee35e2a

3 files changed

Lines changed: 48 additions & 31 deletions

File tree

Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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/google,goldfish-pic.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Android Goldfish PIC
8+
9+
maintainers:
10+
- Miodrag Dinic <miodrag.dinic@mips.com>
11+
12+
description:
13+
Android Goldfish programmable interrupt device used by Android emulator.
14+
15+
properties:
16+
compatible:
17+
const: google,goldfish-pic
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
interrupt-controller: true
26+
27+
'#interrupt-cells':
28+
const: 1
29+
30+
required:
31+
- compatible
32+
- reg
33+
- interrupts
34+
- interrupt-controller
35+
- '#interrupt-cells'
36+
37+
examples:
38+
- |
39+
interrupt-controller@1f000000 {
40+
compatible = "google,goldfish-pic";
41+
reg = <0x1f000000 0x1000>;
42+
interrupt-controller;
43+
#interrupt-cells = <1>;
44+
interrupts = <2>;
45+
};
46+
47+
additionalProperties: false

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@ F: drivers/android/
16941694
ANDROID GOLDFISH PIC DRIVER
16951695
M: Miodrag Dinic <miodrag.dinic@mips.com>
16961696
S: Supported
1697-
F: Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt
1697+
F: Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.yaml
16981698
F: drivers/irqchip/irq-goldfish-pic.c
16991699

17001700
ANDROID GOLDFISH RTC DRIVER

0 commit comments

Comments
 (0)