mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 09:21:35 +00:00
56 lines
1.8 KiB
Diff
56 lines
1.8 KiB
Diff
From 5ee2495bd8cf8b44324da39a94496877f8e4c434 Mon Sep 17 00:00:00 2001
|
|
From: Baruch Siach <baruch.siach@siklu.com>
|
|
Date: Mon, 7 Feb 2022 11:30:43 +0200
|
|
Subject: [PATCH] drivers: pwm: Add PWM_IPQ config
|
|
|
|
Adding PWM_IPQ config to enable/disable
|
|
the pwm driver for ipq targets.
|
|
Also add the pwm-ipq driver in makefile.
|
|
|
|
Change-Id: I433b6ad7a959fba7054587837e474a10551f7724
|
|
Signed-off-by: Baruch Siach <baruch.siach@siklu.com>
|
|
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
|
|
---
|
|
drivers/pwm/Kconfig | 12 ++++++++++++
|
|
drivers/pwm/Makefile | 1 +
|
|
2 files changed, 13 insertions(+)
|
|
|
|
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
|
|
index 60d13a949bc5..da4cbaf14788 100644
|
|
--- a/drivers/pwm/Kconfig
|
|
+++ b/drivers/pwm/Kconfig
|
|
@@ -270,6 +270,18 @@ config PWM_INTEL_LGM
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called pwm-intel-lgm.
|
|
|
|
+config PWM_IPQ
|
|
+ tristate "IPQ PWM support"
|
|
+ depends on ARCH_QCOM || COMPILE_TEST
|
|
+ depends on HAVE_CLK && HAS_IOMEM
|
|
+ help
|
|
+ Generic PWM framework driver for IPQ PWM block which supports
|
|
+ 4 pwm channels. Each of the these channels can be configured
|
|
+ independent of each other.
|
|
+
|
|
+ To compile this driver as a module, choose M here: the module
|
|
+ will be called pwm-ipq.
|
|
+
|
|
config PWM_IQS620A
|
|
tristate "Azoteq IQS620A PWM support"
|
|
depends on MFD_IQS62X || COMPILE_TEST
|
|
diff --git a/drivers/pwm/Makefile b/drivers/pwm/Makefile
|
|
index 7bf1a29f02b8..53c4f5c9952d 100644
|
|
--- a/drivers/pwm/Makefile
|
|
+++ b/drivers/pwm/Makefile
|
|
@@ -23,6 +23,7 @@ obj-$(CONFIG_PWM_IMX1) += pwm-imx1.o
|
|
obj-$(CONFIG_PWM_IMX27) += pwm-imx27.o
|
|
obj-$(CONFIG_PWM_IMX_TPM) += pwm-imx-tpm.o
|
|
obj-$(CONFIG_PWM_INTEL_LGM) += pwm-intel-lgm.o
|
|
+obj-$(CONFIG_PWM_IPQ) += pwm-ipq.o
|
|
obj-$(CONFIG_PWM_IQS620A) += pwm-iqs620a.o
|
|
obj-$(CONFIG_PWM_JZ4740) += pwm-jz4740.o
|
|
obj-$(CONFIG_PWM_KEEMBAY) += pwm-keembay.o
|
|
--
|
|
2.34.1
|
|
|