From 3977214ccfd71c39755b1401427a589c588630f8 Mon Sep 17 00:00:00 2001 From: Shilpa Suresh Date: Mon, 23 Dec 2024 14:02:24 +0530 Subject: [PATCH] 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 --- bindings/pwm/qcom,pwm-qti-lpg.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bindings/pwm/qcom,pwm-qti-lpg.yaml b/bindings/pwm/qcom,pwm-qti-lpg.yaml index e7dd30ab..9be67d6a 100644 --- a/bindings/pwm/qcom,pwm-qti-lpg.yaml +++ b/bindings/pwm/qcom,pwm-qti-lpg.yaml @@ -88,12 +88,13 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32-array maxItems: 64 - qcom,force-low-pwm-size: + qcom,mid-res-support: description: | - The flag to indicate the forced use of legacy low PWM sizes - (6 or 9 bits) instead of full 8-15 bit PWM sizes, when the - PWM size is calculated based on the requested PWM period by - the client driver. + The flag to indicate support for medium resolution pwm + for PMICs where the subtype detects high resolution, but + the high resolution clock source 76.8Mz is not supported. + This flag will ensure removal of 76.8MHz clock support and + usage of the other 3 clock sources. type: boolean required: