From: Tom Rini Date: Tue, 24 Nov 2020 08:23:43 -0500 Subject: [PATCH] cmd: Add a pwm command In-Reply-To: References: <20201123080842.2063-1-pragnesh.patel@sifive.com> <20201123155216.GC32272@bill-the-cat> Message-ID: <20201124132343.GK32272@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 24, 2020 at 12:41:34PM +0000, Pragnesh Patel wrote: > > > >-----Original Message----- > >From: Tom Rini > >Sent: 23 November 2020 21:22 > >To: Pragnesh Patel > >Cc: u-boot at lists.denx.de; atish.patra at wdc.com; palmerdabbelt at google.com; > >bmeng.cn at gmail.com; Paul Walmsley ( Sifive) ; > >anup.patel at wdc.com; Sagar Kadam ; > >rick at andestech.com; Simon Glass ; Heinrich Schuchardt > >; Bin Meng ; Miquel Raynal > >; Patrick Delaunay ; > >Sam Protsenko ; Philippe Reynes > >; Fr?d?ric Danis > >; Patrice Chotard ; > >Vladimir Olovyannikov ; Ramon Fried > >; Eugeniu Rosca > >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 > >> --- > >> 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: