Messages in this thread | | | From | Baolin Wang <> | Date | Mon, 12 Aug 2019 17:50:45 +0800 | Subject | Re: [PATCH 2/2] pwm: sprd: Add Spreadtrum PWM support |
| |
On Mon, 12 Aug 2019 at 17:46, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote: > > Hello Baolin, > > On Mon, Aug 12, 2019 at 05:11:56PM +0800, Baolin Wang wrote: > > On Mon, 12 Aug 2019 at 16:36, Uwe Kleine-König > > <u.kleine-koenig@pengutronix.de> wrote: > > > On Mon, Aug 12, 2019 at 03:29:07PM +0800, Baolin Wang wrote: > > > > The clock framework supplies 'assigned-clocks' and > > > > 'assigned-clock-parents' properties to set parent, but for our case we > > > > still want to set a default clock rate if failed to set parent when > > > > met some abnormal things. > > > > > > Without understanding the complete problem I'd say this is out of the > > > area the driver should care about. > > > > Fair enough, I will try to use 'assigned-clocks' and > > 'assigned-clock-parents' to simplify the code. > > There is also assigned-clock-rates if you need that.
Thanks for reminding, but we have no use case to set clock rate in PWM driver.
-- Baolin Wang Best Regards
| |