From 4cae8efac0a94874283e8f3ef798d889379531cd Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Fri, 18 Sep 2020 10:33:43 +0800 Subject: [PATCH] dt-bindings: qcom,amoled-ecm: add display-panels property Add display-panels property for the ECM device to get the display blank and unblank notifications from the active panel device and re-enable ECM dynamically. Change-Id: Ia82f60a7f21908b69a7ba19a1884e955f0bad227 --- bindings/hwmon/qcom,amoled-ecm.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/hwmon/qcom,amoled-ecm.yaml b/bindings/hwmon/qcom,amoled-ecm.yaml index 1cc8c2d1..19957159 100644 --- a/bindings/hwmon/qcom,amoled-ecm.yaml +++ b/bindings/hwmon/qcom,amoled-ecm.yaml @@ -53,6 +53,12 @@ properties: - const: ecm-sdam1 $ref: /schemas/types.yaml#/definitions/string-array + display-panels: + minItems: 1 + description: Array of one or more phandles of the display panel(s) + that sends the DRM blank/unblank notifications. + $ref: /schemas/types.yaml#/definitions/phandle-array + required: - compatible - reg