1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/msm/dsi-phy-10nm.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 75956d97fSEmmanuel Vadottitle: Qualcomm Display DSI 10nm PHY 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel Vadotmaintainers: 10d5b0e70fSEmmanuel Vadot - Krishna Manikandan <quic_mkrishn@quicinc.com> 115956d97fSEmmanuel Vadot 125956d97fSEmmanuel VadotallOf: 135956d97fSEmmanuel Vadot - $ref: dsi-phy-common.yaml# 145956d97fSEmmanuel Vadot 155956d97fSEmmanuel Vadotproperties: 165956d97fSEmmanuel Vadot compatible: 17354d7675SEmmanuel Vadot enum: 18354d7675SEmmanuel Vadot - qcom,dsi-phy-10nm 19354d7675SEmmanuel Vadot - qcom,dsi-phy-10nm-8998 205956d97fSEmmanuel Vadot 215956d97fSEmmanuel Vadot reg: 225956d97fSEmmanuel Vadot items: 235956d97fSEmmanuel Vadot - description: dsi phy register set 245956d97fSEmmanuel Vadot - description: dsi phy lane register set 255956d97fSEmmanuel Vadot - description: dsi pll register set 265956d97fSEmmanuel Vadot 275956d97fSEmmanuel Vadot reg-names: 285956d97fSEmmanuel Vadot items: 295956d97fSEmmanuel Vadot - const: dsi_phy 305956d97fSEmmanuel Vadot - const: dsi_phy_lane 315956d97fSEmmanuel Vadot - const: dsi_pll 325956d97fSEmmanuel Vadot 335956d97fSEmmanuel Vadot vdds-supply: 345956d97fSEmmanuel Vadot description: | 355956d97fSEmmanuel Vadot Connected to DSI0_MIPI_DSI_PLL_VDDA0P9 pin for sc7180 target and 365956d97fSEmmanuel Vadot connected to VDDA_MIPI_DSI_0_PLL_0P9 pin for sdm845 target 375956d97fSEmmanuel Vadot 38c9ccf3a3SEmmanuel Vadot qcom,phy-rescode-offset-top: 39c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/int8-array 40c9ccf3a3SEmmanuel Vadot maxItems: 5 41c9ccf3a3SEmmanuel Vadot description: 42c9ccf3a3SEmmanuel Vadot Integer array of offset for pull-up legs rescode for all five lanes. 43c9ccf3a3SEmmanuel Vadot To offset the drive strength from the calibrated value in an increasing 44c9ccf3a3SEmmanuel Vadot manner, -32 is the weakest and +31 is the strongest. 45c9ccf3a3SEmmanuel Vadot items: 46c9ccf3a3SEmmanuel Vadot minimum: -32 47c9ccf3a3SEmmanuel Vadot maximum: 31 48c9ccf3a3SEmmanuel Vadot 49c9ccf3a3SEmmanuel Vadot qcom,phy-rescode-offset-bot: 50c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/int8-array 51c9ccf3a3SEmmanuel Vadot maxItems: 5 52c9ccf3a3SEmmanuel Vadot description: 53c9ccf3a3SEmmanuel Vadot Integer array of offset for pull-down legs rescode for all five lanes. 54c9ccf3a3SEmmanuel Vadot To offset the drive strength from the calibrated value in a decreasing 55c9ccf3a3SEmmanuel Vadot manner, -32 is the weakest and +31 is the strongest. 56c9ccf3a3SEmmanuel Vadot items: 57c9ccf3a3SEmmanuel Vadot minimum: -32 58c9ccf3a3SEmmanuel Vadot maximum: 31 59c9ccf3a3SEmmanuel Vadot 60c9ccf3a3SEmmanuel Vadot qcom,phy-drive-ldo-level: 61fac71e4eSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 62c9ccf3a3SEmmanuel Vadot description: 63c9ccf3a3SEmmanuel Vadot The PHY LDO has an amplitude tuning feature to adjust the LDO output 64c9ccf3a3SEmmanuel Vadot for the HSTX drive. Use supported levels (mV) to offset the drive level 65c9ccf3a3SEmmanuel Vadot from the default value. 66c9ccf3a3SEmmanuel Vadot enum: [ 375, 400, 425, 450, 475, 500 ] 67c9ccf3a3SEmmanuel Vadot 685956d97fSEmmanuel Vadotrequired: 695956d97fSEmmanuel Vadot - compatible 705956d97fSEmmanuel Vadot - reg 715956d97fSEmmanuel Vadot - reg-names 725956d97fSEmmanuel Vadot 735956d97fSEmmanuel VadotunevaluatedProperties: false 745956d97fSEmmanuel Vadot 755956d97fSEmmanuel Vadotexamples: 765956d97fSEmmanuel Vadot - | 775956d97fSEmmanuel Vadot #include <dt-bindings/clock/qcom,dispcc-sdm845.h> 785956d97fSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 795956d97fSEmmanuel Vadot 805956d97fSEmmanuel Vadot dsi-phy@ae94400 { 815956d97fSEmmanuel Vadot compatible = "qcom,dsi-phy-10nm"; 825956d97fSEmmanuel Vadot reg = <0x0ae94400 0x200>, 835956d97fSEmmanuel Vadot <0x0ae94600 0x280>, 845956d97fSEmmanuel Vadot <0x0ae94a00 0x1e0>; 855956d97fSEmmanuel Vadot reg-names = "dsi_phy", 865956d97fSEmmanuel Vadot "dsi_phy_lane", 875956d97fSEmmanuel Vadot "dsi_pll"; 885956d97fSEmmanuel Vadot 895956d97fSEmmanuel Vadot #clock-cells = <1>; 905956d97fSEmmanuel Vadot #phy-cells = <0>; 915956d97fSEmmanuel Vadot 925956d97fSEmmanuel Vadot vdds-supply = <&vdda_mipi_dsi0_pll>; 935956d97fSEmmanuel Vadot clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 945956d97fSEmmanuel Vadot <&rpmhcc RPMH_CXO_CLK>; 955956d97fSEmmanuel Vadot clock-names = "iface", "ref"; 96c9ccf3a3SEmmanuel Vadot 97c9ccf3a3SEmmanuel Vadot qcom,phy-rescode-offset-top = /bits/ 8 <0 0 0 0 0>; 98c9ccf3a3SEmmanuel Vadot qcom,phy-rescode-offset-bot = /bits/ 8 <0 0 0 0 0>; 99c9ccf3a3SEmmanuel Vadot qcom,phy-drive-ldo-level = <400>; 1005956d97fSEmmanuel Vadot }; 1015956d97fSEmmanuel Vadot... 102