[PATCH v8 3/6] dt-bindings: pwm: airoha: Add EN7581 pwm
Benjamin Larsson
benjamin.larsson at genexis.eu
Tue Oct 22 09:57:37 PDT 2024
On 21/10/2024 21:00, Rob Herring wrote:
>> + airoha,sipo-clock-divisor:
>> + description: Declare Shift Register chip clock divisor (clock source is
>> + from SoC APB Clock)
> Where is the clock source defined?
>
> You can specify the PWM frequency in PWM cells and should be able to get
> the APB Clock frequency. Then you can calculate the divider.
Hi this controls SRCLK for shift registers.
https://www.ti.com/lit/ds/symlink/sn74hc595.pdf page 8 has the limits
for this chip.
I am fine with removal of this option. The main use of this pwm driver
is for leds and for that purpose the default is ok.
But I will try to get a value for the clock source, I guess with that
value the option can stay in.
MvH
Benjamin Larsson
More information about the Linux-mediatek
mailing list