[PATCH] cmd: Add a pwm command
Tom Rini
trini at konsulko.com
Tue Nov 24 14:23:43 CET 2020
On Tue, Nov 24, 2020 at 12:41:34PM +0000, Pragnesh Patel wrote:
>
>
> >-----Original Message-----
> >From: Tom Rini <trini at konsulko.com>
> >Sent: 23 November 2020 21:22
> >To: Pragnesh Patel <pragnesh.patel at openfive.com>
> >Cc: u-boot at lists.denx.de; atish.patra at wdc.com; palmerdabbelt at google.com;
> >bmeng.cn at gmail.com; Paul Walmsley ( Sifive) <paul.walmsley at sifive.com>;
> >anup.patel at wdc.com; Sagar Kadam <sagar.kadam at openfive.com>;
> >rick at andestech.com; Simon Glass <sjg at chromium.org>; Heinrich Schuchardt
> ><xypron.glpk at gmx.de>; Bin Meng <bin.meng at windriver.com>; Miquel Raynal
> ><miquel.raynal at bootlin.com>; Patrick Delaunay <patrick.delaunay at st.com>;
> >Sam Protsenko <joe.skb7 at gmail.com>; Philippe Reynes
> ><philippe.reynes at softathome.com>; Frédéric Danis
> ><frederic.danis at collabora.com>; Patrice Chotard <patrice.chotard at st.com>;
> >Vladimir Olovyannikov <vladimir.olovyannikov at broadcom.com>; Ramon Fried
> ><rfried.dev at gmail.com>; Eugeniu Rosca <roscaeugeniu at gmail.com>
> >Subject: Re: [PATCH] cmd: Add a pwm command
> >
> >On Mon, Nov 23, 2020 at 01:38:41PM +0530, Pragnesh Patel wrote:
> >
> >> 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 at sifive.com>
> >> ---
> >> cmd/Kconfig | 6 +++
> >> cmd/Makefile | 1 +
> >> cmd/pwm.c | 119
> >+++++++++++++++++++++++++++++++++++++++++++++++++++
> >> 3 files changed, 126 insertions(+)
> >> create mode 100644 cmd/pwm.c
> >
> >Can you please add some tests and dt fragments to sandbox for this?
>
> There is already a "test/dm/pwm.c".
Right, but for the new command as well please, similar to
test/py/tests/test_gpio.py.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201124/2b5f7fa3/attachment.sig>
More information about the U-Boot
mailing list