Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d405dd7b authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: qcom: Add the display clock driver for SDM855



Add the display clock definitions and driver support for SDM855.

Change-Id: Ief821668b1300b96687a7265a784273d9bee9314
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 671c45f8
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. Display Clock & Reset Controller Binding
--------------------------------------------------------------------

Required properties :
- compatible : Shall contain "qcom,dispcc-sdm855".
- reg : Shall contain base register location and length.
- reg-names: Address name. Must be "cc_base".
- vdd_mm-supply: phandle to the MM_CX rail that needs to be voted on behalf
		 of the clocks.
- #clock-cells : Shall contain 1.
- #reset-cells : Shall contain 1.

Example:
	clock_dispcc: qcom,dispcc {
		compatible = "qcom,dispcc-sdm855";
		reg = <0xaf00000 0x20000>;
		reg-names = "cc_base";
		vdd_mm-supply = <&pm855l_s5_level>;
		#clock-cells = <1>;
		#reset-cells = <1>;
	};
+9 −0
Original line number Diff line number Diff line
@@ -252,3 +252,12 @@ config CLOCK_CPU_OSM
	 frequency and voltage requests for multiple clusters via the
	 existence of multiple OSM domains.
	 Say Y if you want to support OSM clocks.

config MSM_DISPCC_SDM855
	tristate "SDM855 Display Clock Controller"
	depends on COMMON_CLK_QCOM
	help
	  Support for the display clock controller on Qualcomm Technologies, Inc
	  SDM855 devices.
	  Say Y if you want to support display devices and functionality such as
	  splash screen.
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ obj-$(CONFIG_MDM_GCC_9615) += gcc-mdm9615.o
obj-$(CONFIG_MDM_LCC_9615) += lcc-mdm9615.o
obj-$(CONFIG_MSM_CAMCC_SDM855) += camcc-sdm855.o
obj-$(CONFIG_MSM_CLK_AOP_QMP) += clk-aop-qmp.o
obj-$(CONFIG_MSM_DISPCC_SDM855) += dispcc-sdm855.o
obj-$(CONFIG_MSM_GCC_8660) += gcc-msm8660.o
obj-$(CONFIG_MSM_GCC_8916) += gcc-msm8916.o
obj-$(CONFIG_MSM_GCC_8960) += gcc-msm8960.o
+1532 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@
#define DISP_CC_MDSS_VSYNC_CLK_SRC				54
#define DISP_CC_PLL0						55
#define DISP_CC_PLL1						56
#define DISP_CC_PLL_TEST_CLK					57
#define DISP_CC_XO_CLK						57

#define DISP_CC_MDSS_CORE_BCR					0
#define DISP_CC_MDSS_RSCC_BCR					1