[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a0d63c0d-7f17-459a-9ba1-6532a986c8db@oracle.com>
Date: Fri, 18 Apr 2025 20:41:04 +0530
From: ALOK TIWARI <alok.a.tiwari@...cle.com>
To: Longbin Li <looong.bin@...il.com>,
Uwe Kleine-König
<ukleinek@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Chen Wang <unicorn_wang@...look.com>,
Inochi Amaoto <inochiama@...il.com>,
Paul Walmsley
<paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
Alexandre Ghiti <alex@...ti.fr>
Cc: linux-pwm@...r.kernel.org, devicetree@...r.kernel.org,
sophgo@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org
Subject: Re: [External] : [PATCH v2 3/3] pwm: sophgo: add driver for SG2044
On 18-04-2025 07:59, Longbin Li wrote:
> +#define SG2044_REG_POLARITY 0x40
> +#define SG2044_REG_PWMSTART 0x44
> +#define SG2044_REG_PWM_OE 0xD0
> +
please use lowercase 0xd0
> #define SG2042_PWM_HLPERIOD(chan) ((chan) * 8 + 0)
> #define SG2042_PWM_PERIOD(chan) ((chan) * 8 + 4)
Thanks,
Alok
Powered by blists - more mailing lists