dt-bindings: pwm-qti-lpg: Add support for medium resolution PWM

Remove the force-low-pwm-size property and add the mid-res-support
property. PM6450 does not have support for 76.8Mhz clock source, but
PM6450 has the same subtype which detects high resolution support. Add
medium resolution support which removes 76.8Mhz support and uses the
other 3 clock sources.

Change-Id: I8ba5f28c441ddab5321a7ba24b09424c7f31b538
Signed-off-by: Shilpa Suresh <quic_c_sbsure@quicinc.com>
This commit is contained in:
Shilpa Suresh
2024-12-23 14:02:24 +05:30
parent 5628eb2d31
commit 3977214ccf

View File

@@ -88,12 +88,13 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32-array $ref: /schemas/types.yaml#/definitions/uint32-array
maxItems: 64 maxItems: 64
qcom,force-low-pwm-size: qcom,mid-res-support:
description: | description: |
The flag to indicate the forced use of legacy low PWM sizes The flag to indicate support for medium resolution pwm
(6 or 9 bits) instead of full 8-15 bit PWM sizes, when the for PMICs where the subtype detects high resolution, but
PWM size is calculated based on the requested PWM period by the high resolution clock source 76.8Mz is not supported.
the client driver. This flag will ensure removal of 76.8MHz clock support and
usage of the other 3 clock sources.
type: boolean type: boolean
required: required: