Messages in this thread | | | Date | Mon, 12 Aug 2019 11:46:07 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH 2/2] pwm: sprd: Add Spreadtrum PWM support |
| |
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.
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
| |