Loading Documentation/devicetree/bindings/clock/qcom,dispcc.txt +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ Required properties : - compatible : Shall contain one of the following: "qcom,kona-dispcc", "qcom,sdm845-dispcc" "qcom,lito-dispcc" - reg : shall contain base register location and length. - vdd_mm-supply: phandle to the MM_CX rail that needs to be voted on behalf of the clocks. Loading arch/arm64/boot/dts/qcom/lito-gdsc.dtsi +21 −0 Original line number Diff line number Diff line Loading @@ -9,12 +9,14 @@ compatible = "qcom,gdsc"; reg = <0x177004 0x4>; regulator-name = "ufs_phy_gdsc"; status = "disabled"; }; usb30_prim_gdsc: qcom,gdsc@10f004 { compatible = "qcom,gdsc"; reg = <0x10f004 0x4>; regulator-name = "usb30_prim_gdsc"; status = "disabled"; }; hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 { Loading @@ -23,6 +25,7 @@ regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc"; qcom,no-status-check-on-disable; qcom,gds-timeout = <500>; status = "disabled"; }; hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 { Loading @@ -31,6 +34,7 @@ regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc"; qcom,no-status-check-on-disable; qcom,gds-timeout = <500>; status = "disabled"; }; hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 { Loading @@ -39,6 +43,7 @@ regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc"; qcom,no-status-check-on-disable; qcom,gds-timeout = <500>; status = "disabled"; }; /* CAM_CC GDSCs */ Loading @@ -46,36 +51,42 @@ compatible = "qcom,gdsc"; reg = <0xad07004 0x4>; regulator-name = "bps_gdsc"; status = "disabled"; }; ipe_0_gdsc: qcom,gdsc@ad08004 { compatible = "qcom,gdsc"; reg = <0xad08004 0x4>; regulator-name = "ipe_0_gdsc"; status = "disabled"; }; ipe_1_gdsc: qcom,gdsc@ad09004 { compatible = "qcom,gdsc"; reg = <0xad09004 0x4>; regulator-name = "ipe_1_gdsc"; status = "disabled"; }; ife_0_gdsc: qcom,gdsc@ad0a004 { compatible = "qcom,gdsc"; reg = <0xad0a004 0x4>; regulator-name = "ife_0_gdsc"; status = "disabled"; }; ife_1_gdsc: qcom,gdsc@ad0b004 { compatible = "qcom,gdsc"; reg = <0xad0b004 0x4>; regulator-name = "ife_1_gdsc"; status = "disabled"; }; titan_top_gdsc: qcom,gdsc@ad0c1c4 { compatible = "qcom,gdsc"; reg = <0xad0c1c4 0x4>; regulator-name = "titan_top_gdsc"; status = "disabled"; }; /* DISP_CC GDSC */ Loading @@ -83,6 +94,10 @@ compatible = "regulator-fixed"; reg = <0xaf03000 0x4>; regulator-name = "mdss_core_gdsc"; qcom,support-hw-trigger; proxy-supply = <&mdss_core_gdsc>; qcom,proxy-consumer-enable; status = "disabled"; }; /* GPU_CC GDSCs */ Loading @@ -99,6 +114,7 @@ qcom,no-status-check-on-disable; qcom,clk-dis-wait-val = <8>; qcom,gds-timeout = <500>; status = "disabled"; }; gpu_gx_domain_addr: syscon@3d91508 { Loading @@ -118,6 +134,7 @@ domain-addr = <&gpu_gx_domain_addr>; sw-reset = <&gpu_gx_sw_reset>; qcom,reset-aon-logic; status = "disabled"; }; /* NPU GDSC */ Loading @@ -125,6 +142,7 @@ compatible = "regulator-fixed"; reg = <0x9981004 0x4>; regulator-name = "npu_core_gdsc"; status = "disabled"; }; /* VIDEO_CC GDSCs */ Loading @@ -132,17 +150,20 @@ compatible = "qcom,gdsc"; reg = <0xab00814 0x4>; regulator-name = "mvsc_gdsc"; status = "disabled"; }; mvs0_gdsc: qcom,gdsc@ab00874 { compatible = "qcom,gdsc"; reg = <0xab00874 0x4>; regulator-name = "mvs0_gdsc"; status = "disabled"; }; mvs1_gdsc: qcom,gdsc@ab008b4 { compatible = "qcom,gdsc"; reg = <0xab008b4 0x4>; regulator-name = "mvs1_gdsc"; status = "disabled"; }; }; include/dt-bindings/clock/qcom,dispcc-lito.h +6 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2018, The Linux Foundation. All rights reserved. */ /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ #ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_LITO_H #define _DT_BINDINGS_CLK_QCOM_DISP_CC_LITO_H Loading Loading @@ -44,5 +44,10 @@ #define DISP_CC_MDSS_AHB_CLK 37 #define DISP_CC_XO_CLK 38 #define DISP_CC_XO_CLK_SRC 39 #define DISP_CC_MDSS_BYTE0_DIV_CLK_SRC 40 #define DISP_CC_MDSS_DP_LINK_DIV_CLK_SRC 41 #define DISP_CC_SLEEP_CLK_SRC 42 #define DISP_CC_SLEEP_CLK 43 #define DISP_CC_MDSS_BYTE1_DIV_CLK_SRC 44 #endif Loading
Documentation/devicetree/bindings/clock/qcom,dispcc.txt +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ Required properties : - compatible : Shall contain one of the following: "qcom,kona-dispcc", "qcom,sdm845-dispcc" "qcom,lito-dispcc" - reg : shall contain base register location and length. - vdd_mm-supply: phandle to the MM_CX rail that needs to be voted on behalf of the clocks. Loading
arch/arm64/boot/dts/qcom/lito-gdsc.dtsi +21 −0 Original line number Diff line number Diff line Loading @@ -9,12 +9,14 @@ compatible = "qcom,gdsc"; reg = <0x177004 0x4>; regulator-name = "ufs_phy_gdsc"; status = "disabled"; }; usb30_prim_gdsc: qcom,gdsc@10f004 { compatible = "qcom,gdsc"; reg = <0x10f004 0x4>; regulator-name = "usb30_prim_gdsc"; status = "disabled"; }; hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 { Loading @@ -23,6 +25,7 @@ regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc"; qcom,no-status-check-on-disable; qcom,gds-timeout = <500>; status = "disabled"; }; hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 { Loading @@ -31,6 +34,7 @@ regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc"; qcom,no-status-check-on-disable; qcom,gds-timeout = <500>; status = "disabled"; }; hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 { Loading @@ -39,6 +43,7 @@ regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc"; qcom,no-status-check-on-disable; qcom,gds-timeout = <500>; status = "disabled"; }; /* CAM_CC GDSCs */ Loading @@ -46,36 +51,42 @@ compatible = "qcom,gdsc"; reg = <0xad07004 0x4>; regulator-name = "bps_gdsc"; status = "disabled"; }; ipe_0_gdsc: qcom,gdsc@ad08004 { compatible = "qcom,gdsc"; reg = <0xad08004 0x4>; regulator-name = "ipe_0_gdsc"; status = "disabled"; }; ipe_1_gdsc: qcom,gdsc@ad09004 { compatible = "qcom,gdsc"; reg = <0xad09004 0x4>; regulator-name = "ipe_1_gdsc"; status = "disabled"; }; ife_0_gdsc: qcom,gdsc@ad0a004 { compatible = "qcom,gdsc"; reg = <0xad0a004 0x4>; regulator-name = "ife_0_gdsc"; status = "disabled"; }; ife_1_gdsc: qcom,gdsc@ad0b004 { compatible = "qcom,gdsc"; reg = <0xad0b004 0x4>; regulator-name = "ife_1_gdsc"; status = "disabled"; }; titan_top_gdsc: qcom,gdsc@ad0c1c4 { compatible = "qcom,gdsc"; reg = <0xad0c1c4 0x4>; regulator-name = "titan_top_gdsc"; status = "disabled"; }; /* DISP_CC GDSC */ Loading @@ -83,6 +94,10 @@ compatible = "regulator-fixed"; reg = <0xaf03000 0x4>; regulator-name = "mdss_core_gdsc"; qcom,support-hw-trigger; proxy-supply = <&mdss_core_gdsc>; qcom,proxy-consumer-enable; status = "disabled"; }; /* GPU_CC GDSCs */ Loading @@ -99,6 +114,7 @@ qcom,no-status-check-on-disable; qcom,clk-dis-wait-val = <8>; qcom,gds-timeout = <500>; status = "disabled"; }; gpu_gx_domain_addr: syscon@3d91508 { Loading @@ -118,6 +134,7 @@ domain-addr = <&gpu_gx_domain_addr>; sw-reset = <&gpu_gx_sw_reset>; qcom,reset-aon-logic; status = "disabled"; }; /* NPU GDSC */ Loading @@ -125,6 +142,7 @@ compatible = "regulator-fixed"; reg = <0x9981004 0x4>; regulator-name = "npu_core_gdsc"; status = "disabled"; }; /* VIDEO_CC GDSCs */ Loading @@ -132,17 +150,20 @@ compatible = "qcom,gdsc"; reg = <0xab00814 0x4>; regulator-name = "mvsc_gdsc"; status = "disabled"; }; mvs0_gdsc: qcom,gdsc@ab00874 { compatible = "qcom,gdsc"; reg = <0xab00874 0x4>; regulator-name = "mvs0_gdsc"; status = "disabled"; }; mvs1_gdsc: qcom,gdsc@ab008b4 { compatible = "qcom,gdsc"; reg = <0xab008b4 0x4>; regulator-name = "mvs1_gdsc"; status = "disabled"; }; };
include/dt-bindings/clock/qcom,dispcc-lito.h +6 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2018, The Linux Foundation. All rights reserved. */ /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ #ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_LITO_H #define _DT_BINDINGS_CLK_QCOM_DISP_CC_LITO_H Loading Loading @@ -44,5 +44,10 @@ #define DISP_CC_MDSS_AHB_CLK 37 #define DISP_CC_XO_CLK 38 #define DISP_CC_XO_CLK_SRC 39 #define DISP_CC_MDSS_BYTE0_DIV_CLK_SRC 40 #define DISP_CC_MDSS_DP_LINK_DIV_CLK_SRC 41 #define DISP_CC_SLEEP_CLK_SRC 42 #define DISP_CC_SLEEP_CLK 43 #define DISP_CC_MDSS_BYTE1_DIV_CLK_SRC 44 #endif