]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: zynqmp: Enable PWM command and cadence ttc pwm driver
authorMichal Simek <michal.simek@xilinx.com>
Fri, 15 Oct 2021 13:17:30 +0000 (15:17 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 30 Mar 2022 12:50:47 +0000 (14:50 +0200)
Enable PWM ttc driver and command in generic image.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/a660c8f2010f4f07534753e0ac44a34b8ff0d3c3.1634303847.git.michal.simek@xilinx.com
configs/xilinx_zynqmp_virt_defconfig

index b43b90ee3c5e95b25914de218b38336339a7f3c3..906a8a7f2cb8c06bf6648eafb04a08d16451a826 100644 (file)
@@ -52,6 +52,7 @@ CONFIG_CMD_FPGA_LOADBP=y
 CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_FPGA_LOAD_SECURE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PWM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
@@ -163,6 +164,8 @@ CONFIG_XILINX_AXIEMAC=y
 CONFIG_ZYNQ_GEM=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_DM_PWM=y
+CONFIG_PWM_CADENCE_TTC=y
 CONFIG_DM_RTC=y
 CONFIG_RTC_EMULATION=y
 CONFIG_RTC_ZYNQMP=y