diff --git a/bindings/hwmon/qcom,amoled-ecm.yaml b/bindings/hwmon/qcom,amoled-ecm.yaml index 1cc8c2d1f95a..19957159ced4 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 diff --git a/qcom/lahaina-cdp.dtsi b/qcom/lahaina-cdp.dtsi index 2244d7e0e8cb..744c2ed73802 100644 --- a/qcom/lahaina-cdp.dtsi +++ b/qcom/lahaina-cdp.dtsi @@ -182,6 +182,15 @@ status = "ok"; }; +&pm8350b_amoled_ecm { + display-panels = <&dsi_sw43404_amoled_cmd + &dsi_sw43404_amoled_video + &dsi_sw43404_amoled_fhd_plus_cmd + &dsi_r66451_amoled_cmd + &dsi_r66451_amoled_video + &dsi_sharp_qhd_plus_dsc_cmd>; +}; + &pm8350c_switch0 { qcom,led-mask = <9>; /* Channels 1 & 4 */ qcom,symmetry-en; diff --git a/qcom/lahaina-mtp.dtsi b/qcom/lahaina-mtp.dtsi index 84f6106f179a..98ff6a6a3903 100644 --- a/qcom/lahaina-mtp.dtsi +++ b/qcom/lahaina-mtp.dtsi @@ -163,6 +163,14 @@ status = "ok"; }; +&pm8350b_amoled_ecm { + display-panels = <&dsi_sw43404_amoled_cmd + &dsi_sw43404_amoled_video + &dsi_sw43404_amoled_fhd_plus_cmd + &dsi_r66451_amoled_cmd + &dsi_r66451_amoled_video>; +}; + &pm8350c_switch0 { qcom,led-mask = <9>; /* Channels 1 & 4 */ qcom,symmetry-en; diff --git a/qcom/lahaina-qrd-common.dtsi b/qcom/lahaina-qrd-common.dtsi index d96f9b8893b6..a25037a3d397 100644 --- a/qcom/lahaina-qrd-common.dtsi +++ b/qcom/lahaina-qrd-common.dtsi @@ -300,6 +300,11 @@ }; }; +&pm8350b_amoled_ecm { + display-panels = <&dsi_r66451_amoled_cmd + &dsi_r66451_amoled_video>; +}; + &soc { gpio_keys { compatible = "gpio-keys"; diff --git a/qcom/pm8350b.dtsi b/qcom/pm8350b.dtsi index c9110d289922..f92738d71ad5 100644 --- a/qcom/pm8350b.dtsi +++ b/qcom/pm8350b.dtsi @@ -208,7 +208,7 @@ }; }; - qcom,amoled-ecm@f900 { + pm8350b_amoled_ecm: qcom,amoled-ecm@f900 { compatible = "qcom,amoled-ecm"; reg = <0xf900>; nvmem-names = "amoled-ecm-sdam0", "amoled-ecm-sdam1";