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

Commit f0f3487f authored by Amit Nischal's avatar Amit Nischal
Browse files

clk: qcom: Add camera clock driver for SDMMAGPIE



Add support for camera clock controller found on SDMMAGPIE
based devices. This would allow camera device drivers
to probe and control their clocks.

Change-Id: Ib2e4e40352fb71cd34cae7fea047c915ee848ad5
Signed-off-by: default avatarAmit Nischal <anischal@codeaurora.org>
parent 06e5ace9
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2,8 +2,12 @@ Qualcomm Technologies, Inc. Camera Clock & Reset Controller Binding
-------------------------------------------------------------------

Required properties :
- compatible : must contain "qcom,camcc-sm8150", "qcom,camcc-sm8150-v2"
	       or "qcom,camcc-sdmshrike" or "qcom,camcc-sm6150".
- compatible : must contain one of the following:
		"qcom,camcc-sm8150",
		"qcom,camcc-sm8150-v2",
		"qcom,camcc-sdmshrike",
		"qcom,camcc-sm6150",
		"qcom,camcc-sdmmagpie".
- reg : shall contain base register location and length.
- reg-names: names of registers listed in the same order as in
	     the reg property.
+9 −0
Original line number Diff line number Diff line
@@ -396,6 +396,15 @@ config MSM_DISPCC_SM6150
	  Say Y if you want to support display devices and functionality such as
	  splash screen.

config MSM_CAMCC_SDMMAGPIE
	tristate "SDMMAGPIE Camera Clock Controller"
	depends on COMMON_CLK_QCOM
	help
	  Support for the camera clock controller on Qualcomm Technologies, Inc
	  SDMMAGPIE devices.
	  Say Y if you want to support camera devices and functionality such as
	  capturing pictures.

config MSM_DISPCC_SDMMAGPIE
	tristate "SDMMAGPIE Display Clock Controller"
	depends on COMMON_CLK_QCOM
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ obj-$(CONFIG_MDM_GCC_QCS405) += gcc-qcs405.o
obj-$(CONFIG_MDM_LCC_9615) += lcc-mdm9615.o
obj-$(CONFIG_MSM_CAMCC_SM6150) += camcc-sm6150.o
obj-$(CONFIG_MSM_CAMCC_SM8150) += camcc-sm8150.o
obj-$(CONFIG_MSM_CAMCC_SDMMAGPIE) += camcc-sdmmagpie.o
obj-$(CONFIG_MSM_CAMCC_SDMSHRIKE) += camcc-sdmshrike.o
obj-$(CONFIG_MSM_CLK_AOP_QMP) += clk-aop-qmp.o
obj-$(CONFIG_MSM_CLK_RPMH) += clk-rpmh.o