Re: [PATCH v2 5/7] pwm: tegra: Parametrize duty and scale field widths
From: Thierry Reding
Date: Thu Mar 26 2026 - 05:49:50 EST
On Wed, Mar 25, 2026 at 07:17:03PM +0900, Mikko Perttunen wrote:
> Tegra264 has wider fields for the duty and scale register fields.
> Parameterize the driver in preparation. The depth value also
> becomes disconnected from the width of the duty field, so define
> it separately.
>
> Co-developed-by: Yi-Wei Wang <yiweiw@xxxxxxxxxx>
> Signed-off-by: Yi-Wei Wang <yiweiw@xxxxxxxxxx>
> Signed-off-by: Mikko Perttunen <mperttunen@xxxxxxxxxx>
> ---
> drivers/pwm/pwm-tegra.c | 29 ++++++++++++++++++-----------
> 1 file changed, 18 insertions(+), 11 deletions(-)
Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature