Skip to content

Commit

Permalink
MLK-25559-1 pwm: imx-rpchip: add pwm over rpmsg driver
Browse files Browse the repository at this point in the history
Add pwm over rpmsg driver.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Jun Li <jun.li@nxp.com>
  • Loading branch information
wangxiaoningnxp authored and MrVan committed Jul 1, 2021
1 parent 6e4162a commit 0e5079a
Show file tree
Hide file tree
Showing 3 changed files with 449 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,18 @@ config PWM_ROCKCHIP
Generic PWM framework driver for the PWM controller found on
Rockchip SoCs.

config PWM_RPCHIP
tristate "PWM proxy chip over RPMSG"
depends on (ARCH_MXC || COMPILE_TEST) && RPMSG
help
This driver can support virtual pwm-rpmsg function. So that
Acore can use some TPM resources of Mcore on some SoC platforms.
This driver provide a protocal to send pwm request through RPMSG to
Mcore and control the TPM modules on Mcore.

To compile this driver as a module, choose M here: the
module will be called pwm-rpmsg-imx.

config PWM_SAMSUNG
tristate "Samsung PWM support"
depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Expand Down
1 change: 1 addition & 0 deletions drivers/pwm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ obj-$(CONFIG_PWM_PXA) += pwm-pxa.o
obj-$(CONFIG_PWM_RCAR) += pwm-rcar.o
obj-$(CONFIG_PWM_RENESAS_TPU) += pwm-renesas-tpu.o
obj-$(CONFIG_PWM_ROCKCHIP) += pwm-rockchip.o
obj-$(CONFIG_PWM_RPCHIP) += pwm-rpmsg-imx.o
obj-$(CONFIG_PWM_SAMSUNG) += pwm-samsung.o
obj-$(CONFIG_PWM_SIFIVE) += pwm-sifive.o
obj-$(CONFIG_PWM_SL28CPLD) += pwm-sl28cpld.o
Expand Down

0 comments on commit 0e5079a

Please sign in to comment.