From c59cb6a4ac6f18bd0e9404ec0a1a4a339e2af496 Mon Sep 17 00:00:00 2001 From: Maulik Shah Date: Sun, 21 Aug 2022 23:05:53 +0530 Subject: [PATCH] bindings: interrupt-controller: Update bindings for mpm irqchip Update target compatible to newer and update example including timer register. Change-Id: I151752b04ebd862d32052ececcffb64f4855c42c --- bindings/interrupt-controller/qcom,mpm.txt | 25 +++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/bindings/interrupt-controller/qcom,mpm.txt b/bindings/interrupt-controller/qcom,mpm.txt index 90a85890..9abf5c6b 100644 --- a/bindings/interrupt-controller/qcom,mpm.txt +++ b/bindings/interrupt-controller/qcom,mpm.txt @@ -21,14 +21,12 @@ Properties: - compatible: Usage: required Value type: - Definition: Should contain "qcom,mpm-gic" and the respective + Definition: Should contain "qcom,mpm" and the respective target compatible flag from below ones. - "qcom,mpm-gic-holi" - "qcom,mpm-gic-scuba" - "qcom,mpm-gic-sdxnightjar" - "qcom,mpm-gic-monaco" - "qcom,mpm-gic-qcs405" - "qcom,mpm-gic-bengal" + "qcom,mpm-bengal" + "qcom,mpm-khaje" + "qcom,mpm-monaco" + "qcom,mpm-scuba" - interrupts: Usage: required @@ -65,13 +63,14 @@ Properties: Example: -wakegic: wake-gic@7781b8 { - compatible = "qcom,mpm", "qcom,mpm-gic-holi"; +mpm: interrupt-controller@45f01b8 { + compatible = "qcom,mpm", "qcom,mpm-khaje"; interrupts = ; - reg = <0x601d4 0x1000>, - <0xb011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ - reg-names = "vmpm", "ipc"; + reg = <0x45f01b8 0x1000>, + <0xb011008 0x4>, /* MSM_APCS_GCC_BASE 4K */ + <0xf121000 0x1000>; /* Timer Frame Register */ + reg-names = "vmpm", "ipc", "timer"; interrupt-controller; interrupt-parent = <&intc>; - #interrupt-cells = <3>; + #interrupt-cells = <2>; };