Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'qcom-arm64-for-6.5-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt

More Qualcomm ARM64 DTS changes for v6.5

This introduces support for the Qualcomm SDX75 platform, with the IDP
reference board. On IPQ5332 the RDP474 board is added and on IPQ9574 the
RDP454 is introduced.
On SC8280XP, and hence Lenovo ThinkPad X13s, GPU support is added.

For QDU1000, SDM845, SM670, SC8180X, SM6350 and SM8550 the RSC is added
to the CPU cluster power-domain to flush sleep & wake votes as the
cluster goes down.

On IPQ5332 additional reserved-memory regions to improve post mortem
debugging. UART1 is added. The MI01.2 board is renamed RDP441 and the
RDP474 is added.

On IPQ8074 critical thermal trip points are defined.

As with IPQ5332 additional reserved-memory regions are used to improve
post mortem debugging. Thermal sensors (tsens) are added and zones
defined. The crypto engine is added, and support for the RDP454 board is
added.

Across MSM8916 and MSM8939 pinctrl state definitions are cleaned up and
the purpose of msm8939-pm8916 is documented. MSM8939 has regulator
definitions cleaned up, following to the previous effort on MSM8916.

CPU Bus Fabric scaling support is added to MSM8996 Pro.

On QCM2290 CPU idle states are added.

For QDU1000 SDHCI is introduced and enabled on the IDP to gain eMMC
support. IMEM and PIL information regions are defined for improved post
mortem debugging.

The Qualcomm Robotics RB2 kit gets its on-board buttons described.

A few fixes are introduced for the newly merged SC8180X, in particluar
the DisplayPort blocks are moved to the MMCX power domain to avoid power
being reduced prematurely during boot.

The SC8280XP GPU is added and enabled for the Lenovo Thinkpad X13s,
and resets for the soundwire controllers are added. The OUI is
specified for ethernet phys on SA8540P Ride platform, to avoid reset
issues.

Charger description is added to the PMI8998 PMIC and enabled across
OnePlus 6/6T, SHIFT SHIFT6mq and Xiaomi Pocophone F1.

On SM6350 CPU idle states and UART1 are added. And SM6375 gains GPU
clock controller and IOMMU definitions.

The Fairphone FP4 gains Bluetooth support.

SM8150 is transitioned to use 2 interconnect-cells, and the USB
interconnect path is described to ensure buses are adequately voted for.

The same changes are done for SM8250, and the resolution of the
static framebuffer on Sony Xperia 1 II and 5 II are corrected.

The USB bus paths are also added to SM8350, SM8450 and SM8550.

On SM8550 DisplayPort nodes are added, as is the PWM controller for
driving the notification LED and the RTC is enabled. For the MTP and QRD
boards, the soundcard and audio codecs are defined.

A Tegra change, related to LP855X binding changes, was accidentally
picked up and dropped again later.

A number of DeviceTree fixes identified through validation was
introduced as well. Additionally a few nodes got their default status
changed to avoid unnecessarily having to enable them (e.g. the mdp/dpu
node).

* tag 'qcom-arm64-for-6.5-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (94 commits)
Revert "arm64: dts: adapt to LP855X bindings changes"
arm64: dts: qcom: sc8280xp: Enable GPU related nodes
arm64: dts: qcom: sc8280xp: Add GPU related nodes
arm64: dts: qcom: msm8939-pm8916: Mark always-on regulators
arm64: dts: qcom: msm8939: Define regulator constraints next to usage
arm64: dts: qcom: msm8939-pm8916: Clarify purpose
arm64: dts: qcom: msm8939: Fix regulator constraints
arm64: dts: qcom: msm8939-sony-tulip: Allow disabling pm8916_l6
arm64: dts: qcom: msm8939-sony-tulip: Fix l10-l12 regulator voltages
arm64: dts: qcom: msm8939: Disable lpass_codec by default
arm64: dts: qcom: msm8939-pm8916: Add missing pm8916_codec supplies
arm64: dts: qcom: qrb4210-rb2: Enable on-board buttons
arm64: dts: qcom: msm8916: Drop msm8916-pins.dtsi
arm64: dts: qcom: msm8916/39: Rename wcnss pinctrl
arm64: dts: qcom: msm8916/39: Cleanup audio pinctrl
arm64: dts: qcom: apq8016-sbc: Drop unneeded MCLK pinctrl
arm64: dts: qcom: msm8916/39: Consolidate SDC pinctrl
arm64: dts: qcom: msm8916/39: Fix SD card detect pinctrl
arm64: dts: qcom: msm8996: rename labels for HDMI nodes
arm64: dts: qcom: sm8250: rename labels for DSI nodes
...

Link: https://lore.kernel.org/r/20230615162043.1461624-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+4607 -1897
+12
Documentation/devicetree/bindings/arm/qcom.yaml
··· 70 70 sdm845 71 71 sdx55 72 72 sdx65 73 + sdx75 73 74 sm4250 74 75 sm6115 75 76 sm6115p ··· 91 90 ap-al02-c6 92 91 ap-al02-c7 93 92 ap-al02-c8 93 + ap-al02-c9 94 94 ap-mi01.2 95 95 ap-mi01.3 96 96 ap-mi01.6 97 + ap-mi01.9 97 98 cdp 98 99 cp01-c1 99 100 dragonboard ··· 199 196 - items: 200 197 - enum: 201 198 - qcom,msm8960-cdp 199 + - samsung,expressatt 202 200 - const: qcom,msm8960 203 201 204 202 - items: ··· 344 340 - qcom,ipq5332-ap-mi01.2 345 341 - qcom,ipq5332-ap-mi01.3 346 342 - qcom,ipq5332-ap-mi01.6 343 + - qcom,ipq5332-ap-mi01.9 347 344 - const: qcom,ipq5332 348 345 349 346 - items: ··· 366 361 - qcom,ipq9574-ap-al02-c6 367 362 - qcom,ipq9574-ap-al02-c7 368 363 - qcom,ipq9574-ap-al02-c8 364 + - qcom,ipq9574-ap-al02-c9 369 365 - const: qcom,ipq9574 370 366 371 367 - description: Sierra Wireless MangOH Green with WP8548 Module ··· 836 830 837 831 - items: 838 832 - enum: 833 + - qcom,sdx75-idp 834 + - const: qcom,sdx75 835 + 836 + - items: 837 + - enum: 839 838 - qcom,ipq6018-cp01 840 839 - qcom,ipq6018-cp01-c1 841 840 - const: qcom,ipq6018 ··· 1067 1056 - qcom,sdm845 1068 1057 - qcom,sdx55 1069 1058 - qcom,sdx65 1059 + - qcom,sdx75 1070 1060 - qcom,sm4250 1071 1061 - qcom,sm6115 1072 1062 - qcom,sm6125
+60
Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/qcom,sc8280xp-lpasscc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm LPASS Core & Audio Clock Controller on SC8280XP 8 + 9 + maintainers: 10 + - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 + 12 + description: | 13 + Qualcomm LPASS core and audio clock control module provides the clocks, 14 + and reset on SC8280XP. 15 + 16 + See also:: 17 + include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h 18 + 19 + properties: 20 + compatible: 21 + enum: 22 + - qcom,sc8280xp-lpassaudiocc 23 + - qcom,sc8280xp-lpasscc 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + '#clock-cells': 29 + const: 1 30 + 31 + '#reset-cells': 32 + const: 1 33 + 34 + required: 35 + - compatible 36 + - reg 37 + - '#clock-cells' 38 + - '#reset-cells' 39 + 40 + additionalProperties: false 41 + 42 + examples: 43 + - | 44 + #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 45 + lpass_audiocc: clock-controller@32a9000 { 46 + compatible = "qcom,sc8280xp-lpassaudiocc"; 47 + reg = <0x032a9000 0x1000>; 48 + #clock-cells = <1>; 49 + #reset-cells = <1>; 50 + }; 51 + 52 + - | 53 + #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 54 + lpasscc: clock-controller@33e0000 { 55 + compatible = "qcom,sc8280xp-lpasscc"; 56 + reg = <0x033e0000 0x12000>; 57 + #clock-cells = <1>; 58 + #reset-cells = <1>; 59 + }; 60 + ...
+65
Documentation/devicetree/bindings/clock/qcom,sdx75-gcc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/qcom,sdx75-gcc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Global Clock & Reset Controller on SDX75 8 + 9 + maintainers: 10 + - Imran Shaik <quic_imrashai@quicinc.com> 11 + - Taniya Das <quic_tdas@quicinc.com> 12 + 13 + description: | 14 + Qualcomm global clock control module provides the clocks, resets and power 15 + domains on SDX75 16 + 17 + See also:: include/dt-bindings/clock/qcom,sdx75-gcc.h 18 + 19 + properties: 20 + compatible: 21 + const: qcom,sdx75-gcc 22 + 23 + clocks: 24 + items: 25 + - description: Board XO source 26 + - description: Sleep clock source 27 + - description: EMAC0 sgmiiphy mac rclk source 28 + - description: EMAC0 sgmiiphy mac tclk source 29 + - description: EMAC0 sgmiiphy rclk source 30 + - description: EMAC0 sgmiiphy tclk source 31 + - description: EMAC1 sgmiiphy mac rclk source 32 + - description: EMAC1 sgmiiphy mac tclk source 33 + - description: EMAC1 sgmiiphy rclk source 34 + - description: EMAC1 sgmiiphy tclk source 35 + - description: PCIE20 phy aux clock source 36 + - description: PCIE_1 Pipe clock source 37 + - description: PCIE_2 Pipe clock source 38 + - description: PCIE Pipe clock source 39 + - description: USB3 phy wrapper pipe clock source 40 + 41 + required: 42 + - compatible 43 + - clocks 44 + 45 + allOf: 46 + - $ref: qcom,gcc.yaml# 47 + 48 + unevaluatedProperties: false 49 + 50 + examples: 51 + - | 52 + #include <dt-bindings/clock/qcom,rpmh.h> 53 + clock-controller@80000 { 54 + compatible = "qcom,sdx75-gcc"; 55 + reg = <0x80000 0x1f7400>; 56 + clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, <&emac0_sgmiiphy_mac_rclk>, 57 + <&emac0_sgmiiphy_mac_tclk>, <&emac0_sgmiiphy_rclk>, <&emac0_sgmiiphy_tclk>, 58 + <&emac1_sgmiiphy_mac_rclk>, <&emac1_sgmiiphy_mac_tclk>, <&emac1_sgmiiphy_rclk>, 59 + <&emac1_sgmiiphy_tclk>, <&pcie20_phy_aux_clk>, <&pcie_1_pipe_clk>, 60 + <&pcie_2_pipe_clk>, <&pcie_pipe_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>; 61 + #clock-cells = <1>; 62 + #reset-cells = <1>; 63 + #power-domain-cells = <1>; 64 + }; 65 + ...
+4 -1
arch/arm64/boot/dts/qcom/Makefile
··· 4 4 dtb-$(CONFIG_ARCH_QCOM) += apq8094-sony-xperia-kitakami-karin_windy.dtb 5 5 dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb 6 6 dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb 7 - dtb-$(CONFIG_ARCH_QCOM) += ipq5332-mi01.2.dtb 7 + dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp441.dtb 8 8 dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp442.dtb 9 9 dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp468.dtb 10 + dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp474.dtb 10 11 dtb-$(CONFIG_ARCH_QCOM) += ipq6018-cp01-c1.dtb 11 12 dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk01.dtb 12 13 dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c1.dtb ··· 16 15 dtb-$(CONFIG_ARCH_QCOM) += ipq9574-rdp433.dtb 17 16 dtb-$(CONFIG_ARCH_QCOM) += ipq9574-rdp449.dtb 18 17 dtb-$(CONFIG_ARCH_QCOM) += ipq9574-rdp453.dtb 18 + dtb-$(CONFIG_ARCH_QCOM) += ipq9574-rdp454.dtb 19 19 dtb-$(CONFIG_ARCH_QCOM) += msm8916-acer-a1-724.dtb 20 20 dtb-$(CONFIG_ARCH_QCOM) += msm8916-alcatel-idol347.dtb 21 21 dtb-$(CONFIG_ARCH_QCOM) += msm8916-asus-z00l.dtb ··· 184 182 dtb-$(CONFIG_ARCH_QCOM) += sdm845-shift-axolotl.dtb 185 183 dtb-$(CONFIG_ARCH_QCOM) += sdm850-lenovo-yoga-c630.dtb 186 184 dtb-$(CONFIG_ARCH_QCOM) += sdm850-samsung-w737.dtb 185 + dtb-$(CONFIG_ARCH_QCOM) += sdx75-idp.dtb 187 186 dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb 188 187 dtb-$(CONFIG_ARCH_QCOM) += sm6115-fxtec-pro1x.dtb 189 188 dtb-$(CONFIG_ARCH_QCOM) += sm6115p-lenovo-j606f.dtb
+11 -8
arch/arm64/boot/dts/qcom/apq8016-sbc.dts
··· 370 370 371 371 &sdhc_1 { 372 372 status = "okay"; 373 - 374 - pinctrl-names = "default", "sleep"; 375 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 376 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 377 373 }; 378 374 379 375 &sdhc_2 { 380 376 status = "okay"; 381 377 382 378 pinctrl-names = "default", "sleep"; 383 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 384 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 379 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 380 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 385 381 386 382 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 387 383 }; ··· 385 389 &sound { 386 390 status = "okay"; 387 391 388 - pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>; 389 - pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>; 392 + pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>; 393 + pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>; 390 394 pinctrl-names = "default", "sleep"; 391 395 model = "DB410c"; 392 396 audio-routing = ··· 637 641 "[DSI2HDMI_MI2S_DATA0]", 638 642 "USR_LED_2_CTRL", /* GPIO 120 */ 639 643 "SB_HS_ID"; 644 + 645 + sdc2_cd_default: sdc2-cd-default-state { 646 + pins = "gpio38"; 647 + function = "gpio"; 648 + drive-strength = <2>; 649 + bias-disable; 650 + }; 640 651 641 652 tlmm_leds: tlmm-leds-state { 642 653 pins = "gpio21", "gpio120";
+6 -103
arch/arm64/boot/dts/qcom/apq8039-t2.dts
··· 135 135 status = "okay"; 136 136 }; 137 137 138 + &lpass_codec { 139 + status = "okay"; 140 + }; 141 + 138 142 &mdss { 139 143 status = "okay"; 140 144 }; ··· 158 154 "PM_GPIO4"; 159 155 }; 160 156 161 - &smd_rpm_regulators { 162 - vdd_l1_l2_l3-supply = <&pm8916_s3>; 163 - vdd_l4_l5_l6-supply = <&pm8916_s4>; 164 - vdd_l7-supply = <&pm8916_s4>; 165 - 166 - pm8916_s3: s3 { 167 - regulator-min-microvolt = <1200000>; 168 - regulator-max-microvolt = <1300000>; 169 - }; 170 - 171 - pm8916_s4: s4 { 172 - regulator-min-microvolt = <1800000>; 173 - regulator-max-microvolt = <2100000>; 174 - }; 175 - 176 - /* l1 is fixed to 1225000, but not connected in schematic */ 177 - 178 - pm8916_l2: l2 { 179 - regulator-min-microvolt = <1200000>; 180 - regulator-max-microvolt = <1200000>; 181 - }; 182 - 183 - pm8916_l4: l4 { 184 - regulator-min-microvolt = <2050000>; 185 - regulator-max-microvolt = <2050000>; 186 - }; 187 - 188 - pm8916_l5: l5 { 189 - regulator-min-microvolt = <1800000>; 190 - regulator-max-microvolt = <1800000>; 191 - }; 192 - 193 - pm8916_l6: l6 { 194 - regulator-min-microvolt = <1800000>; 195 - regulator-max-microvolt = <1800000>; 196 - }; 197 - 198 - pm8916_l7: l7 { 199 - regulator-min-microvolt = <1800000>; 200 - regulator-max-microvolt = <1800000>; 201 - }; 202 - 203 - pm8916_l8: l8 { 204 - regulator-min-microvolt = <2850000>; 205 - regulator-max-microvolt = <2900000>; 206 - }; 207 - 208 - pm8916_l9: l9 { 209 - regulator-min-microvolt = <3300000>; 210 - regulator-max-microvolt = <3300000>; 211 - }; 212 - 213 - pm8916_l10: l10 { 214 - regulator-min-microvolt = <3300000>; 215 - regulator-max-microvolt = <3300000>; 216 - }; 217 - 218 - pm8916_l11: l11 { 219 - regulator-min-microvolt = <1800000>; 220 - regulator-max-microvolt = <2950000>; 221 - }; 222 - 223 - pm8916_l12: l12 { 224 - regulator-min-microvolt = <1800000>; 225 - regulator-max-microvolt = <2950000>; 226 - }; 227 - 228 - pm8916_l13: l13 { 229 - regulator-min-microvolt = <3075000>; 230 - regulator-max-microvolt = <3075000>; 231 - }; 232 - 233 - pm8916_l14: l14 { 234 - regulator-min-microvolt = <1800000>; 235 - regulator-max-microvolt = <3300000>; 236 - }; 237 - 238 - pm8916_l15: l15 { 239 - regulator-min-microvolt = <1800000>; 240 - regulator-max-microvolt = <3300000>; 241 - }; 242 - 243 - pm8916_l16: l16 { 244 - regulator-min-microvolt = <1800000>; 245 - regulator-max-microvolt = <3300000>; 246 - }; 247 - 248 - pm8916_l17: l17 { 249 - regulator-min-microvolt = <2850000>; 250 - regulator-max-microvolt = <2850000>; 251 - }; 252 - 253 - pm8916_l18: l18 { 254 - regulator-min-microvolt = <2700000>; 255 - regulator-max-microvolt = <2700000>; 256 - }; 257 - }; 258 - 259 157 &sdhc_1 { 260 - pinctrl-names = "default", "sleep"; 261 - pinctrl-0 = <&sdc1_default_state>; 262 - pinctrl-1 = <&sdc1_sleep_state>; 263 158 status = "okay"; 264 159 }; 265 160 ··· 166 263 model = "apq8039-square-sndcard"; 167 264 audio-routing = "AMIC2", "MIC BIAS Internal2"; 168 265 pinctrl-names = "default", "sleep"; 169 - pinctrl-0 = <&cdc_pdm_lines_default>; 170 - pinctrl-1 = <&cdc_pdm_lines_sleep>; 266 + pinctrl-0 = <&cdc_pdm_default>; 267 + pinctrl-1 = <&cdc_pdm_sleep>; 171 268 172 269 internal-codec-playback-dai-link { 173 270 link-name = "WCD";
+25 -25
arch/arm64/boot/dts/qcom/apq8096-db820c.dts
··· 208 208 status = "okay"; 209 209 }; 210 210 211 - &hdmi { 212 - status = "okay"; 213 - 214 - pinctrl-names = "default", "sleep"; 215 - pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>; 216 - pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>; 217 - 218 - core-vdda-supply = <&vreg_l12a_1p8>; 219 - core-vcc-supply = <&vreg_s4a_1p8>; 220 - }; 221 - 222 - &hdmi_phy { 223 - status = "okay"; 224 - 225 - vddio-supply = <&vreg_l12a_1p8>; 226 - vcca-supply = <&vreg_l28a_0p925>; 227 - #phy-cells = <0>; 228 - }; 229 - 230 211 &hsusb_phy1 { 231 212 status = "okay"; 232 213 ··· 230 249 231 250 &mdss { 232 251 status = "okay"; 252 + }; 253 + 254 + &mdss_hdmi { 255 + status = "okay"; 256 + 257 + pinctrl-names = "default", "sleep"; 258 + pinctrl-0 = <&mdss_hdmi_hpd_active &mdss_hdmi_ddc_active>; 259 + pinctrl-1 = <&mdss_hdmi_hpd_suspend &mdss_hdmi_ddc_suspend>; 260 + 261 + core-vdda-supply = <&vreg_l12a_1p8>; 262 + core-vcc-supply = <&vreg_s4a_1p8>; 263 + }; 264 + 265 + &mdss_hdmi_phy { 266 + status = "okay"; 267 + 268 + vddio-supply = <&vreg_l12a_1p8>; 269 + vcca-supply = <&vreg_l28a_0p925>; 270 + #phy-cells = <0>; 233 271 }; 234 272 235 273 &mmcc { ··· 433 433 drive-strength = <2>; 434 434 }; 435 435 436 - hdmi_hpd_active: hdmi-hpd-active-state { 436 + mdss_hdmi_hpd_active: mdss_hdmi-hpd-active-state { 437 437 pins = "gpio34"; 438 438 function = "hdmi_hot"; 439 439 bias-pull-down; 440 440 drive-strength = <16>; 441 441 }; 442 442 443 - hdmi_hpd_suspend: hdmi-hpd-suspend-state { 443 + mdss_hdmi_hpd_suspend: mdss_hdmi-hpd-suspend-state { 444 444 pins = "gpio34"; 445 445 function = "hdmi_hot"; 446 446 bias-pull-down; 447 447 drive-strength = <2>; 448 448 }; 449 449 450 - hdmi_ddc_active: hdmi-ddc-active-state { 450 + mdss_hdmi_ddc_active: mdss_hdmi-ddc-active-state { 451 451 pins = "gpio32", "gpio33"; 452 452 function = "hdmi_ddc"; 453 453 drive-strength = <2>; 454 454 bias-pull-up; 455 455 }; 456 456 457 - hdmi_ddc_suspend: hdmi-ddc-suspend-state { 457 + mdss_hdmi_ddc_suspend: mdss_hdmi-ddc-suspend-state { 458 458 pins = "gpio32", "gpio33"; 459 459 function = "hdmi_ddc"; 460 460 drive-strength = <2>; ··· 1043 1043 }; 1044 1044 }; 1045 1045 1046 - hdmi-dai-link { 1046 + mdss_hdmi-dai-link { 1047 1047 link-name = "HDMI"; 1048 1048 cpu { 1049 1049 sound-dai = <&q6afedai HDMI_RX>; ··· 1054 1054 }; 1055 1055 1056 1056 codec { 1057 - sound-dai = <&hdmi 0>; 1057 + sound-dai = <&mdss_hdmi 0>; 1058 1058 }; 1059 1059 }; 1060 1060
+8 -8
arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts
··· 92 92 status = "okay"; 93 93 }; 94 94 95 - &hdmi { 96 - status = "okay"; 97 - }; 98 - 99 - &hdmi_phy { 100 - status = "okay"; 101 - }; 102 - 103 95 &mdss { 96 + status = "okay"; 97 + }; 98 + 99 + &mdss_hdmi { 100 + status = "okay"; 101 + }; 102 + 103 + &mdss_hdmi_phy { 104 104 status = "okay"; 105 105 }; 106 106
arch/arm64/boot/dts/qcom/ipq5332-mi01.2.dts arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts
+112
arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * IPQ5332 RDP474 board device tree source 4 + * 5 + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 6 + */ 7 + 8 + /dts-v1/; 9 + 10 + #include <dt-bindings/gpio/gpio.h> 11 + #include <dt-bindings/input/input.h> 12 + #include "ipq5332.dtsi" 13 + 14 + / { 15 + model = "Qualcomm Technologies, Inc. IPQ5332 MI01.9"; 16 + compatible = "qcom,ipq5332-ap-mi01.9", "qcom,ipq5332"; 17 + 18 + aliases { 19 + serial0 = &blsp1_uart0; 20 + }; 21 + 22 + chosen { 23 + stdout-path = "serial0"; 24 + }; 25 + 26 + gpio-keys { 27 + compatible = "gpio-keys"; 28 + pinctrl-0 = <&gpio_keys_default_state>; 29 + pinctrl-names = "default"; 30 + 31 + button-wps { 32 + label = "wps"; 33 + linux,code = <KEY_WPS_BUTTON>; 34 + gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; 35 + linux,input-type = <1>; 36 + debounce-interval = <60>; 37 + }; 38 + }; 39 + }; 40 + 41 + &blsp1_uart0 { 42 + pinctrl-0 = <&serial_0_pins>; 43 + pinctrl-names = "default"; 44 + status = "okay"; 45 + }; 46 + 47 + &blsp1_i2c1 { 48 + clock-frequency = <400000>; 49 + pinctrl-0 = <&i2c_1_pins>; 50 + pinctrl-names = "default"; 51 + status = "okay"; 52 + }; 53 + 54 + &sdhc { 55 + bus-width = <4>; 56 + max-frequency = <192000000>; 57 + mmc-ddr-1_8v; 58 + mmc-hs200-1_8v; 59 + non-removable; 60 + pinctrl-0 = <&sdc_default_state>; 61 + pinctrl-names = "default"; 62 + status = "okay"; 63 + }; 64 + 65 + &sleep_clk { 66 + clock-frequency = <32000>; 67 + }; 68 + 69 + &xo_board { 70 + clock-frequency = <24000000>; 71 + }; 72 + 73 + /* PINCTRL */ 74 + 75 + &tlmm { 76 + gpio_keys_default_state: gpio-keys-default-state { 77 + pins = "gpio35"; 78 + function = "gpio"; 79 + drive-strength = <8>; 80 + bias-pull-up; 81 + }; 82 + 83 + i2c_1_pins: i2c-1-state { 84 + pins = "gpio29", "gpio30"; 85 + function = "blsp1_i2c0"; 86 + drive-strength = <8>; 87 + bias-pull-up; 88 + }; 89 + 90 + sdc_default_state: sdc-default-state { 91 + clk-pins { 92 + pins = "gpio13"; 93 + function = "sdc_clk"; 94 + drive-strength = <8>; 95 + bias-disable; 96 + }; 97 + 98 + cmd-pins { 99 + pins = "gpio12"; 100 + function = "sdc_cmd"; 101 + drive-strength = <8>; 102 + bias-pull-up; 103 + }; 104 + 105 + data-pins { 106 + pins = "gpio8", "gpio9", "gpio10", "gpio11"; 107 + function = "sdc_data"; 108 + drive-strength = <8>; 109 + bias-pull-up; 110 + }; 111 + }; 112 + };
+23 -1
arch/arm64/boot/dts/qcom/ipq5332.dtsi
··· 114 114 #size-cells = <2>; 115 115 ranges; 116 116 117 + bootloader@4a100000 { 118 + reg = <0x0 0x4a100000 0x0 0x400000>; 119 + no-map; 120 + }; 121 + 122 + sbl@4a500000 { 123 + reg = <0x0 0x4a500000 0x0 0x100000>; 124 + no-map; 125 + }; 126 + 117 127 tz_mem: tz@4a600000 { 118 128 reg = <0x0 0x4a600000 0x0 0x200000>; 119 129 no-map; ··· 131 121 132 122 smem@4a800000 { 133 123 compatible = "qcom,smem"; 134 - reg = <0x0 0x4a800000 0x0 0x00100000>; 124 + reg = <0x0 0x4a800000 0x0 0x100000>; 135 125 no-map; 136 126 137 127 hwlocks = <&tcsr_mutex 0>; ··· 232 222 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, 233 223 <&gcc GCC_BLSP1_AHB_CLK>; 234 224 clock-names = "core", "iface"; 225 + status = "disabled"; 226 + }; 227 + 228 + blsp1_uart1: serial@78b0000 { 229 + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 230 + reg = <0x078b0000 0x200>; 231 + interrupts = <GIC_SPI 291 IRQ_TYPE_LEVEL_HIGH>; 232 + clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, 233 + <&gcc GCC_BLSP1_AHB_CLK>; 234 + clock-names = "core", "iface"; 235 + dmas = <&blsp_dma 2>, <&blsp_dma 3>; 236 + dma-names = "tx", "rx"; 235 237 status = "disabled"; 236 238 }; 237 239
+96
arch/arm64/boot/dts/qcom/ipq8074.dtsi
··· 932 932 polling-delay = <1000>; 933 933 934 934 thermal-sensors = <&tsens 4>; 935 + 936 + trips { 937 + nss-top-crit { 938 + temperature = <110000>; 939 + hysteresis = <1000>; 940 + type = "critical"; 941 + }; 942 + }; 935 943 }; 936 944 937 945 nss0-thermal { ··· 947 939 polling-delay = <1000>; 948 940 949 941 thermal-sensors = <&tsens 5>; 942 + 943 + trips { 944 + nss-0-crit { 945 + temperature = <110000>; 946 + hysteresis = <1000>; 947 + type = "critical"; 948 + }; 949 + }; 950 950 }; 951 951 952 952 nss1-thermal { ··· 962 946 polling-delay = <1000>; 963 947 964 948 thermal-sensors = <&tsens 6>; 949 + 950 + trips { 951 + nss-1-crit { 952 + temperature = <110000>; 953 + hysteresis = <1000>; 954 + type = "critical"; 955 + }; 956 + }; 965 957 }; 966 958 967 959 wcss-phya0-thermal { ··· 977 953 polling-delay = <1000>; 978 954 979 955 thermal-sensors = <&tsens 7>; 956 + 957 + trips { 958 + wcss-phya0-crit { 959 + temperature = <110000>; 960 + hysteresis = <1000>; 961 + type = "critical"; 962 + }; 963 + }; 980 964 }; 981 965 982 966 wcss-phya1-thermal { ··· 992 960 polling-delay = <1000>; 993 961 994 962 thermal-sensors = <&tsens 8>; 963 + 964 + trips { 965 + wcss-phya1-crit { 966 + temperature = <110000>; 967 + hysteresis = <1000>; 968 + type = "critical"; 969 + }; 970 + }; 995 971 }; 996 972 997 973 cpu0_thermal: cpu0-thermal { ··· 1007 967 polling-delay = <1000>; 1008 968 1009 969 thermal-sensors = <&tsens 9>; 970 + 971 + trips { 972 + cpu0-crit { 973 + temperature = <110000>; 974 + hysteresis = <1000>; 975 + type = "critical"; 976 + }; 977 + }; 1010 978 }; 1011 979 1012 980 cpu1_thermal: cpu1-thermal { ··· 1022 974 polling-delay = <1000>; 1023 975 1024 976 thermal-sensors = <&tsens 10>; 977 + 978 + trips { 979 + cpu1-crit { 980 + temperature = <110000>; 981 + hysteresis = <1000>; 982 + type = "critical"; 983 + }; 984 + }; 1025 985 }; 1026 986 1027 987 cpu2_thermal: cpu2-thermal { ··· 1037 981 polling-delay = <1000>; 1038 982 1039 983 thermal-sensors = <&tsens 11>; 984 + 985 + trips { 986 + cpu2-crit { 987 + temperature = <110000>; 988 + hysteresis = <1000>; 989 + type = "critical"; 990 + }; 991 + }; 1040 992 }; 1041 993 1042 994 cpu3_thermal: cpu3-thermal { ··· 1052 988 polling-delay = <1000>; 1053 989 1054 990 thermal-sensors = <&tsens 12>; 991 + 992 + trips { 993 + cpu3-crit { 994 + temperature = <110000>; 995 + hysteresis = <1000>; 996 + type = "critical"; 997 + }; 998 + }; 1055 999 }; 1056 1000 1057 1001 cluster_thermal: cluster-thermal { ··· 1067 995 polling-delay = <1000>; 1068 996 1069 997 thermal-sensors = <&tsens 13>; 998 + 999 + trips { 1000 + cluster-crit { 1001 + temperature = <110000>; 1002 + hysteresis = <1000>; 1003 + type = "critical"; 1004 + }; 1005 + }; 1070 1006 }; 1071 1007 1072 1008 wcss-phyb0-thermal { ··· 1082 1002 polling-delay = <1000>; 1083 1003 1084 1004 thermal-sensors = <&tsens 14>; 1005 + 1006 + trips { 1007 + wcss-phyb0-crit { 1008 + temperature = <110000>; 1009 + hysteresis = <1000>; 1010 + type = "critical"; 1011 + }; 1012 + }; 1085 1013 }; 1086 1014 1087 1015 wcss-phyb1-thermal { ··· 1097 1009 polling-delay = <1000>; 1098 1010 1099 1011 thermal-sensors = <&tsens 15>; 1012 + 1013 + trips { 1014 + wcss-phyb1-crit { 1015 + temperature = <110000>; 1016 + hysteresis = <1000>; 1017 + type = "critical"; 1018 + }; 1019 + }; 1100 1020 }; 1101 1021 }; 1102 1022 };
+80
arch/arm64/boot/dts/qcom/ipq9574-rdp454.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 + /* 3 + * IPQ9574 RDP454 board device tree source 4 + * 5 + * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 6 + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 7 + */ 8 + 9 + /dts-v1/; 10 + 11 + #include "ipq9574.dtsi" 12 + 13 + / { 14 + model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C9"; 15 + compatible = "qcom,ipq9574-ap-al02-c9", "qcom,ipq9574"; 16 + 17 + aliases { 18 + serial0 = &blsp1_uart2; 19 + }; 20 + 21 + chosen { 22 + stdout-path = "serial0:115200n8"; 23 + }; 24 + }; 25 + 26 + &blsp1_spi0 { 27 + pinctrl-0 = <&spi_0_pins>; 28 + pinctrl-names = "default"; 29 + status = "okay"; 30 + 31 + flash@0 { 32 + compatible = "micron,n25q128a11", "jedec,spi-nor"; 33 + reg = <0>; 34 + #address-cells = <1>; 35 + #size-cells = <1>; 36 + spi-max-frequency = <50000000>; 37 + }; 38 + }; 39 + 40 + &blsp1_uart2 { 41 + pinctrl-0 = <&uart2_pins>; 42 + pinctrl-names = "default"; 43 + status = "okay"; 44 + }; 45 + 46 + &rpm_requests { 47 + regulators { 48 + compatible = "qcom,rpm-mp5496-regulators"; 49 + 50 + ipq9574_s1: s1 { 51 + /* 52 + * During kernel bootup, the SoC runs at 800MHz with 875mV set by the bootloaders. 53 + * During regulator registration, kernel not knowing the initial voltage, 54 + * considers it as zero and brings up the regulators with minimum supported voltage. 55 + * Update the regulator-min-microvolt with SVS voltage of 725mV so that 56 + * the regulators are brought up with 725mV which is sufficient for all the 57 + * corner parts to operate at 800MHz 58 + */ 59 + regulator-min-microvolt = <725000>; 60 + regulator-max-microvolt = <1075000>; 61 + }; 62 + }; 63 + }; 64 + 65 + &sleep_clk { 66 + clock-frequency = <32000>; 67 + }; 68 + 69 + &tlmm { 70 + spi_0_pins: spi-0-state { 71 + pins = "gpio11", "gpio12", "gpio13", "gpio14"; 72 + function = "blsp0_spi"; 73 + drive-strength = <8>; 74 + bias-disable; 75 + }; 76 + }; 77 + 78 + &xo_board_clk { 79 + clock-frequency = <24000000>; 80 + };
+249 -1
arch/arm64/boot/dts/qcom/ipq9574.dtsi
··· 155 155 #size-cells = <2>; 156 156 ranges; 157 157 158 + bootloader@4a100000 { 159 + reg = <0x0 0x4a100000 0x0 0x400000>; 160 + no-map; 161 + }; 162 + 163 + sbl@4a500000 { 164 + reg = <0x0 0x4a500000 0x0 0x100000>; 165 + no-map; 166 + }; 167 + 158 168 tz_region: tz@4a600000 { 159 169 reg = <0x0 0x4a600000 0x0 0x400000>; 160 170 no-map; ··· 172 162 173 163 smem@4aa00000 { 174 164 compatible = "qcom,smem"; 175 - reg = <0x0 0x4aa00000 0x0 0x00100000>; 165 + reg = <0x0 0x4aa00000 0x0 0x100000>; 176 166 hwlocks = <&tcsr_mutex 0>; 177 167 no-map; 178 168 }; ··· 213 203 reg = <0x000a4000 0x5a1>; 214 204 #address-cells = <1>; 215 205 #size-cells = <1>; 206 + }; 207 + 208 + cryptobam: dma-controller@704000 { 209 + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; 210 + reg = <0x00704000 0x20000>; 211 + interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>; 212 + #dma-cells = <1>; 213 + qcom,ee = <1>; 214 + qcom,controlled-remotely; 215 + }; 216 + 217 + crypto: crypto@73a000 { 218 + compatible = "qcom,ipq9574-qce", "qcom,ipq4019-qce", "qcom,qce"; 219 + reg = <0x0073a000 0x6000>; 220 + clocks = <&gcc GCC_CRYPTO_AHB_CLK>, 221 + <&gcc GCC_CRYPTO_AXI_CLK>, 222 + <&gcc GCC_CRYPTO_CLK>; 223 + clock-names = "iface", "bus", "core"; 224 + dmas = <&cryptobam 2>, <&cryptobam 3>; 225 + dma-names = "rx", "tx"; 226 + }; 227 + 228 + tsens: thermal-sensor@4a9000 { 229 + compatible = "qcom,ipq9574-tsens", "qcom,ipq8074-tsens"; 230 + reg = <0x004a9000 0x1000>, 231 + <0x004a8000 0x1000>; 232 + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; 233 + interrupt-names = "combined"; 234 + #qcom,sensors = <16>; 235 + #thermal-sensor-cells = <1>; 216 236 }; 217 237 218 238 tlmm: pinctrl@1000000 { ··· 617 577 frame-number = <6>; 618 578 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 619 579 status = "disabled"; 580 + }; 581 + }; 582 + }; 583 + 584 + thermal-zones { 585 + nss-top-thermal { 586 + polling-delay-passive = <0>; 587 + polling-delay = <0>; 588 + thermal-sensors = <&tsens 3>; 589 + 590 + trips { 591 + nss-top-critical { 592 + temperature = <125000>; 593 + hysteresis = <1000>; 594 + type = "critical"; 595 + }; 596 + }; 597 + }; 598 + 599 + ubi-0-thermal { 600 + polling-delay-passive = <0>; 601 + polling-delay = <0>; 602 + thermal-sensors = <&tsens 4>; 603 + 604 + trips { 605 + ubi_0-critical { 606 + temperature = <125000>; 607 + hysteresis = <1000>; 608 + type = "critical"; 609 + }; 610 + }; 611 + }; 612 + 613 + ubi-1-thermal { 614 + polling-delay-passive = <0>; 615 + polling-delay = <0>; 616 + thermal-sensors = <&tsens 5>; 617 + 618 + trips { 619 + ubi_1-critical { 620 + temperature = <125000>; 621 + hysteresis = <1000>; 622 + type = "critical"; 623 + }; 624 + }; 625 + }; 626 + 627 + ubi-2-thermal { 628 + polling-delay-passive = <0>; 629 + polling-delay = <0>; 630 + thermal-sensors = <&tsens 6>; 631 + 632 + trips { 633 + ubi_2-critical { 634 + temperature = <125000>; 635 + hysteresis = <1000>; 636 + type = "critical"; 637 + }; 638 + }; 639 + }; 640 + 641 + ubi-3-thermal { 642 + polling-delay-passive = <0>; 643 + polling-delay = <0>; 644 + thermal-sensors = <&tsens 7>; 645 + 646 + trips { 647 + ubi_3-critical { 648 + temperature = <125000>; 649 + hysteresis = <1000>; 650 + type = "critical"; 651 + }; 652 + }; 653 + }; 654 + 655 + cpuss0-thermal { 656 + polling-delay-passive = <0>; 657 + polling-delay = <0>; 658 + thermal-sensors = <&tsens 8>; 659 + 660 + trips { 661 + cpu-critical { 662 + temperature = <125000>; 663 + hysteresis = <1000>; 664 + type = "critical"; 665 + }; 666 + }; 667 + }; 668 + 669 + cpuss1-thermal { 670 + polling-delay-passive = <0>; 671 + polling-delay = <0>; 672 + thermal-sensors = <&tsens 9>; 673 + 674 + trips { 675 + cpu-critical { 676 + temperature = <125000>; 677 + hysteresis = <1000>; 678 + type = "critical"; 679 + }; 680 + }; 681 + }; 682 + 683 + cpu0-thermal { 684 + polling-delay-passive = <0>; 685 + polling-delay = <0>; 686 + thermal-sensors = <&tsens 10>; 687 + 688 + trips { 689 + cpu-critical { 690 + temperature = <120000>; 691 + hysteresis = <10000>; 692 + type = "critical"; 693 + }; 694 + 695 + cpu-passive { 696 + temperature = <110000>; 697 + hysteresis = <1000>; 698 + type = "passive"; 699 + }; 700 + }; 701 + }; 702 + 703 + cpu1-thermal { 704 + polling-delay-passive = <0>; 705 + polling-delay = <0>; 706 + thermal-sensors = <&tsens 11>; 707 + 708 + trips { 709 + cpu-critical { 710 + temperature = <120000>; 711 + hysteresis = <10000>; 712 + type = "critical"; 713 + }; 714 + 715 + cpu-passive { 716 + temperature = <110000>; 717 + hysteresis = <1000>; 718 + type = "passive"; 719 + }; 720 + }; 721 + }; 722 + 723 + cpu2-thermal { 724 + polling-delay-passive = <0>; 725 + polling-delay = <0>; 726 + thermal-sensors = <&tsens 12>; 727 + 728 + trips { 729 + cpu-critical { 730 + temperature = <120000>; 731 + hysteresis = <10000>; 732 + type = "critical"; 733 + }; 734 + 735 + cpu-passive { 736 + temperature = <110000>; 737 + hysteresis = <1000>; 738 + type = "passive"; 739 + }; 740 + }; 741 + }; 742 + 743 + cpu3-thermal { 744 + polling-delay-passive = <0>; 745 + polling-delay = <0>; 746 + thermal-sensors = <&tsens 13>; 747 + 748 + trips { 749 + cpu-critical { 750 + temperature = <120000>; 751 + hysteresis = <10000>; 752 + type = "critical"; 753 + }; 754 + 755 + cpu-passive { 756 + temperature = <110000>; 757 + hysteresis = <1000>; 758 + type = "passive"; 759 + }; 760 + }; 761 + }; 762 + 763 + wcss-phyb-thermal { 764 + polling-delay-passive = <0>; 765 + polling-delay = <0>; 766 + thermal-sensors = <&tsens 14>; 767 + 768 + trips { 769 + wcss_phyb-critical { 770 + temperature = <125000>; 771 + hysteresis = <1000>; 772 + type = "critical"; 773 + }; 774 + }; 775 + }; 776 + 777 + top-glue-thermal { 778 + polling-delay-passive = <0>; 779 + polling-delay = <0>; 780 + thermal-sensors = <&tsens 15>; 781 + 782 + trips { 783 + top_glue-critical { 784 + temperature = <125000>; 785 + hysteresis = <1000>; 786 + type = "critical"; 787 + }; 620 788 }; 621 789 }; 622 790 };
+9 -6
arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts
··· 133 133 }; 134 134 135 135 &sdhc_1 { 136 - pinctrl-names = "default", "sleep"; 137 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 138 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 139 - 140 136 status = "okay"; 141 137 }; 142 138 143 139 &sdhc_2 { 144 140 pinctrl-names = "default", "sleep"; 145 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; 146 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; 141 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 142 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 147 143 148 144 cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>; 149 145 ··· 178 182 179 183 drive-strength = <2>; 180 184 bias-pull-up; 185 + }; 186 + 187 + sdc2_cd_default: sdc2-cd-default-state { 188 + pins = "gpio38"; 189 + function = "gpio"; 190 + drive-strength = <2>; 191 + bias-disable; 181 192 }; 182 193 183 194 touchscreen_default: touchscreen-default-state {
+9 -6
arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
··· 171 171 172 172 &sdhc_1 { 173 173 status = "okay"; 174 - 175 - pinctrl-names = "default", "sleep"; 176 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 177 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 178 174 }; 179 175 180 176 &sdhc_2 { 181 177 status = "okay"; 182 178 183 179 pinctrl-names = "default", "sleep"; 184 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 185 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 180 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 181 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 186 182 187 183 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 188 184 }; ··· 270 274 271 275 drive-strength = <6>; 272 276 bias-pull-up; 277 + }; 278 + 279 + sdc2_cd_default: sdc2-cd-default-state { 280 + pins = "gpio38"; 281 + function = "gpio"; 282 + drive-strength = <2>; 283 + bias-disable; 273 284 }; 274 285 275 286 ts_int_reset_default: ts-int-reset-default-state {
+9 -6
arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts
··· 139 139 140 140 &sdhc_1 { 141 141 status = "okay"; 142 - 143 - pinctrl-names = "default", "sleep"; 144 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 145 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 146 142 }; 147 143 148 144 &sdhc_2 { ··· 146 150 vmmc-supply = <&reg_sd_vmmc>; 147 151 148 152 pinctrl-names = "default", "sleep"; 149 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 150 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 153 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 154 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 151 155 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 152 156 }; 153 157 ··· 197 201 pins = "gpio87"; 198 202 function = "gpio"; 199 203 204 + drive-strength = <2>; 205 + bias-disable; 206 + }; 207 + 208 + sdc2_cd_default: sdc2-cd-default-state { 209 + pins = "gpio38"; 210 + function = "gpio"; 200 211 drive-strength = <2>; 201 212 bias-disable; 202 213 };
+9 -6
arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts
··· 128 128 }; 129 129 130 130 &sdhc_1 { 131 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 132 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 133 - pinctrl-names = "default", "sleep"; 134 - 135 131 status = "okay"; 136 132 }; 137 133 138 134 &sdhc_2 { 139 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; 140 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; 135 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 136 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 141 137 pinctrl-names = "default", "sleep"; 142 138 143 139 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; ··· 175 179 176 180 gpio_leds_default: gpio-led-default-state { 177 181 pins = "gpio117", "gpio118"; 182 + function = "gpio"; 183 + drive-strength = <2>; 184 + bias-disable; 185 + }; 186 + 187 + sdc2_cd_default: sdc2-cd-default-state { 188 + pins = "gpio38"; 178 189 function = "gpio"; 179 190 drive-strength = <2>; 180 191 bias-disable;
+5 -9
arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts
··· 260 260 261 261 &sdhc_1 { 262 262 status = "okay"; 263 - 264 - pinctrl-names = "default", "sleep"; 265 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 266 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 267 263 }; 268 264 269 265 &sdhc_2 { 270 266 status = "okay"; 271 267 272 268 pinctrl-names = "default", "sleep"; 273 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdhc2_cd_default>; 274 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdhc2_cd_default>; 269 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 270 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 275 271 276 272 /* 277 273 * The Huawei device tree sets cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>. ··· 295 299 "AMIC3", "MIC BIAS External1"; 296 300 297 301 pinctrl-names = "default", "sleep"; 298 - pinctrl-0 = <&cdc_pdm_lines_act>; 299 - pinctrl-1 = <&cdc_pdm_lines_sus>; 302 + pinctrl-0 = <&cdc_pdm_default>; 303 + pinctrl-1 = <&cdc_pdm_sleep>; 300 304 301 305 primary-dai-link { 302 306 link-name = "WCD"; ··· 393 397 bias-disable; 394 398 }; 395 399 396 - sdhc2_cd_default: sdhc2-cd-default-state { 400 + sdc2_cd_default: sdc2-cd-default-state { 397 401 pins = "gpio56"; 398 402 function = "gpio"; 399 403
-9
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
··· 242 242 243 243 &sdhc_1 { 244 244 status = "okay"; 245 - 246 - pinctrl-names = "default", "sleep"; 247 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 248 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 249 245 }; 250 246 251 247 &sdhc_2 { 252 248 status = "okay"; 253 - 254 - pinctrl-names = "default", "sleep"; 255 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; 256 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; 257 - 258 249 non-removable; 259 250 }; 260 251
+9 -6
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts
··· 125 125 126 126 &sdhc_1 { 127 127 status = "okay"; 128 - 129 - pinctrl-names = "default", "sleep"; 130 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 131 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 132 128 }; 133 129 134 130 &sdhc_2 { 135 131 status = "okay"; 136 132 137 133 pinctrl-names = "default", "sleep"; 138 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 139 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 134 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 135 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 140 136 141 137 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 142 138 }; ··· 182 186 pins = "gpio111"; 183 187 function = "gpio"; 184 188 189 + drive-strength = <2>; 190 + bias-disable; 191 + }; 192 + 193 + sdc2_cd_default: sdc2-cd-default-state { 194 + pins = "gpio38"; 195 + function = "gpio"; 185 196 drive-strength = <2>; 186 197 bias-disable; 187 198 };
-582
arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
··· 1 - // SPDX-License-Identifier: GPL-2.0-only 2 - /* 3 - * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 4 - */ 5 - 6 - &tlmm { 7 - 8 - blsp_uart1_default: blsp-uart1-default-state { 9 - /* TX, RX, CTS_N, RTS_N */ 10 - pins = "gpio0", "gpio1", "gpio2", "gpio3"; 11 - function = "blsp_uart1"; 12 - 13 - drive-strength = <16>; 14 - bias-disable; 15 - }; 16 - 17 - blsp_uart1_sleep: blsp-uart1-sleep-state { 18 - pins = "gpio0", "gpio1", "gpio2", "gpio3"; 19 - function = "gpio"; 20 - 21 - drive-strength = <2>; 22 - bias-pull-down; 23 - }; 24 - 25 - blsp_uart2_default: blsp-uart2-default-state { 26 - pins = "gpio4", "gpio5"; 27 - function = "blsp_uart2"; 28 - 29 - drive-strength = <16>; 30 - bias-disable; 31 - }; 32 - 33 - blsp_uart2_sleep: blsp-uart2-sleep-state { 34 - pins = "gpio4", "gpio5"; 35 - function = "gpio"; 36 - 37 - drive-strength = <2>; 38 - bias-pull-down; 39 - }; 40 - 41 - blsp_spi1_default: blsp-spi1-default-state { 42 - spi-pins { 43 - pins = "gpio0", "gpio1", "gpio3"; 44 - function = "blsp_spi1"; 45 - 46 - drive-strength = <12>; 47 - bias-disable; 48 - }; 49 - cs-pins { 50 - pins = "gpio2"; 51 - function = "gpio"; 52 - 53 - drive-strength = <16>; 54 - bias-disable; 55 - output-high; 56 - }; 57 - }; 58 - 59 - blsp_spi1_sleep: blsp-spi1-sleep-state { 60 - pins = "gpio0", "gpio1", "gpio2", "gpio3"; 61 - function = "gpio"; 62 - 63 - drive-strength = <2>; 64 - bias-pull-down; 65 - }; 66 - 67 - blsp_spi2_default: blsp-spi2-default-state { 68 - spi-pins { 69 - pins = "gpio4", "gpio5", "gpio7"; 70 - function = "blsp_spi2"; 71 - 72 - drive-strength = <12>; 73 - bias-disable; 74 - }; 75 - cs-pins { 76 - pins = "gpio6"; 77 - function = "gpio"; 78 - 79 - drive-strength = <16>; 80 - bias-disable; 81 - output-high; 82 - }; 83 - }; 84 - 85 - blsp_spi2_sleep: blsp-spi2-sleep-state { 86 - pins = "gpio4", "gpio5", "gpio6", "gpio7"; 87 - function = "gpio"; 88 - 89 - drive-strength = <2>; 90 - bias-pull-down; 91 - }; 92 - 93 - blsp_spi3_default: blsp-spi3-default-state { 94 - spi-pins { 95 - pins = "gpio8", "gpio9", "gpio11"; 96 - function = "blsp_spi3"; 97 - 98 - drive-strength = <12>; 99 - bias-disable; 100 - }; 101 - cs-pins { 102 - pins = "gpio10"; 103 - function = "gpio"; 104 - 105 - drive-strength = <16>; 106 - bias-disable; 107 - output-high; 108 - }; 109 - }; 110 - 111 - blsp_spi3_sleep: blsp-spi3-sleep-state { 112 - pins = "gpio8", "gpio9", "gpio10", "gpio11"; 113 - function = "gpio"; 114 - 115 - drive-strength = <2>; 116 - bias-pull-down; 117 - }; 118 - 119 - blsp_spi4_default: blsp-spi4-default-state { 120 - spi-pins { 121 - pins = "gpio12", "gpio13", "gpio15"; 122 - function = "blsp_spi4"; 123 - 124 - drive-strength = <12>; 125 - bias-disable; 126 - }; 127 - cs-pins { 128 - pins = "gpio14"; 129 - function = "gpio"; 130 - 131 - drive-strength = <16>; 132 - bias-disable; 133 - output-high; 134 - }; 135 - }; 136 - 137 - blsp_spi4_sleep: blsp-spi4-sleep-state { 138 - pins = "gpio12", "gpio13", "gpio14", "gpio15"; 139 - function = "gpio"; 140 - 141 - drive-strength = <2>; 142 - bias-pull-down; 143 - }; 144 - 145 - blsp_spi5_default: blsp-spi5-default-state { 146 - spi-pins { 147 - pins = "gpio16", "gpio17", "gpio19"; 148 - function = "blsp_spi5"; 149 - 150 - drive-strength = <12>; 151 - bias-disable; 152 - }; 153 - cs-pins { 154 - pins = "gpio18"; 155 - function = "gpio"; 156 - 157 - drive-strength = <16>; 158 - bias-disable; 159 - output-high; 160 - }; 161 - }; 162 - 163 - blsp_spi5_sleep: blsp-spi5-sleep-state { 164 - pins = "gpio16", "gpio17", "gpio18", "gpio19"; 165 - function = "gpio"; 166 - 167 - drive-strength = <2>; 168 - bias-pull-down; 169 - }; 170 - 171 - blsp_spi6_default: blsp-spi6-default-state { 172 - spi-pins { 173 - pins = "gpio20", "gpio21", "gpio23"; 174 - function = "blsp_spi6"; 175 - 176 - drive-strength = <12>; 177 - bias-disable; 178 - }; 179 - cs-pins { 180 - pins = "gpio22"; 181 - function = "gpio"; 182 - 183 - drive-strength = <16>; 184 - bias-disable; 185 - output-high; 186 - }; 187 - }; 188 - 189 - blsp_spi6_sleep: blsp-spi6-sleep-state { 190 - pins = "gpio20", "gpio21", "gpio22", "gpio23"; 191 - function = "gpio"; 192 - 193 - drive-strength = <2>; 194 - bias-pull-down; 195 - }; 196 - 197 - blsp_i2c1_default: blsp-i2c1-default-state { 198 - pins = "gpio2", "gpio3"; 199 - function = "blsp_i2c1"; 200 - 201 - drive-strength = <2>; 202 - bias-disable; 203 - }; 204 - 205 - blsp_i2c1_sleep: blsp-i2c1-sleep-state { 206 - pins = "gpio2", "gpio3"; 207 - function = "gpio"; 208 - 209 - drive-strength = <2>; 210 - bias-disable; 211 - }; 212 - 213 - blsp_i2c2_default: blsp-i2c2-default-state { 214 - pins = "gpio6", "gpio7"; 215 - function = "blsp_i2c2"; 216 - 217 - drive-strength = <2>; 218 - bias-disable; 219 - }; 220 - 221 - blsp_i2c2_sleep: blsp-i2c2-sleep-state { 222 - pins = "gpio6", "gpio7"; 223 - function = "gpio"; 224 - 225 - drive-strength = <2>; 226 - bias-disable; 227 - }; 228 - 229 - blsp_i2c3_default: blsp-i2c3-default-state { 230 - pins = "gpio10", "gpio11"; 231 - function = "blsp_i2c3"; 232 - 233 - drive-strength = <2>; 234 - bias-disable; 235 - }; 236 - 237 - blsp_i2c3_sleep: blsp-i2c3-sleep-state { 238 - pins = "gpio10", "gpio11"; 239 - function = "gpio"; 240 - 241 - drive-strength = <2>; 242 - bias-disable; 243 - }; 244 - 245 - blsp_i2c4_default: blsp-i2c4-default-state { 246 - pins = "gpio14", "gpio15"; 247 - function = "blsp_i2c4"; 248 - 249 - drive-strength = <2>; 250 - bias-disable; 251 - }; 252 - 253 - blsp_i2c4_sleep: blsp-i2c4-sleep-state { 254 - pins = "gpio14", "gpio15"; 255 - function = "gpio"; 256 - 257 - drive-strength = <2>; 258 - bias-disable; 259 - }; 260 - 261 - blsp_i2c5_default: blsp-i2c5-default-state { 262 - pins = "gpio18", "gpio19"; 263 - function = "blsp_i2c5"; 264 - 265 - drive-strength = <2>; 266 - bias-disable; 267 - }; 268 - 269 - blsp_i2c5_sleep: blsp-i2c5-sleep-state { 270 - pins = "gpio18", "gpio19"; 271 - function = "gpio"; 272 - 273 - drive-strength = <2>; 274 - bias-disable; 275 - }; 276 - 277 - blsp_i2c6_default: blsp-i2c6-default-state { 278 - pins = "gpio22", "gpio23"; 279 - function = "blsp_i2c6"; 280 - 281 - drive-strength = <2>; 282 - bias-disable; 283 - }; 284 - 285 - blsp_i2c6_sleep: blsp-i2c6-sleep-state { 286 - pins = "gpio22", "gpio23"; 287 - function = "gpio"; 288 - 289 - drive-strength = <2>; 290 - bias-disable; 291 - }; 292 - 293 - pmx-sdc1-clk-state { 294 - sdc1_clk_on: clk-on-pins { 295 - pins = "sdc1_clk"; 296 - 297 - bias-disable; 298 - drive-strength = <16>; 299 - }; 300 - sdc1_clk_off: clk-off-pins { 301 - pins = "sdc1_clk"; 302 - 303 - bias-disable; 304 - drive-strength = <2>; 305 - }; 306 - }; 307 - 308 - pmx-sdc1-cmd-state { 309 - sdc1_cmd_on: cmd-on-pins { 310 - pins = "sdc1_cmd"; 311 - 312 - bias-pull-up; 313 - drive-strength = <10>; 314 - }; 315 - sdc1_cmd_off: cmd-off-pins { 316 - pins = "sdc1_cmd"; 317 - 318 - bias-pull-up; 319 - drive-strength = <2>; 320 - }; 321 - }; 322 - 323 - pmx-sdc1-data-state { 324 - sdc1_data_on: data-on-pins { 325 - pins = "sdc1_data"; 326 - 327 - bias-pull-up; 328 - drive-strength = <10>; 329 - }; 330 - sdc1_data_off: data-off-pins { 331 - pins = "sdc1_data"; 332 - 333 - bias-pull-up; 334 - drive-strength = <2>; 335 - }; 336 - }; 337 - 338 - pmx-sdc2-clk-state { 339 - sdc2_clk_on: clk-on-pins { 340 - pins = "sdc2_clk"; 341 - 342 - bias-disable; 343 - drive-strength = <16>; 344 - }; 345 - sdc2_clk_off: clk-off-pins { 346 - pins = "sdc2_clk"; 347 - 348 - bias-disable; 349 - drive-strength = <2>; 350 - }; 351 - }; 352 - 353 - pmx-sdc2-cmd-state { 354 - sdc2_cmd_on: cmd-on-pins { 355 - pins = "sdc2_cmd"; 356 - 357 - bias-pull-up; 358 - drive-strength = <10>; 359 - }; 360 - sdc2_cmd_off: cmd-off-pins { 361 - pins = "sdc2_cmd"; 362 - 363 - bias-pull-up; 364 - drive-strength = <2>; 365 - }; 366 - }; 367 - 368 - pmx-sdc2-data-state { 369 - sdc2_data_on: data-on-pins { 370 - pins = "sdc2_data"; 371 - 372 - bias-pull-up; 373 - drive-strength = <10>; 374 - }; 375 - sdc2_data_off: data-off-pins { 376 - pins = "sdc2_data"; 377 - 378 - bias-pull-up; 379 - drive-strength = <2>; 380 - }; 381 - }; 382 - 383 - pmx-sdc2-cd-pin-state { 384 - sdc2_cd_on: cd-on-pins { 385 - pins = "gpio38"; 386 - function = "gpio"; 387 - 388 - drive-strength = <2>; 389 - bias-pull-up; 390 - }; 391 - sdc2_cd_off: cd-off-pins { 392 - pins = "gpio38"; 393 - function = "gpio"; 394 - 395 - drive-strength = <2>; 396 - bias-disable; 397 - }; 398 - }; 399 - 400 - cdc-pdm-lines-state { 401 - cdc_pdm_lines_act: pdm-lines-on-pins { 402 - pins = "gpio63", "gpio64", "gpio65", "gpio66", 403 - "gpio67", "gpio68"; 404 - function = "cdc_pdm0"; 405 - 406 - drive-strength = <8>; 407 - bias-disable; 408 - }; 409 - cdc_pdm_lines_sus: pdm-lines-off-pins { 410 - pins = "gpio63", "gpio64", "gpio65", "gpio66", 411 - "gpio67", "gpio68"; 412 - function = "cdc_pdm0"; 413 - 414 - drive-strength = <2>; 415 - bias-pull-down; 416 - }; 417 - }; 418 - 419 - ext-pri-tlmm-lines-state { 420 - ext_pri_tlmm_lines_act: ext-pa-on-pins { 421 - pins = "gpio113", "gpio114", "gpio115", "gpio116"; 422 - function = "pri_mi2s"; 423 - 424 - drive-strength = <8>; 425 - bias-disable; 426 - }; 427 - ext_pri_tlmm_lines_sus: ext-pa-off-pins { 428 - pins = "gpio113", "gpio114", "gpio115", "gpio116"; 429 - function = "pri_mi2s"; 430 - 431 - drive-strength = <2>; 432 - bias-disable; 433 - }; 434 - }; 435 - 436 - ext-pri-ws-line-state { 437 - ext_pri_ws_act: ext-pa-on-pins { 438 - pins = "gpio110"; 439 - function = "pri_mi2s_ws"; 440 - 441 - drive-strength = <8>; 442 - bias-disable; 443 - }; 444 - ext_pri_ws_sus: ext-pa-off-pins { 445 - pins = "gpio110"; 446 - function = "pri_mi2s_ws"; 447 - 448 - drive-strength = <2>; 449 - bias-disable; 450 - }; 451 - }; 452 - 453 - ext-mclk-tlmm-lines-state { 454 - ext_mclk_tlmm_lines_act: mclk-lines-on-pins { 455 - pins = "gpio116"; 456 - function = "pri_mi2s"; 457 - 458 - drive-strength = <8>; 459 - bias-disable; 460 - }; 461 - ext_mclk_tlmm_lines_sus: mclk-lines-off-pins { 462 - pins = "gpio116"; 463 - function = "pri_mi2s"; 464 - 465 - drive-strength = <2>; 466 - bias-disable; 467 - }; 468 - }; 469 - 470 - /* secondary Mi2S */ 471 - ext-sec-tlmm-lines-state { 472 - ext_sec_tlmm_lines_act: tlmm-lines-on-pins { 473 - pins = "gpio112", "gpio117", "gpio118", "gpio119"; 474 - function = "sec_mi2s"; 475 - 476 - drive-strength = <8>; 477 - bias-disable; 478 - }; 479 - ext_sec_tlmm_lines_sus: tlmm-lines-off-pins { 480 - pins = "gpio112", "gpio117", "gpio118", "gpio119"; 481 - function = "sec_mi2s"; 482 - 483 - drive-strength = <2>; 484 - bias-disable; 485 - }; 486 - }; 487 - 488 - cdc_dmic_lines_act: cdc-dmic-lines-on-state { 489 - clk-pins { 490 - pins = "gpio0"; 491 - function = "dmic0_clk"; 492 - 493 - drive-strength = <8>; 494 - }; 495 - data-pins { 496 - pins = "gpio1"; 497 - function = "dmic0_data"; 498 - 499 - drive-strength = <8>; 500 - }; 501 - }; 502 - cdc_dmic_lines_sus: cdc-dmic-lines-off-state { 503 - clk-pins { 504 - pins = "gpio0"; 505 - function = "dmic0_clk"; 506 - 507 - drive-strength = <2>; 508 - bias-disable; 509 - }; 510 - data-pins { 511 - pins = "gpio1"; 512 - function = "dmic0_data"; 513 - 514 - drive-strength = <2>; 515 - bias-disable; 516 - }; 517 - }; 518 - 519 - wcnss_pin_a: wcnss-active-state { 520 - pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44"; 521 - function = "wcss_wlan"; 522 - 523 - drive-strength = <6>; 524 - bias-pull-up; 525 - }; 526 - 527 - cci0_default: cci0-default-state { 528 - pins = "gpio29", "gpio30"; 529 - function = "cci_i2c"; 530 - 531 - drive-strength = <16>; 532 - bias-disable; 533 - }; 534 - 535 - camera_front_default: camera-front-default-state { 536 - pwdn-pins { 537 - pins = "gpio33"; 538 - function = "gpio"; 539 - 540 - drive-strength = <16>; 541 - bias-disable; 542 - }; 543 - rst-pins { 544 - pins = "gpio28"; 545 - function = "gpio"; 546 - 547 - drive-strength = <16>; 548 - bias-disable; 549 - }; 550 - mclk1-pins { 551 - pins = "gpio27"; 552 - function = "cam_mclk1"; 553 - 554 - drive-strength = <16>; 555 - bias-disable; 556 - }; 557 - }; 558 - 559 - camera_rear_default: camera-rear-default-state { 560 - pwdn-pins { 561 - pins = "gpio34"; 562 - function = "gpio"; 563 - 564 - drive-strength = <16>; 565 - bias-disable; 566 - }; 567 - rst-pins { 568 - pins = "gpio35"; 569 - function = "gpio"; 570 - 571 - drive-strength = <16>; 572 - bias-disable; 573 - }; 574 - mclk0-pins { 575 - pins = "gpio26"; 576 - function = "cam_mclk0"; 577 - 578 - drive-strength = <16>; 579 - bias-disable; 580 - }; 581 - }; 582 - };
+9 -6
arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
··· 263 263 264 264 &sdhc_1 { 265 265 status = "okay"; 266 - 267 - pinctrl-names = "default", "sleep"; 268 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 269 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 270 266 }; 271 267 272 268 &sdhc_2 { 273 269 status = "okay"; 274 270 275 271 pinctrl-names = "default", "sleep"; 276 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 277 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 272 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 273 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 278 274 279 275 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 280 276 }; ··· 383 387 pins = "gpio0", "gpio1"; 384 388 function = "gpio"; 385 389 390 + drive-strength = <2>; 391 + bias-disable; 392 + }; 393 + 394 + sdc2_cd_default: sdc2-cd-default-state { 395 + pins = "gpio38"; 396 + function = "gpio"; 386 397 drive-strength = <2>; 387 398 bias-disable; 388 399 };
+9 -6
arch/arm64/boot/dts/qcom/msm8916-samsung-gt5-common.dtsi
··· 135 135 }; 136 136 137 137 &sdhc_1 { 138 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 139 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 140 - pinctrl-names = "default", "sleep"; 141 - 142 138 status = "okay"; 143 139 }; 144 140 145 141 &sdhc_2 { 146 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 147 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 142 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 143 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 148 144 pinctrl-names = "default", "sleep"; 149 145 150 146 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; ··· 191 195 192 196 gpio_hall_sensor_default: gpio-hall-sensor-default-state { 193 197 pins = "gpio52"; 198 + function = "gpio"; 199 + drive-strength = <2>; 200 + bias-disable; 201 + }; 202 + 203 + sdc2_cd_default: sdc2-cd-default-state { 204 + pins = "gpio38"; 194 205 function = "gpio"; 195 206 drive-strength = <2>; 196 207 bias-disable;
+9 -6
arch/arm64/boot/dts/qcom/msm8916-samsung-j5-common.dtsi
··· 97 97 98 98 &sdhc_1 { 99 99 status = "okay"; 100 - 101 - pinctrl-names = "default", "sleep"; 102 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 103 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 104 100 }; 105 101 106 102 &sdhc_2 { 107 103 status = "okay"; 108 104 109 105 pinctrl-names = "default", "sleep"; 110 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; 111 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; 106 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 107 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 112 108 113 109 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 114 110 }; ··· 155 159 pins = "gpio12"; 156 160 function = "gpio"; 157 161 162 + drive-strength = <2>; 163 + bias-disable; 164 + }; 165 + 166 + sdc2_cd_default: sdc2-cd-default-state { 167 + pins = "gpio38"; 168 + function = "gpio"; 158 169 drive-strength = <2>; 159 170 bias-disable; 160 171 };
-9
arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts
··· 276 276 277 277 &sdhc_1 { 278 278 status = "okay"; 279 - 280 - pinctrl-names = "default", "sleep"; 281 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 282 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 283 279 }; 284 280 285 281 &sdhc_2 { 286 282 status = "okay"; 287 - 288 - pinctrl-names = "default", "sleep"; 289 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; 290 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; 291 - 292 283 non-removable; 293 284 294 285 /*
-4
arch/arm64/boot/dts/qcom/msm8916-ufi.dtsi
··· 101 101 }; 102 102 103 103 &sdhc_1 { 104 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 105 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 106 - pinctrl-names = "default", "sleep"; 107 - 108 104 status = "okay"; 109 105 }; 110 106
-9
arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts
··· 173 173 174 174 &sdhc_1 { 175 175 status = "okay"; 176 - 177 - pinctrl-names = "default", "sleep"; 178 - pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>; 179 - pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>; 180 176 }; 181 177 182 178 &sdhc_2 { 183 179 status = "okay"; 184 - 185 - pinctrl-names = "default", "sleep"; 186 - pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; 187 - pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; 188 - 189 180 non-removable; 190 181 }; 191 182
+486 -3
arch/arm64/boot/dts/qcom/msm8916.dtsi
··· 996 996 #gpio-cells = <2>; 997 997 interrupt-controller; 998 998 #interrupt-cells = <2>; 999 + 1000 + blsp_i2c1_default: blsp-i2c1-default-state { 1001 + pins = "gpio2", "gpio3"; 1002 + function = "blsp_i2c1"; 1003 + drive-strength = <2>; 1004 + bias-disable; 1005 + }; 1006 + 1007 + blsp_i2c1_sleep: blsp-i2c1-sleep-state { 1008 + pins = "gpio2", "gpio3"; 1009 + function = "gpio"; 1010 + drive-strength = <2>; 1011 + bias-disable; 1012 + }; 1013 + 1014 + blsp_i2c2_default: blsp-i2c2-default-state { 1015 + pins = "gpio6", "gpio7"; 1016 + function = "blsp_i2c2"; 1017 + drive-strength = <2>; 1018 + bias-disable; 1019 + }; 1020 + 1021 + blsp_i2c2_sleep: blsp-i2c2-sleep-state { 1022 + pins = "gpio6", "gpio7"; 1023 + function = "gpio"; 1024 + drive-strength = <2>; 1025 + bias-disable; 1026 + }; 1027 + 1028 + blsp_i2c3_default: blsp-i2c3-default-state { 1029 + pins = "gpio10", "gpio11"; 1030 + function = "blsp_i2c3"; 1031 + drive-strength = <2>; 1032 + bias-disable; 1033 + }; 1034 + 1035 + blsp_i2c3_sleep: blsp-i2c3-sleep-state { 1036 + pins = "gpio10", "gpio11"; 1037 + function = "gpio"; 1038 + drive-strength = <2>; 1039 + bias-disable; 1040 + }; 1041 + 1042 + blsp_i2c4_default: blsp-i2c4-default-state { 1043 + pins = "gpio14", "gpio15"; 1044 + function = "blsp_i2c4"; 1045 + drive-strength = <2>; 1046 + bias-disable; 1047 + }; 1048 + 1049 + blsp_i2c4_sleep: blsp-i2c4-sleep-state { 1050 + pins = "gpio14", "gpio15"; 1051 + function = "gpio"; 1052 + drive-strength = <2>; 1053 + bias-disable; 1054 + }; 1055 + 1056 + blsp_i2c5_default: blsp-i2c5-default-state { 1057 + pins = "gpio18", "gpio19"; 1058 + function = "blsp_i2c5"; 1059 + drive-strength = <2>; 1060 + bias-disable; 1061 + }; 1062 + 1063 + blsp_i2c5_sleep: blsp-i2c5-sleep-state { 1064 + pins = "gpio18", "gpio19"; 1065 + function = "gpio"; 1066 + drive-strength = <2>; 1067 + bias-disable; 1068 + }; 1069 + 1070 + blsp_i2c6_default: blsp-i2c6-default-state { 1071 + pins = "gpio22", "gpio23"; 1072 + function = "blsp_i2c6"; 1073 + drive-strength = <2>; 1074 + bias-disable; 1075 + }; 1076 + 1077 + blsp_i2c6_sleep: blsp-i2c6-sleep-state { 1078 + pins = "gpio22", "gpio23"; 1079 + function = "gpio"; 1080 + drive-strength = <2>; 1081 + bias-disable; 1082 + }; 1083 + 1084 + blsp_spi1_default: blsp-spi1-default-state { 1085 + spi-pins { 1086 + pins = "gpio0", "gpio1", "gpio3"; 1087 + function = "blsp_spi1"; 1088 + drive-strength = <12>; 1089 + bias-disable; 1090 + }; 1091 + cs-pins { 1092 + pins = "gpio2"; 1093 + function = "gpio"; 1094 + drive-strength = <16>; 1095 + bias-disable; 1096 + output-high; 1097 + }; 1098 + }; 1099 + 1100 + blsp_spi1_sleep: blsp-spi1-sleep-state { 1101 + pins = "gpio0", "gpio1", "gpio2", "gpio3"; 1102 + function = "gpio"; 1103 + drive-strength = <2>; 1104 + bias-pull-down; 1105 + }; 1106 + 1107 + blsp_spi2_default: blsp-spi2-default-state { 1108 + spi-pins { 1109 + pins = "gpio4", "gpio5", "gpio7"; 1110 + function = "blsp_spi2"; 1111 + drive-strength = <12>; 1112 + bias-disable; 1113 + }; 1114 + cs-pins { 1115 + pins = "gpio6"; 1116 + function = "gpio"; 1117 + drive-strength = <16>; 1118 + bias-disable; 1119 + output-high; 1120 + }; 1121 + }; 1122 + 1123 + blsp_spi2_sleep: blsp-spi2-sleep-state { 1124 + pins = "gpio4", "gpio5", "gpio6", "gpio7"; 1125 + function = "gpio"; 1126 + drive-strength = <2>; 1127 + bias-pull-down; 1128 + }; 1129 + 1130 + blsp_spi3_default: blsp-spi3-default-state { 1131 + spi-pins { 1132 + pins = "gpio8", "gpio9", "gpio11"; 1133 + function = "blsp_spi3"; 1134 + drive-strength = <12>; 1135 + bias-disable; 1136 + }; 1137 + cs-pins { 1138 + pins = "gpio10"; 1139 + function = "gpio"; 1140 + drive-strength = <16>; 1141 + bias-disable; 1142 + output-high; 1143 + }; 1144 + }; 1145 + 1146 + blsp_spi3_sleep: blsp-spi3-sleep-state { 1147 + pins = "gpio8", "gpio9", "gpio10", "gpio11"; 1148 + function = "gpio"; 1149 + drive-strength = <2>; 1150 + bias-pull-down; 1151 + }; 1152 + 1153 + blsp_spi4_default: blsp-spi4-default-state { 1154 + spi-pins { 1155 + pins = "gpio12", "gpio13", "gpio15"; 1156 + function = "blsp_spi4"; 1157 + drive-strength = <12>; 1158 + bias-disable; 1159 + }; 1160 + cs-pins { 1161 + pins = "gpio14"; 1162 + function = "gpio"; 1163 + drive-strength = <16>; 1164 + bias-disable; 1165 + output-high; 1166 + }; 1167 + }; 1168 + 1169 + blsp_spi4_sleep: blsp-spi4-sleep-state { 1170 + pins = "gpio12", "gpio13", "gpio14", "gpio15"; 1171 + function = "gpio"; 1172 + drive-strength = <2>; 1173 + bias-pull-down; 1174 + }; 1175 + 1176 + blsp_spi5_default: blsp-spi5-default-state { 1177 + spi-pins { 1178 + pins = "gpio16", "gpio17", "gpio19"; 1179 + function = "blsp_spi5"; 1180 + drive-strength = <12>; 1181 + bias-disable; 1182 + }; 1183 + cs-pins { 1184 + pins = "gpio18"; 1185 + function = "gpio"; 1186 + drive-strength = <16>; 1187 + bias-disable; 1188 + output-high; 1189 + }; 1190 + }; 1191 + 1192 + blsp_spi5_sleep: blsp-spi5-sleep-state { 1193 + pins = "gpio16", "gpio17", "gpio18", "gpio19"; 1194 + function = "gpio"; 1195 + drive-strength = <2>; 1196 + bias-pull-down; 1197 + }; 1198 + 1199 + blsp_spi6_default: blsp-spi6-default-state { 1200 + spi-pins { 1201 + pins = "gpio20", "gpio21", "gpio23"; 1202 + function = "blsp_spi6"; 1203 + drive-strength = <12>; 1204 + bias-disable; 1205 + }; 1206 + cs-pins { 1207 + pins = "gpio22"; 1208 + function = "gpio"; 1209 + drive-strength = <16>; 1210 + bias-disable; 1211 + output-high; 1212 + }; 1213 + }; 1214 + 1215 + blsp_spi6_sleep: blsp-spi6-sleep-state { 1216 + pins = "gpio20", "gpio21", "gpio22", "gpio23"; 1217 + function = "gpio"; 1218 + drive-strength = <2>; 1219 + bias-pull-down; 1220 + }; 1221 + 1222 + blsp_uart1_default: blsp-uart1-default-state { 1223 + /* TX, RX, CTS_N, RTS_N */ 1224 + pins = "gpio0", "gpio1", "gpio2", "gpio3"; 1225 + function = "blsp_uart1"; 1226 + drive-strength = <16>; 1227 + bias-disable; 1228 + }; 1229 + 1230 + blsp_uart1_sleep: blsp-uart1-sleep-state { 1231 + pins = "gpio0", "gpio1", "gpio2", "gpio3"; 1232 + function = "gpio"; 1233 + drive-strength = <2>; 1234 + bias-pull-down; 1235 + }; 1236 + 1237 + blsp_uart2_default: blsp-uart2-default-state { 1238 + pins = "gpio4", "gpio5"; 1239 + function = "blsp_uart2"; 1240 + drive-strength = <16>; 1241 + bias-disable; 1242 + }; 1243 + 1244 + blsp_uart2_sleep: blsp-uart2-sleep-state { 1245 + pins = "gpio4", "gpio5"; 1246 + function = "gpio"; 1247 + drive-strength = <2>; 1248 + bias-pull-down; 1249 + }; 1250 + 1251 + camera_front_default: camera-front-default-state { 1252 + pwdn-pins { 1253 + pins = "gpio33"; 1254 + function = "gpio"; 1255 + drive-strength = <16>; 1256 + bias-disable; 1257 + }; 1258 + rst-pins { 1259 + pins = "gpio28"; 1260 + function = "gpio"; 1261 + drive-strength = <16>; 1262 + bias-disable; 1263 + }; 1264 + mclk1-pins { 1265 + pins = "gpio27"; 1266 + function = "cam_mclk1"; 1267 + drive-strength = <16>; 1268 + bias-disable; 1269 + }; 1270 + }; 1271 + 1272 + camera_rear_default: camera-rear-default-state { 1273 + pwdn-pins { 1274 + pins = "gpio34"; 1275 + function = "gpio"; 1276 + drive-strength = <16>; 1277 + bias-disable; 1278 + }; 1279 + rst-pins { 1280 + pins = "gpio35"; 1281 + function = "gpio"; 1282 + drive-strength = <16>; 1283 + bias-disable; 1284 + }; 1285 + mclk0-pins { 1286 + pins = "gpio26"; 1287 + function = "cam_mclk0"; 1288 + drive-strength = <16>; 1289 + bias-disable; 1290 + }; 1291 + }; 1292 + 1293 + cci0_default: cci0-default-state { 1294 + pins = "gpio29", "gpio30"; 1295 + function = "cci_i2c"; 1296 + drive-strength = <16>; 1297 + bias-disable; 1298 + }; 1299 + 1300 + cdc_dmic_default: cdc-dmic-default-state { 1301 + clk-pins { 1302 + pins = "gpio0"; 1303 + function = "dmic0_clk"; 1304 + drive-strength = <8>; 1305 + }; 1306 + data-pins { 1307 + pins = "gpio1"; 1308 + function = "dmic0_data"; 1309 + drive-strength = <8>; 1310 + }; 1311 + }; 1312 + 1313 + cdc_dmic_sleep: cdc-dmic-sleep-state { 1314 + clk-pins { 1315 + pins = "gpio0"; 1316 + function = "dmic0_clk"; 1317 + drive-strength = <2>; 1318 + bias-disable; 1319 + }; 1320 + data-pins { 1321 + pins = "gpio1"; 1322 + function = "dmic0_data"; 1323 + drive-strength = <2>; 1324 + bias-disable; 1325 + }; 1326 + }; 1327 + 1328 + cdc_pdm_default: cdc-pdm-default-state { 1329 + pins = "gpio63", "gpio64", "gpio65", "gpio66", 1330 + "gpio67", "gpio68"; 1331 + function = "cdc_pdm0"; 1332 + drive-strength = <8>; 1333 + bias-disable; 1334 + }; 1335 + 1336 + cdc_pdm_sleep: cdc-pdm-sleep-state { 1337 + pins = "gpio63", "gpio64", "gpio65", "gpio66", 1338 + "gpio67", "gpio68"; 1339 + function = "cdc_pdm0"; 1340 + drive-strength = <2>; 1341 + bias-pull-down; 1342 + }; 1343 + 1344 + pri_mi2s_default: mi2s-pri-default-state { 1345 + pins = "gpio113", "gpio114", "gpio115", "gpio116"; 1346 + function = "pri_mi2s"; 1347 + drive-strength = <8>; 1348 + bias-disable; 1349 + }; 1350 + 1351 + pri_mi2s_sleep: mi2s-pri-sleep-state { 1352 + pins = "gpio113", "gpio114", "gpio115", "gpio116"; 1353 + function = "pri_mi2s"; 1354 + drive-strength = <2>; 1355 + bias-disable; 1356 + }; 1357 + 1358 + pri_mi2s_mclk_default: mi2s-pri-mclk-default-state { 1359 + pins = "gpio116"; 1360 + function = "pri_mi2s"; 1361 + drive-strength = <8>; 1362 + bias-disable; 1363 + }; 1364 + 1365 + pri_mi2s_mclk_sleep: mi2s-pri-mclk-sleep-state { 1366 + pins = "gpio116"; 1367 + function = "pri_mi2s"; 1368 + drive-strength = <2>; 1369 + bias-disable; 1370 + }; 1371 + 1372 + pri_mi2s_ws_default: mi2s-pri-ws-default-state { 1373 + pins = "gpio110"; 1374 + function = "pri_mi2s_ws"; 1375 + drive-strength = <8>; 1376 + bias-disable; 1377 + }; 1378 + 1379 + pri_mi2s_ws_sleep: mi2s-pri-ws-sleep-state { 1380 + pins = "gpio110"; 1381 + function = "pri_mi2s_ws"; 1382 + drive-strength = <2>; 1383 + bias-disable; 1384 + }; 1385 + 1386 + sec_mi2s_default: mi2s-sec-default-state { 1387 + pins = "gpio112", "gpio117", "gpio118", "gpio119"; 1388 + function = "sec_mi2s"; 1389 + drive-strength = <8>; 1390 + bias-disable; 1391 + }; 1392 + 1393 + sec_mi2s_sleep: mi2s-sec-sleep-state { 1394 + pins = "gpio112", "gpio117", "gpio118", "gpio119"; 1395 + function = "sec_mi2s"; 1396 + drive-strength = <2>; 1397 + bias-disable; 1398 + }; 1399 + 1400 + sdc1_default: sdc1-default-state { 1401 + clk-pins { 1402 + pins = "sdc1_clk"; 1403 + bias-disable; 1404 + drive-strength = <16>; 1405 + }; 1406 + cmd-pins { 1407 + pins = "sdc1_cmd"; 1408 + bias-pull-up; 1409 + drive-strength = <10>; 1410 + }; 1411 + data-pins { 1412 + pins = "sdc1_data"; 1413 + bias-pull-up; 1414 + drive-strength = <10>; 1415 + }; 1416 + }; 1417 + 1418 + sdc1_sleep: sdc1-sleep-state { 1419 + clk-pins { 1420 + pins = "sdc1_clk"; 1421 + bias-disable; 1422 + drive-strength = <2>; 1423 + }; 1424 + cmd-pins { 1425 + pins = "sdc1_cmd"; 1426 + bias-pull-up; 1427 + drive-strength = <2>; 1428 + }; 1429 + data-pins { 1430 + pins = "sdc1_data"; 1431 + bias-pull-up; 1432 + drive-strength = <2>; 1433 + }; 1434 + }; 1435 + 1436 + sdc2_default: sdc2-default-state { 1437 + clk-pins { 1438 + pins = "sdc2_clk"; 1439 + bias-disable; 1440 + drive-strength = <16>; 1441 + }; 1442 + cmd-pins { 1443 + pins = "sdc2_cmd"; 1444 + bias-pull-up; 1445 + drive-strength = <10>; 1446 + }; 1447 + data-pins { 1448 + pins = "sdc2_data"; 1449 + bias-pull-up; 1450 + drive-strength = <10>; 1451 + }; 1452 + }; 1453 + 1454 + sdc2_sleep: sdc2-sleep-state { 1455 + clk-pins { 1456 + pins = "sdc2_clk"; 1457 + bias-disable; 1458 + drive-strength = <2>; 1459 + }; 1460 + cmd-pins { 1461 + pins = "sdc2_cmd"; 1462 + bias-pull-up; 1463 + drive-strength = <2>; 1464 + }; 1465 + data-pins { 1466 + pins = "sdc2_data"; 1467 + bias-pull-up; 1468 + drive-strength = <2>; 1469 + }; 1470 + }; 1471 + 1472 + wcss_wlan_default: wcss-wlan-default-state { 1473 + pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44"; 1474 + function = "wcss_wlan"; 1475 + drive-strength = <6>; 1476 + bias-pull-up; 1477 + }; 999 1478 }; 1000 1479 1001 1480 gcc: clock-controller@1800000 { ··· 2040 1561 <&gcc GCC_SDCC1_APPS_CLK>, 2041 1562 <&xo_board>; 2042 1563 clock-names = "iface", "core", "xo"; 1564 + pinctrl-0 = <&sdc1_default>; 1565 + pinctrl-1 = <&sdc1_sleep>; 1566 + pinctrl-names = "default", "sleep"; 2043 1567 mmc-ddr-1_8v; 2044 1568 bus-width = <8>; 2045 1569 non-removable; ··· 2061 1579 <&gcc GCC_SDCC2_APPS_CLK>, 2062 1580 <&xo_board>; 2063 1581 clock-names = "iface", "core", "xo"; 1582 + pinctrl-0 = <&sdc2_default>; 1583 + pinctrl-1 = <&sdc2_sleep>; 1584 + pinctrl-names = "default", "sleep"; 2064 1585 bus-width = <4>; 2065 1586 status = "disabled"; 2066 1587 }; ··· 2373 1888 qcom,smem-state-names = "stop"; 2374 1889 2375 1890 pinctrl-names = "default"; 2376 - pinctrl-0 = <&wcnss_pin_a>; 1891 + pinctrl-0 = <&wcss_wlan_default>; 2377 1892 2378 1893 status = "disabled"; 2379 1894 ··· 2670 2185 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 2671 2186 }; 2672 2187 }; 2673 - 2674 - #include "msm8916-pins.dtsi"
+99 -20
arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 + /* 3 + * msm8939-pm8916.dtsi describes common properties (e.g. regulator connections) 4 + * that apply to most devices that make use of the MSM8939 SoC and PM8916 PMIC. 5 + * Many regulators have a fixed purpose in the original reference design and 6 + * were rarely re-used for different purposes. Devices that deviate from the 7 + * typical reference design should not make use of this include and instead add 8 + * the necessary properties in the board-specific device tree. 9 + */ 2 10 3 11 #include "msm8939.dtsi" 4 12 #include "pm8916.dtsi" ··· 33 25 pll-supply = <&pm8916_l7>; 34 26 }; 35 27 28 + &pm8916_codec { 29 + vdd-cdc-io-supply = <&pm8916_l5>; 30 + vdd-cdc-tx-rx-cx-supply = <&pm8916_l5>; 31 + vdd-micbias-supply = <&pm8916_l13>; 32 + }; 33 + 36 34 &rpm_requests { 37 - smd_rpm_regulators: regulators { 35 + pm8916_rpm_regulators: regulators { 38 36 compatible = "qcom,rpm-pm8916-regulators"; 37 + vdd_l1_l2_l3-supply = <&pm8916_s3>; 38 + vdd_l4_l5_l6-supply = <&pm8916_s4>; 39 + vdd_l7-supply = <&pm8916_s4>; 39 40 40 41 /* pm8916_s1 is managed by rpmpd (MSM8939_VDDMDCX) */ 41 42 /* pm8916_s2 is managed by rpmpd (MSM8939_VDDCX) */ 42 - pm8916_s3: s3 {}; 43 - pm8916_s4: s4 {}; 43 + pm8916_s3: s3 { 44 + regulator-min-microvolt = <1250000>; 45 + regulator-max-microvolt = <1350000>; 46 + regulator-always-on; /* Needed for L2 */ 47 + }; 48 + pm8916_s4: s4 { 49 + regulator-min-microvolt = <1850000>; 50 + regulator-max-microvolt = <2150000>; 51 + regulator-always-on; /* Needed for L5/L7 */ 52 + }; 44 53 45 - pm8916_l1: l1 {}; 46 - pm8916_l2: l2 {}; 54 + /* 55 + * Some of the regulators are unused or managed by another 56 + * processor (e.g. the modem). We should still define nodes for 57 + * them to ensure the vote from the application processor can be 58 + * dropped in case the regulators are already on during boot. 59 + * 60 + * The labels for these nodes are omitted on purpose because 61 + * boards should configure a proper voltage before using them. 62 + */ 63 + l1 {}; 64 + 65 + pm8916_l2: l2 { 66 + regulator-min-microvolt = <1200000>; 67 + regulator-max-microvolt = <1200000>; 68 + regulator-always-on; /* Needed for LPDDR RAM */ 69 + }; 70 + 47 71 /* pm8916_l3 is managed by rpmpd (MSM8939_VDDMX) */ 48 - pm8916_l4: l4 {}; 49 - pm8916_l5: l5 {}; 50 - pm8916_l6: l6 {}; 51 - pm8916_l7: l7 {}; 52 - pm8916_l8: l8 {}; 53 - pm8916_l9: l9 {}; 54 - pm8916_l10: l10 {}; 55 - pm8916_l11: l11 {}; 56 - pm8916_l12: l12 {}; 57 - pm8916_l13: l13 {}; 58 - pm8916_l14: l14 {}; 59 - pm8916_l15: l15 {}; 60 - pm8916_l16: l16 {}; 61 - pm8916_l17: l17 {}; 62 - pm8916_l18: l18 {}; 72 + 73 + l4 {}; 74 + 75 + pm8916_l5: l5 { 76 + regulator-min-microvolt = <1800000>; 77 + regulator-max-microvolt = <1800000>; 78 + regulator-always-on; /* Needed for most digital I/O */ 79 + }; 80 + 81 + pm8916_l6: l6 { 82 + regulator-min-microvolt = <1800000>; 83 + regulator-max-microvolt = <1800000>; 84 + }; 85 + 86 + pm8916_l7: l7 { 87 + regulator-min-microvolt = <1800000>; 88 + regulator-max-microvolt = <1800000>; 89 + regulator-always-on; /* Needed for CPU PLL */ 90 + }; 91 + 92 + pm8916_l8: l8 { 93 + regulator-min-microvolt = <2900000>; 94 + regulator-max-microvolt = <2900000>; 95 + }; 96 + 97 + pm8916_l9: l9 { 98 + regulator-min-microvolt = <3300000>; 99 + regulator-max-microvolt = <3300000>; 100 + }; 101 + 102 + l10 {}; 103 + 104 + pm8916_l11: l11 { 105 + regulator-min-microvolt = <2950000>; 106 + regulator-max-microvolt = <2950000>; 107 + regulator-allow-set-load; 108 + regulator-system-load = <200000>; 109 + }; 110 + 111 + pm8916_l12: l12 { 112 + regulator-min-microvolt = <1800000>; 113 + regulator-max-microvolt = <2950000>; 114 + }; 115 + 116 + pm8916_l13: l13 { 117 + regulator-min-microvolt = <3075000>; 118 + regulator-max-microvolt = <3075000>; 119 + }; 120 + 121 + l14 {}; 122 + l15 {}; 123 + l16 {}; 124 + l17 {}; 125 + l18 {}; 63 126 }; 64 127 }; 65 128
+9 -104
arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts
··· 43 43 }; 44 44 45 45 &tlmm { 46 + sdc2_cd_default: sdc2-cd-default-state { 47 + pins = "gpio38"; 48 + function = "gpio"; 49 + drive-strength = <2>; 50 + bias-pull-up; 51 + }; 52 + 46 53 usb_id_default: usb-id-default-state { 47 54 pins = "gpio110"; 48 55 function = "gpio"; ··· 58 51 }; 59 52 }; 60 53 61 - &smd_rpm_regulators { 62 - vdd_l1_l2_l3-supply = <&pm8916_s3>; 63 - vdd_l4_l5_l6-supply = <&pm8916_s4>; 64 - vdd_l7-supply = <&pm8916_s4>; 65 - 66 - pm8916_s3: s3 { 67 - regulator-min-microvolt = <1200000>; 68 - regulator-max-microvolt = <1300000>; 69 - }; 70 - 71 - pm8916_s4: s4 { 72 - regulator-min-microvolt = <1800000>; 73 - regulator-max-microvolt = <2100000>; 74 - }; 75 - 76 - pm8916_l2: l2 { 77 - regulator-min-microvolt = <1200000>; 78 - regulator-max-microvolt = <1200000>; 79 - }; 80 - 81 - pm8916_l4: l4 { 82 - regulator-min-microvolt = <2050000>; 83 - regulator-max-microvolt = <2050000>; 84 - }; 85 - 86 - pm8916_l5: l5 { 87 - regulator-min-microvolt = <1800000>; 88 - regulator-max-microvolt = <1800000>; 89 - }; 90 - 91 - pm8916_l6: l6 { 92 - regulator-min-microvolt = <1800000>; 93 - regulator-max-microvolt = <1800000>; 94 - regulator-always-on; 95 - }; 96 - 97 - pm8916_l7: l7 { 98 - regulator-min-microvolt = <1800000>; 99 - regulator-max-microvolt = <1800000>; 100 - }; 101 - 102 - pm8916_l8: l8 { 103 - regulator-min-microvolt = <2850000>; 104 - regulator-max-microvolt = <2900000>; 105 - }; 106 - 107 - pm8916_l9: l9 { 108 - regulator-min-microvolt = <3300000>; 109 - regulator-max-microvolt = <3300000>; 110 - }; 111 - 112 - pm8916_l10: l10 { 113 - regulator-min-microvolt = <3300000>; 114 - regulator-max-microvolt = <3300000>; 115 - }; 116 - 117 - pm8916_l11: l11 { 118 - regulator-min-microvolt = <1800000>; 119 - regulator-max-microvolt = <3300000>; 120 - regulator-system-load = <200000>; 121 - regulator-allow-set-load; 122 - }; 123 - 124 - pm8916_l12: l12 { 125 - regulator-min-microvolt = <1800000>; 126 - regulator-max-microvolt = <3300000>; 127 - }; 128 - 129 - pm8916_l13: l13 { 130 - regulator-min-microvolt = <3075000>; 131 - regulator-max-microvolt = <3075000>; 132 - }; 133 - 134 - pm8916_l14: l14 { 135 - regulator-min-microvolt = <1800000>; 136 - regulator-max-microvolt = <3300000>; 137 - }; 138 - 139 - pm8916_l15: l15 { 140 - regulator-min-microvolt = <1800000>; 141 - regulator-max-microvolt = <3300000>; 142 - }; 143 - 144 - pm8916_l16: l16 { 145 - regulator-min-microvolt = <1800000>; 146 - regulator-max-microvolt = <3300000>; 147 - }; 148 - 149 - pm8916_l17: l17 { 150 - regulator-min-microvolt = <2850000>; 151 - regulator-max-microvolt = <2850000>; 152 - }; 153 - 154 - pm8916_l18: l18 { 155 - regulator-min-microvolt = <2700000>; 156 - regulator-max-microvolt = <2700000>; 157 - }; 158 - }; 159 - 160 54 &sdhc_1 { 161 - pinctrl-0 = <&sdc1_default_state>; 162 - pinctrl-1 = <&sdc1_sleep_state>; 163 - pinctrl-names = "default", "sleep"; 164 55 status = "okay"; 165 56 }; 166 57 167 58 &sdhc_2 { 168 - pinctrl-0 = <&sdc2_default_state>; 169 - pinctrl-1 = <&sdc2_sleep_state>; 59 + pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 60 + pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 170 61 pinctrl-names = "default", "sleep"; 171 62 cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>; 172 63 status = "okay";
+89 -105
arch/arm64/boot/dts/qcom/msm8939.dtsi
··· 969 969 bias-disable; 970 970 }; 971 971 972 - cdc_pdm_lines_default: pdm-lines-default-state { 972 + cdc_dmic_default: cdc-dmic-default-state { 973 + clk-pins { 974 + pins = "gpio0"; 975 + function = "dmic0_clk"; 976 + drive-strength = <8>; 977 + }; 978 + 979 + data-pins { 980 + pins = "gpio1"; 981 + function = "dmic0_data"; 982 + drive-strength = <8>; 983 + }; 984 + }; 985 + 986 + cdc_dmic_sleep: cdc-dmic-sleep-state { 987 + clk-pins { 988 + pins = "gpio0"; 989 + function = "dmic0_clk"; 990 + drive-strength = <2>; 991 + bias-disable; 992 + }; 993 + 994 + data-pins { 995 + pins = "gpio1"; 996 + function = "dmic0_data"; 997 + drive-strength = <2>; 998 + bias-disable; 999 + }; 1000 + }; 1001 + 1002 + cdc_pdm_default: cdc-pdm-default-state { 973 1003 pins = "gpio63", "gpio64", "gpio65", "gpio66", 974 1004 "gpio67", "gpio68"; 975 1005 function = "cdc_pdm0"; ··· 1007 977 bias-disable; 1008 978 }; 1009 979 1010 - cdc_pdm_lines_sleep: pdm-lines-suspend-state { 980 + cdc_pdm_sleep: cdc-pdm-sleep-state { 1011 981 pins = "gpio63", "gpio64", "gpio65", "gpio66", 1012 982 "gpio67", "gpio68"; 1013 983 function = "cdc_pdm0"; ··· 1015 985 bias-pull-down; 1016 986 }; 1017 987 1018 - cdc_dmic_lines_act: cdc-dmic-lines-on-state { 1019 - clk-pins { 1020 - pins = "gpio0"; 1021 - function = "dmic0_clk"; 1022 - drive-strength = <8>; 1023 - }; 1024 - 1025 - data-pins { 1026 - pins = "gpio1"; 1027 - function = "dmic0_data"; 1028 - drive-strength = <8>; 1029 - }; 988 + pri_mi2s_default: mi2s-pri-default-state { 989 + pins = "gpio113", "gpio114", "gpio115", "gpio116"; 990 + function = "pri_mi2s"; 991 + drive-strength = <8>; 992 + bias-disable; 1030 993 }; 1031 994 1032 - cdc_dmic_lines_sus: cdc-dmic-lines-off-state { 1033 - clk-pins { 1034 - pins = "gpio0"; 1035 - function = "dmic0_clk"; 1036 - drive-strength = <2>; 1037 - bias-disable; 1038 - }; 1039 - 1040 - data-pins { 1041 - pins = "gpio1"; 1042 - function = "dmic0_data"; 1043 - drive-strength = <2>; 1044 - bias-disable; 1045 - }; 995 + pri_mi2s_sleep: mi2s-pri-sleep-state { 996 + pins = "gpio113", "gpio114", "gpio115", "gpio116"; 997 + function = "pri_mi2s"; 998 + drive-strength = <2>; 999 + bias-disable; 1046 1000 }; 1047 1001 1048 - ext-mclk-tlmm-lines-state { 1049 - ext_mclk_tlmm_lines_act: mclk-lines-on-pins { 1050 - pins = "gpio116"; 1051 - function = "pri_mi2s"; 1052 - drive-strength = <8>; 1053 - bias-disable; 1054 - }; 1055 - 1056 - ext_mclk_tlmm_lines_sus: mclk-lines-off-pins { 1057 - pins = "gpio116"; 1058 - function = "pri_mi2s"; 1059 - drive-strength = <2>; 1060 - bias-disable; 1061 - }; 1002 + pri_mi2s_mclk_default: mi2s-pri-mclk-default-state { 1003 + pins = "gpio116"; 1004 + function = "pri_mi2s"; 1005 + drive-strength = <8>; 1006 + bias-disable; 1062 1007 }; 1063 1008 1064 - ext-pri-tlmm-lines-state { 1065 - ext_pri_tlmm_lines_act: ext-pa-on-pins { 1066 - pins = "gpio113", "gpio114", "gpio115", "gpio116"; 1067 - function = "pri_mi2s"; 1068 - drive-strength = <8>; 1069 - bias-disable; 1070 - }; 1071 - 1072 - ext_pri_tlmm_lines_sus: ext-pa-off-pins { 1073 - pins = "gpio113", "gpio114", "gpio115", "gpio116"; 1074 - function = "pri_mi2s"; 1075 - drive-strength = <2>; 1076 - bias-disable; 1077 - }; 1009 + pri_mi2s_mclk_sleep: mi2s-pri-mclk-sleep-state { 1010 + pins = "gpio116"; 1011 + function = "pri_mi2s"; 1012 + drive-strength = <2>; 1013 + bias-disable; 1078 1014 }; 1079 1015 1080 - ext-pri-ws-line-state { 1081 - ext_pri_ws_act: ext-pa-on-pins { 1082 - pins = "gpio110"; 1083 - function = "pri_mi2s_ws"; 1084 - drive-strength = <8>; 1085 - bias-disable; 1086 - }; 1087 - 1088 - ext_pri_ws_sus: ext-pa-off-pins { 1089 - pins = "gpio110"; 1090 - function = "pri_mi2s_ws"; 1091 - drive-strength = <2>; 1092 - bias-disable; 1093 - }; 1016 + pri_mi2s_ws_default: mi2s-pri-ws-default-state { 1017 + pins = "gpio110"; 1018 + function = "pri_mi2s_ws"; 1019 + drive-strength = <8>; 1020 + bias-disable; 1094 1021 }; 1095 1022 1096 - /* secondary Mi2S */ 1097 - ext-sec-tlmm-lines-state { 1098 - ext_sec_tlmm_lines_act: tlmm-lines-on-pins { 1099 - pins = "gpio112", "gpio117", "gpio118", "gpio119"; 1100 - function = "sec_mi2s"; 1101 - drive-strength = <8>; 1102 - bias-disable; 1103 - }; 1104 - 1105 - ext_sec_tlmm_lines_sus: tlmm-lines-off-pins { 1106 - pins = "gpio112", "gpio117", "gpio118", "gpio119"; 1107 - function = "sec_mi2s"; 1108 - drive-strength = <2>; 1109 - bias-disable; 1110 - }; 1023 + pri_mi2s_ws_sleep: mi2s-pri-ws-sleep-state { 1024 + pins = "gpio110"; 1025 + function = "pri_mi2s_ws"; 1026 + drive-strength = <2>; 1027 + bias-disable; 1111 1028 }; 1112 1029 1113 - sdc1_default_state: sdc1-default-state { 1030 + sec_mi2s_default: mi2s-sec-default-state { 1031 + pins = "gpio112", "gpio117", "gpio118", "gpio119"; 1032 + function = "sec_mi2s"; 1033 + drive-strength = <8>; 1034 + bias-disable; 1035 + }; 1036 + 1037 + sec_mi2s_sleep: mi2s-sec-sleep-state { 1038 + pins = "gpio112", "gpio117", "gpio118", "gpio119"; 1039 + function = "sec_mi2s"; 1040 + drive-strength = <2>; 1041 + bias-disable; 1042 + }; 1043 + 1044 + sdc1_default: sdc1-default-state { 1114 1045 clk-pins { 1115 1046 pins = "sdc1_clk"; 1116 1047 bias-disable; ··· 1091 1100 }; 1092 1101 }; 1093 1102 1094 - sdc1_sleep_state: sdc1-sleep-state { 1103 + sdc1_sleep: sdc1-sleep-state { 1095 1104 clk-pins { 1096 1105 pins = "sdc1_clk"; 1097 1106 bias-disable; ··· 1111 1120 }; 1112 1121 }; 1113 1122 1114 - sdc2_default_state: sdc2-default-state { 1123 + sdc2_default: sdc2-default-state { 1115 1124 clk-pins { 1116 1125 pins = "sdc2_clk"; 1117 1126 bias-disable; ··· 1129 1138 bias-pull-up; 1130 1139 drive-strength = <10>; 1131 1140 }; 1132 - 1133 - cd-pins { 1134 - pins = "gpio38"; 1135 - function = "gpio"; 1136 - drive-strength = <2>; 1137 - bias-pull-up; 1138 - }; 1139 1141 }; 1140 1142 1141 - sdc2_sleep_state: sdc2-sleep-state { 1143 + sdc2_sleep: sdc2-sleep-state { 1142 1144 clk-pins { 1143 1145 pins = "sdc2_clk"; 1144 1146 bias-disable; ··· 1149 1165 bias-pull-up; 1150 1166 drive-strength = <2>; 1151 1167 }; 1152 - 1153 - cd-pins { 1154 - pins = "gpio38"; 1155 - function = "gpio"; 1156 - drive-strength = <2>; 1157 - bias-disable; 1158 - }; 1159 1168 }; 1160 1169 1161 - wcnss_pin_a: wcnss-active-state { 1170 + wcss_wlan_default: wcss-wlan-default-state { 1162 1171 pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44"; 1163 1172 function = "wcss_wlan"; 1164 1173 drive-strength = <6>; ··· 1608 1631 <&gcc GCC_CODEC_DIGCODEC_CLK>; 1609 1632 clock-names = "ahbix-clk", "mclk"; 1610 1633 #sound-dai-cells = <1>; 1634 + status = "disabled"; 1611 1635 }; 1612 1636 1613 1637 sdhc_1: mmc@7824900 { ··· 1624 1646 <&rpmcc RPM_SMD_XO_CLK_SRC>; 1625 1647 clock-names = "iface", "core", "xo"; 1626 1648 resets = <&gcc GCC_SDCC1_BCR>; 1649 + pinctrl-0 = <&sdc1_default>; 1650 + pinctrl-1 = <&sdc1_sleep>; 1651 + pinctrl-names = "default", "sleep"; 1627 1652 mmc-ddr-1_8v; 1628 1653 bus-width = <8>; 1629 1654 non-removable; ··· 1646 1665 <&rpmcc RPM_SMD_XO_CLK_SRC>; 1647 1666 clock-names = "iface", "core", "xo"; 1648 1667 resets = <&gcc GCC_SDCC2_BCR>; 1668 + pinctrl-0 = <&sdc2_default>; 1669 + pinctrl-1 = <&sdc2_sleep>; 1670 + pinctrl-names = "default", "sleep"; 1649 1671 bus-width = <4>; 1650 1672 status = "disabled"; 1651 1673 }; ··· 1964 1980 qcom,smem-state-names = "stop"; 1965 1981 1966 1982 pinctrl-names = "default"; 1967 - pinctrl-0 = <&wcnss_pin_a>; 1983 + pinctrl-0 = <&wcss_wlan_default>; 1968 1984 1969 1985 status = "disabled"; 1970 1986
+20 -20
arch/arm64/boot/dts/qcom/msm8953.dtsi
··· 764 764 #power-domain-cells = <1>; 765 765 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 766 766 <&sleep_clk>, 767 - <&dsi0_phy 1>, 768 - <&dsi0_phy 0>, 769 - <&dsi1_phy 1>, 770 - <&dsi1_phy 0>; 767 + <&mdss_dsi0_phy 1>, 768 + <&mdss_dsi0_phy 0>, 769 + <&mdss_dsi1_phy 1>, 770 + <&mdss_dsi1_phy 0>; 771 771 clock-names = "xo", 772 772 "sleep", 773 773 "dsi0pll", ··· 849 849 port@0 { 850 850 reg = <0>; 851 851 mdp5_intf1_out: endpoint { 852 - remote-endpoint = <&dsi0_in>; 852 + remote-endpoint = <&mdss_dsi0_in>; 853 853 }; 854 854 }; 855 855 856 856 port@1 { 857 857 reg = <1>; 858 858 mdp5_intf2_out: endpoint { 859 - remote-endpoint = <&dsi1_in>; 859 + remote-endpoint = <&mdss_dsi1_in>; 860 860 }; 861 861 }; 862 862 }; 863 863 }; 864 864 865 - dsi0: dsi@1a94000 { 865 + mdss_dsi0: dsi@1a94000 { 866 866 compatible = "qcom,msm8953-dsi-ctrl", "qcom,mdss-dsi-ctrl"; 867 867 reg = <0x01a94000 0x400>; 868 868 reg-names = "dsi_ctrl"; ··· 872 872 873 873 assigned-clocks = <&gcc BYTE0_CLK_SRC>, 874 874 <&gcc PCLK0_CLK_SRC>; 875 - assigned-clock-parents = <&dsi0_phy 0>, 876 - <&dsi0_phy 1>; 875 + assigned-clock-parents = <&mdss_dsi0_phy 0>, 876 + <&mdss_dsi0_phy 1>; 877 877 878 878 clocks = <&gcc GCC_MDSS_MDP_CLK>, 879 879 <&gcc GCC_MDSS_AHB_CLK>, ··· 888 888 "pixel", 889 889 "core"; 890 890 891 - phys = <&dsi0_phy>; 891 + phys = <&mdss_dsi0_phy>; 892 892 893 893 #address-cells = <1>; 894 894 #size-cells = <0>; ··· 901 901 902 902 port@0 { 903 903 reg = <0>; 904 - dsi0_in: endpoint { 904 + mdss_dsi0_in: endpoint { 905 905 remote-endpoint = <&mdp5_intf1_out>; 906 906 }; 907 907 }; 908 908 909 909 port@1 { 910 910 reg = <1>; 911 - dsi0_out: endpoint { 911 + mdss_dsi0_out: endpoint { 912 912 }; 913 913 }; 914 914 }; 915 915 }; 916 916 917 - dsi0_phy: phy@1a94400 { 917 + mdss_dsi0_phy: phy@1a94400 { 918 918 compatible = "qcom,dsi-phy-14nm-8953"; 919 919 reg = <0x01a94400 0x100>, 920 920 <0x01a94500 0x300>, ··· 932 932 status = "disabled"; 933 933 }; 934 934 935 - dsi1: dsi@1a96000 { 935 + mdss_dsi1: dsi@1a96000 { 936 936 compatible = "qcom,msm8953-dsi-ctrl", "qcom,mdss-dsi-ctrl"; 937 937 reg = <0x01a96000 0x400>; 938 938 reg-names = "dsi_ctrl"; ··· 942 942 943 943 assigned-clocks = <&gcc BYTE1_CLK_SRC>, 944 944 <&gcc PCLK1_CLK_SRC>; 945 - assigned-clock-parents = <&dsi1_phy 0>, 946 - <&dsi1_phy 1>; 945 + assigned-clock-parents = <&mdss_dsi1_phy 0>, 946 + <&mdss_dsi1_phy 1>; 947 947 948 948 clocks = <&gcc GCC_MDSS_MDP_CLK>, 949 949 <&gcc GCC_MDSS_AHB_CLK>, ··· 958 958 "pixel", 959 959 "core"; 960 960 961 - phys = <&dsi1_phy>; 961 + phys = <&mdss_dsi1_phy>; 962 962 963 963 status = "disabled"; 964 964 ··· 968 968 969 969 port@0 { 970 970 reg = <0>; 971 - dsi1_in: endpoint { 971 + mdss_dsi1_in: endpoint { 972 972 remote-endpoint = <&mdp5_intf2_out>; 973 973 }; 974 974 }; 975 975 976 976 port@1 { 977 977 reg = <1>; 978 - dsi1_out: endpoint { 978 + mdss_dsi1_out: endpoint { 979 979 }; 980 980 }; 981 981 }; 982 982 }; 983 983 984 - dsi1_phy: phy@1a96400 { 984 + mdss_dsi1_phy: phy@1a96400 { 985 985 compatible = "qcom,dsi-phy-14nm-8953"; 986 986 reg = <0x01a96400 0x100>, 987 987 <0x01a96500 0x300>,
+2 -2
arch/arm64/boot/dts/qcom/msm8996-mtp.dts
··· 24 24 status = "okay"; 25 25 }; 26 26 27 - &hdmi { 27 + &mdss_hdmi { 28 28 status = "okay"; 29 29 }; 30 30 31 - &hdmi_phy { 31 + &mdss_hdmi_phy { 32 32 status = "okay"; 33 33 };
+15 -15
arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi
··· 164 164 vdda-supply = <&vreg_l2a_1p25>; 165 165 }; 166 166 167 - &dsi0 { 168 - vdda-supply = <&vreg_l2a_1p25>; 169 - vcca-supply = <&vreg_l22a_3p0>; 170 - status = "okay"; 171 - }; 172 - 173 - &dsi0_out { 174 - data-lanes = <0 1 2 3>; 175 - }; 176 - 177 - &dsi0_phy { 178 - vcca-supply = <&vreg_l28a_0p925>; 179 - status = "okay"; 180 - }; 181 - 182 167 &hsusb_phy1 { 183 168 vdd-supply = <&vreg_l28a_0p925>; 184 169 vdda-pll-supply = <&vreg_l12a_1p8>; ··· 183 198 }; 184 199 185 200 &mdss { 201 + status = "okay"; 202 + }; 203 + 204 + &mdss_dsi0 { 205 + vdda-supply = <&vreg_l2a_1p25>; 206 + vcca-supply = <&vreg_l22a_3p0>; 207 + status = "okay"; 208 + }; 209 + 210 + &mdss_dsi0_out { 211 + data-lanes = <0 1 2 3>; 212 + }; 213 + 214 + &mdss_dsi0_phy { 215 + vcca-supply = <&vreg_l28a_0p925>; 186 216 status = "okay"; 187 217 }; 188 218
+11 -11
arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
··· 235 235 }; 236 236 }; 237 237 238 - &dsi0 { 238 + &gpu { 239 + status = "okay"; 240 + }; 241 + 242 + &mdss { 243 + status = "okay"; 244 + }; 245 + 246 + &mdss_dsi0 { 239 247 status = "okay"; 240 248 241 249 vdd-supply = <&vreg_l2a_1p25>; ··· 254 246 pinctrl-1 = <&mdss_dsi_sleep &mdss_te_sleep>; 255 247 }; 256 248 257 - &dsi0_out { 249 + &mdss_dsi0_out { 258 250 status = "okay"; 259 251 260 252 data-lanes = <0 1 2 3>; 261 253 }; 262 254 263 - &dsi0_phy { 255 + &mdss_dsi0_phy { 264 256 status = "okay"; 265 257 266 258 vcca-supply = <&vreg_l28a_0p925>; 267 - }; 268 - 269 - &gpu { 270 - status = "okay"; 271 - }; 272 - 273 - &mdss { 274 - status = "okay"; 275 259 }; 276 260 277 261 &mmcc {
+9 -9
arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts
··· 93 93 94 94 }; 95 95 96 - &dsi0 { 96 + &gpu { 97 + zap-shader { 98 + firmware-name = "qcom/msm8996/gemini/a530_zap.mbn"; 99 + }; 100 + }; 101 + 102 + &mdss_dsi0 { 97 103 status = "okay"; 98 104 99 105 vdd-supply = <&vreg_l2a_1p25>; ··· 118 112 119 113 port { 120 114 panel_in: endpoint { 121 - remote-endpoint = <&dsi0_out>; 115 + remote-endpoint = <&mdss_dsi0_out>; 122 116 }; 123 117 }; 124 118 }; 125 119 }; 126 120 127 - &dsi0_out { 121 + &mdss_dsi0_out { 128 122 remote-endpoint = <&panel_in>; 129 - }; 130 - 131 - &gpu { 132 - zap-shader { 133 - firmware-name = "qcom/msm8996/gemini/a530_zap.mbn"; 134 - }; 135 123 }; 136 124 137 125 &pmi8994_wled {
+26 -26
arch/arm64/boot/dts/qcom/msm8996.dtsi
··· 889 889 clocks = <&xo_board>, 890 890 <&gcc GPLL0>, 891 891 <&gcc GCC_MMSS_NOC_CFG_AHB_CLK>, 892 - <&dsi0_phy 1>, 893 - <&dsi0_phy 0>, 894 - <&dsi1_phy 1>, 895 - <&dsi1_phy 0>, 896 - <&hdmi_phy>; 892 + <&mdss_dsi0_phy 1>, 893 + <&mdss_dsi0_phy 0>, 894 + <&mdss_dsi1_phy 1>, 895 + <&mdss_dsi1_phy 0>, 896 + <&mdss_hdmi_phy>; 897 897 clock-names = "xo", 898 898 "gpll0", 899 899 "gcc_mmss_noc_cfg_ahb_clk", ··· 978 978 port@0 { 979 979 reg = <0>; 980 980 mdp5_intf3_out: endpoint { 981 - remote-endpoint = <&hdmi_in>; 981 + remote-endpoint = <&mdss_hdmi_in>; 982 982 }; 983 983 }; 984 984 985 985 port@1 { 986 986 reg = <1>; 987 987 mdp5_intf1_out: endpoint { 988 - remote-endpoint = <&dsi0_in>; 988 + remote-endpoint = <&mdss_dsi0_in>; 989 989 }; 990 990 }; 991 991 992 992 port@2 { 993 993 reg = <2>; 994 994 mdp5_intf2_out: endpoint { 995 - remote-endpoint = <&dsi1_in>; 995 + remote-endpoint = <&mdss_dsi1_in>; 996 996 }; 997 997 }; 998 998 }; 999 999 }; 1000 1000 1001 - dsi0: dsi@994000 { 1001 + mdss_dsi0: dsi@994000 { 1002 1002 compatible = "qcom,msm8996-dsi-ctrl", 1003 1003 "qcom,mdss-dsi-ctrl"; 1004 1004 reg = <0x00994000 0x400>; ··· 1022 1022 "pixel", 1023 1023 "core"; 1024 1024 assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>; 1025 - assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 1025 + assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; 1026 1026 1027 - phys = <&dsi0_phy>; 1027 + phys = <&mdss_dsi0_phy>; 1028 1028 status = "disabled"; 1029 1029 1030 1030 #address-cells = <1>; ··· 1036 1036 1037 1037 port@0 { 1038 1038 reg = <0>; 1039 - dsi0_in: endpoint { 1039 + mdss_dsi0_in: endpoint { 1040 1040 remote-endpoint = <&mdp5_intf1_out>; 1041 1041 }; 1042 1042 }; 1043 1043 1044 1044 port@1 { 1045 1045 reg = <1>; 1046 - dsi0_out: endpoint { 1046 + mdss_dsi0_out: endpoint { 1047 1047 }; 1048 1048 }; 1049 1049 }; 1050 1050 }; 1051 1051 1052 - dsi0_phy: phy@994400 { 1052 + mdss_dsi0_phy: phy@994400 { 1053 1053 compatible = "qcom,dsi-phy-14nm"; 1054 1054 reg = <0x00994400 0x100>, 1055 1055 <0x00994500 0x300>, ··· 1066 1066 status = "disabled"; 1067 1067 }; 1068 1068 1069 - dsi1: dsi@996000 { 1069 + mdss_dsi1: dsi@996000 { 1070 1070 compatible = "qcom,msm8996-dsi-ctrl", 1071 1071 "qcom,mdss-dsi-ctrl"; 1072 1072 reg = <0x00996000 0x400>; ··· 1090 1090 "pixel", 1091 1091 "core"; 1092 1092 assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>; 1093 - assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>; 1093 + assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; 1094 1094 1095 - phys = <&dsi1_phy>; 1095 + phys = <&mdss_dsi1_phy>; 1096 1096 status = "disabled"; 1097 1097 1098 1098 #address-cells = <1>; ··· 1104 1104 1105 1105 port@0 { 1106 1106 reg = <0>; 1107 - dsi1_in: endpoint { 1107 + mdss_dsi1_in: endpoint { 1108 1108 remote-endpoint = <&mdp5_intf2_out>; 1109 1109 }; 1110 1110 }; 1111 1111 1112 1112 port@1 { 1113 1113 reg = <1>; 1114 - dsi1_out: endpoint { 1114 + mdss_dsi1_out: endpoint { 1115 1115 }; 1116 1116 }; 1117 1117 }; 1118 1118 }; 1119 1119 1120 - dsi1_phy: phy@996400 { 1120 + mdss_dsi1_phy: phy@996400 { 1121 1121 compatible = "qcom,dsi-phy-14nm"; 1122 1122 reg = <0x00996400 0x100>, 1123 1123 <0x00996500 0x300>, ··· 1134 1134 status = "disabled"; 1135 1135 }; 1136 1136 1137 - hdmi: hdmi-tx@9a0000 { 1138 - compatible = "qcom,hdmi-tx-8996"; 1137 + mdss_hdmi: mdss_hdmi-tx@9a0000 { 1138 + compatible = "qcom,mdss_hdmi-tx-8996"; 1139 1139 reg = <0x009a0000 0x50c>, 1140 1140 <0x00070000 0x6158>, 1141 1141 <0x009e0000 0xfff>; ··· 1158 1158 "alt_iface", 1159 1159 "extp"; 1160 1160 1161 - phys = <&hdmi_phy>; 1161 + phys = <&mdss_hdmi_phy>; 1162 1162 #sound-dai-cells = <1>; 1163 1163 1164 1164 status = "disabled"; ··· 1169 1169 1170 1170 port@0 { 1171 1171 reg = <0>; 1172 - hdmi_in: endpoint { 1172 + mdss_hdmi_in: endpoint { 1173 1173 remote-endpoint = <&mdp5_intf3_out>; 1174 1174 }; 1175 1175 }; 1176 1176 }; 1177 1177 }; 1178 1178 1179 - hdmi_phy: phy@9a0600 { 1179 + mdss_hdmi_phy: phy@9a0600 { 1180 1180 #phy-cells = <0>; 1181 - compatible = "qcom,hdmi-phy-8996"; 1181 + compatible = "qcom,mdss_hdmi-phy-8996"; 1182 1182 reg = <0x009a0600 0x1c4>, 1183 1183 <0x009a0a00 0x124>, 1184 1184 <0x009a0c00 0x124>,
+9 -9
arch/arm64/boot/dts/qcom/msm8996pro-xiaomi-natrium.dts
··· 39 39 }; 40 40 }; 41 41 42 - &dsi0 { 42 + &gpu { 43 + zap-shader { 44 + firmware-name = "qcom/msm8996/natrium/a530_zap.mbn"; 45 + }; 46 + }; 47 + 48 + &mdss_dsi0 { 43 49 status = "okay"; 44 50 45 51 vdda-supply = <&vreg_l2a_1p25>; ··· 63 57 64 58 port { 65 59 panel_in: endpoint { 66 - remote-endpoint = <&dsi0_out>; 60 + remote-endpoint = <&mdss_dsi0_out>; 67 61 }; 68 62 }; 69 63 }; 70 64 }; 71 65 72 - &dsi0_out { 66 + &mdss_dsi0_out { 73 67 remote-endpoint = <&panel_in>; 74 - }; 75 - 76 - &gpu { 77 - zap-shader { 78 - firmware-name = "qcom/msm8996/natrium/a530_zap.mbn"; 79 - }; 80 68 }; 81 69 82 70 &mss_pil {
+51
arch/arm64/boot/dts/qcom/msm8996pro.dtsi
··· 24 24 opp-hz = /bits/ 64 <307200000>; 25 25 opp-supported-hw = <0x70>; 26 26 clock-latency-ns = <200000>; 27 + opp-peak-kBps = <192000>; 27 28 }; 28 29 opp-384000000 { 29 30 opp-hz = /bits/ 64 <384000000>; 30 31 opp-supported-hw = <0x70>; 31 32 clock-latency-ns = <200000>; 33 + opp-peak-kBps = <192000>; 32 34 }; 33 35 opp-460800000 { 34 36 opp-hz = /bits/ 64 <460800000>; 35 37 opp-supported-hw = <0x70>; 36 38 clock-latency-ns = <200000>; 39 + opp-peak-kBps = <192000>; 37 40 }; 38 41 opp-537600000 { 39 42 opp-hz = /bits/ 64 <537600000>; 40 43 opp-supported-hw = <0x70>; 41 44 clock-latency-ns = <200000>; 45 + opp-peak-kBps = <192000>; 42 46 }; 43 47 opp-614400000 { 44 48 opp-hz = /bits/ 64 <614400000>; 45 49 opp-supported-hw = <0x70>; 46 50 clock-latency-ns = <200000>; 51 + opp-peak-kBps = <192000>; 47 52 }; 48 53 opp-691200000 { 49 54 opp-hz = /bits/ 64 <691200000>; 50 55 opp-supported-hw = <0x70>; 51 56 clock-latency-ns = <200000>; 57 + opp-peak-kBps = <307200>; 52 58 }; 53 59 opp-768000000 { 54 60 opp-hz = /bits/ 64 <768000000>; 55 61 opp-supported-hw = <0x70>; 56 62 clock-latency-ns = <200000>; 63 + opp-peak-kBps = <307200>; 57 64 }; 58 65 opp-844800000 { 59 66 opp-hz = /bits/ 64 <844800000>; 60 67 opp-supported-hw = <0x70>; 61 68 clock-latency-ns = <200000>; 69 + opp-peak-kBps = <384000>; 62 70 }; 63 71 opp-902400000 { 64 72 opp-hz = /bits/ 64 <902400000>; 65 73 opp-supported-hw = <0x70>; 66 74 clock-latency-ns = <200000>; 75 + opp-peak-kBps = <441600>; 67 76 }; 68 77 opp-979200000 { 69 78 opp-hz = /bits/ 64 <979200000>; 70 79 opp-supported-hw = <0x70>; 71 80 clock-latency-ns = <200000>; 81 + opp-peak-kBps = <537600>; 72 82 }; 73 83 opp-1056000000 { 74 84 opp-hz = /bits/ 64 <1056000000>; 75 85 opp-supported-hw = <0x70>; 76 86 clock-latency-ns = <200000>; 87 + opp-peak-kBps = <614400>; 77 88 }; 78 89 opp-1132800000 { 79 90 opp-hz = /bits/ 64 <1132800000>; 80 91 opp-supported-hw = <0x70>; 81 92 clock-latency-ns = <200000>; 93 + opp-peak-kBps = <691200>; 82 94 }; 83 95 opp-1209600000 { 84 96 opp-hz = /bits/ 64 <1209600000>; 85 97 opp-supported-hw = <0x70>; 86 98 clock-latency-ns = <200000>; 99 + opp-peak-kBps = <768000>; 87 100 }; 88 101 opp-1286400000 { 89 102 opp-hz = /bits/ 64 <1286400000>; 90 103 opp-supported-hw = <0x70>; 91 104 clock-latency-ns = <200000>; 105 + opp-peak-kBps = <844800>; 92 106 }; 93 107 opp-1363200000 { 94 108 opp-hz = /bits/ 64 <1363200000>; 95 109 opp-supported-hw = <0x70>; 96 110 clock-latency-ns = <200000>; 111 + opp-peak-kBps = <902400>; 97 112 }; 98 113 opp-1440000000 { 99 114 opp-hz = /bits/ 64 <1440000000>; 100 115 opp-supported-hw = <0x70>; 101 116 clock-latency-ns = <200000>; 117 + opp-peak-kBps = <979200>; 102 118 }; 103 119 opp-1516800000 { 104 120 opp-hz = /bits/ 64 <1516800000>; 105 121 opp-supported-hw = <0x70>; 106 122 clock-latency-ns = <200000>; 123 + opp-peak-kBps = <1132800>; 107 124 }; 108 125 opp-1593600000 { 109 126 opp-hz = /bits/ 64 <1593600000>; 110 127 opp-supported-hw = <0x70>; 111 128 clock-latency-ns = <200000>; 129 + opp-peak-kBps = <1190400>; 112 130 }; 113 131 opp-1996800000 { 114 132 opp-hz = /bits/ 64 <1996800000>; 115 133 opp-supported-hw = <0x20>; 116 134 clock-latency-ns = <200000>; 135 + opp-peak-kBps = <1516800>; 117 136 }; 118 137 opp-2188800000 { 119 138 opp-hz = /bits/ 64 <2188800000>; 120 139 opp-supported-hw = <0x10>; 121 140 clock-latency-ns = <200000>; 141 + opp-peak-kBps = <1593600>; 122 142 }; 123 143 }; 124 144 ··· 151 131 opp-hz = /bits/ 64 <307200000>; 152 132 opp-supported-hw = <0x70>; 153 133 clock-latency-ns = <200000>; 134 + opp-peak-kBps = <192000>; 154 135 }; 155 136 opp-384000000 { 156 137 opp-hz = /bits/ 64 <384000000>; 157 138 opp-supported-hw = <0x70>; 158 139 clock-latency-ns = <200000>; 140 + opp-peak-kBps = <192000>; 159 141 }; 160 142 opp-460800000 { 161 143 opp-hz = /bits/ 64 <460800000>; 162 144 opp-supported-hw = <0x70>; 163 145 clock-latency-ns = <200000>; 146 + opp-peak-kBps = <192000>; 164 147 }; 165 148 opp-537600000 { 166 149 opp-hz = /bits/ 64 <537600000>; 167 150 opp-supported-hw = <0x70>; 168 151 clock-latency-ns = <200000>; 152 + opp-peak-kBps = <192000>; 169 153 }; 170 154 opp-614400000 { 171 155 opp-hz = /bits/ 64 <614400000>; 172 156 opp-supported-hw = <0x70>; 173 157 clock-latency-ns = <200000>; 158 + opp-peak-kBps = <192000>; 174 159 }; 175 160 opp-691200000 { 176 161 opp-hz = /bits/ 64 <691200000>; 177 162 opp-supported-hw = <0x70>; 178 163 clock-latency-ns = <200000>; 164 + opp-peak-kBps = <307200>; 179 165 }; 180 166 opp-748800000 { 181 167 opp-hz = /bits/ 64 <748800000>; 182 168 opp-supported-hw = <0x70>; 183 169 clock-latency-ns = <200000>; 170 + opp-peak-kBps = <307200>; 184 171 }; 185 172 opp-825600000 { 186 173 opp-hz = /bits/ 64 <825600000>; 187 174 opp-supported-hw = <0x70>; 188 175 clock-latency-ns = <200000>; 176 + opp-peak-kBps = <384000>; 189 177 }; 190 178 opp-902400000 { 191 179 opp-hz = /bits/ 64 <902400000>; 192 180 opp-supported-hw = <0x70>; 193 181 clock-latency-ns = <200000>; 182 + opp-peak-kBps = <441600>; 194 183 }; 195 184 opp-979200000 { 196 185 opp-hz = /bits/ 64 <979200000>; 197 186 opp-supported-hw = <0x70>; 198 187 clock-latency-ns = <200000>; 188 + opp-peak-kBps = <441600>; 199 189 }; 200 190 opp-1056000000 { 201 191 opp-hz = /bits/ 64 <1056000000>; 202 192 opp-supported-hw = <0x70>; 203 193 clock-latency-ns = <200000>; 194 + opp-peak-kBps = <537600>; 204 195 }; 205 196 opp-1132800000 { 206 197 opp-hz = /bits/ 64 <1132800000>; 207 198 opp-supported-hw = <0x70>; 208 199 clock-latency-ns = <200000>; 200 + opp-peak-kBps = <614400>; 209 201 }; 210 202 opp-1209600000 { 211 203 opp-hz = /bits/ 64 <1209600000>; 212 204 opp-supported-hw = <0x70>; 213 205 clock-latency-ns = <200000>; 206 + opp-peak-kBps = <691200>; 214 207 }; 215 208 opp-1286400000 { 216 209 opp-hz = /bits/ 64 <1286400000>; 217 210 opp-supported-hw = <0x70>; 218 211 clock-latency-ns = <200000>; 212 + opp-peak-kBps = <768000>; 219 213 }; 220 214 opp-1363200000 { 221 215 opp-hz = /bits/ 64 <1363200000>; 222 216 opp-supported-hw = <0x70>; 223 217 clock-latency-ns = <200000>; 218 + opp-peak-kBps = <844800>; 224 219 }; 225 220 opp-1440000000 { 226 221 opp-hz = /bits/ 64 <1440000000>; 227 222 opp-supported-hw = <0x70>; 228 223 clock-latency-ns = <200000>; 224 + opp-peak-kBps = <902400>; 229 225 }; 230 226 opp-1516800000 { 231 227 opp-hz = /bits/ 64 <1516800000>; 232 228 opp-supported-hw = <0x70>; 233 229 clock-latency-ns = <200000>; 230 + opp-peak-kBps = <979200>; 234 231 }; 235 232 opp-1593600000 { 236 233 opp-hz = /bits/ 64 <1593600000>; 237 234 opp-supported-hw = <0x70>; 238 235 clock-latency-ns = <200000>; 236 + opp-peak-kBps = <1056000>; 239 237 }; 240 238 opp-1670400000 { 241 239 opp-hz = /bits/ 64 <1670400000>; 242 240 opp-supported-hw = <0x70>; 243 241 clock-latency-ns = <200000>; 242 + opp-peak-kBps = <1132800>; 244 243 }; 245 244 opp-1747200000 { 246 245 opp-hz = /bits/ 64 <1747200000>; 247 246 opp-supported-hw = <0x70>; 248 247 clock-latency-ns = <200000>; 248 + opp-peak-kBps = <1190400>; 249 249 }; 250 250 opp-1824000000 { 251 251 opp-hz = /bits/ 64 <1824000000>; 252 252 opp-supported-hw = <0x70>; 253 253 clock-latency-ns = <200000>; 254 + opp-peak-kBps = <1286400>; 254 255 }; 255 256 opp-1900800000 { 256 257 opp-hz = /bits/ 64 <1900800000>; 257 258 opp-supported-hw = <0x70>; 258 259 clock-latency-ns = <200000>; 260 + opp-peak-kBps = <1363200>; 259 261 }; 260 262 opp-1977600000 { 261 263 opp-hz = /bits/ 64 <1977600000>; 262 264 opp-supported-hw = <0x30>; 263 265 clock-latency-ns = <200000>; 266 + opp-peak-kBps = <1440000>; 264 267 }; 265 268 opp-2054400000 { 266 269 opp-hz = /bits/ 64 <2054400000>; 267 270 opp-supported-hw = <0x30>; 268 271 clock-latency-ns = <200000>; 272 + opp-peak-kBps = <1516800>; 269 273 }; 270 274 opp-2150400000 { 271 275 opp-hz = /bits/ 64 <2150400000>; 272 276 opp-supported-hw = <0x30>; 273 277 clock-latency-ns = <200000>; 278 + opp-peak-kBps = <1593600>; 274 279 }; 275 280 opp-2246400000 { 276 281 opp-hz = /bits/ 64 <2246400000>; 277 282 opp-supported-hw = <0x10>; 278 283 clock-latency-ns = <200000>; 284 + opp-peak-kBps = <1593600>; 279 285 }; 280 286 opp-2342400000 { 281 287 opp-hz = /bits/ 64 <2342400000>; 282 288 opp-supported-hw = <0x10>; 283 289 clock-latency-ns = <200000>; 290 + opp-peak-kBps = <1593600>; 284 291 }; 285 292 }; 286 293 }; ··· 335 288 opp-supported-hw = <0x03>; 336 289 }; 337 290 /* The rest is inherited from msm8996 */ 291 + }; 292 + 293 + &cbf { 294 + compatible = "qcom,msm8996pro-cbf"; 338 295 };
-4
arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi
··· 279 279 }; 280 280 }; 281 281 282 - &pmi8998_rradc { 283 - status = "okay"; 284 - }; 285 - 286 282 &qusb2phy { 287 283 status = "okay"; 288 284
+10
arch/arm64/boot/dts/qcom/pm8550.dtsi
··· 61 61 reg = <0xee00>; 62 62 status = "disabled"; 63 63 }; 64 + 65 + pm8550_pwm: pwm { 66 + compatible = "qcom,pm8550-pwm", "qcom,pm8350c-pwm"; 67 + 68 + #address-cells = <1>; 69 + #size-cells = <0>; 70 + #pwm-cells = <2>; 71 + 72 + status = "disabled"; 73 + }; 64 74 }; 65 75 };
+20 -2
arch/arm64/boot/dts/qcom/pmi8998.dtsi
··· 9 9 #address-cells = <1>; 10 10 #size-cells = <0>; 11 11 12 + pmi8998_charger: charger@1000 { 13 + compatible = "qcom,pmi8998-charger"; 14 + reg = <0x1000>; 15 + 16 + interrupts = <0x2 0x13 0x4 IRQ_TYPE_EDGE_BOTH>, 17 + <0x2 0x12 0x2 IRQ_TYPE_EDGE_BOTH>, 18 + <0x2 0x16 0x1 IRQ_TYPE_EDGE_RISING>, 19 + <0x2 0x13 0x6 IRQ_TYPE_EDGE_RISING>; 20 + interrupt-names = "usb-plugin", 21 + "bat-ov", 22 + "wdog-bark", 23 + "usbin-icl-change"; 24 + 25 + io-channels = <&pmi8998_rradc 3>, 26 + <&pmi8998_rradc 4>; 27 + io-channel-names = "usbin_i", "usbin_v"; 28 + 29 + status = "disabled"; 30 + }; 31 + 12 32 pmi8998_gpios: gpio@c000 { 13 33 compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio"; 14 34 reg = <0xc000>; ··· 43 23 compatible = "qcom,pmi8998-rradc"; 44 24 reg = <0x4500>; 45 25 #io-channel-cells = <1>; 46 - 47 - status = "disabled"; 48 26 }; 49 27 }; 50 28
-1
arch/arm64/boot/dts/qcom/pmk8550.dtsi
··· 49 49 reg = <0x6100>, <0x6200>; 50 50 reg-names = "rtc", "alarm"; 51 51 interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>; 52 - status = "disabled"; 53 52 }; 54 53 55 54 pmk8550_sdam_2: nvram@7100 {
+61
arch/arm64/boot/dts/qcom/qcm2290.dtsi
··· 48 48 enable-method = "psci"; 49 49 next-level-cache = <&L2_0>; 50 50 qcom,freq-domain = <&cpufreq_hw 0>; 51 + power-domains = <&CPU_PD0>; 52 + power-domain-names = "psci"; 51 53 L2_0: l2-cache { 52 54 compatible = "cache"; 53 55 cache-level = <2>; ··· 66 64 enable-method = "psci"; 67 65 next-level-cache = <&L2_0>; 68 66 qcom,freq-domain = <&cpufreq_hw 0>; 67 + power-domains = <&CPU_PD1>; 68 + power-domain-names = "psci"; 69 69 }; 70 70 71 71 CPU2: cpu@2 { ··· 80 76 enable-method = "psci"; 81 77 next-level-cache = <&L2_0>; 82 78 qcom,freq-domain = <&cpufreq_hw 0>; 79 + power-domains = <&CPU_PD2>; 80 + power-domain-names = "psci"; 83 81 }; 84 82 85 83 CPU3: cpu@3 { ··· 94 88 enable-method = "psci"; 95 89 next-level-cache = <&L2_0>; 96 90 qcom,freq-domain = <&cpufreq_hw 0>; 91 + power-domains = <&CPU_PD3>; 92 + power-domain-names = "psci"; 97 93 }; 98 94 99 95 cpu-map { ··· 115 107 core3 { 116 108 cpu = <&CPU3>; 117 109 }; 110 + }; 111 + }; 112 + 113 + domain-idle-states { 114 + CLUSTER_SLEEP: cluster-sleep-0 { 115 + compatible = "domain-idle-state"; 116 + arm,psci-suspend-param = <0x41000043>; 117 + entry-latency-us = <800>; 118 + exit-latency-us = <2118>; 119 + min-residency-us = <7376>; 120 + }; 121 + }; 122 + 123 + idle-states { 124 + entry-method = "psci"; 125 + 126 + CPU_SLEEP: cpu-sleep-0 { 127 + compatible = "arm,idle-state"; 128 + idle-state-name = "power-collapse"; 129 + arm,psci-suspend-param = <0x40000003>; 130 + entry-latency-us = <290>; 131 + exit-latency-us = <376>; 132 + min-residency-us = <1182>; 133 + local-timer-stop; 118 134 }; 119 135 }; 120 136 }; ··· 166 134 psci { 167 135 compatible = "arm,psci-1.0"; 168 136 method = "smc"; 137 + 138 + CPU_PD0: power-domain-cpu0 { 139 + #power-domain-cells = <0>; 140 + power-domains = <&CLUSTER_PD>; 141 + domain-idle-states = <&CPU_SLEEP>; 142 + }; 143 + 144 + CPU_PD1: power-domain-cpu1 { 145 + #power-domain-cells = <0>; 146 + power-domains = <&CLUSTER_PD>; 147 + domain-idle-states = <&CPU_SLEEP>; 148 + }; 149 + 150 + CPU_PD2: power-domain-cpu2 { 151 + #power-domain-cells = <0>; 152 + power-domains = <&CLUSTER_PD>; 153 + domain-idle-states = <&CPU_SLEEP>; 154 + }; 155 + 156 + CPU_PD3: power-domain-cpu3 { 157 + #power-domain-cells = <0>; 158 + power-domains = <&CLUSTER_PD>; 159 + domain-idle-states = <&CPU_SLEEP>; 160 + }; 161 + 162 + CLUSTER_PD: power-domain-cpu-cluster { 163 + #power-domain-cells = <0>; 164 + domain-idle-states = <&CLUSTER_SLEEP>; 165 + }; 169 166 }; 170 167 171 168 reserved_memory: reserved-memory {
+23
arch/arm64/boot/dts/qcom/qdu1000-idp.dts
··· 448 448 status = "okay"; 449 449 }; 450 450 451 + &sdhc { 452 + pinctrl-0 = <&sdc_on_state>; 453 + pinctrl-1 = <&sdc_off_state>; 454 + pinctrl-names = "default", "sleep"; 455 + 456 + cap-mmc-hw-reset; 457 + mmc-ddr-1_8v; 458 + mmc-hs200-1_8v; 459 + mmc-hs400-1_8v; 460 + mmc-hs400-enhanced-strobe; 461 + 462 + non-removable; 463 + no-sd; 464 + no-sdio; 465 + 466 + supports-cqe; 467 + 468 + vmmc-supply = <&vreg_l10a_2p95>; 469 + vqmmc-supply = <&vreg_l7a_1p8>; 470 + 471 + status = "okay"; 472 + }; 473 + 451 474 &uart7 { 452 475 status = "okay"; 453 476 };
+111
arch/arm64/boot/dts/qcom/qdu1000.dtsi
··· 842 842 #hwlock-cells = <1>; 843 843 }; 844 844 845 + sdhc: mmc@8804000 { 846 + compatible = "qcom,qdu1000-sdhci", "qcom,sdhci-msm-v5"; 847 + reg = <0x0 0x08804000 0x0 0x1000>, 848 + <0x0 0x08805000 0x0 0x1000>; 849 + reg-names = "hc", "cqhci"; 850 + 851 + interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>, 852 + <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; 853 + interrupt-names = "hc_irq", "pwr_irq"; 854 + 855 + clocks = <&gcc GCC_SDCC5_AHB_CLK>, 856 + <&gcc GCC_SDCC5_APPS_CLK>, 857 + <&rpmhcc RPMH_CXO_CLK>; 858 + clock-names = "iface", 859 + "core", 860 + "xo"; 861 + 862 + resets = <&gcc GCC_SDCC5_BCR>; 863 + 864 + interconnects = <&system_noc MASTER_SDCC_1 0 &mc_virt SLAVE_EBI1 0>, 865 + <&gem_noc MASTER_APPSS_PROC 0 &system_noc SLAVE_SDCC_2 0>; 866 + interconnect-names = "sdhc-ddr", "cpu-sdhc"; 867 + power-domains = <&rpmhpd QDU1000_CX>; 868 + operating-points-v2 = <&sdhc1_opp_table>; 869 + 870 + iommus = <&apps_smmu 0x80 0x0>; 871 + dma-coherent; 872 + 873 + bus-width = <8>; 874 + 875 + qcom,dll-config = <0x0007642c>; 876 + qcom,ddr-config = <0x80040868>; 877 + 878 + status = "disabled"; 879 + 880 + sdhc1_opp_table: opp-table { 881 + compatible = "operating-points-v2"; 882 + 883 + opp-384000000 { 884 + opp-hz = /bits/ 64 <384000000>; 885 + required-opps = <&rpmhpd_opp_nom>; 886 + opp-peak-kBps = <6528000 1652800>; 887 + opp-avg-kBps = <400000 0>; 888 + }; 889 + }; 890 + }; 891 + 845 892 pdc: interrupt-controller@b220000 { 846 893 compatible = "qcom,qdu1000-pdc", "qcom,pdc"; 847 894 reg = <0x0 0xb220000 0x0 0x30000>, <0x0 0x174000f0 0x0 0x64>; ··· 1147 1100 pins = "gpio31"; 1148 1101 function = "gpio"; 1149 1102 }; 1103 + 1104 + sdc_on_state: sdc-on-state { 1105 + clk-pins { 1106 + pins = "sdc1_clk"; 1107 + drive-strength = <16>; 1108 + bias-disable; 1109 + }; 1110 + 1111 + cmd-pins { 1112 + pins = "sdc1_cmd"; 1113 + drive-strength = <10>; 1114 + bias-pull-up; 1115 + }; 1116 + 1117 + data-pins { 1118 + pins = "sdc1_data"; 1119 + drive-strength = <10>; 1120 + bias-pull-up; 1121 + }; 1122 + 1123 + rclk-pins { 1124 + pins = "sdc1_rclk"; 1125 + bias-pull-down; 1126 + }; 1127 + }; 1128 + 1129 + sdc_off_state: sdc-off-state { 1130 + clk-pins { 1131 + pins = "sdc1_clk"; 1132 + drive-strength = <2>; 1133 + bias-disable; 1134 + }; 1135 + 1136 + cmd-pins { 1137 + pins = "sdc1_cmd"; 1138 + drive-strength = <2>; 1139 + bias-pull-up; 1140 + }; 1141 + 1142 + data-pins { 1143 + pins = "sdc1_data"; 1144 + drive-strength = <2>; 1145 + bias-pull-up; 1146 + }; 1147 + 1148 + rclk-pins { 1149 + pins = "sdc1_rclk"; 1150 + bias-pull-down; 1151 + }; 1152 + }; 1153 + }; 1154 + 1155 + sram@14680000 { 1156 + compatible = "qcom,qdu1000-imem", "syscon", "simple-mfd"; 1157 + reg = <0 0x14680000 0 0x1000>; 1158 + ranges = <0 0 0x14680000 0x1000>; 1159 + #address-cells = <1>; 1160 + #size-cells = <1>; 1161 + 1162 + pil-reloc@94c { 1163 + compatible = "qcom,pil-reloc-info"; 1164 + reg = <0x94c 0xc8>; 1165 + }; 1150 1166 }; 1151 1167 1152 1168 apps_smmu: iommu@15000000 { ··· 1352 1242 qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>, 1353 1243 <WAKE_TCS 3>, <CONTROL_TCS 0>; 1354 1244 label = "apps_rsc"; 1245 + power-domains = <&CLUSTER_PD>; 1355 1246 1356 1247 apps_bcm_voter: bcm-voter { 1357 1248 compatible = "qcom,bcm-voter";
+37
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
··· 7 7 8 8 #include <dt-bindings/leds/common.h> 9 9 #include "sm4250.dtsi" 10 + #include "pm6125.dtsi" 10 11 11 12 / { 12 13 model = "Qualcomm Technologies, Inc. QRB4210 RB2"; ··· 26 25 compatible = "fixed-clock"; 27 26 clock-frequency = <40000000>; 28 27 #clock-cells = <0>; 28 + }; 29 + }; 30 + 31 + gpio-keys { 32 + compatible = "gpio-keys"; 33 + label = "gpio-keys"; 34 + 35 + pinctrl-0 = <&kypd_vol_up_n>; 36 + pinctrl-names = "default"; 37 + 38 + key-volume-up { 39 + label = "Volume Up"; 40 + linux,code = <KEY_VOLUMEUP>; 41 + gpios = <&pm6125_gpios 5 GPIO_ACTIVE_LOW>; 42 + debounce-interval = <15>; 43 + linux,can-disable; 44 + wakeup-source; 29 45 }; 30 46 }; 31 47 ··· 234 216 }; 235 217 236 218 &mdss_dsi0_phy { 219 + status = "okay"; 220 + }; 221 + 222 + &pm6125_gpios { 223 + kypd_vol_up_n: kypd-vol-up-n-state { 224 + pins = "gpio5"; 225 + function = "normal"; 226 + power-source = <0>; 227 + bias-pull-up; 228 + input-enable; 229 + }; 230 + }; 231 + 232 + &pon_pwrkey { 233 + status = "okay"; 234 + }; 235 + 236 + &pon_resin { 237 + linux,code = <KEY_VOLUMEDOWN>; 237 238 status = "okay"; 238 239 }; 239 240
+23 -27
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
··· 535 535 firmware-name = "qcom/sm8250/cdsp.mbn"; 536 536 }; 537 537 538 - &dsi0 { 539 - status = "okay"; 540 - vdda-supply = <&vreg_l9a_1p2>; 541 - 542 - #if 0 543 - qcom,dual-dsi-mode; 544 - qcom,master-dsi; 545 - #endif 546 - 547 - ports { 548 - port@1 { 549 - endpoint { 550 - remote-endpoint = <&lt9611_a>; 551 - data-lanes = <0 1 2 3>; 552 - }; 553 - }; 554 - }; 555 - }; 556 - 557 - &dsi0_phy { 558 - status = "okay"; 559 - vdds-supply = <&vreg_l5a_0p88>; 560 - }; 561 - 562 538 &gmu { 563 539 status = "okay"; 564 540 }; ··· 580 604 reg = <0>; 581 605 582 606 lt9611_a: endpoint { 583 - remote-endpoint = <&dsi0_out>; 607 + remote-endpoint = <&mdss_dsi0_out>; 584 608 }; 585 609 }; 586 610 ··· 589 613 reg = <1>; 590 614 591 615 lt9611_b: endpoint { 592 - remote-endpoint = <&dsi1_out>; 616 + remote-endpoint = <&mdss_dsi1_out>; 593 617 }; 594 618 }; 595 619 #endif ··· 615 639 status = "okay"; 616 640 }; 617 641 618 - &mdss_mdp { 642 + &mdss_dsi0 { 619 643 status = "okay"; 644 + vdda-supply = <&vreg_l9a_1p2>; 645 + 646 + #if 0 647 + qcom,dual-dsi-mode; 648 + qcom,master-dsi; 649 + #endif 650 + 651 + ports { 652 + port@1 { 653 + endpoint { 654 + remote-endpoint = <&lt9611_a>; 655 + data-lanes = <0 1 2 3>; 656 + }; 657 + }; 658 + }; 659 + }; 660 + 661 + &mdss_dsi0_phy { 662 + status = "okay"; 663 + vdds-supply = <&vreg_l5a_0p88>; 620 664 }; 621 665 622 666 &pm8150_adc {
+1
arch/arm64/boot/dts/qcom/sa8540p-ride.dts
··· 171 171 172 172 /* Marvell 88EA1512 */ 173 173 rgmii_phy: phy@8 { 174 + compatible = "ethernet-phy-id0141.0dd4"; 174 175 reg = <0x8>; 175 176 176 177 interrupts-extended = <&tlmm 127 IRQ_TYPE_EDGE_FALLING>;
+8
arch/arm64/boot/dts/qcom/sa8540p.dtsi
··· 167 167 }; 168 168 }; 169 169 170 + &gpucc { 171 + status = "disabled"; 172 + }; 173 + 174 + &gpu_smmu { 175 + status = "disabled"; 176 + }; 177 + 170 178 &pcie2a { 171 179 compatible = "qcom,pcie-sa8540p"; 172 180
+16 -16
arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts
··· 143 143 }; 144 144 }; 145 145 146 - &dsi0 { 147 - vdda-supply = <&vreg_l3c_1p2>; 148 - status = "okay"; 149 - }; 150 - 151 - &dsi0_out { 152 - remote-endpoint = <&sn65dsi86_in>; 153 - data-lanes = <0 1 2 3>; 154 - }; 155 - 156 - &dsi_phy { 157 - vdds-supply = <&vreg_l4a_0p8>; 158 - status = "okay"; 159 - }; 160 - 161 146 &i2c2 { 162 147 clock-frequency = <400000>; 163 148 status = "okay"; ··· 254 269 reg = <0>; 255 270 256 271 sn65dsi86_in: endpoint { 257 - remote-endpoint = <&dsi0_out>; 272 + remote-endpoint = <&mdss_dsi0_out>; 258 273 }; 259 274 }; 260 275 ··· 295 310 }; 296 311 297 312 &mdss { 313 + status = "okay"; 314 + }; 315 + 316 + &mdss_dsi0 { 317 + vdda-supply = <&vreg_l3c_1p2>; 318 + status = "okay"; 319 + }; 320 + 321 + &mdss_dsi0_out { 322 + remote-endpoint = <&sn65dsi86_in>; 323 + data-lanes = <0 1 2 3>; 324 + }; 325 + 326 + &mdss_dsi0_phy { 327 + vdds-supply = <&vreg_l4a_0p8>; 298 328 status = "okay"; 299 329 }; 300 330
+7 -7
arch/arm64/boot/dts/qcom/sc7180-idp.dts
··· 295 295 }; 296 296 }; 297 297 298 - &dsi0 { 298 + &mdss { 299 + status = "okay"; 300 + }; 301 + 302 + &mdss_dsi0 { 299 303 status = "okay"; 300 304 301 305 vdda-supply = <&vreg_l3c_1p2>; ··· 318 314 319 315 port { 320 316 panel0_in: endpoint { 321 - remote-endpoint = <&dsi0_out>; 317 + remote-endpoint = <&mdss_dsi0_out>; 322 318 }; 323 319 }; 324 320 }; ··· 333 329 }; 334 330 }; 335 331 336 - &dsi_phy { 332 + &mdss_dsi0_phy { 337 333 status = "okay"; 338 334 vdds-supply = <&vreg_l4a_0p8>; 339 - }; 340 - 341 - &mdss { 342 - status = "okay"; 343 335 }; 344 336 345 337 &qfprom {
+5 -5
arch/arm64/boot/dts/qcom/sc7180-trogdor-parade-ps8640.dtsi
··· 46 46 47 47 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */ 48 48 49 - &dsi0_out { 50 - remote-endpoint = <&ps8640_in>; 51 - }; 52 - 53 49 edp_brij_i2c: &i2c2 { 54 50 status = "okay"; 55 51 clock-frequency = <400000>; ··· 70 74 port@0 { 71 75 reg = <0>; 72 76 ps8640_in: endpoint { 73 - remote-endpoint = <&dsi0_out>; 77 + remote-endpoint = <&mdss_dsi0_out>; 74 78 }; 75 79 }; 76 80 ··· 96 100 }; 97 101 }; 98 102 }; 103 + }; 104 + 105 + &mdss_dsi0_out { 106 + remote-endpoint = <&ps8640_in>; 99 107 }; 100 108 101 109 &tlmm {
+1 -1
arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0.dts
··· 15 15 compatible = "google,quackingstick-sku1537", "qcom,sc7180"; 16 16 }; 17 17 18 - &dsi_phy { 18 + &mdss_dsi0_phy { 19 19 qcom,phy-rescode-offset-top = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>; 20 20 qcom,phy-rescode-offset-bot = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>; 21 21 qcom,phy-drive-ldo-level = <375>;
+30 -30
arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick.dtsi
··· 52 52 }; 53 53 }; 54 54 55 - &dsi0 { 56 - panel: panel@0 { 57 - /* Compatible will be filled in per-board */ 58 - reg = <0>; 59 - enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>; 60 - pinctrl-names = "default"; 61 - pinctrl-0 = <&lcd_rst>; 62 - avdd-supply = <&ppvar_lcd>; 63 - pp1800-supply = <&v1p8_disp>; 64 - pp3300-supply = <&pp3300_dx_edp>; 65 - backlight = <&backlight>; 66 - rotation = <270>; 67 - 68 - port { 69 - panel_in: endpoint { 70 - remote-endpoint = <&dsi0_out>; 71 - }; 72 - }; 73 - }; 74 - 75 - ports { 76 - port@1 { 77 - endpoint { 78 - remote-endpoint = <&panel_in>; 79 - data-lanes = <0 1 2 3>; 80 - }; 81 - }; 82 - }; 83 - }; 84 - 85 55 &gpio_keys { 86 56 status = "okay"; 87 57 }; ··· 73 103 hid-descr-addr = <0x0001>; 74 104 75 105 vdd-supply = <&pp3300_ts>; 106 + }; 107 + }; 108 + 109 + &mdss_dsi0 { 110 + panel: panel@0 { 111 + /* Compatible will be filled in per-board */ 112 + reg = <0>; 113 + enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>; 114 + pinctrl-names = "default"; 115 + pinctrl-0 = <&lcd_rst>; 116 + avdd-supply = <&ppvar_lcd>; 117 + pp1800-supply = <&v1p8_disp>; 118 + pp3300-supply = <&pp3300_dx_edp>; 119 + backlight = <&backlight>; 120 + rotation = <270>; 121 + 122 + port { 123 + panel_in: endpoint { 124 + remote-endpoint = <&mdss_dsi0_out>; 125 + }; 126 + }; 127 + }; 128 + 129 + ports { 130 + port@1 { 131 + endpoint { 132 + remote-endpoint = <&panel_in>; 133 + data-lanes = <0 1 2 3>; 134 + }; 135 + }; 76 136 }; 77 137 }; 78 138
+5 -5
arch/arm64/boot/dts/qcom/sc7180-trogdor-ti-sn65dsi86.dtsi
··· 27 27 28 28 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */ 29 29 30 - &dsi0_out { 31 - remote-endpoint = <&sn65dsi86_in>; 32 - }; 33 - 34 30 edp_brij_i2c: &i2c2 { 35 31 status = "okay"; 36 32 clock-frequency = <400000>; ··· 61 65 port@0 { 62 66 reg = <0>; 63 67 sn65dsi86_in: endpoint { 64 - remote-endpoint = <&dsi0_out>; 68 + remote-endpoint = <&mdss_dsi0_out>; 65 69 }; 66 70 }; 67 71 ··· 89 93 }; 90 94 }; 91 95 }; 96 + }; 97 + 98 + &mdss_dsi0_out { 99 + remote-endpoint = <&sn65dsi86_in>; 92 100 }; 93 101 94 102 &tlmm {
+1 -1
arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe.dts
··· 17 17 compatible = "google,wormdingler-sku1024", "qcom,sc7180"; 18 18 }; 19 19 20 - &dsi_phy { 20 + &mdss_dsi0_phy { 21 21 qcom,phy-rescode-offset-top = /bits/ 8 <31 31 31 31 (-32)>; 22 22 qcom,phy-rescode-offset-bot = /bits/ 8 <31 31 31 31 (-32)>; 23 23 qcom,phy-drive-ldo-level = <450>;
+31 -31
arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi
··· 110 110 }; 111 111 }; 112 112 113 - &dsi0 { 114 - 115 - panel: panel@0 { 116 - reg = <0>; 117 - enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>; 118 - pinctrl-names = "default"; 119 - pinctrl-0 = <&vdd_reset_1800>; 120 - avdd-supply = <&avdd_lcd>; 121 - avee-supply = <&avee_lcd>; 122 - pp1800-supply = <&v1p8_mipi>; 123 - pp3300-supply = <&pp3300_dx_edp>; 124 - backlight = <&backlight>; 125 - rotation = <270>; 126 - 127 - port { 128 - panel_in: endpoint { 129 - remote-endpoint = <&dsi0_out>; 130 - }; 131 - }; 132 - }; 133 - 134 - ports { 135 - port@1 { 136 - endpoint { 137 - remote-endpoint = <&panel_in>; 138 - data-lanes = <0 1 2 3>; 139 - }; 140 - }; 141 - }; 142 - }; 143 - 144 113 &i2c4 { 145 114 status = "okay"; 146 115 clock-frequency = <400000>; ··· 128 159 129 160 vdd-supply = <&pp3300_ts>; 130 161 vddl-supply = <&pp1800_ts>; 162 + }; 163 + }; 164 + 165 + &mdss_dsi0 { 166 + 167 + panel: panel@0 { 168 + reg = <0>; 169 + enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>; 170 + pinctrl-names = "default"; 171 + pinctrl-0 = <&vdd_reset_1800>; 172 + avdd-supply = <&avdd_lcd>; 173 + avee-supply = <&avee_lcd>; 174 + pp1800-supply = <&v1p8_mipi>; 175 + pp3300-supply = <&pp3300_dx_edp>; 176 + backlight = <&backlight>; 177 + rotation = <270>; 178 + 179 + port { 180 + panel_in: endpoint { 181 + remote-endpoint = <&mdss_dsi0_out>; 182 + }; 183 + }; 184 + }; 185 + 186 + ports { 187 + port@1 { 188 + endpoint { 189 + remote-endpoint = <&panel_in>; 190 + data-lanes = <0 1 2 3>; 191 + }; 192 + }; 131 193 }; 132 194 }; 133 195
+14 -14
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
··· 705 705 status = "disabled"; 706 706 }; 707 707 708 - &dsi0 { 709 - status = "okay"; 710 - vdda-supply = <&vdda_mipi_dsi0_1p2>; 711 - }; 712 - 713 - &dsi0_out { 714 - data-lanes = <0 1 2 3>; 715 - }; 716 - 717 - &dsi_phy { 718 - status = "okay"; 719 - vdds-supply = <&vdda_mipi_dsi0_pll>; 720 - }; 721 - 722 708 ap_sar_sensor_i2c: &i2c5 { 723 709 clock-frequency = <400000>; 724 710 ··· 820 834 &mdss_dp_out { 821 835 data-lanes = <0 1>; 822 836 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>; 837 + }; 838 + 839 + &mdss_dsi0 { 840 + status = "okay"; 841 + vdda-supply = <&vdda_mipi_dsi0_1p2>; 842 + }; 843 + 844 + &mdss_dsi0_out { 845 + data-lanes = <0 1 2 3>; 846 + }; 847 + 848 + &mdss_dsi0_phy { 849 + status = "okay"; 850 + vdds-supply = <&vdda_mipi_dsi0_pll>; 823 851 }; 824 852 825 853 &pm6150_adc {
+11 -11
arch/arm64/boot/dts/qcom/sc7180.dtsi
··· 2996 2996 port@0 { 2997 2997 reg = <0>; 2998 2998 dpu_intf1_out: endpoint { 2999 - remote-endpoint = <&dsi0_in>; 2999 + remote-endpoint = <&mdss_dsi0_in>; 3000 3000 }; 3001 3001 }; 3002 3002 ··· 3033 3033 }; 3034 3034 }; 3035 3035 3036 - dsi0: dsi@ae94000 { 3036 + mdss_dsi0: dsi@ae94000 { 3037 3037 compatible = "qcom,sc7180-dsi-ctrl", 3038 3038 "qcom,mdss-dsi-ctrl"; 3039 3039 reg = <0 0x0ae94000 0 0x400>; ··· 3056 3056 "bus"; 3057 3057 3058 3058 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; 3059 - assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>; 3059 + assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; 3060 3060 3061 3061 operating-points-v2 = <&dsi_opp_table>; 3062 3062 power-domains = <&rpmhpd SC7180_CX>; 3063 3063 3064 - phys = <&dsi_phy>; 3064 + phys = <&mdss_dsi0_phy>; 3065 3065 3066 3066 #address-cells = <1>; 3067 3067 #size-cells = <0>; ··· 3074 3074 3075 3075 port@0 { 3076 3076 reg = <0>; 3077 - dsi0_in: endpoint { 3077 + mdss_dsi0_in: endpoint { 3078 3078 remote-endpoint = <&dpu_intf1_out>; 3079 3079 }; 3080 3080 }; 3081 3081 3082 3082 port@1 { 3083 3083 reg = <1>; 3084 - dsi0_out: endpoint { 3084 + mdss_dsi0_out: endpoint { 3085 3085 }; 3086 3086 }; 3087 3087 }; ··· 3106 3106 }; 3107 3107 }; 3108 3108 3109 - dsi_phy: phy@ae94400 { 3109 + mdss_dsi0_phy: phy@ae94400 { 3110 3110 compatible = "qcom,dsi-phy-10nm"; 3111 3111 reg = <0 0x0ae94400 0 0x200>, 3112 3112 <0 0x0ae94600 0 0x280>, 3113 3113 <0 0x0ae94a00 0 0x1e0>; 3114 - reg-names = "dsi_phy", 3115 - "dsi_phy_lane", 3114 + reg-names = "dsi0_phy", 3115 + "dsi0_phy_lane", 3116 3116 "dsi_pll"; 3117 3117 3118 3118 #clock-cells = <1>; ··· 3203 3203 reg = <0 0x0af00000 0 0x200000>; 3204 3204 clocks = <&rpmhcc RPMH_CXO_CLK>, 3205 3205 <&gcc GCC_DISP_GPLL0_CLK_SRC>, 3206 - <&dsi_phy 0>, 3207 - <&dsi_phy 1>, 3206 + <&mdss_dsi0_phy 0>, 3207 + <&mdss_dsi0_phy 1>, 3208 3208 <&dp_phy 0>, 3209 3209 <&dp_phy 1>; 3210 3210 clock-names = "bi_tcxo",
-4
arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
··· 467 467 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>; 468 468 }; 469 469 470 - &mdss_mdp { 471 - status = "okay"; 472 - }; 473 - 474 470 /* NVMe drive, enabled on a per-board basis */ 475 471 &pcie1 { 476 472 pinctrl-names = "default";
+3 -5
arch/arm64/boot/dts/qcom/sc7280.dtsi
··· 3872 3872 interrupt-parent = <&mdss>; 3873 3873 interrupts = <0>; 3874 3874 3875 - status = "disabled"; 3876 - 3877 3875 ports { 3878 3876 #address-cells = <1>; 3879 3877 #size-cells = <0>; ··· 3879 3881 port@0 { 3880 3882 reg = <0>; 3881 3883 dpu_intf1_out: endpoint { 3882 - remote-endpoint = <&dsi0_in>; 3884 + remote-endpoint = <&mdss_dsi0_in>; 3883 3885 }; 3884 3886 }; 3885 3887 ··· 3964 3966 3965 3967 port@0 { 3966 3968 reg = <0>; 3967 - dsi0_in: endpoint { 3969 + mdss_dsi0_in: endpoint { 3968 3970 remote-endpoint = <&dpu_intf1_out>; 3969 3971 }; 3970 3972 }; 3971 3973 3972 3974 port@1 { 3973 3975 reg = <1>; 3974 - dsi0_out: endpoint { 3976 + mdss_dsi0_out: endpoint { 3975 3977 }; 3976 3978 }; 3977 3979 };
-4
arch/arm64/boot/dts/qcom/sc8180x-primus.dts
··· 291 291 }; 292 292 }; 293 293 294 - &dispcc { 295 - status = "okay"; 296 - }; 297 - 298 294 &gpu { 299 295 status = "okay"; 300 296
+18 -16
arch/arm64/boot/dts/qcom/sc8180x.dtsi
··· 2310 2310 }; 2311 2311 2312 2312 adreno_smmu: iommu@2ca0000 { 2313 - compatible = "qcom,sc8180x-smmu-500", "arm,mmu-500"; 2313 + compatible = "qcom,sc8180x-smmu-500", "qcom,adreno-smmu", 2314 + "qcom,smmu-500", "arm,mmu-500"; 2314 2315 reg = <0 0x02ca0000 0 0x10000>; 2315 2316 #iommu-cells = <2>; 2316 2317 #global-interrupts = <1>; ··· 2733 2732 port@1 { 2734 2733 reg = <1>; 2735 2734 dpu_intf1_out: endpoint { 2736 - remote-endpoint = <&dsi0_in>; 2735 + remote-endpoint = <&mdss_dsi0_in>; 2737 2736 }; 2738 2737 }; 2739 2738 2740 2739 port@2 { 2741 2740 reg = <2>; 2742 2741 dpu_intf2_out: endpoint { 2743 - remote-endpoint = <&dsi1_in>; 2742 + remote-endpoint = <&mdss_dsi1_in>; 2744 2743 }; 2745 2744 }; 2746 2745 ··· 2784 2783 }; 2785 2784 }; 2786 2785 2787 - dsi0: dsi@ae94000 { 2786 + mdss_dsi0: dsi@ae94000 { 2788 2787 compatible = "qcom,mdss-dsi-ctrl"; 2789 2788 reg = <0 0x0ae94000 0 0x400>; 2790 2789 reg-names = "dsi_ctrl"; ··· 2808 2807 operating-points-v2 = <&dsi_opp_table>; 2809 2808 power-domains = <&rpmhpd SC8180X_MMCX>; 2810 2809 2811 - phys = <&dsi0_phy>; 2810 + phys = <&mdss_dsi0_phy>; 2812 2811 phy-names = "dsi"; 2813 2812 2814 2813 status = "disabled"; ··· 2819 2818 2820 2819 port@0 { 2821 2820 reg = <0>; 2822 - dsi0_in: endpoint { 2821 + mdss_dsi0_in: endpoint { 2823 2822 remote-endpoint = <&dpu_intf1_out>; 2824 2823 }; 2825 2824 }; 2826 2825 2827 2826 port@1 { 2828 2827 reg = <1>; 2829 - dsi0_out: endpoint { 2828 + mdss_dsi0_out: endpoint { 2830 2829 }; 2831 2830 }; 2832 2831 }; ··· 2851 2850 }; 2852 2851 }; 2853 2852 2854 - dsi0_phy: dsi-phy@ae94400 { 2853 + mdss_dsi0_phy: dsi-phy@ae94400 { 2855 2854 compatible = "qcom,dsi-phy-7nm"; 2856 2855 reg = <0 0x0ae94400 0 0x200>, 2857 2856 <0 0x0ae94600 0 0x280>, ··· 2870 2869 status = "disabled"; 2871 2870 }; 2872 2871 2873 - dsi1: dsi@ae96000 { 2872 + mdss_dsi1: dsi@ae96000 { 2874 2873 compatible = "qcom,mdss-dsi-ctrl"; 2875 2874 reg = <0 0x0ae96000 0 0x400>; 2876 2875 reg-names = "dsi_ctrl"; ··· 2894 2893 operating-points-v2 = <&dsi_opp_table>; 2895 2894 power-domains = <&rpmhpd SC8180X_MMCX>; 2896 2895 2897 - phys = <&dsi1_phy>; 2896 + phys = <&mdss_dsi1_phy>; 2898 2897 phy-names = "dsi"; 2899 2898 2900 2899 status = "disabled"; ··· 2905 2904 2906 2905 port@0 { 2907 2906 reg = <0>; 2908 - dsi1_in: endpoint { 2907 + mdss_dsi1_in: endpoint { 2909 2908 remote-endpoint = <&dpu_intf2_out>; 2910 2909 }; 2911 2910 }; 2912 2911 2913 2912 port@1 { 2914 2913 reg = <1>; 2915 - dsi1_out: endpoint { 2914 + mdss_dsi1_out: endpoint { 2916 2915 }; 2917 2916 }; 2918 2917 }; 2919 2918 }; 2920 2919 2921 - dsi1_phy: dsi-phy@ae96400 { 2920 + mdss_dsi1_phy: dsi-phy@ae96400 { 2922 2921 compatible = "qcom,dsi-phy-7nm"; 2923 2922 reg = <0 0x0ae96400 0 0x200>, 2924 2923 <0 0x0ae96600 0 0x280>, ··· 2966 2965 #sound-dai-cells = <0>; 2967 2966 2968 2967 operating-points-v2 = <&dp0_opp_table>; 2969 - power-domains = <&rpmhpd SC8180X_CX>; 2968 + power-domains = <&rpmhpd SC8180X_MMCX>; 2970 2969 2971 2970 status = "disabled"; 2972 2971 ··· 3040 3039 #sound-dai-cells = <0>; 3041 3040 3042 3041 operating-points-v2 = <&dp0_opp_table>; 3043 - power-domains = <&rpmhpd SC8180X_CX>; 3042 + power-domains = <&rpmhpd SC8180X_MMCX>; 3044 3043 3045 3044 status = "disabled"; 3046 3045 ··· 3114 3113 #sound-dai-cells = <0>; 3115 3114 3116 3115 operating-points-v2 = <&edp_opp_table>; 3117 - power-domains = <&rpmhpd SC8180X_CX>; 3116 + power-domains = <&rpmhpd SC8180X_MMCX>; 3118 3117 3119 3118 status = "disabled"; 3120 3119 ··· 3496 3495 <WAKE_TCS 1>, 3497 3496 <CONTROL_TCS 0>; 3498 3497 label = "apps_rsc"; 3498 + power-domains = <&CLUSTER_PD>; 3499 3499 3500 3500 apps_bcm_voter: bcm-voter { 3501 3501 compatible = "qcom,bcm-voter";
+14
arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
··· 210 210 }; 211 211 212 212 reserved-memory { 213 + gpu_mem: gpu-mem@8bf00000 { 214 + reg = <0 0x8bf00000 0 0x2000>; 215 + no-map; 216 + }; 217 + 213 218 linux,cma { 214 219 compatible = "shared-dma-pool"; 215 220 size = <0x0 0x8000000>; ··· 393 388 394 389 &dispcc0 { 395 390 status = "okay"; 391 + }; 392 + 393 + &gpu { 394 + status = "okay"; 395 + 396 + zap-shader { 397 + memory-region = <&gpu_mem>; 398 + firmware-name = "qcom/sc8280xp/qcdxkmsuc8280.mbn"; 399 + }; 396 400 }; 397 401 398 402 &mdss0 {
+14
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
··· 264 264 }; 265 265 266 266 reserved-memory { 267 + gpu_mem: gpu-mem@8bf00000 { 268 + reg = <0 0x8bf00000 0 0x2000>; 269 + no-map; 270 + }; 271 + 267 272 linux,cma { 268 273 compatible = "shared-dma-pool"; 269 274 size = <0x0 0x8000000>; ··· 521 516 522 517 &dispcc0 { 523 518 status = "okay"; 519 + }; 520 + 521 + &gpu { 522 + status = "okay"; 523 + 524 + zap-shader { 525 + memory-region = <&gpu_mem>; 526 + firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn"; 527 + }; 524 528 }; 525 529 526 530 &mdss0 {
+196
arch/arm64/boot/dts/qcom/sc8280xp.dtsi
··· 6 6 7 7 #include <dt-bindings/clock/qcom,dispcc-sc8280xp.h> 8 8 #include <dt-bindings/clock/qcom,gcc-sc8280xp.h> 9 + #include <dt-bindings/clock/qcom,gpucc-sc8280xp.h> 9 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 + #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 10 12 #include <dt-bindings/interconnect/qcom,osm-l3.h> 11 13 #include <dt-bindings/interconnect/qcom,sc8280xp.h> 12 14 #include <dt-bindings/interrupt-controller/arm-gic.h> ··· 2333 2331 reg = <0x0 0x01fc0000 0x0 0x30000>; 2334 2332 }; 2335 2333 2334 + gpu: gpu@3d00000 { 2335 + compatible = "qcom,adreno-690.0", "qcom,adreno"; 2336 + 2337 + reg = <0 0x03d00000 0 0x40000>, 2338 + <0 0x03d9e000 0 0x1000>, 2339 + <0 0x03d61000 0 0x800>; 2340 + reg-names = "kgsl_3d0_reg_memory", 2341 + "cx_mem", 2342 + "cx_dbgc"; 2343 + interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; 2344 + iommus = <&gpu_smmu 0 0xc00>, <&gpu_smmu 1 0xc00>; 2345 + operating-points-v2 = <&gpu_opp_table>; 2346 + 2347 + qcom,gmu = <&gmu>; 2348 + interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>; 2349 + interconnect-names = "gfx-mem"; 2350 + #cooling-cells = <2>; 2351 + 2352 + status = "disabled"; 2353 + 2354 + gpu_opp_table: opp-table { 2355 + compatible = "operating-points-v2"; 2356 + 2357 + opp-270000000 { 2358 + opp-hz = /bits/ 64 <270000000>; 2359 + opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 2360 + opp-peak-kBps = <451000>; 2361 + }; 2362 + 2363 + opp-410000000 { 2364 + opp-hz = /bits/ 64 <410000000>; 2365 + opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 2366 + opp-peak-kBps = <1555000>; 2367 + }; 2368 + 2369 + opp-500000000 { 2370 + opp-hz = /bits/ 64 <500000000>; 2371 + opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 2372 + opp-peak-kBps = <1555000>; 2373 + }; 2374 + 2375 + opp-547000000 { 2376 + opp-hz = /bits/ 64 <547000000>; 2377 + opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>; 2378 + opp-peak-kBps = <1555000>; 2379 + }; 2380 + 2381 + opp-606000000 { 2382 + opp-hz = /bits/ 64 <606000000>; 2383 + opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 2384 + opp-peak-kBps = <2736000>; 2385 + }; 2386 + 2387 + opp-640000000 { 2388 + opp-hz = /bits/ 64 <640000000>; 2389 + opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 2390 + opp-peak-kBps = <2736000>; 2391 + }; 2392 + 2393 + opp-655000000 { 2394 + opp-hz = /bits/ 64 <655000000>; 2395 + opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 2396 + opp-peak-kBps = <2736000>; 2397 + }; 2398 + 2399 + opp-690000000 { 2400 + opp-hz = /bits/ 64 <690000000>; 2401 + opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 2402 + opp-peak-kBps = <2736000>; 2403 + }; 2404 + }; 2405 + }; 2406 + 2407 + gmu: gmu@3d6a000 { 2408 + compatible = "qcom,adreno-gmu-690.0", "qcom,adreno-gmu"; 2409 + reg = <0 0x03d6a000 0 0x34000>, 2410 + <0 0x03de0000 0 0x10000>, 2411 + <0 0x0b290000 0 0x10000>; 2412 + reg-names = "gmu", "rscc", "gmu_pdc"; 2413 + interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, 2414 + <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; 2415 + interrupt-names = "hfi", "gmu"; 2416 + clocks = <&gpucc GPU_CC_CX_GMU_CLK>, 2417 + <&gpucc GPU_CC_CXO_CLK>, 2418 + <&gcc GCC_DDRSS_GPU_AXI_CLK>, 2419 + <&gcc GCC_GPU_MEMNOC_GFX_CLK>, 2420 + <&gpucc GPU_CC_AHB_CLK>, 2421 + <&gpucc GPU_CC_HUB_CX_INT_CLK>, 2422 + <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>; 2423 + clock-names = "gmu", 2424 + "cxo", 2425 + "axi", 2426 + "memnoc", 2427 + "ahb", 2428 + "hub", 2429 + "smmu_vote"; 2430 + power-domains = <&gpucc GPU_CC_CX_GDSC>, 2431 + <&gpucc GPU_CC_GX_GDSC>; 2432 + power-domain-names = "cx", 2433 + "gx"; 2434 + iommus = <&gpu_smmu 5 0xc00>; 2435 + operating-points-v2 = <&gmu_opp_table>; 2436 + 2437 + gmu_opp_table: opp-table { 2438 + compatible = "operating-points-v2"; 2439 + 2440 + opp-200000000 { 2441 + opp-hz = /bits/ 64 <200000000>; 2442 + opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 2443 + }; 2444 + 2445 + opp-500000000 { 2446 + opp-hz = /bits/ 64 <500000000>; 2447 + opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 2448 + }; 2449 + }; 2450 + }; 2451 + 2452 + gpucc: clock-controller@3d90000 { 2453 + compatible = "qcom,sc8280xp-gpucc"; 2454 + reg = <0 0x03d90000 0 0x9000>; 2455 + clocks = <&rpmhcc RPMH_CXO_CLK>, 2456 + <&gcc GCC_GPU_GPLL0_CLK_SRC>, 2457 + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; 2458 + clock-names = "bi_tcxo", 2459 + "gcc_gpu_gpll0_clk_src", 2460 + "gcc_gpu_gpll0_div_clk_src"; 2461 + 2462 + power-domains = <&rpmhpd SC8280XP_GFX>; 2463 + #clock-cells = <1>; 2464 + #reset-cells = <1>; 2465 + #power-domain-cells = <1>; 2466 + }; 2467 + 2468 + gpu_smmu: iommu@3da0000 { 2469 + compatible = "qcom,sc8280xp-smmu-500", "qcom,adreno-smmu", 2470 + "qcom,smmu-500", "arm,mmu-500"; 2471 + reg = <0 0x03da0000 0 0x20000>; 2472 + #iommu-cells = <2>; 2473 + #global-interrupts = <2>; 2474 + interrupts = <GIC_SPI 672 IRQ_TYPE_LEVEL_HIGH>, 2475 + <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH>, 2476 + <GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH>, 2477 + <GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH>, 2478 + <GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH>, 2479 + <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>, 2480 + <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>, 2481 + <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>, 2482 + <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>, 2483 + <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>, 2484 + <GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH>, 2485 + <GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH>, 2486 + <GIC_SPI 688 IRQ_TYPE_LEVEL_HIGH>, 2487 + <GIC_SPI 689 IRQ_TYPE_LEVEL_HIGH>; 2488 + 2489 + clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>, 2490 + <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>, 2491 + <&gpucc GPU_CC_AHB_CLK>, 2492 + <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>, 2493 + <&gpucc GPU_CC_CX_GMU_CLK>, 2494 + <&gpucc GPU_CC_HUB_CX_INT_CLK>, 2495 + <&gpucc GPU_CC_HUB_AON_CLK>; 2496 + clock-names = "gcc_gpu_memnoc_gfx_clk", 2497 + "gcc_gpu_snoc_dvm_gfx_clk", 2498 + "gpu_cc_ahb_clk", 2499 + "gpu_cc_hlos1_vote_gpu_smmu_clk", 2500 + "gpu_cc_cx_gmu_clk", 2501 + "gpu_cc_hub_cx_int_clk", 2502 + "gpu_cc_hub_aon_clk"; 2503 + 2504 + power-domains = <&gpucc GPU_CC_CX_GDSC>; 2505 + dma-coherent; 2506 + }; 2507 + 2336 2508 usb_0_hsphy: phy@88e5000 { 2337 2509 compatible = "qcom,sc8280xp-usb-hs-phy", 2338 2510 "qcom,usb-snps-hs-5nm-phy"; ··· 2727 2551 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 2728 2552 clocks = <&rxmacro>; 2729 2553 clock-names = "iface"; 2554 + resets = <&lpass_audiocc LPASS_AUDIO_SWR_RX_CGCR>; 2555 + reset-names = "swr_audio_cgcr"; 2730 2556 label = "RX"; 2731 2557 2732 2558 qcom,din-ports = <0>; ··· 2803 2625 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; 2804 2626 clocks = <&wsamacro>; 2805 2627 clock-names = "iface"; 2628 + resets = <&lpass_audiocc LPASS_AUDIO_SWR_WSA_CGCR>; 2629 + reset-names = "swr_audio_cgcr"; 2806 2630 label = "WSA"; 2807 2631 2808 2632 qcom,din-ports = <2>; ··· 2827 2647 status = "disabled"; 2828 2648 }; 2829 2649 2650 + lpass_audiocc: clock-controller@32a9000 { 2651 + compatible = "qcom,sc8280xp-lpassaudiocc"; 2652 + reg = <0 0x032a9000 0 0x1000>; 2653 + #clock-cells = <1>; 2654 + #reset-cells = <1>; 2655 + }; 2656 + 2830 2657 swr2: soundwire-controller@3330000 { 2831 2658 compatible = "qcom,soundwire-v1.6.0"; 2832 2659 reg = <0 0x03330000 0 0x2000>; ··· 2843 2656 2844 2657 clocks = <&txmacro>; 2845 2658 clock-names = "iface"; 2659 + resets = <&lpasscc LPASS_AUDIO_SWR_TX_CGCR>; 2660 + reset-names = "swr_audio_cgcr"; 2846 2661 label = "TX"; 2847 2662 #sound-dai-cells = <1>; 2848 2663 #address-cells = <2>; ··· 3032 2843 bias-bus-hold; 3033 2844 }; 3034 2845 }; 2846 + }; 2847 + 2848 + lpasscc: clock-controller@33e0000 { 2849 + compatible = "qcom,sc8280xp-lpasscc"; 2850 + reg = <0 0x033e0000 0 0x12000>; 2851 + #clock-cells = <1>; 2852 + #reset-cells = <1>; 3035 2853 }; 3036 2854 3037 2855 sdc2: mmc@8804000 {
+8 -8
arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
··· 134 134 reg = <0>; 135 135 136 136 adv7533_in: endpoint { 137 - remote-endpoint = <&dsi0_out>; 137 + remote-endpoint = <&mdss_dsi0_out>; 138 138 }; 139 139 }; 140 140 ··· 183 183 }; 184 184 }; 185 185 186 - &dsi0 { 186 + &mdss { 187 + status = "okay"; 188 + }; 189 + 190 + &mdss_dsi0 { 187 191 status = "okay"; 188 192 vdda-supply = <&vreg_l1a_1p225>; 189 193 }; 190 194 191 - &dsi0_out { 195 + &mdss_dsi0_out { 192 196 remote-endpoint = <&adv7533_in>; 193 197 data-lanes = <0 1 2 3>; 194 198 }; 195 199 196 - &dsi0_phy { 200 + &mdss_dsi0_phy { 197 201 status = "okay"; 198 202 vcca-supply = <&vreg_l1b_0p925>; 199 - }; 200 - 201 - &mdss { 202 - status = "okay"; 203 203 }; 204 204 205 205 &mmss_smmu {
+10 -10
arch/arm64/boot/dts/qcom/sdm630.dtsi
··· 1461 1461 <&sleep_clk>, 1462 1462 <&gcc GCC_MMSS_GPLL0_CLK>, 1463 1463 <&gcc GCC_MMSS_GPLL0_DIV_CLK>, 1464 - <&dsi0_phy 1>, 1465 - <&dsi0_phy 0>, 1464 + <&mdss_dsi0_phy 1>, 1465 + <&mdss_dsi0_phy 0>, 1466 1466 <0>, 1467 1467 <0>, 1468 1468 <0>, ··· 1534 1534 port@0 { 1535 1535 reg = <0>; 1536 1536 mdp5_intf1_out: endpoint { 1537 - remote-endpoint = <&dsi0_in>; 1537 + remote-endpoint = <&mdss_dsi0_in>; 1538 1538 }; 1539 1539 }; 1540 1540 }; ··· 1570 1570 }; 1571 1571 }; 1572 1572 1573 - dsi0: dsi@c994000 { 1573 + mdss_dsi0: dsi@c994000 { 1574 1574 compatible = "qcom,sdm660-dsi-ctrl", 1575 1575 "qcom,mdss-dsi-ctrl"; 1576 1576 reg = <0x0c994000 0x400>; ··· 1584 1584 1585 1585 assigned-clocks = <&mmcc BYTE0_CLK_SRC>, 1586 1586 <&mmcc PCLK0_CLK_SRC>; 1587 - assigned-clock-parents = <&dsi0_phy 0>, 1588 - <&dsi0_phy 1>; 1587 + assigned-clock-parents = <&mdss_dsi0_phy 0>, 1588 + <&mdss_dsi0_phy 1>; 1589 1589 1590 1590 clocks = <&mmcc MDSS_MDP_CLK>, 1591 1591 <&mmcc MDSS_BYTE0_CLK>, ··· 1606 1606 "pixel", 1607 1607 "core"; 1608 1608 1609 - phys = <&dsi0_phy>; 1609 + phys = <&mdss_dsi0_phy>; 1610 1610 1611 1611 status = "disabled"; 1612 1612 ··· 1616 1616 1617 1617 port@0 { 1618 1618 reg = <0>; 1619 - dsi0_in: endpoint { 1619 + mdss_dsi0_in: endpoint { 1620 1620 remote-endpoint = <&mdp5_intf1_out>; 1621 1621 }; 1622 1622 }; 1623 1623 1624 1624 port@1 { 1625 1625 reg = <1>; 1626 - dsi0_out: endpoint { 1626 + mdss_dsi0_out: endpoint { 1627 1627 }; 1628 1628 }; 1629 1629 }; 1630 1630 }; 1631 1631 1632 - dsi0_phy: phy@c994400 { 1632 + mdss_dsi0_phy: phy@c994400 { 1633 1633 compatible = "qcom,dsi-phy-14nm-660"; 1634 1634 reg = <0x0c994400 0x100>, 1635 1635 <0x0c994500 0x300>,
+12 -12
arch/arm64/boot/dts/qcom/sdm660.dtsi
··· 148 148 port@1 { 149 149 reg = <1>; 150 150 mdp5_intf2_out: endpoint { 151 - remote-endpoint = <&dsi1_in>; 151 + remote-endpoint = <&mdss_dsi1_in>; 152 152 }; 153 153 }; 154 154 }; 155 155 }; 156 156 157 157 &mdss { 158 - dsi1: dsi@c996000 { 158 + mdss_dsi1: dsi@c996000 { 159 159 compatible = "qcom,sdm660-dsi-ctrl", 160 160 "qcom,mdss-dsi-ctrl"; 161 161 reg = <0x0c996000 0x400>; ··· 170 170 171 171 assigned-clocks = <&mmcc BYTE1_CLK_SRC>, 172 172 <&mmcc PCLK1_CLK_SRC>; 173 - assigned-clock-parents = <&dsi1_phy 0>, 174 - <&dsi1_phy 1>; 173 + assigned-clock-parents = <&mdss_dsi1_phy 0>, 174 + <&mdss_dsi1_phy 1>; 175 175 176 176 clocks = <&mmcc MDSS_MDP_CLK>, 177 177 <&mmcc MDSS_BYTE1_CLK>, ··· 192 192 "pixel", 193 193 "core"; 194 194 195 - phys = <&dsi1_phy>; 195 + phys = <&mdss_dsi1_phy>; 196 196 197 197 status = "disabled"; 198 198 ··· 202 202 203 203 port@0 { 204 204 reg = <0>; 205 - dsi1_in: endpoint { 205 + mdss_dsi1_in: endpoint { 206 206 remote-endpoint = <&mdp5_intf2_out>; 207 207 }; 208 208 }; 209 209 210 210 port@1 { 211 211 reg = <1>; 212 - dsi1_out: endpoint { 212 + mdss_dsi1_out: endpoint { 213 213 }; 214 214 }; 215 215 }; 216 216 }; 217 217 218 - dsi1_phy: phy@c996400 { 218 + mdss_dsi1_phy: phy@c996400 { 219 219 compatible = "qcom,dsi-phy-14nm-660"; 220 220 reg = <0x0c996400 0x100>, 221 221 <0x0c996500 0x300>, ··· 239 239 <&sleep_clk>, 240 240 <&gcc GCC_MMSS_GPLL0_CLK>, 241 241 <&gcc GCC_MMSS_GPLL0_DIV_CLK>, 242 - <&dsi0_phy 1>, 243 - <&dsi0_phy 0>, 244 - <&dsi1_phy 1>, 245 - <&dsi1_phy 0>, 242 + <&mdss_dsi0_phy 1>, 243 + <&mdss_dsi0_phy 0>, 244 + <&mdss_dsi1_phy 1>, 245 + <&mdss_dsi1_phy 0>, 246 246 <0>, 247 247 <0>; 248 248 };
+1
arch/arm64/boot/dts/qcom/sdm670.dtsi
··· 1264 1264 <SLEEP_TCS 3>, 1265 1265 <WAKE_TCS 3>, 1266 1266 <CONTROL_TCS 1>; 1267 + power-domains = <&CLUSTER_PD>; 1267 1268 1268 1269 apps_bcm_voter: bcm-voter { 1269 1270 compatible = "qcom,bcm-voter";
+20 -20
arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
··· 636 636 }; 637 637 }; 638 638 639 - &dsi0 { 640 - status = "okay"; 641 - vdda-supply = <&vdda_mipi_dsi0_1p2>; 642 - 643 - ports { 644 - port@1 { 645 - endpoint { 646 - remote-endpoint = <&sn65dsi86_in>; 647 - data-lanes = <0 1 2 3>; 648 - }; 649 - }; 650 - }; 651 - }; 652 - 653 - &dsi0_phy { 654 - status = "okay"; 655 - vdds-supply = <&vdda_mipi_dsi0_pll>; 656 - }; 657 - 658 639 edp_brij_i2c: &i2c3 { 659 640 status = "okay"; 660 641 clock-frequency = <400000>; ··· 668 687 port@0 { 669 688 reg = <0>; 670 689 sn65dsi86_in: endpoint { 671 - remote-endpoint = <&dsi0_out>; 690 + remote-endpoint = <&mdss_dsi0_out>; 672 691 }; 673 692 }; 674 693 ··· 746 765 747 766 &mdss { 748 767 status = "okay"; 768 + }; 769 + 770 + &mdss_dsi0 { 771 + status = "okay"; 772 + vdda-supply = <&vdda_mipi_dsi0_1p2>; 773 + 774 + ports { 775 + port@1 { 776 + endpoint { 777 + remote-endpoint = <&sn65dsi86_in>; 778 + data-lanes = <0 1 2 3>; 779 + }; 780 + }; 781 + }; 782 + }; 783 + 784 + &mdss_dsi0_phy { 785 + status = "okay"; 786 + vdds-supply = <&vdda_mipi_dsi0_pll>; 749 787 }; 750 788 751 789 /*
+49 -53
arch/arm64/boot/dts/qcom/sdm845-db845c.dts
··· 415 415 firmware-name = "qcom/sdm845/cdsp.mbn"; 416 416 }; 417 417 418 - &dsi0 { 419 - status = "okay"; 420 - vdda-supply = <&vreg_l26a_1p2>; 421 - 422 - qcom,dual-dsi-mode; 423 - qcom,master-dsi; 424 - 425 - ports { 426 - port@1 { 427 - endpoint { 428 - remote-endpoint = <&lt9611_a>; 429 - data-lanes = <0 1 2 3>; 430 - }; 431 - }; 432 - }; 433 - }; 434 - 435 - &dsi0_phy { 436 - status = "okay"; 437 - vdds-supply = <&vreg_l1a_0p875>; 438 - }; 439 - 440 - &dsi1 { 441 - vdda-supply = <&vreg_l26a_1p2>; 442 - 443 - qcom,dual-dsi-mode; 444 - 445 - /* DSI1 is slave, so use DSI0 clocks */ 446 - assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 447 - 448 - status = "okay"; 449 - 450 - ports { 451 - port@1 { 452 - endpoint { 453 - remote-endpoint = <&lt9611_b>; 454 - data-lanes = <0 1 2 3>; 455 - }; 456 - }; 457 - }; 458 - }; 459 - 460 - &dsi1_phy { 461 - vdds-supply = <&vreg_l1a_0p875>; 462 - status = "okay"; 463 - }; 464 - 465 418 &gcc { 466 419 protected-clocks = <GCC_QSPI_CORE_CLK>, 467 420 <GCC_QSPI_CORE_CLK_SRC>, ··· 470 517 reg = <0>; 471 518 472 519 lt9611_a: endpoint { 473 - remote-endpoint = <&dsi0_out>; 520 + remote-endpoint = <&mdss_dsi0_out>; 474 521 }; 475 522 }; 476 523 ··· 478 525 reg = <1>; 479 526 480 527 lt9611_b: endpoint { 481 - remote-endpoint = <&dsi1_out>; 528 + remote-endpoint = <&mdss_dsi1_out>; 482 529 }; 483 530 }; 484 531 ··· 506 553 }; 507 554 508 555 &mdss { 556 + status = "okay"; 557 + }; 558 + 559 + &mdss_dsi0 { 560 + status = "okay"; 561 + vdda-supply = <&vreg_l26a_1p2>; 562 + 563 + qcom,dual-dsi-mode; 564 + qcom,master-dsi; 565 + 566 + ports { 567 + port@1 { 568 + endpoint { 569 + remote-endpoint = <&lt9611_a>; 570 + data-lanes = <0 1 2 3>; 571 + }; 572 + }; 573 + }; 574 + }; 575 + 576 + &mdss_dsi0_phy { 577 + status = "okay"; 578 + vdds-supply = <&vreg_l1a_0p875>; 579 + }; 580 + 581 + &mdss_dsi1 { 582 + vdda-supply = <&vreg_l26a_1p2>; 583 + 584 + qcom,dual-dsi-mode; 585 + 586 + /* DSI1 is slave, so use DSI0 clocks */ 587 + assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; 588 + 589 + status = "okay"; 590 + 591 + ports { 592 + port@1 { 593 + endpoint { 594 + remote-endpoint = <&lt9611_b>; 595 + data-lanes = <0 1 2 3>; 596 + }; 597 + }; 598 + }; 599 + }; 600 + 601 + &mdss_dsi1_phy { 602 + vdds-supply = <&vreg_l1a_0p875>; 509 603 status = "okay"; 510 604 }; 511 605 ··· 683 683 function = LED_FUNCTION_INDICATOR; 684 684 function-enumerator = <1>; 685 685 }; 686 - }; 687 - 688 - &pmi8998_rradc { 689 - status = "okay"; 690 686 }; 691 687 692 688 /* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */
+74 -74
arch/arm64/boot/dts/qcom/sdm845-mtp.dts
··· 417 417 firmware-name = "qcom/sdm845/cdsp.mdt"; 418 418 }; 419 419 420 - &dsi0 { 421 - status = "okay"; 422 - vdda-supply = <&vdda_mipi_dsi0_1p2>; 423 - 424 - qcom,dual-dsi-mode; 425 - qcom,master-dsi; 426 - 427 - ports { 428 - port@1 { 429 - endpoint { 430 - remote-endpoint = <&truly_in_0>; 431 - data-lanes = <0 1 2 3>; 432 - }; 433 - }; 434 - }; 435 - 436 - panel@0 { 437 - compatible = "truly,nt35597-2K-display"; 438 - reg = <0>; 439 - vdda-supply = <&vreg_l14a_1p88>; 440 - 441 - reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 442 - mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; 443 - 444 - ports { 445 - #address-cells = <1>; 446 - #size-cells = <0>; 447 - 448 - port@0 { 449 - reg = <0>; 450 - truly_in_0: endpoint { 451 - remote-endpoint = <&dsi0_out>; 452 - }; 453 - }; 454 - 455 - port@1 { 456 - reg = <1>; 457 - truly_in_1: endpoint { 458 - remote-endpoint = <&dsi1_out>; 459 - }; 460 - }; 461 - }; 462 - }; 463 - }; 464 - 465 - &dsi0_phy { 466 - status = "okay"; 467 - vdds-supply = <&vdda_mipi_dsi0_pll>; 468 - }; 469 - 470 - &dsi1 { 471 - status = "okay"; 472 - vdda-supply = <&vdda_mipi_dsi1_1p2>; 473 - 474 - qcom,dual-dsi-mode; 475 - 476 - /* DSI1 is slave, so use DSI0 clocks */ 477 - assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 478 - 479 - ports { 480 - port@1 { 481 - endpoint { 482 - remote-endpoint = <&truly_in_1>; 483 - data-lanes = <0 1 2 3>; 484 - }; 485 - }; 486 - }; 487 - }; 488 - 489 - &dsi1_phy { 490 - status = "okay"; 491 - vdds-supply = <&vdda_mipi_dsi1_pll>; 492 - }; 493 - 494 420 &gcc { 495 421 protected-clocks = <GCC_QSPI_CORE_CLK>, 496 422 <GCC_QSPI_CORE_CLK_SRC>, ··· 451 525 452 526 &mdss { 453 527 status = "okay"; 528 + }; 529 + 530 + &mdss_dsi0 { 531 + status = "okay"; 532 + vdda-supply = <&vdda_mipi_dsi0_1p2>; 533 + 534 + qcom,dual-dsi-mode; 535 + qcom,master-dsi; 536 + 537 + ports { 538 + port@1 { 539 + endpoint { 540 + remote-endpoint = <&truly_in_0>; 541 + data-lanes = <0 1 2 3>; 542 + }; 543 + }; 544 + }; 545 + 546 + panel@0 { 547 + compatible = "truly,nt35597-2K-display"; 548 + reg = <0>; 549 + vdda-supply = <&vreg_l14a_1p88>; 550 + 551 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 552 + mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; 553 + 554 + ports { 555 + #address-cells = <1>; 556 + #size-cells = <0>; 557 + 558 + port@0 { 559 + reg = <0>; 560 + truly_in_0: endpoint { 561 + remote-endpoint = <&mdss_dsi0_out>; 562 + }; 563 + }; 564 + 565 + port@1 { 566 + reg = <1>; 567 + truly_in_1: endpoint { 568 + remote-endpoint = <&mdss_dsi1_out>; 569 + }; 570 + }; 571 + }; 572 + }; 573 + }; 574 + 575 + &mdss_dsi0_phy { 576 + status = "okay"; 577 + vdds-supply = <&vdda_mipi_dsi0_pll>; 578 + }; 579 + 580 + &mdss_dsi1 { 581 + status = "okay"; 582 + vdda-supply = <&vdda_mipi_dsi1_1p2>; 583 + 584 + qcom,dual-dsi-mode; 585 + 586 + /* DSI1 is slave, so use DSI0 clocks */ 587 + assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; 588 + 589 + ports { 590 + port@1 { 591 + endpoint { 592 + remote-endpoint = <&truly_in_1>; 593 + data-lanes = <0 1 2 3>; 594 + }; 595 + }; 596 + }; 597 + }; 598 + 599 + &mdss_dsi1_phy { 600 + status = "okay"; 601 + vdds-supply = <&vdda_mipi_dsi1_pll>; 454 602 }; 455 603 456 604 &mss_pil {
+39 -39
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
··· 336 336 firmware-name = "qcom/sdm845/oneplus6/cdsp.mbn"; 337 337 }; 338 338 339 - &dsi0 { 340 - status = "okay"; 341 - vdda-supply = <&vdda_mipi_dsi0_1p2>; 342 - 343 - /* 344 - * Both devices use different panels but all other properties 345 - * are common. Compatible line is declared in device dts. 346 - */ 347 - display_panel: panel@0 { 348 - status = "disabled"; 349 - 350 - reg = <0>; 351 - 352 - vddio-supply = <&vreg_l14a_1p88>; 353 - 354 - reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 355 - 356 - pinctrl-names = "default"; 357 - pinctrl-0 = <&panel_reset_pins &panel_te_pin &panel_esd_pin>; 358 - 359 - port { 360 - panel_in: endpoint { 361 - remote-endpoint = <&dsi0_out>; 362 - }; 363 - }; 364 - }; 365 - }; 366 - 367 - &dsi0_out { 368 - remote-endpoint = <&panel_in>; 369 - data-lanes = <0 1 2 3>; 370 - }; 371 - 372 - &dsi0_phy { 373 - status = "okay"; 374 - vdds-supply = <&vdda_mipi_dsi0_pll>; 375 - }; 376 - 377 339 &gcc { 378 340 protected-clocks = <GCC_QSPI_CORE_CLK>, 379 341 <GCC_QSPI_CORE_CLK_SRC>, ··· 414 452 status = "okay"; 415 453 }; 416 454 455 + &mdss_dsi0 { 456 + status = "okay"; 457 + vdda-supply = <&vdda_mipi_dsi0_1p2>; 458 + 459 + /* 460 + * Both devices use different panels but all other properties 461 + * are common. Compatible line is declared in device dts. 462 + */ 463 + display_panel: panel@0 { 464 + status = "disabled"; 465 + 466 + reg = <0>; 467 + 468 + vddio-supply = <&vreg_l14a_1p88>; 469 + 470 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 471 + 472 + pinctrl-names = "default"; 473 + pinctrl-0 = <&panel_reset_pins &panel_te_pin &panel_esd_pin>; 474 + 475 + port { 476 + panel_in: endpoint { 477 + remote-endpoint = <&mdss_dsi0_out>; 478 + }; 479 + }; 480 + }; 481 + }; 482 + 483 + &mdss_dsi0_out { 484 + remote-endpoint = <&panel_in>; 485 + data-lanes = <0 1 2 3>; 486 + }; 487 + 488 + &mdss_dsi0_phy { 489 + status = "okay"; 490 + vdds-supply = <&vdda_mipi_dsi0_pll>; 491 + }; 492 + 417 493 /* Modem/wifi */ 418 494 &mss_pil { 419 495 status = "okay"; ··· 480 480 }; 481 481 }; 482 482 483 - &pmi8998_rradc { 483 + &pmi8998_charger { 484 484 status = "okay"; 485 485 }; 486 486
+4
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
··· 51 51 }; 52 52 }; 53 53 54 + &pmi8998_charger { 55 + monitored-battery = <&battery>; 56 + }; 57 + 54 58 &sound { 55 59 model = "OnePlus 6"; 56 60 audio-routing = "RX_BIAS", "MCLK",
+4
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts
··· 47 47 "AMIC5", "MIC BIAS3"; 48 48 }; 49 49 50 + &pmi8998_charger { 51 + monitored-battery = <&battery>; 52 + }; 53 + 50 54 /* 51 55 * The TFA9894 codec is currently unsupported. 52 56 * We need to delete the node to allow the soundcard
+48 -38
arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
··· 411 411 firmware-name = "qcom/sdm845/axolotl/cdsp.mbn"; 412 412 }; 413 413 414 - &dsi0 { 415 - status = "okay"; 416 - vdda-supply = <&vdda_mipi_dsi0_1p2>; 417 - 418 - panel@0 { 419 - compatible = "visionox,rm69299-shift"; 420 - status = "okay"; 421 - reg = <0>; 422 - vdda-supply = <&vreg_l14a_1p88>; 423 - vdd3p3-supply = <&vreg_l28a_3p0>; 424 - 425 - #address-cells = <1>; 426 - #size-cells = <0>; 427 - 428 - reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; 429 - 430 - pinctrl-names = "default", "sleep"; 431 - pinctrl-0 = <&sde_dsi_active &sde_te_active>; 432 - pinctrl-1 = <&sde_dsi_suspend &sde_te_suspend>; 433 - 434 - port { 435 - panel_in_0: endpoint { 436 - remote-endpoint = <&dsi0_out>; 437 - }; 438 - }; 439 - }; 440 - }; 441 - 442 - &dsi0_out { 443 - remote-endpoint = <&panel_in_0>; 444 - data-lanes = <0 1 2 3>; 445 - }; 446 - 447 - &dsi0_phy { 448 - status = "okay"; 449 - vdds-supply = <&vdda_mipi_dsi0_pll>; 450 - }; 451 - 452 414 &gcc { 453 415 protected-clocks = <GCC_QSPI_CORE_CLK>, 454 416 <GCC_QSPI_CORE_CLK_SRC>, ··· 456 494 }; 457 495 }; 458 496 497 + &i2c10 { 498 + /* SMB1355@0x0C */ 499 + }; 500 + 459 501 &ipa { 460 502 qcom,gsi-loader = "self"; 461 503 memory-region = <&ipa_fw_mem>; ··· 469 503 470 504 &mdss { 471 505 status = "okay"; 506 + }; 507 + 508 + &mdss_dsi0 { 509 + status = "okay"; 510 + vdda-supply = <&vdda_mipi_dsi0_1p2>; 511 + 512 + panel@0 { 513 + compatible = "visionox,rm69299-shift"; 514 + status = "okay"; 515 + reg = <0>; 516 + vdda-supply = <&vreg_l14a_1p88>; 517 + vdd3p3-supply = <&vreg_l28a_3p0>; 518 + 519 + #address-cells = <1>; 520 + #size-cells = <0>; 521 + 522 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; 523 + 524 + pinctrl-names = "default", "sleep"; 525 + pinctrl-0 = <&sde_dsi_active &sde_te_active>; 526 + pinctrl-1 = <&sde_dsi_suspend &sde_te_suspend>; 527 + 528 + port { 529 + panel_in_0: endpoint { 530 + remote-endpoint = <&mdss_dsi0_out>; 531 + }; 532 + }; 533 + }; 534 + }; 535 + 536 + &mdss_dsi0_out { 537 + remote-endpoint = <&panel_in_0>; 538 + data-lanes = <0 1 2 3>; 539 + }; 540 + 541 + &mdss_dsi0_phy { 542 + status = "okay"; 543 + vdds-supply = <&vdda_mipi_dsi0_pll>; 472 544 }; 473 545 474 546 &mss_pil { ··· 524 520 qcom,drive-strength = <0>; 525 521 }; 526 522 }; 523 + }; 524 + 525 + &pmi8998_charger { 526 + monitored-battery = <&battery>; 527 + 528 + status = "okay"; 527 529 }; 528 530 529 531 &pm8998_resin {
+37 -37
arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
··· 368 368 status = "okay"; 369 369 }; 370 370 371 - &dsi0 { 372 - vdda-supply = <&vreg_l26a_1p2>; 373 - status = "okay"; 374 - 375 - panel: panel@0 { 376 - /* The compatible is assigned in device DTs. */ 377 - reg = <0>; 378 - 379 - backlight = <&pmi8998_wled>; 380 - vddio-supply = <&vreg_l14a_1p8>; 381 - vsp-supply = <&lab>; 382 - vsn-supply = <&ibb>; 383 - panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; 384 - touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 385 - 386 - pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>; 387 - pinctrl-1 = <&sde_dsi_sleep &sde_te_active_sleep>; 388 - pinctrl-names = "default", "sleep"; 389 - 390 - port { 391 - panel_in: endpoint { 392 - remote-endpoint = <&dsi0_out>; 393 - }; 394 - }; 395 - }; 396 - }; 397 - 398 - &dsi0_out { 399 - remote-endpoint = <&panel_in>; 400 - data-lanes = <0 1 2 3>; 401 - }; 402 - 403 - &dsi0_phy { 404 - vdds-supply = <&vreg_l1a_0p9>; 405 - status = "okay"; 406 - }; 407 - 408 371 &gcc { 409 372 protected-clocks = <GCC_QSPI_CORE_CLK>, 410 373 <GCC_QSPI_CORE_CLK_SRC>, ··· 475 512 }; 476 513 477 514 &mdss { 515 + status = "okay"; 516 + }; 517 + 518 + &mdss_dsi0 { 519 + vdda-supply = <&vreg_l26a_1p2>; 520 + status = "okay"; 521 + 522 + panel: panel@0 { 523 + /* The compatible is assigned in device DTs. */ 524 + reg = <0>; 525 + 526 + backlight = <&pmi8998_wled>; 527 + vddio-supply = <&vreg_l14a_1p8>; 528 + vsp-supply = <&lab>; 529 + vsn-supply = <&ibb>; 530 + panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; 531 + touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 532 + 533 + pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>; 534 + pinctrl-1 = <&sde_dsi_sleep &sde_te_active_sleep>; 535 + pinctrl-names = "default", "sleep"; 536 + 537 + port { 538 + panel_in: endpoint { 539 + remote-endpoint = <&mdss_dsi0_out>; 540 + }; 541 + }; 542 + }; 543 + }; 544 + 545 + &mdss_dsi0_out { 546 + remote-endpoint = <&panel_in>; 547 + data-lanes = <0 1 2 3>; 548 + }; 549 + 550 + &mdss_dsi0_phy { 551 + vdds-supply = <&vreg_l1a_0p9>; 478 552 status = "okay"; 479 553 }; 480 554
+46 -36
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
··· 115 115 }; 116 116 }; 117 117 118 + battery: battery { 119 + compatible = "simple-battery"; 120 + 121 + charge-full-design-microamp-hours = <4000000>; 122 + voltage-min-design-microvolt = <3400000>; 123 + voltage-max-design-microvolt = <4400000>; 124 + }; 125 + 118 126 vreg_s4a_1p8: vreg-s4a-1p8 { 119 127 compatible = "regulator-fixed"; 120 128 regulator-name = "vreg_s4a_1p8"; ··· 231 223 firmware-name = "qcom/sdm845/beryllium/cdsp.mbn"; 232 224 }; 233 225 234 - &dsi0 { 235 - status = "okay"; 236 - vdda-supply = <&vreg_l26a_1p2>; 237 - 238 - display_panel: panel@0 { 239 - reg = <0>; 240 - vddio-supply = <&vreg_l14a_1p8>; 241 - vddpos-supply = <&lab>; 242 - vddneg-supply = <&ibb>; 243 - 244 - backlight = <&pmi8998_wled>; 245 - reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 246 - 247 - status = "disabled"; 248 - 249 - port { 250 - panel_in_0: endpoint { 251 - remote-endpoint = <&dsi0_out>; 252 - }; 253 - }; 254 - }; 255 - }; 256 - 257 - &dsi0_out { 258 - remote-endpoint = <&panel_in_0>; 259 - data-lanes = <0 1 2 3>; 260 - }; 261 - 262 - &dsi0_phy { 263 - status = "okay"; 264 - vdds-supply = <&vreg_l1a_0p875>; 265 - }; 266 - 267 226 &gcc { 268 227 protected-clocks = <GCC_QSPI_CORE_CLK>, 269 228 <GCC_QSPI_CORE_CLK_SRC>, ··· 271 296 272 297 &mdss { 273 298 status = "okay"; 299 + }; 300 + 301 + &mdss_dsi0 { 302 + status = "okay"; 303 + vdda-supply = <&vreg_l26a_1p2>; 304 + 305 + display_panel: panel@0 { 306 + reg = <0>; 307 + vddio-supply = <&vreg_l14a_1p8>; 308 + vddpos-supply = <&lab>; 309 + vddneg-supply = <&ibb>; 310 + 311 + backlight = <&pmi8998_wled>; 312 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 313 + 314 + status = "disabled"; 315 + 316 + port { 317 + panel_in_0: endpoint { 318 + remote-endpoint = <&mdss_dsi0_out>; 319 + }; 320 + }; 321 + }; 322 + }; 323 + 324 + &mdss_dsi0_out { 325 + remote-endpoint = <&panel_in_0>; 326 + data-lanes = <0 1 2 3>; 327 + }; 328 + 329 + &mdss_dsi0_phy { 330 + status = "okay"; 331 + vdds-supply = <&vreg_l1a_0p875>; 274 332 }; 275 333 276 334 &mss_pil { ··· 349 341 qcom,cabc; 350 342 }; 351 343 352 - &pm8998_resin { 353 - linux,code = <KEY_VOLUMEDOWN>; 344 + &pmi8998_charger { 345 + monitored-battery = <&battery>; 346 + 354 347 status = "okay"; 355 348 }; 356 349 357 - &pmi8998_rradc { 350 + &pm8998_resin { 351 + linux,code = <KEY_VOLUMEDOWN>; 358 352 status = "okay"; 359 353 }; 360 354
+38 -38
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts
··· 373 373 status = "okay"; 374 374 }; 375 375 376 - &dsi0 { 377 - vdda-supply = <&vdda_mipi_dsi0_1p2>; 378 - status = "okay"; 379 - 380 - display_panel: panel@0 { 381 - compatible = "jdi,fhd-nt35596s"; 382 - #address-cells = <1>; 383 - #size-cells = <0>; 384 - reg = <0>; 385 - 386 - reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 387 - vddio-supply = <&vreg_l14a_1p8>; 388 - backlight = <&pmi8998_wled>; 389 - vddpos-supply = <&lab>; 390 - vddneg-supply = <&ibb>; 391 - 392 - pinctrl-names = "default", "sleep"; 393 - pinctrl-0 = <&sde_dsi_active>; 394 - pinctrl-1 = <&sde_dsi_suspend>; 395 - 396 - port { 397 - panel_in: endpoint { 398 - remote-endpoint = <&dsi0_out>; 399 - }; 400 - }; 401 - }; 402 - }; 403 - 404 - &dsi0_out { 405 - remote-endpoint = <&panel_in>; 406 - data-lanes = <0 1 2 3>; 407 - }; 408 - 409 - &dsi0_phy { 410 - vdds-supply = <&vdda_mipi_dsi0_pll>; 411 - status = "okay"; 412 - }; 413 - 414 376 &gcc { 415 377 protected-clocks = <GCC_QSPI_CORE_CLK>, 416 378 <GCC_QSPI_CORE_CLK_SRC>, ··· 464 502 }; 465 503 466 504 &mdss { 505 + status = "okay"; 506 + }; 507 + 508 + &mdss_dsi0 { 509 + vdda-supply = <&vdda_mipi_dsi0_1p2>; 510 + status = "okay"; 511 + 512 + display_panel: panel@0 { 513 + compatible = "jdi,fhd-nt35596s"; 514 + #address-cells = <1>; 515 + #size-cells = <0>; 516 + reg = <0>; 517 + 518 + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; 519 + vddio-supply = <&vreg_l14a_1p8>; 520 + backlight = <&pmi8998_wled>; 521 + vddpos-supply = <&lab>; 522 + vddneg-supply = <&ibb>; 523 + 524 + pinctrl-names = "default", "sleep"; 525 + pinctrl-0 = <&sde_dsi_active>; 526 + pinctrl-1 = <&sde_dsi_suspend>; 527 + 528 + port { 529 + panel_in: endpoint { 530 + remote-endpoint = <&mdss_dsi0_out>; 531 + }; 532 + }; 533 + }; 534 + }; 535 + 536 + &mdss_dsi0_out { 537 + remote-endpoint = <&panel_in>; 538 + data-lanes = <0 1 2 3>; 539 + }; 540 + 541 + &mdss_dsi0_phy { 542 + vdds-supply = <&vdda_mipi_dsi0_pll>; 467 543 status = "okay"; 468 544 }; 469 545
+19 -18
arch/arm64/boot/dts/qcom/sdm845.dtsi
··· 4501 4501 port@1 { 4502 4502 reg = <1>; 4503 4503 dpu_intf1_out: endpoint { 4504 - remote-endpoint = <&dsi0_in>; 4504 + remote-endpoint = <&mdss_dsi0_in>; 4505 4505 }; 4506 4506 }; 4507 4507 4508 4508 port@2 { 4509 4509 reg = <2>; 4510 4510 dpu_intf2_out: endpoint { 4511 - remote-endpoint = <&dsi1_in>; 4511 + remote-endpoint = <&mdss_dsi1_in>; 4512 4512 }; 4513 4513 }; 4514 4514 }; ··· 4608 4608 }; 4609 4609 }; 4610 4610 4611 - dsi0: dsi@ae94000 { 4611 + mdss_dsi0: dsi@ae94000 { 4612 4612 compatible = "qcom,sdm845-dsi-ctrl", 4613 4613 "qcom,mdss-dsi-ctrl"; 4614 4614 reg = <0 0x0ae94000 0 0x400>; ··· 4630 4630 "iface", 4631 4631 "bus"; 4632 4632 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; 4633 - assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 4633 + assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; 4634 4634 4635 4635 operating-points-v2 = <&dsi_opp_table>; 4636 4636 power-domains = <&rpmhpd SDM845_CX>; 4637 4637 4638 - phys = <&dsi0_phy>; 4638 + phys = <&mdss_dsi0_phy>; 4639 4639 4640 4640 status = "disabled"; 4641 4641 ··· 4648 4648 4649 4649 port@0 { 4650 4650 reg = <0>; 4651 - dsi0_in: endpoint { 4651 + mdss_dsi0_in: endpoint { 4652 4652 remote-endpoint = <&dpu_intf1_out>; 4653 4653 }; 4654 4654 }; 4655 4655 4656 4656 port@1 { 4657 4657 reg = <1>; 4658 - dsi0_out: endpoint { 4658 + mdss_dsi0_out: endpoint { 4659 4659 }; 4660 4660 }; 4661 4661 }; 4662 4662 }; 4663 4663 4664 - dsi0_phy: phy@ae94400 { 4664 + mdss_dsi0_phy: phy@ae94400 { 4665 4665 compatible = "qcom,dsi-phy-10nm"; 4666 4666 reg = <0 0x0ae94400 0 0x200>, 4667 4667 <0 0x0ae94600 0 0x280>, ··· 4680 4680 status = "disabled"; 4681 4681 }; 4682 4682 4683 - dsi1: dsi@ae96000 { 4683 + mdss_dsi1: dsi@ae96000 { 4684 4684 compatible = "qcom,sdm845-dsi-ctrl", 4685 4685 "qcom,mdss-dsi-ctrl"; 4686 4686 reg = <0 0x0ae96000 0 0x400>; ··· 4702 4702 "iface", 4703 4703 "bus"; 4704 4704 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; 4705 - assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>; 4705 + assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; 4706 4706 4707 4707 operating-points-v2 = <&dsi_opp_table>; 4708 4708 power-domains = <&rpmhpd SDM845_CX>; 4709 4709 4710 - phys = <&dsi1_phy>; 4710 + phys = <&mdss_dsi1_phy>; 4711 4711 4712 4712 status = "disabled"; 4713 4713 ··· 4720 4720 4721 4721 port@0 { 4722 4722 reg = <0>; 4723 - dsi1_in: endpoint { 4723 + mdss_dsi1_in: endpoint { 4724 4724 remote-endpoint = <&dpu_intf2_out>; 4725 4725 }; 4726 4726 }; 4727 4727 4728 4728 port@1 { 4729 4729 reg = <1>; 4730 - dsi1_out: endpoint { 4730 + mdss_dsi1_out: endpoint { 4731 4731 }; 4732 4732 }; 4733 4733 }; 4734 4734 }; 4735 4735 4736 - dsi1_phy: phy@ae96400 { 4736 + mdss_dsi1_phy: phy@ae96400 { 4737 4737 compatible = "qcom,dsi-phy-10nm"; 4738 4738 reg = <0 0x0ae96400 0 0x200>, 4739 4739 <0 0x0ae96600 0 0x280>, ··· 4895 4895 clocks = <&rpmhcc RPMH_CXO_CLK>, 4896 4896 <&gcc GCC_DISP_GPLL0_CLK_SRC>, 4897 4897 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>, 4898 - <&dsi0_phy 0>, 4899 - <&dsi0_phy 1>, 4900 - <&dsi1_phy 0>, 4901 - <&dsi1_phy 1>, 4898 + <&mdss_dsi0_phy 0>, 4899 + <&mdss_dsi0_phy 1>, 4900 + <&mdss_dsi1_phy 0>, 4901 + <&mdss_dsi1_phy 1>, 4902 4902 <&dp_phy 0>, 4903 4903 <&dp_phy 1>; 4904 4904 clock-names = "bi_tcxo", ··· 5129 5129 <SLEEP_TCS 3>, 5130 5130 <WAKE_TCS 3>, 5131 5131 <CONTROL_TCS 1>; 5132 + power-domains = <&CLUSTER_PD>; 5132 5133 5133 5134 apps_bcm_voter: bcm-voter { 5134 5135 compatible = "qcom,bcm-voter";
+20 -20
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
··· 311 311 status = "okay"; 312 312 }; 313 313 314 - &dsi0 { 315 - status = "okay"; 316 - vdda-supply = <&vreg_l26a_1p2>; 317 - 318 - ports { 319 - port@1 { 320 - endpoint { 321 - remote-endpoint = <&sn65dsi86_in_a>; 322 - data-lanes = <0 1 2 3>; 323 - }; 324 - }; 325 - }; 326 - }; 327 - 328 - &dsi0_phy { 329 - status = "okay"; 330 - vdds-supply = <&vreg_l1a_0p875>; 331 - }; 332 - 333 314 &gcc { 334 315 protected-clocks = <GCC_QSPI_CORE_CLK>, 335 316 <GCC_QSPI_CORE_CLK_SRC>, ··· 403 422 port@0 { 404 423 reg = <0>; 405 424 sn65dsi86_in_a: endpoint { 406 - remote-endpoint = <&dsi0_out>; 425 + remote-endpoint = <&mdss_dsi0_out>; 407 426 }; 408 427 }; 409 428 ··· 454 473 455 474 &mdss { 456 475 status = "okay"; 476 + }; 477 + 478 + &mdss_dsi0 { 479 + status = "okay"; 480 + vdda-supply = <&vreg_l26a_1p2>; 481 + 482 + ports { 483 + port@1 { 484 + endpoint { 485 + remote-endpoint = <&sn65dsi86_in_a>; 486 + data-lanes = <0 1 2 3>; 487 + }; 488 + }; 489 + }; 490 + }; 491 + 492 + &mdss_dsi0_phy { 493 + status = "okay"; 494 + vdds-supply = <&vreg_l1a_0p875>; 457 495 }; 458 496 459 497 &mss_pil {
+33
arch/arm64/boot/dts/qcom/sdx75-idp.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include "sdx75.dtsi" 9 + 10 + / { 11 + model = "Qualcomm Technologies, Inc. SDX75 IDP"; 12 + compatible = "qcom,sdx75-idp", "qcom,sdx75"; 13 + 14 + aliases { 15 + serial0 = &uart1; 16 + }; 17 + }; 18 + 19 + &chosen { 20 + stdout-path = "serial0:115200n8"; 21 + }; 22 + 23 + &qupv3_id_0 { 24 + status = "okay"; 25 + }; 26 + 27 + &tlmm { 28 + gpio-reserved-ranges = <110 6>; 29 + }; 30 + 31 + &uart1 { 32 + status = "okay"; 33 + };
+670
arch/arm64/boot/dts/qcom/sdx75.dtsi
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * SDX75 SoC device tree source 4 + * 5 + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 6 + * 7 + */ 8 + 9 + #include <dt-bindings/clock/qcom,rpmh.h> 10 + #include <dt-bindings/clock/qcom,sdx75-gcc.h> 11 + #include <dt-bindings/interrupt-controller/arm-gic.h> 12 + #include <dt-bindings/soc/qcom,rpmh-rsc.h> 13 + 14 + / { 15 + #address-cells = <2>; 16 + #size-cells = <2>; 17 + interrupt-parent = <&intc>; 18 + 19 + chosen: chosen { }; 20 + 21 + clocks { 22 + xo_board: xo-board { 23 + compatible = "fixed-clock"; 24 + clock-frequency = <76800000>; 25 + #clock-cells = <0>; 26 + }; 27 + 28 + sleep_clk: sleep-clk { 29 + compatible = "fixed-clock"; 30 + clock-frequency = <32000>; 31 + #clock-cells = <0>; 32 + }; 33 + }; 34 + 35 + cpus { 36 + #address-cells = <2>; 37 + #size-cells = <0>; 38 + 39 + CPU0: cpu@0 { 40 + device_type = "cpu"; 41 + compatible = "arm,cortex-a55"; 42 + reg = <0x0 0x0>; 43 + clocks = <&cpufreq_hw 0>; 44 + enable-method = "psci"; 45 + power-domains = <&CPU_PD0>; 46 + power-domain-names = "psci"; 47 + qcom,freq-domain = <&cpufreq_hw 0>; 48 + capacity-dmips-mhz = <1024>; 49 + dynamic-power-coefficient = <100>; 50 + next-level-cache = <&L2_0>; 51 + 52 + L2_0: l2-cache { 53 + compatible = "cache"; 54 + cache-level = <2>; 55 + cache-unified; 56 + next-level-cache = <&L3_0>; 57 + L3_0: l3-cache { 58 + compatible = "cache"; 59 + cache-level = <3>; 60 + cache-unified; 61 + }; 62 + }; 63 + }; 64 + 65 + CPU1: cpu@100 { 66 + device_type = "cpu"; 67 + compatible = "arm,cortex-a55"; 68 + reg = <0x0 0x100>; 69 + clocks = <&cpufreq_hw 0>; 70 + enable-method = "psci"; 71 + power-domains = <&CPU_PD1>; 72 + power-domain-names = "psci"; 73 + qcom,freq-domain = <&cpufreq_hw 0>; 74 + capacity-dmips-mhz = <1024>; 75 + dynamic-power-coefficient = <100>; 76 + next-level-cache = <&L2_100>; 77 + 78 + L2_100: l2-cache { 79 + compatible = "cache"; 80 + cache-level = <2>; 81 + cache-unified; 82 + next-level-cache = <&L3_0>; 83 + }; 84 + }; 85 + 86 + CPU2: cpu@200 { 87 + device_type = "cpu"; 88 + compatible = "arm,cortex-a55"; 89 + reg = <0x0 0x200>; 90 + clocks = <&cpufreq_hw 0>; 91 + enable-method = "psci"; 92 + power-domains = <&CPU_PD2>; 93 + power-domain-names = "psci"; 94 + qcom,freq-domain = <&cpufreq_hw 0>; 95 + capacity-dmips-mhz = <1024>; 96 + dynamic-power-coefficient = <100>; 97 + next-level-cache = <&L2_200>; 98 + 99 + L2_200: l2-cache { 100 + compatible = "cache"; 101 + cache-level = <2>; 102 + cache-unified; 103 + next-level-cache = <&L3_0>; 104 + }; 105 + }; 106 + 107 + CPU3: cpu@300 { 108 + device_type = "cpu"; 109 + compatible = "arm,cortex-a55"; 110 + reg = <0x0 0x300>; 111 + clocks = <&cpufreq_hw 0>; 112 + enable-method = "psci"; 113 + power-domains = <&CPU_PD3>; 114 + power-domain-names = "psci"; 115 + qcom,freq-domain = <&cpufreq_hw 0>; 116 + capacity-dmips-mhz = <1024>; 117 + dynamic-power-coefficient = <100>; 118 + next-level-cache = <&L2_300>; 119 + 120 + L2_300: l2-cache { 121 + compatible = "cache"; 122 + cache-level = <2>; 123 + cache-unified; 124 + next-level-cache = <&L3_0>; 125 + }; 126 + }; 127 + 128 + cpu-map { 129 + cluster0 { 130 + core0 { 131 + cpu = <&CPU0>; 132 + }; 133 + 134 + core1 { 135 + cpu = <&CPU1>; 136 + }; 137 + 138 + core2 { 139 + cpu = <&CPU2>; 140 + }; 141 + 142 + core3 { 143 + cpu = <&CPU3>; 144 + }; 145 + }; 146 + }; 147 + 148 + idle-states { 149 + entry-method = "psci"; 150 + 151 + CPU_OFF: cpu-sleep-0 { 152 + compatible = "arm,idle-state"; 153 + entry-latency-us = <235>; 154 + exit-latency-us = <428>; 155 + min-residency-us = <1774>; 156 + arm,psci-suspend-param = <0x40000003>; 157 + local-timer-stop; 158 + }; 159 + 160 + CPU_RAIL_OFF: cpu-rail-sleep-1 { 161 + compatible = "arm,idle-state"; 162 + entry-latency-us = <800>; 163 + exit-latency-us = <750>; 164 + min-residency-us = <4090>; 165 + arm,psci-suspend-param = <0x40000004>; 166 + local-timer-stop; 167 + }; 168 + 169 + }; 170 + 171 + domain-idle-states { 172 + CLUSTER_SLEEP_0: cluster-sleep-0 { 173 + compatible = "domain-idle-state"; 174 + arm,psci-suspend-param = <0x41000044>; 175 + entry-latency-us = <1050>; 176 + exit-latency-us = <2500>; 177 + min-residency-us = <5309>; 178 + }; 179 + 180 + CLUSTER_SLEEP_1: cluster-sleep-1 { 181 + compatible = "domain-idle-state"; 182 + arm,psci-suspend-param = <0x41001344>; 183 + entry-latency-us = <2761>; 184 + exit-latency-us = <3964>; 185 + min-residency-us = <8467>; 186 + }; 187 + 188 + CLUSTER_SLEEP_2: cluster-sleep-2 { 189 + compatible = "domain-idle-state"; 190 + arm,psci-suspend-param = <0x4100b344>; 191 + entry-latency-us = <2793>; 192 + exit-latency-us = <4023>; 193 + min-residency-us = <9826>; 194 + }; 195 + }; 196 + }; 197 + 198 + firmware { 199 + scm: scm { 200 + compatible = "qcom,scm-sdx75", "qcom,scm"; 201 + }; 202 + }; 203 + 204 + memory@80000000 { 205 + device_type = "memory"; 206 + reg = <0x0 0x80000000 0x0 0x0>; 207 + }; 208 + 209 + pmu { 210 + compatible = "arm,armv8-pmuv3"; 211 + interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; 212 + }; 213 + 214 + psci { 215 + compatible = "arm,psci-1.0"; 216 + method = "smc"; 217 + 218 + CPU_PD0: power-domain-cpu0 { 219 + #power-domain-cells = <0>; 220 + power-domains = <&CLUSTER_PD>; 221 + domain-idle-states = <&CPU_OFF &CPU_RAIL_OFF>; 222 + }; 223 + 224 + CPU_PD1: power-domain-cpu1 { 225 + #power-domain-cells = <0>; 226 + power-domains = <&CLUSTER_PD>; 227 + domain-idle-states = <&CPU_OFF &CPU_RAIL_OFF>; 228 + }; 229 + 230 + CPU_PD2: power-domain-cpu2 { 231 + #power-domain-cells = <0>; 232 + power-domains = <&CLUSTER_PD>; 233 + domain-idle-states = <&CPU_OFF &CPU_RAIL_OFF>; 234 + }; 235 + 236 + CPU_PD3: power-domain-cpu3 { 237 + #power-domain-cells = <0>; 238 + power-domains = <&CLUSTER_PD>; 239 + domain-idle-states = <&CPU_OFF &CPU_RAIL_OFF>; 240 + }; 241 + 242 + CLUSTER_PD: power-domain-cpu-cluster0 { 243 + #power-domain-cells = <0>; 244 + domain-idle-states = <&CLUSTER_SLEEP_0 &CLUSTER_SLEEP_1 &CLUSTER_SLEEP_2>; 245 + }; 246 + }; 247 + 248 + reserved-memory { 249 + #address-cells = <2>; 250 + #size-cells = <2>; 251 + ranges; 252 + 253 + gunyah_hyp_mem: gunyah-hyp@80000000 { 254 + reg = <0x0 0x80000000 0x0 0x800000>; 255 + no-map; 256 + }; 257 + 258 + hyp_elf_package_mem: hyp-elf-package@80800000 { 259 + reg = <0x0 0x80800000 0x0 0x200000>; 260 + no-map; 261 + }; 262 + 263 + access_control_db_mem: access-control-db@81380000 { 264 + reg = <0x0 0x81380000 0x0 0x80000>; 265 + no-map; 266 + }; 267 + 268 + qteetz_mem: qteetz@814e0000 { 269 + reg = <0x0 0x814e0000 0x0 0x2a0000>; 270 + no-map; 271 + }; 272 + 273 + trusted_apps_mem: trusted-apps@81780000 { 274 + reg = <0x0 0x81780000 0x0 0xa00000>; 275 + no-map; 276 + }; 277 + 278 + xbl_ramdump_mem: xbl-ramdump@87a00000 { 279 + reg = <0x0 0x87a00000 0x0 0x1c0000>; 280 + no-map; 281 + }; 282 + 283 + cpucp_fw_mem: cpucp-fw@87c00000 { 284 + reg = <0x0 0x87c00000 0x0 0x100000>; 285 + no-map; 286 + }; 287 + 288 + xbl_dtlog_mem: xbl-dtlog@87d00000 { 289 + reg = <0x0 0x87d00000 0x0 0x40000>; 290 + no-map; 291 + }; 292 + 293 + xbl_sc_mem: xbl-sc@87d40000 { 294 + reg = <0x0 0x87d40000 0x0 0x40000>; 295 + no-map; 296 + }; 297 + 298 + modem_efs_shared_mem: modem-efs-shared@87d80000 { 299 + reg = <0x0 0x87d80000 0x0 0x10000>; 300 + no-map; 301 + }; 302 + 303 + aop_image_mem: aop-image@87e00000 { 304 + reg = <0x0 0x87e00000 0x0 0x20000>; 305 + no-map; 306 + }; 307 + 308 + smem_mem: smem@87e20000 { 309 + reg = <0x0 0x87e20000 0x0 0xc0000>; 310 + no-map; 311 + }; 312 + 313 + aop_cmd_db_mem: aop-cmd-db@87ee0000 { 314 + compatible = "qcom,cmd-db"; 315 + reg = <0x0 0x87ee0000 0x0 0x20000>; 316 + no-map; 317 + }; 318 + 319 + aop_config_mem: aop-config@87f00000 { 320 + reg = <0x0 0x87f00000 0x0 0x20000>; 321 + no-map; 322 + }; 323 + 324 + ipa_fw_mem: ipa-fw@87f20000 { 325 + reg = <0x0 0x87f20000 0x0 0x10000>; 326 + no-map; 327 + }; 328 + 329 + secdata_mem: secdata@87f30000 { 330 + reg = <0x0 0x87f30000 0x0 0x1000>; 331 + no-map; 332 + }; 333 + 334 + tme_crashdump_mem: tme-crashdump@87f31000 { 335 + reg = <0x0 0x87f31000 0x0 0x40000>; 336 + no-map; 337 + }; 338 + 339 + tme_log_mem: tme-log@87f71000 { 340 + reg = <0x0 0x87f71000 0x0 0x4000>; 341 + no-map; 342 + }; 343 + 344 + uefi_log_mem: uefi-log@87f75000 { 345 + reg = <0x0 0x87f75000 0x0 0x10000>; 346 + no-map; 347 + }; 348 + 349 + qdss_mem: qdss@88800000 { 350 + reg = <0x0 0x88800000 0x0 0x300000>; 351 + no-map; 352 + }; 353 + 354 + audio_heap_mem: audio-heap@88b00000 { 355 + compatible = "shared-dma-pool"; 356 + reg = <0x0 0x88b00000 0x0 0x400000>; 357 + no-map; 358 + }; 359 + 360 + mpss_dsmharq_mem: mpss-dsmharq@88f00000 { 361 + reg = <0x0 0x88f00000 0x0 0x5080000>; 362 + no-map; 363 + }; 364 + 365 + q6_mpss_dtb_mem: q6-mpss-dtb@8df80000 { 366 + reg = <0x0 0x8df80000 0x0 0x80000>; 367 + no-map; 368 + }; 369 + 370 + mpssadsp_mem: mpssadsp@8e000000 { 371 + reg = <0x0 0x8e000000 0x0 0xf400000>; 372 + no-map; 373 + }; 374 + 375 + gunyah_trace_buffer_mem: gunyah-trace-buffer@bdb00000 { 376 + reg = <0x0 0xbdb00000 0x0 0x2000000>; 377 + no-map; 378 + }; 379 + 380 + smmu_debug_buf_mem: smmu-debug-buf@bfb00000 { 381 + reg = <0x0 0xbfb00000 0x0 0x100000>; 382 + no-map; 383 + }; 384 + 385 + hyp_smmu_s2_pt_mem: hyp-smmu-s2-pt@bfc00000 { 386 + reg = <0x0 0xbfc00000 0x0 0x400000>; 387 + no-map; 388 + }; 389 + }; 390 + 391 + smem: qcom,smem { 392 + compatible = "qcom,smem"; 393 + memory-region = <&smem_mem>; 394 + hwlocks = <&tcsr_mutex 3>; 395 + }; 396 + 397 + soc: soc { 398 + compatible = "simple-bus"; 399 + #address-cells = <2>; 400 + #size-cells = <2>; 401 + ranges = <0 0 0 0 0x10 0>; 402 + dma-ranges = <0 0 0 0 0x10 0>; 403 + 404 + gcc: clock-controller@80000 { 405 + compatible = "qcom,sdx75-gcc"; 406 + reg = <0x0 0x0080000 0x0 0x1f7400>; 407 + clocks = <&rpmhcc RPMH_CXO_CLK>, 408 + <&sleep_clk>, 409 + <0>, 410 + <0>, 411 + <0>, 412 + <0>, 413 + <0>, 414 + <0>, 415 + <0>, 416 + <0>, 417 + <0>, 418 + <0>, 419 + <0>, 420 + <0>, 421 + <0>; 422 + #clock-cells = <1>; 423 + #reset-cells = <1>; 424 + #power-domain-cells = <1>; 425 + }; 426 + 427 + qupv3_id_0: geniqup@9c0000 { 428 + compatible = "qcom,geni-se-qup"; 429 + reg = <0x0 0x009c0000 0x0 0x2000>; 430 + clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 431 + <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 432 + clock-names = "m-ahb", 433 + "s-ahb"; 434 + iommus = <&apps_smmu 0xe3 0x0>; 435 + #address-cells = <2>; 436 + #size-cells = <2>; 437 + ranges; 438 + status = "disabled"; 439 + 440 + uart1: serial@984000 { 441 + compatible = "qcom,geni-debug-uart"; 442 + reg = <0x0 0x00984000 0x0 0x4000>; 443 + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 444 + clock-names = "se"; 445 + interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>; 446 + pinctrl-0 = <&qupv3_se1_2uart_active>; 447 + pinctrl-1 = <&qupv3_se1_2uart_sleep>; 448 + pinctrl-names = "default", 449 + "sleep"; 450 + status = "disabled"; 451 + }; 452 + }; 453 + 454 + tcsr_mutex: hwlock@1f40000 { 455 + compatible = "qcom,tcsr-mutex"; 456 + reg = <0x0 0x01f40000 0x0 0x40000>; 457 + #hwlock-cells = <1>; 458 + }; 459 + 460 + pdc: interrupt-controller@b220000 { 461 + compatible = "qcom,sdx75-pdc", "qcom,pdc"; 462 + reg = <0x0 0xb220000 0x0 0x30000>, 463 + <0x0 0x174000f0 0x0 0x64>; 464 + qcom,pdc-ranges = <0 147 52>, 465 + <52 266 32>, 466 + <84 500 59>; 467 + #interrupt-cells = <2>; 468 + interrupt-parent = <&intc>; 469 + interrupt-controller; 470 + }; 471 + 472 + tlmm: pinctrl@f000000 { 473 + compatible = "qcom,sdx75-tlmm"; 474 + reg = <0x0 0x0f000000 0x0 0x400000>; 475 + interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>; 476 + gpio-controller; 477 + #gpio-cells = <2>; 478 + gpio-ranges = <&tlmm 0 0 133>; 479 + interrupt-controller; 480 + #interrupt-cells = <2>; 481 + wakeup-parent = <&pdc>; 482 + 483 + qupv3_se1_2uart_active: qupv3-se1-2uart-active-state { 484 + tx-pins { 485 + pins = "gpio12"; 486 + function = "qup_se1_l2_mira"; 487 + drive-strength= <2>; 488 + bias-disable; 489 + }; 490 + 491 + rx-pins { 492 + pins = "gpio13"; 493 + function = "qup_se1_l3_mira"; 494 + drive-strength= <2>; 495 + bias-disable; 496 + }; 497 + }; 498 + 499 + qupv3_se1_2uart_sleep: qupv3-se1-2uart-sleep-state { 500 + pins = "gpio12", "gpio13"; 501 + function = "gpio"; 502 + drive-strength = <2>; 503 + bias-pull-down; 504 + }; 505 + }; 506 + 507 + apps_smmu: iommu@15000000 { 508 + compatible = "qcom,sdx75-smmu-500", "qcom,smmu-500", "arm,mmu-500"; 509 + reg = <0x0 0x15000000 0x0 0x40000>; 510 + #iommu-cells = <2>; 511 + #global-interrupts = <2>; 512 + dma-coherent; 513 + interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 514 + <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 515 + <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, 516 + <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 517 + <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>, 518 + <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 519 + <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>, 520 + <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, 521 + <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, 522 + <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 523 + <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 524 + <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 525 + <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 526 + <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 527 + <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 528 + <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 529 + <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 530 + <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 531 + <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 532 + <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 533 + <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 534 + <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 535 + <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 536 + <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 537 + <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>, 538 + <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>, 539 + <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>, 540 + <GIC_SPI 301 IRQ_TYPE_LEVEL_HIGH>, 541 + <GIC_SPI 302 IRQ_TYPE_LEVEL_HIGH>, 542 + <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>, 543 + <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, 544 + <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>, 545 + <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>; 546 + }; 547 + 548 + intc: interrupt-controller@17200000 { 549 + compatible = "arm,gic-v3"; 550 + #interrupt-cells = <3>; 551 + interrupt-controller; 552 + #redistributor-regions = <1>; 553 + redistributor-stride = <0x0 0x20000>; 554 + reg = <0x0 0x17200000 0x0 0x10000>, 555 + <0x0 0x17260000 0x0 0x80000>; 556 + interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 557 + }; 558 + 559 + timer@17420000 { 560 + compatible = "arm,armv7-timer-mem"; 561 + reg = <0x0 0x17420000 0x0 0x1000>; 562 + #address-cells = <1>; 563 + #size-cells = <1>; 564 + ranges = <0 0 0 0x20000000>; 565 + 566 + frame@17421000 { 567 + reg = <0x17421000 0x1000>, 568 + <0x17422000 0x1000>; 569 + frame-number = <0>; 570 + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 571 + <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 572 + }; 573 + 574 + frame@17423000 { 575 + reg = <0x17423000 0x1000>; 576 + frame-number = <1>; 577 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 578 + status = "disabled"; 579 + }; 580 + 581 + frame@17425000 { 582 + reg = <0x17425000 0x1000>; 583 + frame-number = <2>; 584 + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 585 + status = "disabled"; 586 + }; 587 + 588 + frame@17427000 { 589 + reg = <0x17427000 0x1000>; 590 + frame-number = <3>; 591 + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 592 + status = "disabled"; 593 + }; 594 + 595 + frame@17429000 { 596 + reg = <0x17429000 0x1000>; 597 + frame-number = <4>; 598 + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 599 + status = "disabled"; 600 + }; 601 + 602 + frame@1742b000 { 603 + reg = <0x1742b000 0x1000>; 604 + frame-number = <5>; 605 + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 606 + status = "disabled"; 607 + }; 608 + 609 + frame@1742d000 { 610 + reg = <0x1742d000 0x1000>; 611 + frame-number = <6>; 612 + interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 613 + status = "disabled"; 614 + }; 615 + }; 616 + 617 + apps_rsc: rsc@17a00000 { 618 + label = "apps_rsc"; 619 + compatible = "qcom,rpmh-rsc"; 620 + reg = <0x0 0x17a00000 0x0 0x10000>, 621 + <0x0 0x17a10000 0x0 0x10000>, 622 + <0x0 0x17a20000 0x0 0x10000>; 623 + reg-names = "drv-0", "drv-1", "drv-2"; 624 + interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 625 + <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 626 + <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 627 + 628 + power-domains = <&CLUSTER_PD>; 629 + qcom,tcs-offset = <0xd00>; 630 + qcom,drv-id = <2>; 631 + qcom,tcs-config = <ACTIVE_TCS 3>, 632 + <SLEEP_TCS 2>, 633 + <WAKE_TCS 2>, 634 + <CONTROL_TCS 0>; 635 + 636 + apps_bcm_voter: bcm-voter { 637 + compatible = "qcom,bcm-voter"; 638 + }; 639 + 640 + rpmhcc: clock-controller { 641 + compatible = "qcom,sdx75-rpmh-clk"; 642 + clocks = <&xo_board>; 643 + clock-names = "xo"; 644 + #clock-cells = <1>; 645 + }; 646 + }; 647 + 648 + cpufreq_hw: cpufreq@17d91000 { 649 + compatible = "qcom,sdx75-cpufreq-epss", "qcom,cpufreq-epss"; 650 + reg = <0x0 0x17d91000 0x0 0x1000>; 651 + reg-names = "freq-domain0"; 652 + clocks = <&rpmhcc RPMH_CXO_CLK>, 653 + <&gcc GPLL0>; 654 + clock-names = "xo", 655 + "alternate"; 656 + interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 657 + interrupt-names = "dcvsh-irq-0"; 658 + #freq-domain-cells = <1>; 659 + #clock-cells = <1>; 660 + }; 661 + }; 662 + 663 + timer { 664 + compatible = "arm,armv8-timer"; 665 + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 666 + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 667 + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 668 + <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; 669 + }; 670 + };
+205
arch/arm64/boot/dts/qcom/sm6350.dtsi
··· 56 56 interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY 57 57 &clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, 58 58 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 59 + power-domains = <&CPU_PD0>; 60 + power-domain-names = "psci"; 59 61 #cooling-cells = <2>; 60 62 L2_0: l2-cache { 61 63 compatible = "cache"; ··· 84 82 interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY 85 83 &clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, 86 84 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 85 + power-domains = <&CPU_PD1>; 86 + power-domain-names = "psci"; 87 87 #cooling-cells = <2>; 88 88 L2_100: l2-cache { 89 89 compatible = "cache"; ··· 108 104 interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY 109 105 &clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, 110 106 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 107 + power-domains = <&CPU_PD2>; 108 + power-domain-names = "psci"; 111 109 #cooling-cells = <2>; 112 110 L2_200: l2-cache { 113 111 compatible = "cache"; ··· 132 126 interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY 133 127 &clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, 134 128 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 129 + power-domains = <&CPU_PD3>; 130 + power-domain-names = "psci"; 135 131 #cooling-cells = <2>; 136 132 L2_300: l2-cache { 137 133 compatible = "cache"; ··· 156 148 interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY 157 149 &clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, 158 150 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 151 + power-domains = <&CPU_PD4>; 152 + power-domain-names = "psci"; 159 153 #cooling-cells = <2>; 160 154 L2_400: l2-cache { 161 155 compatible = "cache"; ··· 180 170 interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY 181 171 &clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, 182 172 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 173 + power-domains = <&CPU_PD5>; 174 + power-domain-names = "psci"; 183 175 #cooling-cells = <2>; 184 176 L2_500: l2-cache { 185 177 compatible = "cache"; ··· 204 192 interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY 205 193 &clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, 206 194 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 195 + power-domains = <&CPU_PD6>; 196 + power-domain-names = "psci"; 207 197 #cooling-cells = <2>; 208 198 L2_600: l2-cache { 209 199 compatible = "cache"; ··· 228 214 interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY 229 215 &clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, 230 216 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 217 + power-domains = <&CPU_PD7>; 218 + power-domain-names = "psci"; 231 219 #cooling-cells = <2>; 232 220 L2_700: l2-cache { 233 221 compatible = "cache"; ··· 271 255 core7 { 272 256 cpu = <&CPU7>; 273 257 }; 258 + }; 259 + }; 260 + 261 + domain-idle-states { 262 + CLUSTER_SLEEP_PC: cluster-sleep-0 { 263 + compatible = "domain-idle-state"; 264 + arm,psci-suspend-param = <0x41000044>; 265 + entry-latency-us = <2752>; 266 + exit-latency-us = <3048>; 267 + min-residency-us = <6118>; 268 + }; 269 + 270 + CLUSTER_SLEEP_CX_RET: cluster-sleep-1 { 271 + compatible = "domain-idle-state"; 272 + arm,psci-suspend-param = <0x41001244>; 273 + entry-latency-us = <3638>; 274 + exit-latency-us = <4562>; 275 + min-residency-us = <8467>; 276 + }; 277 + 278 + CLUSTER_AOSS_SLEEP: cluster-sleep-2 { 279 + compatible = "domain-idle-state"; 280 + arm,psci-suspend-param = <0x4100b244>; 281 + entry-latency-us = <3263>; 282 + exit-latency-us = <6562>; 283 + min-residency-us = <9987>; 284 + }; 285 + }; 286 + 287 + cpu_idle_states: idle-states { 288 + entry-method = "psci"; 289 + 290 + LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { 291 + compatible = "arm,idle-state"; 292 + idle-state-name = "little-power-collapse"; 293 + arm,psci-suspend-param = <0x40000003>; 294 + entry-latency-us = <549>; 295 + exit-latency-us = <901>; 296 + min-residency-us = <1774>; 297 + local-timer-stop; 298 + }; 299 + 300 + LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 { 301 + compatible = "arm,idle-state"; 302 + idle-state-name = "little-rail-power-collapse"; 303 + arm,psci-suspend-param = <0x40000004>; 304 + entry-latency-us = <702>; 305 + exit-latency-us = <915>; 306 + min-residency-us = <4001>; 307 + local-timer-stop; 308 + }; 309 + 310 + BIG_CPU_SLEEP_0: cpu-sleep-1-0 { 311 + compatible = "arm,idle-state"; 312 + idle-state-name = "big-power-collapse"; 313 + arm,psci-suspend-param = <0x40000003>; 314 + entry-latency-us = <523>; 315 + exit-latency-us = <1244>; 316 + min-residency-us = <2207>; 317 + local-timer-stop; 318 + }; 319 + 320 + BIG_CPU_SLEEP_1: cpu-sleep-1-1 { 321 + compatible = "arm,idle-state"; 322 + idle-state-name = "big-rail-power-collapse"; 323 + arm,psci-suspend-param = <0x40000004>; 324 + entry-latency-us = <526>; 325 + exit-latency-us = <1854>; 326 + min-residency-us = <5555>; 327 + local-timer-stop; 274 328 }; 275 329 }; 276 330 }; ··· 464 378 }; 465 379 }; 466 380 381 + qup_opp_table: opp-table-qup { 382 + compatible = "operating-points-v2"; 383 + 384 + opp-75000000 { 385 + opp-hz = /bits/ 64 <75000000>; 386 + required-opps = <&rpmhpd_opp_low_svs>; 387 + }; 388 + 389 + opp-100000000 { 390 + opp-hz = /bits/ 64 <100000000>; 391 + required-opps = <&rpmhpd_opp_svs>; 392 + }; 393 + 394 + opp-128000000 { 395 + opp-hz = /bits/ 64 <128000000>; 396 + required-opps = <&rpmhpd_opp_nom>; 397 + }; 398 + }; 399 + 467 400 pmu { 468 401 compatible = "arm,armv8-pmuv3"; 469 402 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_LOW>; ··· 491 386 psci { 492 387 compatible = "arm,psci-1.0"; 493 388 method = "smc"; 389 + 390 + CPU_PD0: power-domain-cpu0 { 391 + #power-domain-cells = <0>; 392 + power-domains = <&CLUSTER_PD>; 393 + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; 394 + }; 395 + 396 + CPU_PD1: power-domain-cpu1 { 397 + #power-domain-cells = <0>; 398 + power-domains = <&CLUSTER_PD>; 399 + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; 400 + }; 401 + 402 + CPU_PD2: power-domain-cpu2 { 403 + #power-domain-cells = <0>; 404 + power-domains = <&CLUSTER_PD>; 405 + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; 406 + }; 407 + 408 + CPU_PD3: power-domain-cpu3 { 409 + #power-domain-cells = <0>; 410 + power-domains = <&CLUSTER_PD>; 411 + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; 412 + }; 413 + 414 + CPU_PD4: power-domain-cpu4 { 415 + #power-domain-cells = <0>; 416 + power-domains = <&CLUSTER_PD>; 417 + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; 418 + }; 419 + 420 + CPU_PD5: power-domain-cpu5 { 421 + #power-domain-cells = <0>; 422 + power-domains = <&CLUSTER_PD>; 423 + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; 424 + }; 425 + 426 + CPU_PD6: power-domain-cpu6 { 427 + #power-domain-cells = <0>; 428 + power-domains = <&CLUSTER_PD>; 429 + domain-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>; 430 + }; 431 + 432 + CPU_PD7: power-domain-cpu7 { 433 + #power-domain-cells = <0>; 434 + power-domains = <&CLUSTER_PD>; 435 + domain-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>; 436 + }; 437 + 438 + CLUSTER_PD: power-domain-cpu-cluster0 { 439 + #power-domain-cells = <0>; 440 + domain-idle-states = <&CLUSTER_SLEEP_PC 441 + &CLUSTER_SLEEP_CX_RET 442 + &CLUSTER_AOSS_SLEEP>; 443 + }; 494 444 }; 495 445 496 446 reserved_memory: reserved-memory { ··· 898 738 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 899 739 <&aggre1_noc MASTER_QUP_0 0 &clk_virt SLAVE_EBI_CH0 0>; 900 740 interconnect-names = "qup-core", "qup-config", "qup-memory"; 741 + status = "disabled"; 742 + }; 743 + 744 + uart1: serial@884000 { 745 + compatible = "qcom,geni-uart"; 746 + reg = <0 0x00884000 0 0x4000>; 747 + clock-names = "se"; 748 + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 749 + pinctrl-names = "default"; 750 + pinctrl-0 = <&qup_uart1_cts>, <&qup_uart1_rts>, <&qup_uart1_tx>, <&qup_uart1_rx>; 751 + interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 752 + power-domains = <&rpmhpd SM6350_CX>; 753 + operating-points-v2 = <&qup_opp_table>; 754 + interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 755 + <&aggre1_noc MASTER_QUP_0 0 &clk_virt SLAVE_EBI_CH0 0>; 756 + interconnect-names = "qup-core", "qup-config"; 901 757 status = "disabled"; 902 758 }; 903 759 ··· 1902 1726 drive-strength = <2>; 1903 1727 bias-pull-up; 1904 1728 }; 1729 + 1730 + qup_uart1_cts: qup-uart1-cts-default-state { 1731 + pins = "gpio61"; 1732 + function = "qup01"; 1733 + drive-strength = <2>; 1734 + bias-disable; 1735 + }; 1736 + 1737 + qup_uart1_rts: qup-uart1-rts-default-state { 1738 + pins = "gpio62"; 1739 + function = "qup01"; 1740 + drive-strength = <2>; 1741 + bias-pull-down; 1742 + }; 1743 + 1744 + qup_uart1_rx: qup-uart1-rx-default-state { 1745 + pins = "gpio64"; 1746 + function = "qup01"; 1747 + drive-strength = <2>; 1748 + bias-disable; 1749 + }; 1750 + 1751 + qup_uart1_tx: qup-uart1-tx-default-state { 1752 + pins = "gpio63"; 1753 + function = "qup01"; 1754 + drive-strength = <2>; 1755 + bias-pull-up; 1756 + }; 1905 1757 }; 1906 1758 1907 1759 apps_smmu: iommu@15000000 { ··· 2109 1905 qcom,drv-id = <2>; 2110 1906 qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>, 2111 1907 <WAKE_TCS 3>, <CONTROL_TCS 1>; 1908 + power-domains = <&CLUSTER_PD>; 2112 1909 2113 1910 rpmhcc: clock-controller { 2114 1911 compatible = "qcom,sm6350-rpmh-clk";
+37
arch/arm64/boot/dts/qcom/sm6375.dtsi
··· 5 5 6 6 #include <dt-bindings/clock/qcom,rpmcc.h> 7 7 #include <dt-bindings/clock/qcom,sm6375-gcc.h> 8 + #include <dt-bindings/clock/qcom,sm6375-gpucc.h> 8 9 #include <dt-bindings/dma/qcom-gpi.h> 9 10 #include <dt-bindings/firmware/qcom,scm.h> 10 11 #include <dt-bindings/interrupt-controller/arm-gic.h> ··· 1257 1256 snps,has-lpm-erratum; 1258 1257 tx-fifo-resize; 1259 1258 }; 1259 + }; 1260 + 1261 + adreno_smmu: iommu@5940000 { 1262 + compatible = "qcom,sm6375-smmu-v2", "qcom,smmu-v2"; 1263 + reg = <0 0x05940000 0 0x10000>; 1264 + #iommu-cells = <1>; 1265 + #global-interrupts = <2>; 1266 + interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>, 1267 + <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH>, 1268 + <GIC_SPI 457 IRQ_TYPE_LEVEL_HIGH>, 1269 + <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>, 1270 + <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>, 1271 + <GIC_SPI 460 IRQ_TYPE_LEVEL_HIGH>, 1272 + <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>, 1273 + <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>, 1274 + <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>, 1275 + <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>; 1276 + 1277 + clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>; 1278 + clock-names = "bus"; 1279 + 1280 + power-domains = <&gpucc GPU_CX_GDSC>; 1281 + }; 1282 + 1283 + gpucc: clock-controller@5990000 { 1284 + compatible = "qcom,sm6375-gpucc"; 1285 + reg = <0 0x05990000 0 0x9000>; 1286 + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 1287 + <&gcc GCC_GPU_GPLL0_CLK_SRC>, 1288 + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>, 1289 + <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>; 1290 + power-domains = <&rpmpd SM6375_VDDGX>; 1291 + required-opps = <&rpmpd_opp_low_svs>; 1292 + #clock-cells = <1>; 1293 + #reset-cells = <1>; 1294 + #power-domain-cells = <1>; 1260 1295 }; 1261 1296 1262 1297 remoteproc_mss: remoteproc@6000000 {
+103
arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
··· 31 31 32 32 aliases { 33 33 serial0 = &uart9; 34 + serial1 = &uart1; 34 35 }; 35 36 36 37 chosen { ··· 525 524 }; 526 525 }; 527 526 527 + &qup_uart1_cts { 528 + /* 529 + * Configure a bias-bus-hold on CTS to lower power 530 + * usage when Bluetooth is turned off. Bus hold will 531 + * maintain a low power state regardless of whether 532 + * the Bluetooth module drives the pin in either 533 + * direction or leaves the pin fully unpowered. 534 + */ 535 + bias-bus-hold; 536 + }; 537 + 538 + &qup_uart1_rts { 539 + /* We'll drive RTS, so no pull */ 540 + drive-strength = <2>; 541 + bias-disable; 542 + }; 543 + 544 + &qup_uart1_rx { 545 + /* 546 + * Configure a pull-up on RX. This is needed to avoid 547 + * garbage data when the TX pin of the Bluetooth module is 548 + * in tri-state (module powered off or not driving the 549 + * signal yet). 550 + */ 551 + bias-pull-up; 552 + }; 553 + 554 + &qup_uart1_tx { 555 + /* We'll drive TX, so no pull */ 556 + drive-strength = <2>; 557 + bias-disable; 558 + }; 559 + 528 560 &qupv3_id_0 { 529 561 status = "okay"; 530 562 }; ··· 595 561 596 562 &tlmm { 597 563 gpio-reserved-ranges = <13 4>, <56 2>; 564 + 565 + qup_uart1_sleep_cts: qup-uart1-sleep-cts-state { 566 + pins = "gpio61"; 567 + function = "gpio"; 568 + /* 569 + * Configure a bias-bus-hold on CTS to lower power 570 + * usage when Bluetooth is turned off. Bus hold will 571 + * maintain a low power state regardless of whether 572 + * the Bluetooth module drives the pin in either 573 + * direction or leaves the pin fully unpowered. 574 + */ 575 + bias-bus-hold; 576 + }; 577 + 578 + qup_uart1_sleep_rts: qup-uart1-sleep-rts-state { 579 + pins = "gpio62"; 580 + function = "gpio"; 581 + /* 582 + * Configure pull-down on RTS. As RTS is active low 583 + * signal, pull it low to indicate the BT SoC that it 584 + * can wakeup the system anytime from suspend state by 585 + * pulling RX low (by sending wakeup bytes). 586 + */ 587 + bias-pull-down; 588 + }; 589 + 590 + qup_uart1_sleep_rx: qup-uart1-sleep-rx-state { 591 + pins = "gpio64"; 592 + function = "gpio"; 593 + /* 594 + * Configure a pull-up on RX. This is needed to avoid 595 + * garbage data when the TX pin of the Bluetooth module 596 + * is floating which may cause spurious wakeups. 597 + */ 598 + bias-pull-up; 599 + }; 600 + 601 + qup_uart1_sleep_tx: qup-uart1-sleep-tx-state { 602 + pins = "gpio63"; 603 + function = "gpio"; 604 + /* 605 + * Configure pull-up on TX when it isn't actively driven 606 + * to prevent BT SoC from receiving garbage during sleep. 607 + */ 608 + bias-pull-up; 609 + }; 610 + }; 611 + 612 + &uart1 { 613 + /delete-property/ interrupts; 614 + interrupts-extended = <&intc GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>, 615 + <&tlmm 64 IRQ_TYPE_EDGE_FALLING>; 616 + 617 + pinctrl-names = "default", "sleep"; 618 + pinctrl-1 = <&qup_uart1_sleep_cts>, <&qup_uart1_sleep_rts>, <&qup_uart1_sleep_tx>, <&qup_uart1_sleep_rx>; 619 + 620 + status = "okay"; 621 + 622 + bluetooth { 623 + compatible = "qcom,wcn3988-bt"; 624 + 625 + vddio-supply = <&vreg_l11a>; 626 + vddxo-supply = <&vreg_l7a>; 627 + vddrf-supply = <&vreg_l2e>; 628 + vddch0-supply = <&vreg_l10e>; 629 + swctrl-gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>; 630 + 631 + max-speed = <3200000>; 632 + }; 598 633 }; 599 634 600 635 &uart9 {
+38 -30
arch/arm64/boot/dts/qcom/sm8150.dtsi
··· 55 55 next-level-cache = <&L2_0>; 56 56 qcom,freq-domain = <&cpufreq_hw 0>; 57 57 operating-points-v2 = <&cpu0_opp_table>; 58 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 59 - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 58 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 59 + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; 60 60 power-domains = <&CPU_PD0>; 61 61 power-domain-names = "psci"; 62 62 #cooling-cells = <2>; ··· 82 82 next-level-cache = <&L2_100>; 83 83 qcom,freq-domain = <&cpufreq_hw 0>; 84 84 operating-points-v2 = <&cpu0_opp_table>; 85 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 86 - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 85 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 86 + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; 87 87 power-domains = <&CPU_PD1>; 88 88 power-domain-names = "psci"; 89 89 #cooling-cells = <2>; ··· 105 105 next-level-cache = <&L2_200>; 106 106 qcom,freq-domain = <&cpufreq_hw 0>; 107 107 operating-points-v2 = <&cpu0_opp_table>; 108 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 109 - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 108 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 109 + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; 110 110 power-domains = <&CPU_PD2>; 111 111 power-domain-names = "psci"; 112 112 #cooling-cells = <2>; ··· 128 128 next-level-cache = <&L2_300>; 129 129 qcom,freq-domain = <&cpufreq_hw 0>; 130 130 operating-points-v2 = <&cpu0_opp_table>; 131 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 132 - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 131 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 132 + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; 133 133 power-domains = <&CPU_PD3>; 134 134 power-domain-names = "psci"; 135 135 #cooling-cells = <2>; ··· 151 151 next-level-cache = <&L2_400>; 152 152 qcom,freq-domain = <&cpufreq_hw 1>; 153 153 operating-points-v2 = <&cpu4_opp_table>; 154 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 155 - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 154 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 155 + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; 156 156 power-domains = <&CPU_PD4>; 157 157 power-domain-names = "psci"; 158 158 #cooling-cells = <2>; ··· 174 174 next-level-cache = <&L2_500>; 175 175 qcom,freq-domain = <&cpufreq_hw 1>; 176 176 operating-points-v2 = <&cpu4_opp_table>; 177 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 178 - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 177 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 178 + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; 179 179 power-domains = <&CPU_PD5>; 180 180 power-domain-names = "psci"; 181 181 #cooling-cells = <2>; ··· 197 197 next-level-cache = <&L2_600>; 198 198 qcom,freq-domain = <&cpufreq_hw 1>; 199 199 operating-points-v2 = <&cpu4_opp_table>; 200 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 201 - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 200 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 201 + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; 202 202 power-domains = <&CPU_PD6>; 203 203 power-domain-names = "psci"; 204 204 #cooling-cells = <2>; ··· 220 220 next-level-cache = <&L2_700>; 221 221 qcom,freq-domain = <&cpufreq_hw 2>; 222 222 operating-points-v2 = <&cpu7_opp_table>; 223 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 224 - <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 223 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 224 + <&osm_l3 MASTER_OSM_L3_APPS 0 &osm_l3 SLAVE_OSM_L3 0>; 225 225 power-domains = <&CPU_PD7>; 226 226 power-domain-names = "psci"; 227 227 #cooling-cells = <2>; ··· 1751 1751 config_noc: interconnect@1500000 { 1752 1752 compatible = "qcom,sm8150-config-noc"; 1753 1753 reg = <0 0x01500000 0 0x7400>; 1754 - #interconnect-cells = <1>; 1754 + #interconnect-cells = <2>; 1755 1755 qcom,bcm-voters = <&apps_bcm_voter>; 1756 1756 }; 1757 1757 1758 1758 system_noc: interconnect@1620000 { 1759 1759 compatible = "qcom,sm8150-system-noc"; 1760 1760 reg = <0 0x01620000 0 0x19400>; 1761 - #interconnect-cells = <1>; 1761 + #interconnect-cells = <2>; 1762 1762 qcom,bcm-voters = <&apps_bcm_voter>; 1763 1763 }; 1764 1764 1765 1765 mc_virt: interconnect@163a000 { 1766 1766 compatible = "qcom,sm8150-mc-virt"; 1767 1767 reg = <0 0x0163a000 0 0x1000>; 1768 - #interconnect-cells = <1>; 1768 + #interconnect-cells = <2>; 1769 1769 qcom,bcm-voters = <&apps_bcm_voter>; 1770 1770 }; 1771 1771 1772 1772 aggre1_noc: interconnect@16e0000 { 1773 1773 compatible = "qcom,sm8150-aggre1-noc"; 1774 1774 reg = <0 0x016e0000 0 0xd080>; 1775 - #interconnect-cells = <1>; 1775 + #interconnect-cells = <2>; 1776 1776 qcom,bcm-voters = <&apps_bcm_voter>; 1777 1777 }; 1778 1778 1779 1779 aggre2_noc: interconnect@1700000 { 1780 1780 compatible = "qcom,sm8150-aggre2-noc"; 1781 1781 reg = <0 0x01700000 0 0x20000>; 1782 - #interconnect-cells = <1>; 1782 + #interconnect-cells = <2>; 1783 1783 qcom,bcm-voters = <&apps_bcm_voter>; 1784 1784 }; 1785 1785 1786 1786 compute_noc: interconnect@1720000 { 1787 1787 compatible = "qcom,sm8150-compute-noc"; 1788 1788 reg = <0 0x01720000 0 0x7000>; 1789 - #interconnect-cells = <1>; 1789 + #interconnect-cells = <2>; 1790 1790 qcom,bcm-voters = <&apps_bcm_voter>; 1791 1791 }; 1792 1792 1793 1793 mmss_noc: interconnect@1740000 { 1794 1794 compatible = "qcom,sm8150-mmss-noc"; 1795 1795 reg = <0 0x01740000 0 0x1c100>; 1796 - #interconnect-cells = <1>; 1796 + #interconnect-cells = <2>; 1797 1797 qcom,bcm-voters = <&apps_bcm_voter>; 1798 1798 }; 1799 1799 ··· 2111 2111 <&apps_smmu 0x506 0x0011>, 2112 2112 <&apps_smmu 0x508 0x0011>, 2113 2113 <&apps_smmu 0x512 0x0000>; 2114 - interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>; 2114 + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 0 &mc_virt SLAVE_EBI_CH0 0>; 2115 2115 interconnect-names = "memory"; 2116 2116 }; 2117 2117 ··· 3538 3538 dc_noc: interconnect@9160000 { 3539 3539 compatible = "qcom,sm8150-dc-noc"; 3540 3540 reg = <0 0x09160000 0 0x3200>; 3541 - #interconnect-cells = <1>; 3541 + #interconnect-cells = <2>; 3542 3542 qcom,bcm-voters = <&apps_bcm_voter>; 3543 3543 }; 3544 3544 3545 3545 gem_noc: interconnect@9680000 { 3546 3546 compatible = "qcom,sm8150-gem-noc"; 3547 3547 reg = <0 0x09680000 0 0x3e200>; 3548 - #interconnect-cells = <1>; 3548 + #interconnect-cells = <2>; 3549 3549 qcom,bcm-voters = <&apps_bcm_voter>; 3550 3550 }; 3551 3551 ··· 3585 3585 power-domains = <&gcc USB30_PRIM_GDSC>; 3586 3586 3587 3587 resets = <&gcc GCC_USB30_PRIM_BCR>; 3588 + 3589 + interconnects = <&aggre1_noc MASTER_USB3 0 &mc_virt SLAVE_EBI_CH0 0>, 3590 + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>; 3591 + interconnect-names = "usb-ddr", "apps-usb"; 3588 3592 3589 3593 usb_1_dwc3: usb@a600000 { 3590 3594 compatible = "snps,dwc3"; ··· 3639 3635 3640 3636 resets = <&gcc GCC_USB30_SEC_BCR>; 3641 3637 3638 + interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI_CH0 0>, 3639 + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3_1 0>; 3640 + interconnect-names = "usb-ddr", "apps-usb"; 3641 + 3642 3642 usb_2_dwc3: usb@a800000 { 3643 3643 compatible = "snps,dwc3"; 3644 3644 reg = <0 0x0a800000 0 0xcd00>; ··· 3658 3650 camnoc_virt: interconnect@ac00000 { 3659 3651 compatible = "qcom,sm8150-camnoc-virt"; 3660 3652 reg = <0 0x0ac00000 0 0x1000>; 3661 - #interconnect-cells = <1>; 3653 + #interconnect-cells = <2>; 3662 3654 qcom,bcm-voters = <&apps_bcm_voter>; 3663 3655 }; 3664 3656 ··· 3667 3659 reg = <0 0x0ae00000 0 0x1000>; 3668 3660 reg-names = "mdss"; 3669 3661 3670 - interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>, 3671 - <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>; 3662 + interconnects = <&mmss_noc MASTER_MDP_PORT0 0 &mc_virt SLAVE_EBI_CH0 0>, 3663 + <&mmss_noc MASTER_MDP_PORT1 0 &mc_virt SLAVE_EBI_CH0 0>; 3672 3664 interconnect-names = "mdp0-mem", "mdp1-mem"; 3673 3665 3674 3666 power-domains = <&dispcc MDSS_GDSC>; ··· 4333 4325 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 4334 4326 clock-names = "xo", "alternate"; 4335 4327 4336 - #interconnect-cells = <1>; 4328 + #interconnect-cells = <2>; 4337 4329 }; 4338 4330 4339 4331 cpufreq_hw: cpufreq@18323000 {
+4 -3
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
··· 26 26 framebuffer: framebuffer@9c000000 { 27 27 compatible = "simple-framebuffer"; 28 28 reg = <0 0x9c000000 0 0x2300000>; 29 - width = <1644>; 30 - height = <3840>; 31 - stride = <(1644 * 4)>; 29 + /* pdx203 BL initializes in 2.5k mode, not 4k */ 30 + width = <1096>; 31 + height = <2560>; 32 + stride = <(1096 * 4)>; 32 33 format = "a8r8g8b8"; 33 34 /* 34 35 * That's a lot of clocks, but it's necessary due
+69 -69
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi
··· 470 470 status = "okay"; 471 471 }; 472 472 473 - &dsi0 { 474 - vdda-supply = <&vreg_l9a_1p2>; 475 - qcom,dual-dsi-mode; 476 - qcom,sync-dual-dsi; 477 - qcom,master-dsi; 478 - status = "okay"; 479 - 480 - display_panel: panel@0 { 481 - reg = <0>; 482 - vddio-supply = <&vreg_l14a_1p88>; 483 - reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; 484 - backlight = <&backlight>; 485 - 486 - status = "disabled"; 487 - 488 - ports { 489 - #address-cells = <1>; 490 - #size-cells = <0>; 491 - 492 - port@0 { 493 - reg = <0>; 494 - 495 - panel_in_0: endpoint { 496 - remote-endpoint = <&dsi0_out>; 497 - }; 498 - }; 499 - 500 - port@1{ 501 - reg = <1>; 502 - 503 - panel_in_1: endpoint { 504 - remote-endpoint = <&dsi1_out>; 505 - }; 506 - }; 507 - }; 508 - }; 509 - }; 510 - 511 - &dsi0_out { 512 - data-lanes = <0 1 2>; 513 - remote-endpoint = <&panel_in_0>; 514 - }; 515 - 516 - &dsi0_phy { 517 - vdds-supply = <&vreg_l5a_0p88>; 518 - phy-type = <PHY_TYPE_CPHY>; 519 - status = "okay"; 520 - }; 521 - 522 - &dsi1 { 523 - vdda-supply = <&vreg_l9a_1p2>; 524 - qcom,dual-dsi-mode; 525 - qcom,sync-dual-dsi; 526 - /* DSI1 is slave, so use DSI0 clocks */ 527 - assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 528 - status = "okay"; 529 - }; 530 - 531 - &dsi1_out { 532 - data-lanes = <0 1 2>; 533 - remote-endpoint = <&panel_in_1>; 534 - }; 535 - 536 - &dsi1_phy { 537 - vdds-supply = <&vreg_l5a_0p88>; 538 - phy-type = <PHY_TYPE_CPHY>; 539 - status = "okay"; 540 - }; 541 - 542 473 &gmu { 543 474 status = "okay"; 544 475 }; ··· 535 604 }; 536 605 537 606 &mdss { 607 + status = "okay"; 608 + }; 609 + 610 + &mdss_dsi0 { 611 + vdda-supply = <&vreg_l9a_1p2>; 612 + qcom,dual-dsi-mode; 613 + qcom,sync-dual-dsi; 614 + qcom,master-dsi; 615 + status = "okay"; 616 + 617 + display_panel: panel@0 { 618 + reg = <0>; 619 + vddio-supply = <&vreg_l14a_1p88>; 620 + reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; 621 + backlight = <&backlight>; 622 + 623 + status = "disabled"; 624 + 625 + ports { 626 + #address-cells = <1>; 627 + #size-cells = <0>; 628 + 629 + port@0 { 630 + reg = <0>; 631 + 632 + panel_in_0: endpoint { 633 + remote-endpoint = <&mdss_dsi0_out>; 634 + }; 635 + }; 636 + 637 + port@1{ 638 + reg = <1>; 639 + 640 + panel_in_1: endpoint { 641 + remote-endpoint = <&mdss_dsi1_out>; 642 + }; 643 + }; 644 + }; 645 + }; 646 + }; 647 + 648 + &mdss_dsi0_out { 649 + data-lanes = <0 1 2>; 650 + remote-endpoint = <&panel_in_0>; 651 + }; 652 + 653 + &mdss_dsi0_phy { 654 + vdds-supply = <&vreg_l5a_0p88>; 655 + phy-type = <PHY_TYPE_CPHY>; 656 + status = "okay"; 657 + }; 658 + 659 + &mdss_dsi1 { 660 + vdda-supply = <&vreg_l9a_1p2>; 661 + qcom,dual-dsi-mode; 662 + qcom,sync-dual-dsi; 663 + /* DSI1 is slave, so use DSI0 clocks */ 664 + assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; 665 + status = "okay"; 666 + }; 667 + 668 + &mdss_dsi1_out { 669 + data-lanes = <0 1 2>; 670 + remote-endpoint = <&panel_in_1>; 671 + }; 672 + 673 + &mdss_dsi1_phy { 674 + vdds-supply = <&vreg_l5a_0p88>; 675 + phy-type = <PHY_TYPE_CPHY>; 538 676 status = "okay"; 539 677 }; 540 678
+62 -54
arch/arm64/boot/dts/qcom/sm8250.dtsi
··· 106 106 power-domain-names = "psci"; 107 107 qcom,freq-domain = <&cpufreq_hw 0>; 108 108 operating-points-v2 = <&cpu0_opp_table>; 109 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 110 - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; 109 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 110 + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; 111 111 #cooling-cells = <2>; 112 112 L2_0: l2-cache { 113 113 compatible = "cache"; ··· 137 137 power-domain-names = "psci"; 138 138 qcom,freq-domain = <&cpufreq_hw 0>; 139 139 operating-points-v2 = <&cpu0_opp_table>; 140 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 141 - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; 140 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 141 + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; 142 142 #cooling-cells = <2>; 143 143 L2_100: l2-cache { 144 144 compatible = "cache"; ··· 162 162 power-domain-names = "psci"; 163 163 qcom,freq-domain = <&cpufreq_hw 0>; 164 164 operating-points-v2 = <&cpu0_opp_table>; 165 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 166 - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; 165 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 166 + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; 167 167 #cooling-cells = <2>; 168 168 L2_200: l2-cache { 169 169 compatible = "cache"; ··· 187 187 power-domain-names = "psci"; 188 188 qcom,freq-domain = <&cpufreq_hw 0>; 189 189 operating-points-v2 = <&cpu0_opp_table>; 190 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 191 - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; 190 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 191 + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; 192 192 #cooling-cells = <2>; 193 193 L2_300: l2-cache { 194 194 compatible = "cache"; ··· 212 212 power-domain-names = "psci"; 213 213 qcom,freq-domain = <&cpufreq_hw 1>; 214 214 operating-points-v2 = <&cpu4_opp_table>; 215 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 216 - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; 215 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 216 + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; 217 217 #cooling-cells = <2>; 218 218 L2_400: l2-cache { 219 219 compatible = "cache"; ··· 237 237 power-domain-names = "psci"; 238 238 qcom,freq-domain = <&cpufreq_hw 1>; 239 239 operating-points-v2 = <&cpu4_opp_table>; 240 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 241 - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; 240 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 241 + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; 242 242 #cooling-cells = <2>; 243 243 L2_500: l2-cache { 244 244 compatible = "cache"; ··· 262 262 power-domain-names = "psci"; 263 263 qcom,freq-domain = <&cpufreq_hw 1>; 264 264 operating-points-v2 = <&cpu4_opp_table>; 265 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 266 - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; 265 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 266 + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; 267 267 #cooling-cells = <2>; 268 268 L2_600: l2-cache { 269 269 compatible = "cache"; ··· 287 287 power-domain-names = "psci"; 288 288 qcom,freq-domain = <&cpufreq_hw 2>; 289 289 operating-points-v2 = <&cpu7_opp_table>; 290 - interconnects = <&gem_noc MASTER_AMPSS_M0 &mc_virt SLAVE_EBI_CH0>, 291 - <&epss_l3 MASTER_OSM_L3_APPS &epss_l3 SLAVE_OSM_L3>; 290 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &mc_virt SLAVE_EBI_CH0 0>, 291 + <&epss_l3 MASTER_OSM_L3_APPS 0 &epss_l3 SLAVE_OSM_L3 0>; 292 292 #cooling-cells = <2>; 293 293 L2_700: l2-cache { 294 294 compatible = "cache"; ··· 1789 1789 config_noc: interconnect@1500000 { 1790 1790 compatible = "qcom,sm8250-config-noc"; 1791 1791 reg = <0 0x01500000 0 0xa580>; 1792 - #interconnect-cells = <1>; 1792 + #interconnect-cells = <2>; 1793 1793 qcom,bcm-voters = <&apps_bcm_voter>; 1794 1794 }; 1795 1795 1796 1796 system_noc: interconnect@1620000 { 1797 1797 compatible = "qcom,sm8250-system-noc"; 1798 1798 reg = <0 0x01620000 0 0x1c200>; 1799 - #interconnect-cells = <1>; 1799 + #interconnect-cells = <2>; 1800 1800 qcom,bcm-voters = <&apps_bcm_voter>; 1801 1801 }; 1802 1802 1803 1803 mc_virt: interconnect@163d000 { 1804 1804 compatible = "qcom,sm8250-mc-virt"; 1805 1805 reg = <0 0x0163d000 0 0x1000>; 1806 - #interconnect-cells = <1>; 1806 + #interconnect-cells = <2>; 1807 1807 qcom,bcm-voters = <&apps_bcm_voter>; 1808 1808 }; 1809 1809 1810 1810 aggre1_noc: interconnect@16e0000 { 1811 1811 compatible = "qcom,sm8250-aggre1-noc"; 1812 1812 reg = <0 0x016e0000 0 0x1f180>; 1813 - #interconnect-cells = <1>; 1813 + #interconnect-cells = <2>; 1814 1814 qcom,bcm-voters = <&apps_bcm_voter>; 1815 1815 }; 1816 1816 1817 1817 aggre2_noc: interconnect@1700000 { 1818 1818 compatible = "qcom,sm8250-aggre2-noc"; 1819 1819 reg = <0 0x01700000 0 0x33000>; 1820 - #interconnect-cells = <1>; 1820 + #interconnect-cells = <2>; 1821 1821 qcom,bcm-voters = <&apps_bcm_voter>; 1822 1822 }; 1823 1823 1824 1824 compute_noc: interconnect@1733000 { 1825 1825 compatible = "qcom,sm8250-compute-noc"; 1826 1826 reg = <0 0x01733000 0 0xa180>; 1827 - #interconnect-cells = <1>; 1827 + #interconnect-cells = <2>; 1828 1828 qcom,bcm-voters = <&apps_bcm_voter>; 1829 1829 }; 1830 1830 1831 1831 mmss_noc: interconnect@1740000 { 1832 1832 compatible = "qcom,sm8250-mmss-noc"; 1833 1833 reg = <0 0x01740000 0 0x1f080>; 1834 - #interconnect-cells = <1>; 1834 + #interconnect-cells = <2>; 1835 1835 qcom,bcm-voters = <&apps_bcm_voter>; 1836 1836 }; 1837 1837 ··· 2260 2260 <&apps_smmu 0x59f 0x0000>, 2261 2261 <&apps_smmu 0x586 0x0011>, 2262 2262 <&apps_smmu 0x596 0x0011>; 2263 - interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>; 2263 + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 0 &mc_virt SLAVE_EBI_CH0 0>; 2264 2264 interconnect-names = "memory"; 2265 2265 }; 2266 2266 ··· 3693 3693 dc_noc: interconnect@90c0000 { 3694 3694 compatible = "qcom,sm8250-dc-noc"; 3695 3695 reg = <0 0x090c0000 0 0x4200>; 3696 - #interconnect-cells = <1>; 3696 + #interconnect-cells = <2>; 3697 3697 qcom,bcm-voters = <&apps_bcm_voter>; 3698 3698 }; 3699 3699 3700 3700 gem_noc: interconnect@9100000 { 3701 3701 compatible = "qcom,sm8250-gem-noc"; 3702 3702 reg = <0 0x09100000 0 0xb4000>; 3703 - #interconnect-cells = <1>; 3703 + #interconnect-cells = <2>; 3704 3704 qcom,bcm-voters = <&apps_bcm_voter>; 3705 3705 }; 3706 3706 3707 3707 npu_noc: interconnect@9990000 { 3708 3708 compatible = "qcom,sm8250-npu-noc"; 3709 3709 reg = <0 0x09990000 0 0x1600>; 3710 - #interconnect-cells = <1>; 3710 + #interconnect-cells = <2>; 3711 3711 qcom,bcm-voters = <&apps_bcm_voter>; 3712 3712 }; 3713 3713 ··· 3749 3749 power-domains = <&gcc USB30_PRIM_GDSC>; 3750 3750 3751 3751 resets = <&gcc GCC_USB30_PRIM_BCR>; 3752 + 3753 + interconnects = <&aggre1_noc MASTER_USB3 0 &mc_virt SLAVE_EBI_CH0 0>, 3754 + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>; 3755 + interconnect-names = "usb-ddr", "apps-usb"; 3752 3756 3753 3757 usb_1_dwc3: usb@a600000 { 3754 3758 compatible = "snps,dwc3"; ··· 3814 3810 3815 3811 resets = <&gcc GCC_USB30_SEC_BCR>; 3816 3812 3813 + interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI_CH0 0>, 3814 + <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3_1 0>; 3815 + interconnect-names = "usb-ddr", "apps-usb"; 3816 + 3817 3817 usb_2_dwc3: usb@a800000 { 3818 3818 compatible = "snps,dwc3"; 3819 3819 reg = <0 0x0a800000 0 0xcd00>; ··· 3845 3837 <&videocc VIDEO_CC_MVS0_CLK>; 3846 3838 clock-names = "iface", "core", "vcodec0_core"; 3847 3839 3848 - interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>, 3849 - <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>; 3840 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_VENUS_CFG 0>, 3841 + <&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI_CH0 0>; 3850 3842 interconnect-names = "cpu-cfg", "video-mem"; 3851 3843 3852 3844 iommus = <&apps_smmu 0x2100 0x0400>; ··· 4130 4122 <&apps_smmu 0xc40 0x400>, 4131 4123 <&apps_smmu 0xc41 0x400>; 4132 4124 4133 - interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_CAMERA_CFG>, 4134 - <&mmss_noc MASTER_CAMNOC_HF &mc_virt SLAVE_EBI_CH0>, 4135 - <&mmss_noc MASTER_CAMNOC_SF &mc_virt SLAVE_EBI_CH0>, 4136 - <&mmss_noc MASTER_CAMNOC_ICP &mc_virt SLAVE_EBI_CH0>; 4125 + interconnects = <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_CAMERA_CFG 0>, 4126 + <&mmss_noc MASTER_CAMNOC_HF 0 &mc_virt SLAVE_EBI_CH0 0>, 4127 + <&mmss_noc MASTER_CAMNOC_SF 0 &mc_virt SLAVE_EBI_CH0 0>, 4128 + <&mmss_noc MASTER_CAMNOC_ICP 0 &mc_virt SLAVE_EBI_CH0 0>; 4137 4129 interconnect-names = "cam_ahb", 4138 4130 "cam_hf_0_mnoc", 4139 4131 "cam_sf_0_mnoc", ··· 4190 4182 reg = <0 0x0ae00000 0 0x1000>; 4191 4183 reg-names = "mdss"; 4192 4184 4193 - interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>, 4194 - <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>; 4185 + interconnects = <&mmss_noc MASTER_MDP_PORT0 0 &mc_virt SLAVE_EBI_CH0 0>, 4186 + <&mmss_noc MASTER_MDP_PORT1 0 &mc_virt SLAVE_EBI_CH0 0>; 4195 4187 interconnect-names = "mdp0-mem", "mdp1-mem"; 4196 4188 4197 4189 power-domains = <&dispcc MDSS_GDSC>; ··· 4242 4234 port@0 { 4243 4235 reg = <0>; 4244 4236 dpu_intf1_out: endpoint { 4245 - remote-endpoint = <&dsi0_in>; 4237 + remote-endpoint = <&mdss_dsi0_in>; 4246 4238 }; 4247 4239 }; 4248 4240 4249 4241 port@1 { 4250 4242 reg = <1>; 4251 4243 dpu_intf2_out: endpoint { 4252 - remote-endpoint = <&dsi1_in>; 4244 + remote-endpoint = <&mdss_dsi1_in>; 4253 4245 }; 4254 4246 }; 4255 4247 }; ··· 4279 4271 }; 4280 4272 }; 4281 4273 4282 - dsi0: dsi@ae94000 { 4274 + mdss_dsi0: dsi@ae94000 { 4283 4275 compatible = "qcom,sm8250-dsi-ctrl", 4284 4276 "qcom,mdss-dsi-ctrl"; 4285 4277 reg = <0 0x0ae94000 0 0x400>; ··· 4302 4294 "bus"; 4303 4295 4304 4296 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; 4305 - assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 4297 + assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; 4306 4298 4307 4299 operating-points-v2 = <&dsi_opp_table>; 4308 4300 power-domains = <&rpmhpd SM8250_MMCX>; 4309 4301 4310 - phys = <&dsi0_phy>; 4302 + phys = <&mdss_dsi0_phy>; 4311 4303 4312 4304 status = "disabled"; 4313 4305 ··· 4320 4312 4321 4313 port@0 { 4322 4314 reg = <0>; 4323 - dsi0_in: endpoint { 4315 + mdss_dsi0_in: endpoint { 4324 4316 remote-endpoint = <&dpu_intf1_out>; 4325 4317 }; 4326 4318 }; 4327 4319 4328 4320 port@1 { 4329 4321 reg = <1>; 4330 - dsi0_out: endpoint { 4322 + mdss_dsi0_out: endpoint { 4331 4323 }; 4332 4324 }; 4333 4325 }; ··· 4352 4344 }; 4353 4345 }; 4354 4346 4355 - dsi0_phy: phy@ae94400 { 4347 + mdss_dsi0_phy: phy@ae94400 { 4356 4348 compatible = "qcom,dsi-phy-7nm"; 4357 4349 reg = <0 0x0ae94400 0 0x200>, 4358 4350 <0 0x0ae94600 0 0x280>, ··· 4371 4363 status = "disabled"; 4372 4364 }; 4373 4365 4374 - dsi1: dsi@ae96000 { 4366 + mdss_dsi1: dsi@ae96000 { 4375 4367 compatible = "qcom,sm8250-dsi-ctrl", 4376 4368 "qcom,mdss-dsi-ctrl"; 4377 4369 reg = <0 0x0ae96000 0 0x400>; ··· 4394 4386 "bus"; 4395 4387 4396 4388 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; 4397 - assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>; 4389 + assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; 4398 4390 4399 4391 operating-points-v2 = <&dsi_opp_table>; 4400 4392 power-domains = <&rpmhpd SM8250_MMCX>; 4401 4393 4402 - phys = <&dsi1_phy>; 4394 + phys = <&mdss_dsi1_phy>; 4403 4395 4404 4396 status = "disabled"; 4405 4397 ··· 4412 4404 4413 4405 port@0 { 4414 4406 reg = <0>; 4415 - dsi1_in: endpoint { 4407 + mdss_dsi1_in: endpoint { 4416 4408 remote-endpoint = <&dpu_intf2_out>; 4417 4409 }; 4418 4410 }; 4419 4411 4420 4412 port@1 { 4421 4413 reg = <1>; 4422 - dsi1_out: endpoint { 4414 + mdss_dsi1_out: endpoint { 4423 4415 }; 4424 4416 }; 4425 4417 }; 4426 4418 }; 4427 4419 4428 - dsi1_phy: phy@ae96400 { 4420 + mdss_dsi1_phy: phy@ae96400 { 4429 4421 compatible = "qcom,dsi-phy-7nm"; 4430 4422 reg = <0 0x0ae96400 0 0x200>, 4431 4423 <0 0x0ae96600 0 0x280>, ··· 4451 4443 power-domains = <&rpmhpd SM8250_MMCX>; 4452 4444 required-opps = <&rpmhpd_opp_low_svs>; 4453 4445 clocks = <&rpmhcc RPMH_CXO_CLK>, 4454 - <&dsi0_phy 0>, 4455 - <&dsi0_phy 1>, 4456 - <&dsi1_phy 0>, 4457 - <&dsi1_phy 1>, 4446 + <&mdss_dsi0_phy 0>, 4447 + <&mdss_dsi0_phy 1>, 4448 + <&mdss_dsi1_phy 0>, 4449 + <&mdss_dsi1_phy 1>, 4458 4450 <&dp_phy 0>, 4459 4451 <&dp_phy 1>; 4460 4452 clock-names = "bi_tcxo", ··· 5679 5671 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 5680 5672 clock-names = "xo", "alternate"; 5681 5673 5682 - #interconnect-cells = <1>; 5674 + #interconnect-cells = <2>; 5683 5675 }; 5684 5676 5685 5677 cpufreq_hw: cpufreq@18591000 {
-4
arch/arm64/boot/dts/qcom/sm8350-hdk.dts
··· 424 424 }; 425 425 }; 426 426 427 - &mdss_mdp { 428 - status = "okay"; 429 - }; 430 - 431 427 &mpss { 432 428 status = "okay"; 433 429 firmware-name = "qcom/sm8350/modem.mbn";
+8
arch/arm64/boot/dts/qcom/sm8350.dtsi
··· 2295 2295 2296 2296 resets = <&gcc GCC_USB30_PRIM_BCR>; 2297 2297 2298 + interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, 2299 + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; 2300 + interconnect-names = "usb-ddr", "apps-usb"; 2301 + 2298 2302 usb_1_dwc3: usb@a600000 { 2299 2303 compatible = "snps,dwc3"; 2300 2304 reg = <0 0x0a600000 0 0xcd00>; ··· 2367 2363 power-domains = <&gcc USB30_SEC_GDSC>; 2368 2364 2369 2365 resets = <&gcc GCC_USB30_SEC_BCR>; 2366 + 2367 + interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI1 0>, 2368 + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>; 2369 + interconnect-names = "usb-ddr", "apps-usb"; 2370 2370 2371 2371 usb_2_dwc3: usb@a800000 { 2372 2372 compatible = "snps,dwc3";
-4
arch/arm64/boot/dts/qcom/sm8450-hdk.dts
··· 568 568 }; 569 569 }; 570 570 571 - &mdss_mdp { 572 - status = "okay"; 573 - }; 574 - 575 571 &pcie0 { 576 572 status = "okay"; 577 573 max-link-speed = <2>;
+4
arch/arm64/boot/dts/qcom/sm8450.dtsi
··· 4297 4297 4298 4298 resets = <&gcc GCC_USB30_PRIM_BCR>; 4299 4299 4300 + interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, 4301 + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; 4302 + interconnect-names = "usb-ddr", "apps-usb"; 4303 + 4300 4304 usb_1_dwc3: usb@a600000 { 4301 4305 compatible = "snps,dwc3"; 4302 4306 reg = <0 0x0a600000 0 0xcd00>;
+129
arch/arm64/boot/dts/qcom/sm8550-mtp.dts
··· 87 87 }; 88 88 }; 89 89 90 + sound { 91 + compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard"; 92 + model = "SM8550-MTP"; 93 + audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", 94 + "SpkrRight IN", "WSA_SPK2 OUT", 95 + "IN1_HPHL", "HPHL_OUT", 96 + "IN2_HPHR", "HPHR_OUT", 97 + "AMIC2", "MIC BIAS2", 98 + "VA DMIC0", "MIC BIAS1", 99 + "VA DMIC1", "MIC BIAS1", 100 + "VA DMIC2", "MIC BIAS3", 101 + "TX DMIC0", "MIC BIAS1", 102 + "TX DMIC1", "MIC BIAS2", 103 + "TX DMIC2", "MIC BIAS3", 104 + "TX SWR_ADC1", "ADC2_OUTPUT"; 105 + 106 + wcd-playback-dai-link { 107 + link-name = "WCD Playback"; 108 + 109 + cpu { 110 + sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 111 + }; 112 + 113 + codec { 114 + sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 115 + }; 116 + 117 + platform { 118 + sound-dai = <&q6apm>; 119 + }; 120 + }; 121 + 122 + wcd-capture-dai-link { 123 + link-name = "WCD Capture"; 124 + 125 + cpu { 126 + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 127 + }; 128 + 129 + codec { 130 + sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>; 131 + }; 132 + 133 + platform { 134 + sound-dai = <&q6apm>; 135 + }; 136 + }; 137 + 138 + wsa-dai-link { 139 + link-name = "WSA Playback"; 140 + 141 + cpu { 142 + sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 143 + }; 144 + 145 + codec { 146 + sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; 147 + }; 148 + 149 + platform { 150 + sound-dai = <&q6apm>; 151 + }; 152 + }; 153 + 154 + va-dai-link { 155 + link-name = "VA Capture"; 156 + 157 + cpu { 158 + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 159 + }; 160 + 161 + codec { 162 + sound-dai = <&lpass_vamacro 0>; 163 + }; 164 + 165 + platform { 166 + sound-dai = <&q6apm>; 167 + }; 168 + }; 169 + }; 170 + 90 171 vph_pwr: vph-pwr-regulator { 91 172 compatible = "regulator-fixed"; 92 173 regulator-name = "vph_pwr"; ··· 500 419 }; 501 420 }; 502 421 422 + &lpass_tlmm { 423 + spkr_1_sd_n_active: spkr-1-sd-n-active-state { 424 + pins = "gpio17"; 425 + function = "gpio"; 426 + drive-strength = <16>; 427 + bias-disable; 428 + output-low; 429 + }; 430 + 431 + spkr_2_sd_n_active: spkr-2-sd-n-active-state { 432 + pins = "gpio18"; 433 + function = "gpio"; 434 + drive-strength = <16>; 435 + bias-disable; 436 + output-low; 437 + }; 438 + }; 439 + 503 440 &mdss { 504 441 status = "okay"; 505 442 }; ··· 650 551 651 552 &sleep_clk { 652 553 clock-frequency = <32000>; 554 + }; 555 + 556 + &swr0 { 557 + status = "okay"; 558 + 559 + /* WSA8845 */ 560 + left_spkr: speaker@0,0 { 561 + compatible = "sdw20217020400"; 562 + reg = <0 0>; 563 + pinctrl-names = "default"; 564 + pinctrl-0 = <&spkr_1_sd_n_active>; 565 + powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 566 + #sound-dai-cells = <0>; 567 + sound-name-prefix = "SpkrLeft"; 568 + vdd-1p8-supply = <&vreg_l15b_1p8>; 569 + vdd-io-supply = <&vreg_l3g_1p2>; 570 + }; 571 + 572 + /* WSA8845 */ 573 + right_spkr: speaker@0,1 { 574 + compatible = "sdw20217020400"; 575 + reg = <0 1>; 576 + pinctrl-names = "default"; 577 + pinctrl-0 = <&spkr_2_sd_n_active>; 578 + powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 579 + #sound-dai-cells = <0>; 580 + sound-name-prefix = "SpkrRight"; 581 + vdd-1p8-supply = <&vreg_l15b_1p8>; 582 + vdd-io-supply = <&vreg_l3g_1p2>; 583 + }; 653 584 }; 654 585 655 586 &swr1 {
+192
arch/arm64/boot/dts/qcom/sm8550-qrd.dts
··· 54 54 stdout-path = "serial0:115200n8"; 55 55 }; 56 56 57 + gpio-keys { 58 + compatible = "gpio-keys"; 59 + 60 + pinctrl-0 = <&volume_up_n>; 61 + pinctrl-names = "default"; 62 + 63 + key-volume-up { 64 + label = "Volume Up"; 65 + linux,code = <KEY_VOLUMEUP>; 66 + gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>; 67 + debounce-interval = <15>; 68 + linux,can-disable; 69 + wakeup-source; 70 + }; 71 + }; 72 + 57 73 pmic-glink { 58 74 compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink"; 59 75 #address-cells = <1>; ··· 100 84 remote-endpoint = <&usb_1_dwc3_ss>; 101 85 }; 102 86 }; 87 + }; 88 + }; 89 + }; 90 + 91 + sound { 92 + compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard"; 93 + model = "SM8550-QRD"; 94 + audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", 95 + "SpkrRight IN", "WSA_SPK2 OUT", 96 + "IN1_HPHL", "HPHL_OUT", 97 + "IN2_HPHR", "HPHR_OUT", 98 + "AMIC2", "MIC BIAS2", 99 + "VA DMIC0", "MIC BIAS1", 100 + "VA DMIC1", "MIC BIAS1", 101 + "VA DMIC2", "MIC BIAS3", 102 + "TX DMIC0", "MIC BIAS1", 103 + "TX DMIC1", "MIC BIAS2", 104 + "TX DMIC2", "MIC BIAS3", 105 + "TX SWR_ADC1", "ADC2_OUTPUT"; 106 + 107 + wcd-playback-dai-link { 108 + link-name = "WCD Playback"; 109 + 110 + cpu { 111 + sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 112 + }; 113 + 114 + codec { 115 + sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 116 + }; 117 + 118 + platform { 119 + sound-dai = <&q6apm>; 120 + }; 121 + }; 122 + 123 + wcd-capture-dai-link { 124 + link-name = "WCD Capture"; 125 + 126 + cpu { 127 + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 128 + }; 129 + 130 + codec { 131 + sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>; 132 + }; 133 + 134 + platform { 135 + sound-dai = <&q6apm>; 136 + }; 137 + }; 138 + 139 + wsa-dai-link { 140 + link-name = "WSA Playback"; 141 + 142 + cpu { 143 + sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 144 + }; 145 + 146 + codec { 147 + sound-dai = <&north_spkr>, <&south_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; 148 + }; 149 + 150 + platform { 151 + sound-dai = <&q6apm>; 152 + }; 153 + }; 154 + 155 + va-dai-link { 156 + link-name = "VA Capture"; 157 + 158 + cpu { 159 + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 160 + }; 161 + 162 + codec { 163 + sound-dai = <&lpass_vamacro 0>; 164 + }; 165 + 166 + platform { 167 + sound-dai = <&q6apm>; 103 168 }; 104 169 }; 105 170 }; ··· 528 431 <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>; 529 432 }; 530 433 434 + &lpass_tlmm { 435 + spkr_1_sd_n_active: spkr-1-sd-n-active-state { 436 + pins = "gpio17"; 437 + function = "gpio"; 438 + drive-strength = <16>; 439 + bias-disable; 440 + output-low; 441 + }; 442 + 443 + spkr_2_sd_n_active: spkr-2-sd-n-active-state { 444 + pins = "gpio18"; 445 + function = "gpio"; 446 + drive-strength = <16>; 447 + bias-disable; 448 + output-low; 449 + }; 450 + }; 451 + 531 452 &mdss { 532 453 status = "okay"; 533 454 }; ··· 631 516 }; 632 517 }; 633 518 519 + &pm8550_gpios { 520 + volume_up_n: volume-up-n-state { 521 + pins = "gpio6"; 522 + function = "normal"; 523 + power-source = <1>; 524 + bias-pull-up; 525 + input-enable; 526 + }; 527 + }; 528 + 529 + &pm8550_pwm { 530 + status = "okay"; 531 + 532 + multi-led { 533 + color = <LED_COLOR_ID_RGB>; 534 + function = LED_FUNCTION_STATUS; 535 + 536 + #address-cells = <1>; 537 + #size-cells = <0>; 538 + 539 + led@1 { 540 + reg = <1>; 541 + color = <LED_COLOR_ID_RED>; 542 + }; 543 + 544 + led@2 { 545 + reg = <2>; 546 + color = <LED_COLOR_ID_GREEN>; 547 + }; 548 + 549 + led@3 { 550 + reg = <3>; 551 + color = <LED_COLOR_ID_BLUE>; 552 + }; 553 + }; 554 + }; 555 + 634 556 &pm8550b_eusb2_repeater { 635 557 vdd18-supply = <&vreg_l15b_1p8>; 636 558 vdd3-supply = <&vreg_l5b_3p1>; 559 + }; 560 + 561 + &pon_pwrkey { 562 + status = "okay"; 563 + }; 564 + 565 + &pon_resin { 566 + linux,code = <KEY_VOLUMEDOWN>; 567 + 568 + status = "okay"; 637 569 }; 638 570 639 571 &pcie_1_phy_aux_clk { ··· 711 549 712 550 &sleep_clk { 713 551 clock-frequency = <32000>; 552 + }; 553 + 554 + &swr0 { 555 + status = "okay"; 556 + 557 + /* WSA8845, Speaker North */ 558 + north_spkr: speaker@0,0 { 559 + compatible = "sdw20217020400"; 560 + reg = <0 0>; 561 + pinctrl-names = "default"; 562 + pinctrl-0 = <&spkr_1_sd_n_active>; 563 + powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 564 + #sound-dai-cells = <0>; 565 + sound-name-prefix = "SpkrLeft"; 566 + vdd-1p8-supply = <&vreg_l15b_1p8>; 567 + vdd-io-supply = <&vreg_l3g_1p2>; 568 + }; 569 + 570 + /* WSA8845, Speaker South */ 571 + south_spkr: speaker@0,1 { 572 + compatible = "sdw20217020400"; 573 + reg = <0 1>; 574 + pinctrl-names = "default"; 575 + pinctrl-0 = <&spkr_2_sd_n_active>; 576 + powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 577 + #sound-dai-cells = <0>; 578 + sound-name-prefix = "SpkrRight"; 579 + vdd-1p8-supply = <&vreg_l15b_1p8>; 580 + vdd-io-supply = <&vreg_l3g_1p2>; 581 + }; 714 582 }; 715 583 716 584 &swr1 {
+95 -5
arch/arm64/boot/dts/qcom/sm8550.dtsi
··· 2486 2486 remote-endpoint = <&mdss_dsi1_in>; 2487 2487 }; 2488 2488 }; 2489 + 2490 + port@2 { 2491 + reg = <2>; 2492 + dpu_intf0_out: endpoint { 2493 + remote-endpoint = <&mdss_dp0_in>; 2494 + }; 2495 + }; 2489 2496 }; 2490 2497 2491 2498 mdp_opp_table: opp-table { ··· 2515 2508 2516 2509 opp-514000000 { 2517 2510 opp-hz = /bits/ 64 <514000000>; 2511 + required-opps = <&rpmhpd_opp_nom>; 2512 + }; 2513 + }; 2514 + }; 2515 + 2516 + mdss_dp0: displayport-controller@ae90000 { 2517 + compatible = "qcom,sm8550-dp", "qcom,sm8350-dp"; 2518 + reg = <0 0xae90000 0 0x200>, 2519 + <0 0xae90200 0 0x200>, 2520 + <0 0xae90400 0 0xc00>, 2521 + <0 0xae91000 0 0x400>, 2522 + <0 0xae91400 0 0x400>; 2523 + interrupt-parent = <&mdss>; 2524 + interrupts = <12>; 2525 + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 2526 + <&dispcc DISP_CC_MDSS_DPTX0_AUX_CLK>, 2527 + <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK>, 2528 + <&dispcc DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, 2529 + <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK>; 2530 + clock-names = "core_iface", 2531 + "core_aux", 2532 + "ctrl_link", 2533 + "ctrl_link_iface", 2534 + "stream_pixel"; 2535 + 2536 + assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, 2537 + <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>; 2538 + assigned-clock-parents = <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, 2539 + <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; 2540 + 2541 + phys = <&usb_dp_qmpphy QMP_USB43DP_DP_PHY>; 2542 + phy-names = "dp"; 2543 + 2544 + #sound-dai-cells = <0>; 2545 + 2546 + operating-points-v2 = <&dp_opp_table>; 2547 + power-domains = <&rpmhpd SM8550_MMCX>; 2548 + 2549 + status = "disabled"; 2550 + 2551 + ports { 2552 + #address-cells = <1>; 2553 + #size-cells = <0>; 2554 + 2555 + port@0 { 2556 + reg = <0>; 2557 + mdss_dp0_in: endpoint { 2558 + remote-endpoint = <&dpu_intf0_out>; 2559 + }; 2560 + }; 2561 + 2562 + port@1 { 2563 + reg = <1>; 2564 + mdss_dp0_out: endpoint { 2565 + }; 2566 + }; 2567 + }; 2568 + 2569 + dp_opp_table: opp-table { 2570 + compatible = "operating-points-v2"; 2571 + 2572 + opp-162000000 { 2573 + opp-hz = /bits/ 64 <162000000>; 2574 + required-opps = <&rpmhpd_opp_low_svs_d1>; 2575 + }; 2576 + 2577 + opp-270000000 { 2578 + opp-hz = /bits/ 64 <270000000>; 2579 + required-opps = <&rpmhpd_opp_low_svs>; 2580 + }; 2581 + 2582 + opp-540000000 { 2583 + opp-hz = /bits/ 64 <540000000>; 2584 + required-opps = <&rpmhpd_opp_svs_l1>; 2585 + }; 2586 + 2587 + opp-810000000 { 2588 + opp-hz = /bits/ 64 <810000000>; 2518 2589 required-opps = <&rpmhpd_opp_nom>; 2519 2590 }; 2520 2591 }; ··· 2781 2696 <&mdss_dsi0_phy 1>, 2782 2697 <&mdss_dsi1_phy 0>, 2783 2698 <&mdss_dsi1_phy 1>, 2784 - <0>, /* dp0 */ 2785 - <0>, 2699 + <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, 2700 + <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, 2786 2701 <0>, /* dp1 */ 2787 2702 <0>, 2788 2703 <0>, /* dp2 */ ··· 2868 2783 required-opps = <&rpmhpd_opp_nom>; 2869 2784 2870 2785 resets = <&gcc GCC_USB30_PRIM_BCR>; 2786 + 2787 + interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, 2788 + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; 2789 + interconnect-names = "usb-ddr", "apps-usb"; 2871 2790 2872 2791 status = "disabled"; 2873 2792 ··· 3701 3612 qcom,drv-id = <2>; 3702 3613 qcom,tcs-config = <ACTIVE_TCS 3>, <SLEEP_TCS 2>, 3703 3614 <WAKE_TCS 2>, <CONTROL_TCS 0>; 3615 + power-domains = <&CLUSTER_PD>; 3704 3616 3705 3617 apps_bcm_voter: bcm-voter { 3706 3618 compatible = "qcom,bcm-voter"; ··· 3730 3640 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 3731 3641 }; 3732 3642 3733 - rpmhpd_opp_lov_svs_d2: opp-52 { 3643 + rpmhpd_opp_low_svs_d2: opp-52 { 3734 3644 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D2>; 3735 3645 }; 3736 3646 3737 - rpmhpd_opp_lov_svs_d1: opp-56 { 3647 + rpmhpd_opp_low_svs_d1: opp-56 { 3738 3648 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>; 3739 3649 }; 3740 3650 3741 - rpmhpd_opp_lov_svs_d0: opp-60 { 3651 + rpmhpd_opp_low_svs_d0: opp-60 { 3742 3652 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D0>; 3743 3653 }; 3744 3654
+4
include/dt-bindings/clock/qcom,ipq9574-gcc.h
··· 210 210 #define GCC_SNOC_PCIE1_1LANE_S_CLK 201 211 211 #define GCC_SNOC_PCIE2_2LANE_S_CLK 202 212 212 #define GCC_SNOC_PCIE3_2LANE_S_CLK 203 213 + #define GCC_CRYPTO_CLK_SRC 204 214 + #define GCC_CRYPTO_CLK 205 215 + #define GCC_CRYPTO_AXI_CLK 206 216 + #define GCC_CRYPTO_AHB_CLK 207 213 217 #endif
+17
include/dt-bindings/clock/qcom,sc8280xp-lpasscc.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * Copyright (c) 2023, Linaro Ltd. 4 + */ 5 + 6 + #ifndef _DT_BINDINGS_CLK_QCOM_LPASSCC_SC8280XP_H 7 + #define _DT_BINDINGS_CLK_QCOM_LPASSCC_SC8280XP_H 8 + 9 + /* LPASS AUDIO CC CSR */ 10 + #define LPASS_AUDIO_SWR_RX_CGCR 0 11 + #define LPASS_AUDIO_SWR_WSA_CGCR 1 12 + #define LPASS_AUDIO_SWR_WSA2_CGCR 2 13 + 14 + /* LPASS TCSR */ 15 + #define LPASS_AUDIO_SWR_TX_CGCR 0 16 + 17 + #endif
+193
include/dt-bindings/clock/qcom,sdx75-gcc.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. 4 + */ 5 + 6 + #ifndef _DT_BINDINGS_CLK_QCOM_GCC_SDX75_H 7 + #define _DT_BINDINGS_CLK_QCOM_GCC_SDX75_H 8 + 9 + /* GCC clocks */ 10 + #define GPLL0 0 11 + #define GPLL0_OUT_EVEN 1 12 + #define GPLL4 2 13 + #define GPLL5 3 14 + #define GPLL6 4 15 + #define GPLL8 5 16 + #define GCC_AHB_PCIE_LINK_CLK 6 17 + #define GCC_BOOT_ROM_AHB_CLK 7 18 + #define GCC_EEE_EMAC0_CLK 8 19 + #define GCC_EEE_EMAC0_CLK_SRC 9 20 + #define GCC_EEE_EMAC1_CLK 10 21 + #define GCC_EEE_EMAC1_CLK_SRC 11 22 + #define GCC_EMAC0_AXI_CLK 12 23 + #define GCC_EMAC0_CC_SGMIIPHY_RX_CLK 13 24 + #define GCC_EMAC0_CC_SGMIIPHY_RX_CLK_SRC 14 25 + #define GCC_EMAC0_CC_SGMIIPHY_TX_CLK 15 26 + #define GCC_EMAC0_CC_SGMIIPHY_TX_CLK_SRC 16 27 + #define GCC_EMAC0_PHY_AUX_CLK 17 28 + #define GCC_EMAC0_PHY_AUX_CLK_SRC 18 29 + #define GCC_EMAC0_PTP_CLK 19 30 + #define GCC_EMAC0_PTP_CLK_SRC 20 31 + #define GCC_EMAC0_RGMII_CLK 21 32 + #define GCC_EMAC0_RGMII_CLK_SRC 22 33 + #define GCC_EMAC0_RPCS_RX_CLK 23 34 + #define GCC_EMAC0_RPCS_TX_CLK 24 35 + #define GCC_EMAC0_SGMIIPHY_MAC_RCLK_SRC 25 36 + #define GCC_EMAC0_SGMIIPHY_MAC_TCLK_SRC 26 37 + #define GCC_EMAC0_SLV_AHB_CLK 27 38 + #define GCC_EMAC0_XGXS_RX_CLK 28 39 + #define GCC_EMAC0_XGXS_TX_CLK 29 40 + #define GCC_EMAC1_AXI_CLK 30 41 + #define GCC_EMAC1_CC_SGMIIPHY_RX_CLK 31 42 + #define GCC_EMAC1_CC_SGMIIPHY_RX_CLK_SRC 32 43 + #define GCC_EMAC1_CC_SGMIIPHY_TX_CLK 33 44 + #define GCC_EMAC1_CC_SGMIIPHY_TX_CLK_SRC 34 45 + #define GCC_EMAC1_PHY_AUX_CLK 35 46 + #define GCC_EMAC1_PHY_AUX_CLK_SRC 36 47 + #define GCC_EMAC1_PTP_CLK 37 48 + #define GCC_EMAC1_PTP_CLK_SRC 38 49 + #define GCC_EMAC1_RGMII_CLK 39 50 + #define GCC_EMAC1_RGMII_CLK_SRC 40 51 + #define GCC_EMAC1_RPCS_RX_CLK 41 52 + #define GCC_EMAC1_RPCS_TX_CLK 42 53 + #define GCC_EMAC1_SGMIIPHY_MAC_RCLK_SRC 43 54 + #define GCC_EMAC1_SGMIIPHY_MAC_TCLK_SRC 44 55 + #define GCC_EMAC1_SLV_AHB_CLK 45 56 + #define GCC_EMAC1_XGXS_RX_CLK 46 57 + #define GCC_EMAC1_XGXS_TX_CLK 47 58 + #define GCC_EMAC_0_CLKREF_EN 48 59 + #define GCC_EMAC_1_CLKREF_EN 49 60 + #define GCC_GP1_CLK 50 61 + #define GCC_GP1_CLK_SRC 51 62 + #define GCC_GP2_CLK 52 63 + #define GCC_GP2_CLK_SRC 53 64 + #define GCC_GP3_CLK 54 65 + #define GCC_GP3_CLK_SRC 55 66 + #define GCC_PCIE_0_CLKREF_EN 56 67 + #define GCC_PCIE_1_AUX_CLK 57 68 + #define GCC_PCIE_1_AUX_PHY_CLK_SRC 58 69 + #define GCC_PCIE_1_CFG_AHB_CLK 59 70 + #define GCC_PCIE_1_CLKREF_EN 60 71 + #define GCC_PCIE_1_MSTR_AXI_CLK 61 72 + #define GCC_PCIE_1_PHY_RCHNG_CLK 62 73 + #define GCC_PCIE_1_PHY_RCHNG_CLK_SRC 63 74 + #define GCC_PCIE_1_PIPE_CLK 64 75 + #define GCC_PCIE_1_PIPE_CLK_SRC 65 76 + #define GCC_PCIE_1_PIPE_DIV2_CLK 66 77 + #define GCC_PCIE_1_PIPE_DIV2_CLK_SRC 67 78 + #define GCC_PCIE_1_SLV_AXI_CLK 68 79 + #define GCC_PCIE_1_SLV_Q2A_AXI_CLK 69 80 + #define GCC_PCIE_2_AUX_CLK 70 81 + #define GCC_PCIE_2_AUX_PHY_CLK_SRC 71 82 + #define GCC_PCIE_2_CFG_AHB_CLK 72 83 + #define GCC_PCIE_2_CLKREF_EN 73 84 + #define GCC_PCIE_2_MSTR_AXI_CLK 74 85 + #define GCC_PCIE_2_PHY_RCHNG_CLK 75 86 + #define GCC_PCIE_2_PHY_RCHNG_CLK_SRC 76 87 + #define GCC_PCIE_2_PIPE_CLK 77 88 + #define GCC_PCIE_2_PIPE_CLK_SRC 78 89 + #define GCC_PCIE_2_PIPE_DIV2_CLK 79 90 + #define GCC_PCIE_2_PIPE_DIV2_CLK_SRC 80 91 + #define GCC_PCIE_2_SLV_AXI_CLK 81 92 + #define GCC_PCIE_2_SLV_Q2A_AXI_CLK 82 93 + #define GCC_PCIE_AUX_CLK 83 94 + #define GCC_PCIE_AUX_CLK_SRC 84 95 + #define GCC_PCIE_AUX_PHY_CLK_SRC 85 96 + #define GCC_PCIE_CFG_AHB_CLK 86 97 + #define GCC_PCIE_MSTR_AXI_CLK 87 98 + #define GCC_PCIE_PIPE_CLK 88 99 + #define GCC_PCIE_PIPE_CLK_SRC 89 100 + #define GCC_PCIE_RCHNG_PHY_CLK 90 101 + #define GCC_PCIE_RCHNG_PHY_CLK_SRC 91 102 + #define GCC_PCIE_SLEEP_CLK 92 103 + #define GCC_PCIE_SLV_AXI_CLK 93 104 + #define GCC_PCIE_SLV_Q2A_AXI_CLK 94 105 + #define GCC_PDM2_CLK 95 106 + #define GCC_PDM2_CLK_SRC 96 107 + #define GCC_PDM_AHB_CLK 97 108 + #define GCC_PDM_XO4_CLK 98 109 + #define GCC_QUPV3_WRAP0_CORE_2X_CLK 99 110 + #define GCC_QUPV3_WRAP0_CORE_CLK 100 111 + #define GCC_QUPV3_WRAP0_S0_CLK 101 112 + #define GCC_QUPV3_WRAP0_S0_CLK_SRC 102 113 + #define GCC_QUPV3_WRAP0_S1_CLK 103 114 + #define GCC_QUPV3_WRAP0_S1_CLK_SRC 104 115 + #define GCC_QUPV3_WRAP0_S2_CLK 105 116 + #define GCC_QUPV3_WRAP0_S2_CLK_SRC 106 117 + #define GCC_QUPV3_WRAP0_S3_CLK 107 118 + #define GCC_QUPV3_WRAP0_S3_CLK_SRC 108 119 + #define GCC_QUPV3_WRAP0_S4_CLK 109 120 + #define GCC_QUPV3_WRAP0_S4_CLK_SRC 110 121 + #define GCC_QUPV3_WRAP0_S5_CLK 111 122 + #define GCC_QUPV3_WRAP0_S5_CLK_SRC 112 123 + #define GCC_QUPV3_WRAP0_S6_CLK 113 124 + #define GCC_QUPV3_WRAP0_S6_CLK_SRC 114 125 + #define GCC_QUPV3_WRAP0_S7_CLK 115 126 + #define GCC_QUPV3_WRAP0_S7_CLK_SRC 116 127 + #define GCC_QUPV3_WRAP0_S8_CLK 117 128 + #define GCC_QUPV3_WRAP0_S8_CLK_SRC 118 129 + #define GCC_QUPV3_WRAP_0_M_AHB_CLK 119 130 + #define GCC_QUPV3_WRAP_0_S_AHB_CLK 120 131 + #define GCC_SDCC1_AHB_CLK 121 132 + #define GCC_SDCC1_APPS_CLK 122 133 + #define GCC_SDCC1_APPS_CLK_SRC 123 134 + #define GCC_SDCC2_AHB_CLK 124 135 + #define GCC_SDCC2_APPS_CLK 125 136 + #define GCC_SDCC2_APPS_CLK_SRC 126 137 + #define GCC_USB2_CLKREF_EN 127 138 + #define GCC_USB30_MASTER_CLK 128 139 + #define GCC_USB30_MASTER_CLK_SRC 129 140 + #define GCC_USB30_MOCK_UTMI_CLK 130 141 + #define GCC_USB30_MOCK_UTMI_CLK_SRC 131 142 + #define GCC_USB30_MOCK_UTMI_POSTDIV_CLK_SRC 132 143 + #define GCC_USB30_MSTR_AXI_CLK 133 144 + #define GCC_USB30_SLEEP_CLK 134 145 + #define GCC_USB30_SLV_AHB_CLK 135 146 + #define GCC_USB3_PHY_AUX_CLK 136 147 + #define GCC_USB3_PHY_AUX_CLK_SRC 137 148 + #define GCC_USB3_PHY_PIPE_CLK 138 149 + #define GCC_USB3_PHY_PIPE_CLK_SRC 139 150 + #define GCC_USB3_PRIM_CLKREF_EN 140 151 + #define GCC_USB_PHY_CFG_AHB2PHY_CLK 141 152 + #define GCC_XO_PCIE_LINK_CLK 142 153 + 154 + /* GCC power domains */ 155 + #define GCC_EMAC0_GDSC 0 156 + #define GCC_EMAC1_GDSC 1 157 + #define GCC_PCIE_1_GDSC 2 158 + #define GCC_PCIE_1_PHY_GDSC 3 159 + #define GCC_PCIE_2_GDSC 4 160 + #define GCC_PCIE_2_PHY_GDSC 5 161 + #define GCC_PCIE_GDSC 6 162 + #define GCC_PCIE_PHY_GDSC 7 163 + #define GCC_USB30_GDSC 8 164 + #define GCC_USB3_PHY_GDSC 9 165 + 166 + /* GCC resets */ 167 + #define GCC_EMAC0_BCR 0 168 + #define GCC_EMAC1_BCR 1 169 + #define GCC_EMMC_BCR 2 170 + #define GCC_PCIE_1_BCR 3 171 + #define GCC_PCIE_1_LINK_DOWN_BCR 4 172 + #define GCC_PCIE_1_NOCSR_COM_PHY_BCR 5 173 + #define GCC_PCIE_1_PHY_BCR 6 174 + #define GCC_PCIE_2_BCR 7 175 + #define GCC_PCIE_2_LINK_DOWN_BCR 8 176 + #define GCC_PCIE_2_NOCSR_COM_PHY_BCR 9 177 + #define GCC_PCIE_2_PHY_BCR 10 178 + #define GCC_PCIE_BCR 11 179 + #define GCC_PCIE_LINK_DOWN_BCR 12 180 + #define GCC_PCIE_NOCSR_COM_PHY_BCR 13 181 + #define GCC_PCIE_PHY_BCR 14 182 + #define GCC_PCIE_PHY_CFG_AHB_BCR 15 183 + #define GCC_PCIE_PHY_COM_BCR 16 184 + #define GCC_PCIE_PHY_NOCSR_COM_PHY_BCR 17 185 + #define GCC_QUSB2PHY_BCR 18 186 + #define GCC_TCSR_PCIE_BCR 19 187 + #define GCC_USB30_BCR 20 188 + #define GCC_USB3_PHY_BCR 21 189 + #define GCC_USB3PHY_PHY_BCR 22 190 + #define GCC_USB_PHY_CFG_AHB2PHY_BCR 23 191 + #define GCC_EMAC0_RGMII_CLK_ARES 24 192 + 193 + #endif
+1
include/dt-bindings/reset/qcom,ipq9574-gcc.h
··· 160 160 #define GCC_WCSS_Q6_BCR 151 161 161 #define GCC_WCSS_Q6_TBU_BCR 152 162 162 #define GCC_TCSR_BCR 153 163 + #define GCC_CRYPTO_BCR 154 163 164 164 165 #endif