Loading Documentation/devicetree/bindings/display/msm/mdss-dsi-panel.txt +17 −2 Original line number Diff line number Diff line Loading @@ -173,6 +173,14 @@ Optional properties: "bl_ctrl_pwm" = Backlight controlled by PWM gpio. "bl_ctrl_wled" = Backlight controlled by WLED. "bl_ctrl_dcs" = Backlight controlled by DCS commands. "bl_ctrl_external" = Backlight controlled by externally other: Unknown backlight control. (default) - qcom,mdss-dsi-sec-bl-pmic-control-type: A string that specifies the implementation of backlight control for secondary panel. "bl_ctrl_pwm" = Backlight controlled by PWM gpio. "bl_ctrl_wled" = Backlight controlled by WLED. "bl_ctrl_dcs" = Backlight controlled by DCS commands. "bl_ctrl_external" = Backlight controlled by externally other: Unknown backlight control. (default) - qcom,mdss-dsi-bl-pwm-pmi: Boolean to indicate that PWM control is through second pmic chip. - qcom,mdss-dsi-bl-pmic-bank-select: LPG channel for backlight. Loading @@ -187,6 +195,9 @@ Optional properties: 255 = default value. - qcom,mdss-brightness-max-level: Specifies the max brightness level supported. 255 = default value. - qcom,bl-update-flag: A string that specifies controls for backlight update of the panel. "delay_until_first_frame" = Delay backlight update of the panel until the first frame is received from the HW. - qcom,mdss-dsi-interleave-mode: Specifies interleave mode. 0 = default value. - qcom,mdss-dsi-panel-type: Specifies the panel operating mode. Loading Loading @@ -529,6 +540,8 @@ Optional properties: display. The first set is indexed by the value 0. - qcom,mdss-dsi-ext-bridge-mode: External bridge chip is connected instead of panel. - qcom,mdss-dsi-dma-schedule-line: An integer value indicates the line number after vertical active region, at which command DMA needs to be triggered. Required properties for sub-nodes: None Optional properties: Loading Loading @@ -604,6 +617,7 @@ Example: qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = < 15>; qcom,mdss-brightness-max-level = <255>; qcom,bl-update-flag = "delay_until_first_frame"; qcom,mdss-dsi-interleave-mode = <0>; qcom,mdss-dsi-panel-type = "dsi_video_mode"; qcom,mdss-dsi-te-check-enable; Loading Loading @@ -634,8 +648,6 @@ Example: qcom,mdss-dsi-mdp-trigger = <0>; qcom,mdss-dsi-dma-trigger = <0>; qcom,mdss-dsi-panel-framerate = <60>; qcom,mdss-dsi-panel-clockrate = <424000000>; qcom,mdss-mdp-transfer-time-us = <12500>; qcom,mdss-dsi-panel-timings = [7d 25 1d 00 37 33 22 27 1e 03 04 00]; qcom,mdss-dsi-panel-timings-8996 = [23 20 06 09 05 03 04 a0 Loading Loading @@ -713,6 +725,8 @@ Example: qcom,mdss-dsi-v-front-porch = <728>; qcom,mdss-dsi-v-pulse-width = <4>; qcom,mdss-dsi-panel-framerate = <60>; qcom,mdss-dsi-panel-clockrate = <424000000>; qcom,mdss-mdp-transfer-time-us = <12500>; qcom,mdss-dsi-panel-timings = [E6 38 26 00 68 6E 2A 3C 2C 03 04 00]; qcom,mdss-dsi-t-clk-post = <0x02>; qcom,mdss-dsi-t-clk-pre = <0x2a>; Loading Loading @@ -786,5 +800,6 @@ Example: qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <0>; qcom,mdss-dsi-dma-schedule-line = <5>; }; }; Documentation/devicetree/bindings/display/msm/mdss-pll.txt +2 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,8 @@ Required properties: "qcom,mdss_hdmi_pll_8998", "qcom,mdss_dp_pll_10nm", "qcom,mdss_dsi_pll_7nm", "qcom,mdss_dp_pll_7nm", "qcom,mdss_dsi_pll_28lpm", "qcom,mdss_dsi_pll_14nm", "qcom,mdss_dp_pll_14nm" "qcom,mdss_dp_pll_14nm", "qcom,mdss_dsi_pll_7nm_v2", "qcom,mdss_hdmi_pll_28lpm" - cell-index: Specifies the controller used - reg: offset and length of the register set for the device. - reg-names : names to refer to register sets related to this device Loading Documentation/devicetree/bindings/display/msm/sde-dp.txt +18 −5 Original line number Diff line number Diff line Loading @@ -67,8 +67,15 @@ DP Controller: Required properties: within DP AUX, while the remaining entries indicate the programmable values. - qcom,max-pclk-frequency-khz: An integer specifying the max. pixel clock in KHz supported by Display Port. - qcom,mst-enable: MST feature enable control node. - qcom,dsc-feature-enable: DSC feature enable control node. - qcom,fec-feature-enable: FEC feature enable control node. - qcom,max-dp-dsc-blks: An integer specifying the max. DSC blocks available for Display port. - qcom,max-dp-dsc-input-width-pixs: An integer specifying the max. input width of pixels for each DSC block. - qcom,dp-usbpd-detection: Phandle for the PMI regulator node for USB PHY PD detection. - qcom,dp-aux-switch: Phandle for the driver used to program the AUX switch for Display Port orientation. - qcom,dp-hpd-gpio: HPD gpio for direct DP connector without USB PHY or AUX switch. - qcom,dp-gpio-aux-switch: Gpio DP AUX switch chipset support. - qcom,<type>-supply-entries: A node that lists the elements of the supply used by the a particular "type" of DSI module. The module "types" can be "core", "ctrl", and "phy". Within the same type, there can be more than one instance of this binding, Loading @@ -84,11 +91,6 @@ DP Controller: Required properties: -- qcom,supply-post-on-sleep: time to sleep (ms) after turning on -- qcom,supply-pre-off-sleep: time to sleep (ms) before turning off -- qcom,supply-post-off-sleep: time to sleep (ms) after turning off - pinctrl-names: List of names to assign mdss pin states defined in pinctrl device node Refer to pinctrl-bindings.txt - pinctrl-<0..n>: Lists phandles each pointing to the pin configuration node within a pin controller. These pin configurations are installed in the pinctrl device node. Refer to pinctrl-bindings.txt msm_ext_disp is a device which manages the interaction between external display interfaces, e.g. Display Port, and the audio subsystem. Loading @@ -96,7 +98,13 @@ display interfaces, e.g. Display Port, and the audio subsystem. Optional properties: - qcom,ext-disp: phandle for msm-ext-display module - compatible: Must be "qcom,msm-ext-disp" - qcom,dp-low-power-hw-hpd: Low power hardware HPD feature enable control node - qcom,phy-version: Phy version - pinctrl-names: List of names to assign mdss pin states defined in pinctrl device node Refer to pinctrl-bindings.txt - pinctrl-<0..n>: Lists phandles each pointing to the pin configuration node within a pin controller. These pin configurations are installed in the pinctrl device node. Refer to pinctrl-bindings.txt [Optional child nodes]: These nodes are for devices which are dependent on msm_ext_disp. If msm_ext_disp is disabled then Loading Loading @@ -170,6 +178,11 @@ Example: qcom,aux-cfg8-settings = [3c bb]; qcom,aux-cfg9-settings = [40 03]; qcom,max-pclk-frequency-khz = <593470>; qcom,mst-enable; qcom,dsc-feature-enable; qcom,fec-feature-enable; qcom,max-dp-dsc-blks = <2>; qcom,max-dp-dsc-input-width-pixs = <2048>; pinctrl-names = "mdss_dp_active", "mdss_dp_sleep"; pinctrl-0 = <&sde_dp_aux_active &sde_dp_usbplug_cc_active>; pinctrl-1 = <&sde_dp_aux_suspend &sde_dp_usbplug_cc_suspend>; Loading Documentation/devicetree/bindings/display/msm/sde-dsi.txt +2 −0 Original line number Diff line number Diff line Loading @@ -61,11 +61,13 @@ Bus Scaling Data: Optional properties: - label: String to describe controller. - qcom,platform-te-gpio: Specifies the gpio used for TE. - qcom,panel-te-source: Specifies the source pin for Vsync from panel or WD Timer. - qcom,dsi-ctrl: handle to dsi controller device - qcom,dsi-phy: handle to dsi phy device - qcom,dsi-ctrl-num: Specifies the DSI controllers to use - qcom,dsi-phy-num: Specifies the DSI PHYs to use - qcom,dsi-select-clocks: Specifies the required clocks to use - qcom,dsi-display-list: Specifies the list of supported displays. - qcom,dsi-manager: Specifies dsi manager is present - qcom,dsi-display: Specifies dsi display is present - qcom,hdmi-display: Specifies hdmi is present Loading Documentation/devicetree/bindings/display/msm/sde.txt +15 −0 Original line number Diff line number Diff line Loading @@ -63,6 +63,11 @@ Required properties from register "mdp_phys" defined in reg property. - qcom,sde-pp-slave: Array of flags indicating whether each ping pong block may be configured as a pp slave. - qcom,sde-pp-merge-3d-id: Array of index ID values for the merge 3d block connected to each pingpong, starting at 0. - qcom,sde-merge-3d-off: Array of offset addresses for the available merge 3d blocks. These offsets are calculated from register "mdp_phys" defined in reg property. - qcom,sde-intf-off: Array of offset addresses for the available SDE interface blocks that can drive data to a panel controller. The offsets are calculated Loading Loading @@ -101,6 +106,7 @@ Optional properties: - qcom,sde-dsc-size: A u32 value indicates the address range for each dsc. - qcom,sde-cdm-size: A u32 value indicates the address range for each cdm. - qcom,sde-pp-size: A u32 value indicates the address range for each pingpong. - qcom,sde-merge-3d-size: A u32 value indicates the address range for each merge 3d. - qcom,sde-wb-size: A u32 value indicates the address range for each writeback. - qcom,sde-len: A u32 entry for SDE address range. - qcom,sde-intf-max-prefetch-lines: Array of u32 values for max prefetch lines on Loading Loading @@ -140,6 +146,8 @@ Optional properties: feature is available or not. - qcom,sde-has-idle-pc: Boolean property to indicate if target has idle power collapse feature available or not. - qcom,fullsize-va-map: Boolean property to indicate smmu mapping range for mdp should be full range (4GB). - qcom,sde-has-mixer-gc: Boolean property to indicate if mixer has gamma correction feature available or not. - qcom,sde-has-dest-scaler: Boolean property to indicate if destination scaler Loading Loading @@ -433,6 +441,10 @@ Optional properties: for the mixer block. Possible values: "primary" - preferred for primary display "none" - no preference on display - qcom,sde-mixer-cwb-pref: A string array indicating the preferred mixer block. for CWB. Possible values: "cwb" - preferred for cwb "none" - no preference on display - qcom,sde-ctl-display-pref: A string array indicating the preferred display type for the ctl block. Possible values: "primary" - preferred for primary display Loading Loading @@ -532,6 +544,8 @@ Example: 0x00047000 0x0004a000>; qcom,sde-mixer-display-pref = "primary", "none", "none", "none"; qcom,sde-mixer-cwb-pref = "none", "none", "cwb", "none"; qcom,sde-dspp-top-off = <0x1300>; qcom,sde-dspp-off = <0x00055000 0x00057000>; qcom,sde-dspp-ad-off = <0x24000 0x22800>; Loading Loading @@ -613,6 +627,7 @@ Example: qcom,sde-highest-bank-bit = <15>; qcom,sde-has-mixer-gc; qcom,sde-has-idle-pc; qcom,fullsize-va-map; qcom,sde-has-dest-scaler; qcom,sde-max-dest-scaler-input-linewidth = <2048>; qcom,sde-max-dest-scaler-output-linewidth = <2560>; Loading Loading
Documentation/devicetree/bindings/display/msm/mdss-dsi-panel.txt +17 −2 Original line number Diff line number Diff line Loading @@ -173,6 +173,14 @@ Optional properties: "bl_ctrl_pwm" = Backlight controlled by PWM gpio. "bl_ctrl_wled" = Backlight controlled by WLED. "bl_ctrl_dcs" = Backlight controlled by DCS commands. "bl_ctrl_external" = Backlight controlled by externally other: Unknown backlight control. (default) - qcom,mdss-dsi-sec-bl-pmic-control-type: A string that specifies the implementation of backlight control for secondary panel. "bl_ctrl_pwm" = Backlight controlled by PWM gpio. "bl_ctrl_wled" = Backlight controlled by WLED. "bl_ctrl_dcs" = Backlight controlled by DCS commands. "bl_ctrl_external" = Backlight controlled by externally other: Unknown backlight control. (default) - qcom,mdss-dsi-bl-pwm-pmi: Boolean to indicate that PWM control is through second pmic chip. - qcom,mdss-dsi-bl-pmic-bank-select: LPG channel for backlight. Loading @@ -187,6 +195,9 @@ Optional properties: 255 = default value. - qcom,mdss-brightness-max-level: Specifies the max brightness level supported. 255 = default value. - qcom,bl-update-flag: A string that specifies controls for backlight update of the panel. "delay_until_first_frame" = Delay backlight update of the panel until the first frame is received from the HW. - qcom,mdss-dsi-interleave-mode: Specifies interleave mode. 0 = default value. - qcom,mdss-dsi-panel-type: Specifies the panel operating mode. Loading Loading @@ -529,6 +540,8 @@ Optional properties: display. The first set is indexed by the value 0. - qcom,mdss-dsi-ext-bridge-mode: External bridge chip is connected instead of panel. - qcom,mdss-dsi-dma-schedule-line: An integer value indicates the line number after vertical active region, at which command DMA needs to be triggered. Required properties for sub-nodes: None Optional properties: Loading Loading @@ -604,6 +617,7 @@ Example: qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = < 15>; qcom,mdss-brightness-max-level = <255>; qcom,bl-update-flag = "delay_until_first_frame"; qcom,mdss-dsi-interleave-mode = <0>; qcom,mdss-dsi-panel-type = "dsi_video_mode"; qcom,mdss-dsi-te-check-enable; Loading Loading @@ -634,8 +648,6 @@ Example: qcom,mdss-dsi-mdp-trigger = <0>; qcom,mdss-dsi-dma-trigger = <0>; qcom,mdss-dsi-panel-framerate = <60>; qcom,mdss-dsi-panel-clockrate = <424000000>; qcom,mdss-mdp-transfer-time-us = <12500>; qcom,mdss-dsi-panel-timings = [7d 25 1d 00 37 33 22 27 1e 03 04 00]; qcom,mdss-dsi-panel-timings-8996 = [23 20 06 09 05 03 04 a0 Loading Loading @@ -713,6 +725,8 @@ Example: qcom,mdss-dsi-v-front-porch = <728>; qcom,mdss-dsi-v-pulse-width = <4>; qcom,mdss-dsi-panel-framerate = <60>; qcom,mdss-dsi-panel-clockrate = <424000000>; qcom,mdss-mdp-transfer-time-us = <12500>; qcom,mdss-dsi-panel-timings = [E6 38 26 00 68 6E 2A 3C 2C 03 04 00]; qcom,mdss-dsi-t-clk-post = <0x02>; qcom,mdss-dsi-t-clk-pre = <0x2a>; Loading Loading @@ -786,5 +800,6 @@ Example: qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <0>; qcom,mdss-dsi-dma-schedule-line = <5>; }; };
Documentation/devicetree/bindings/display/msm/mdss-pll.txt +2 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,8 @@ Required properties: "qcom,mdss_hdmi_pll_8998", "qcom,mdss_dp_pll_10nm", "qcom,mdss_dsi_pll_7nm", "qcom,mdss_dp_pll_7nm", "qcom,mdss_dsi_pll_28lpm", "qcom,mdss_dsi_pll_14nm", "qcom,mdss_dp_pll_14nm" "qcom,mdss_dp_pll_14nm", "qcom,mdss_dsi_pll_7nm_v2", "qcom,mdss_hdmi_pll_28lpm" - cell-index: Specifies the controller used - reg: offset and length of the register set for the device. - reg-names : names to refer to register sets related to this device Loading
Documentation/devicetree/bindings/display/msm/sde-dp.txt +18 −5 Original line number Diff line number Diff line Loading @@ -67,8 +67,15 @@ DP Controller: Required properties: within DP AUX, while the remaining entries indicate the programmable values. - qcom,max-pclk-frequency-khz: An integer specifying the max. pixel clock in KHz supported by Display Port. - qcom,mst-enable: MST feature enable control node. - qcom,dsc-feature-enable: DSC feature enable control node. - qcom,fec-feature-enable: FEC feature enable control node. - qcom,max-dp-dsc-blks: An integer specifying the max. DSC blocks available for Display port. - qcom,max-dp-dsc-input-width-pixs: An integer specifying the max. input width of pixels for each DSC block. - qcom,dp-usbpd-detection: Phandle for the PMI regulator node for USB PHY PD detection. - qcom,dp-aux-switch: Phandle for the driver used to program the AUX switch for Display Port orientation. - qcom,dp-hpd-gpio: HPD gpio for direct DP connector without USB PHY or AUX switch. - qcom,dp-gpio-aux-switch: Gpio DP AUX switch chipset support. - qcom,<type>-supply-entries: A node that lists the elements of the supply used by the a particular "type" of DSI module. The module "types" can be "core", "ctrl", and "phy". Within the same type, there can be more than one instance of this binding, Loading @@ -84,11 +91,6 @@ DP Controller: Required properties: -- qcom,supply-post-on-sleep: time to sleep (ms) after turning on -- qcom,supply-pre-off-sleep: time to sleep (ms) before turning off -- qcom,supply-post-off-sleep: time to sleep (ms) after turning off - pinctrl-names: List of names to assign mdss pin states defined in pinctrl device node Refer to pinctrl-bindings.txt - pinctrl-<0..n>: Lists phandles each pointing to the pin configuration node within a pin controller. These pin configurations are installed in the pinctrl device node. Refer to pinctrl-bindings.txt msm_ext_disp is a device which manages the interaction between external display interfaces, e.g. Display Port, and the audio subsystem. Loading @@ -96,7 +98,13 @@ display interfaces, e.g. Display Port, and the audio subsystem. Optional properties: - qcom,ext-disp: phandle for msm-ext-display module - compatible: Must be "qcom,msm-ext-disp" - qcom,dp-low-power-hw-hpd: Low power hardware HPD feature enable control node - qcom,phy-version: Phy version - pinctrl-names: List of names to assign mdss pin states defined in pinctrl device node Refer to pinctrl-bindings.txt - pinctrl-<0..n>: Lists phandles each pointing to the pin configuration node within a pin controller. These pin configurations are installed in the pinctrl device node. Refer to pinctrl-bindings.txt [Optional child nodes]: These nodes are for devices which are dependent on msm_ext_disp. If msm_ext_disp is disabled then Loading Loading @@ -170,6 +178,11 @@ Example: qcom,aux-cfg8-settings = [3c bb]; qcom,aux-cfg9-settings = [40 03]; qcom,max-pclk-frequency-khz = <593470>; qcom,mst-enable; qcom,dsc-feature-enable; qcom,fec-feature-enable; qcom,max-dp-dsc-blks = <2>; qcom,max-dp-dsc-input-width-pixs = <2048>; pinctrl-names = "mdss_dp_active", "mdss_dp_sleep"; pinctrl-0 = <&sde_dp_aux_active &sde_dp_usbplug_cc_active>; pinctrl-1 = <&sde_dp_aux_suspend &sde_dp_usbplug_cc_suspend>; Loading
Documentation/devicetree/bindings/display/msm/sde-dsi.txt +2 −0 Original line number Diff line number Diff line Loading @@ -61,11 +61,13 @@ Bus Scaling Data: Optional properties: - label: String to describe controller. - qcom,platform-te-gpio: Specifies the gpio used for TE. - qcom,panel-te-source: Specifies the source pin for Vsync from panel or WD Timer. - qcom,dsi-ctrl: handle to dsi controller device - qcom,dsi-phy: handle to dsi phy device - qcom,dsi-ctrl-num: Specifies the DSI controllers to use - qcom,dsi-phy-num: Specifies the DSI PHYs to use - qcom,dsi-select-clocks: Specifies the required clocks to use - qcom,dsi-display-list: Specifies the list of supported displays. - qcom,dsi-manager: Specifies dsi manager is present - qcom,dsi-display: Specifies dsi display is present - qcom,hdmi-display: Specifies hdmi is present Loading
Documentation/devicetree/bindings/display/msm/sde.txt +15 −0 Original line number Diff line number Diff line Loading @@ -63,6 +63,11 @@ Required properties from register "mdp_phys" defined in reg property. - qcom,sde-pp-slave: Array of flags indicating whether each ping pong block may be configured as a pp slave. - qcom,sde-pp-merge-3d-id: Array of index ID values for the merge 3d block connected to each pingpong, starting at 0. - qcom,sde-merge-3d-off: Array of offset addresses for the available merge 3d blocks. These offsets are calculated from register "mdp_phys" defined in reg property. - qcom,sde-intf-off: Array of offset addresses for the available SDE interface blocks that can drive data to a panel controller. The offsets are calculated Loading Loading @@ -101,6 +106,7 @@ Optional properties: - qcom,sde-dsc-size: A u32 value indicates the address range for each dsc. - qcom,sde-cdm-size: A u32 value indicates the address range for each cdm. - qcom,sde-pp-size: A u32 value indicates the address range for each pingpong. - qcom,sde-merge-3d-size: A u32 value indicates the address range for each merge 3d. - qcom,sde-wb-size: A u32 value indicates the address range for each writeback. - qcom,sde-len: A u32 entry for SDE address range. - qcom,sde-intf-max-prefetch-lines: Array of u32 values for max prefetch lines on Loading Loading @@ -140,6 +146,8 @@ Optional properties: feature is available or not. - qcom,sde-has-idle-pc: Boolean property to indicate if target has idle power collapse feature available or not. - qcom,fullsize-va-map: Boolean property to indicate smmu mapping range for mdp should be full range (4GB). - qcom,sde-has-mixer-gc: Boolean property to indicate if mixer has gamma correction feature available or not. - qcom,sde-has-dest-scaler: Boolean property to indicate if destination scaler Loading Loading @@ -433,6 +441,10 @@ Optional properties: for the mixer block. Possible values: "primary" - preferred for primary display "none" - no preference on display - qcom,sde-mixer-cwb-pref: A string array indicating the preferred mixer block. for CWB. Possible values: "cwb" - preferred for cwb "none" - no preference on display - qcom,sde-ctl-display-pref: A string array indicating the preferred display type for the ctl block. Possible values: "primary" - preferred for primary display Loading Loading @@ -532,6 +544,8 @@ Example: 0x00047000 0x0004a000>; qcom,sde-mixer-display-pref = "primary", "none", "none", "none"; qcom,sde-mixer-cwb-pref = "none", "none", "cwb", "none"; qcom,sde-dspp-top-off = <0x1300>; qcom,sde-dspp-off = <0x00055000 0x00057000>; qcom,sde-dspp-ad-off = <0x24000 0x22800>; Loading Loading @@ -613,6 +627,7 @@ Example: qcom,sde-highest-bank-bit = <15>; qcom,sde-has-mixer-gc; qcom,sde-has-idle-pc; qcom,fullsize-va-map; qcom,sde-has-dest-scaler; qcom,sde-max-dest-scaler-input-linewidth = <2048>; qcom,sde-max-dest-scaler-output-linewidth = <2560>; Loading