From e726add23ad7b1450d5fedef8756f6673db9bcc7 Mon Sep 17 00:00:00 2001 From: Shilpa Suresh Date: Thu, 13 Jun 2024 14:19:05 +0530 Subject: [PATCH] dt-bindings: pwm-qti-lpg: Add qcom,force-low-pwm-size property Add qcom,force-low-pwm-size property that would indicate the forced use of legacy low PWM sizes (6 or 9 bits) instead of full 8-15 bit PWM sizes. Change-Id: Ic0e2b972bc16871891d81ec20ec0b48d326f6666 Signed-off-by: Shilpa Suresh --- bindings/pwm/qcom,pwm-qti-lpg.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bindings/pwm/qcom,pwm-qti-lpg.yaml b/bindings/pwm/qcom,pwm-qti-lpg.yaml index 53f9904a..e7dd30ab 100644 --- a/bindings/pwm/qcom,pwm-qti-lpg.yaml +++ b/bindings/pwm/qcom,pwm-qti-lpg.yaml @@ -88,6 +88,14 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32-array maxItems: 64 + qcom,force-low-pwm-size: + 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. + type: boolean + required: - compatible - reg