[External] : [PATCH v2 3/3] pwm: sophgo: add driver for SG2044
Longbin Li
looong.bin at gmail.com
Fri Apr 18 18:01:52 PDT 2025
On Fri, Apr 18, 2025 at 08:41:04PM +0530, ALOK TIWARI wrote:
>
>
> 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
>
I will correct it, thanks.
> > #define SG2042_PWM_HLPERIOD(chan) ((chan) * 8 + 0)
> > #define SG2042_PWM_PERIOD(chan) ((chan) * 8 + 4)
>
> Thanks,
> Alok
>
More information about the linux-riscv
mailing list