diff options
author | Pragnesh Patel <pragnesh.patel@sifive.com> | 2020-12-22 11:30:05 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-18 15:23:06 -0500 |
commit | 9e9a530a61c01e412a239d8c211d5b1e26b578fa (patch) | |
tree | cc2c5f125fba8721f5546c21594bb1c637a0c1b2 /cmd/Kconfig | |
parent | 2767d881f031124b2193ab33b32e48b29c6e18e1 (diff) | |
download | u-boot-9e9a530a61c01e412a239d8c211d5b1e26b578fa.tar.gz |
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/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 1b53e5be5a..0625ee4050 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 |