OSDN Git Service

ARM: dts: msm: Add HDR support for NT35597 panel
authorShashank Babu Chinta Venkata <sbchin@codeaurora.org>
Thu, 10 Nov 2016 02:16:00 +0000 (18:16 -0800)
committerShashank Babu Chinta Venkata <sbchin@codeaurora.org>
Tue, 29 Nov 2016 23:36:33 +0000 (15:36 -0800)
Add chromaticity, peak brightness and blackness
level information for panel. This values are
needed for HDR support.

CRs-Fixed: 1095347
Change-Id: Ic3c10b6f8c80f68fec953fd4f0b4616eac7edee3
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
Documentation/devicetree/bindings/fb/mdss-dsi-panel.txt
arch/arm/boot/dts/qcom/dsi-panel-nt35597-dsc-wqxga-cmd.dtsi
arch/arm/boot/dts/qcom/dsi-panel-nt35597-dsc-wqxga-video.dtsi
arch/arm/boot/dts/qcom/dsi-panel-nt35597-dualmipi-wqxga-cmd.dtsi
arch/arm/boot/dts/qcom/dsi-panel-nt35597-dualmipi-wqxga-video.dtsi

index 0174306..fd449f3 100644 (file)
@@ -365,6 +365,28 @@ the fps window.
                                        2A/2B command.
 - qcom,dcs-cmd-by-left:                        Boolean to indicate that dcs command are sent
                                        through the left DSI controller only in a dual-dsi configuration
+- qcom,mdss-dsi-panel-hdr-enabled:      Boolean to indicate HDR support in panel.
+- qcom,mdss-dsi-panel-hdr-color-primaries:
+                                        Array of 8 unsigned integers denoting chromaticity of panel.These
+                                        values are specified in nits units. The value range is 0 through 50000.
+                                        To obtain real chromacity, these values should be divided by factor of
+                                        50000. The structure of array is defined in below order
+                                        value 1: x value of white chromaticity of display panel
+                                        value 2: y value of white chromaticity of display panel
+                                        value 3: x value of red chromaticity of display panel
+                                        value 4: y value of red chromaticity of display panel
+                                        value 5: x value of green chromaticity of display panel
+                                        value 6: y value of green chromaticity of display panel
+                                        value 7: x value of blue chromaticity of display panel
+                                        value 8: y value of blue chromaticity of display panel
+- qcom,mdss-dsi-panel-peak-brightness:  Maximum brightness supported by panel.In absence of maximum value
+                                        typical value becomes peak brightness. Value is specified in nits units.
+                                        To obtail real peak brightness, this value should be divided by factor of
+                                        10000.
+- qcom,mdss-dsi-panel-blackness-level:  Blackness level supported by panel. Blackness level is defined as
+                                        ratio of peak brightness to contrast. Value is specified in nits units.
+                                        To obtail real blackness level, this value should be divided by factor of
+                                        10000.
 - qcom,mdss-dsi-lp11-init:             Boolean used to enable the DSI clocks and data lanes (low power 11)
                                        before issuing hardware reset line.
 - qcom,mdss-dsi-init-delay-us:         Delay in microseconds(us) before performing any DSI activity in lp11
index 94ca102..c80259b 100644 (file)
                qcom,mdss-dsi-te-check-enable;
                qcom,mdss-dsi-te-using-te-pin;
                qcom,ulps-enabled;
-
+               qcom,mdss-dsi-panel-hdr-enabled;
+               qcom,mdss-dsi-panel-hdr-color-primaries = <14500 15500 32000
+                       17000 15500 30000 8000 3000>;
+               qcom,mdss-dsi-panel-peak-brightness = <4200000>;
+               qcom,mdss-dsi-panel-blackness-level = <3230>;
                qcom,adjust-timer-wakeup-ms = <1>;
                qcom,mdss-dsi-on-command = [15 01 00 00 00 00 02 ff 10
                        15 01 00 00 00 00 02 fb 01
index 49130cc..10713dd 100644 (file)
                qcom,mdss-dsi-bpp = <24>;
                qcom,mdss-dsi-underflow-color = <0xff>;
                qcom,mdss-dsi-border-color = <0>;
-
+               qcom,mdss-dsi-panel-hdr-enabled;
+               qcom,mdss-dsi-panel-hdr-color-primaries = <14500 15500 32000
+                       17000 15500 30000 8000 3000>;
+               qcom,mdss-dsi-panel-peak-brightness = <4200000>;
+               qcom,mdss-dsi-panel-blackness-level = <3230>;
                qcom,mdss-dsi-on-command = [15 01 00 00 00 00 02 ff 10
                        15 01 00 00 00 00 02 fb 01
                        15 01 00 00 00 00 02 ba 03
index 10be9cc..aeeaaa7 100644 (file)
                qcom,mdss-dsi-te-check-enable;
                qcom,mdss-dsi-te-using-te-pin;
                qcom,ulps-enabled;
+               qcom,mdss-dsi-panel-hdr-enabled;
+               qcom,mdss-dsi-panel-hdr-color-primaries = <14500 15500 32000
+                       17000 15500 30000 8000 3000>;
+               qcom,mdss-dsi-panel-peak-brightness = <4200000>;
+               qcom,mdss-dsi-panel-blackness-level = <3230>;
                qcom,mdss-dsi-on-command = [15 01 00 00 00 00 02 ff 10
                        15 01 00 00 00 00 02 fb 01
                        15 01 00 00 00 00 02 ba 03
index a2cac50..f7122d3 100644 (file)
                qcom,mdss-dsi-bpp = <24>;
                qcom,mdss-dsi-underflow-color = <0xff>;
                qcom,mdss-dsi-border-color = <0>;
+               qcom,mdss-dsi-panel-hdr-enabled;
+               qcom,mdss-dsi-panel-hdr-color-primaries = <14500 15500 32000
+                       17000 15500 30000 8000 3000>;
+               qcom,mdss-dsi-panel-peak-brightness = <4200000>;
+               qcom,mdss-dsi-panel-blackness-level = <3230>;
                qcom,mdss-dsi-on-command = [15 01 00 00 00 00 02 ff 10
                        15 01 00 00 00 00 02 fb 01
                        15 01 00 00 00 00 02 ba 03