Re: [PATCH v2 2/4] pwm: Add Apple PWM controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Nov 2022 at 18:33, Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:
> > +     clk = devm_clk_get_enabled(&pdev->dev, NULL);
> > +     if (IS_ERR(clk))
> > +             return PTR_ERR(clk);
>
> What is your use case?
>
> PWM is configured by bootloader intially??
>
> Or
>
> PWM is configured by Linux not by the bootloader?
>
> Or
>
> Driver needs to support both ??

The PWM device itself is configured by linux, but the clock it uses is
the systemwide 24 MHz clock, and that is configured by platform
firmware.



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux