aboutsummaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorPragnesh Patel <pragnesh.patel@sifive.com>2020-12-22 11:30:05 +0530
committerTom Rini <trini@konsulko.com>2021-01-18 15:23:06 -0500
commit9e9a530a61c01e412a239d8c211d5b1e26b578fa (patch)
treecc2c5f125fba8721f5546c21594bb1c637a0c1b2 /cmd/Kconfig
parent2767d881f031124b2193ab33b32e48b29c6e18e1 (diff)
downloadu-boot-9e9a530a61c01e412a239d8c211d5b1e26b578fa.zip
u-boot-9e9a530a61c01e412a239d8c211d5b1e26b578fa.tar.gz
u-boot-9e9a530a61c01e412a239d8c211d5b1e26b578fa.tar.bz2
cmd: Add a pwm command
Add the command "pwm" for controlling the pwm channels. This command provides pwm invert/config/enable/disable functionalities via PWM uclass drivers Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 1b53e5b..0625ee4 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -928,6 +928,12 @@ config CMD_GPIO
help
GPIO support.
+config CMD_PWM
+ bool "pwm"
+ depends on DM_PWM
+ help
+ Control PWM channels, this allows invert/config/enable/disable PWM channels.
+
config CMD_GPT
bool "GPT (GUID Partition Table) command"
select EFI_PARTITION