[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e28a5d5de9b940717e6444f019eab63ab1bb0b75.camel@pengutronix.de>
Date: Tue, 30 Nov 2021 10:52:17 +0100
From: Philipp Zabel <p.zabel@...gutronix.de>
To: Billy Tsai <billy_tsai@...eedtech.com>, jdelvare@...e.com,
linux@...ck-us.net, robh+dt@...nel.org, joel@....id.au,
andrew@...id.au, lee.jones@...aro.org, thierry.reding@...il.com,
u.kleine-koenig@...gutronix.de, linux-hwmon@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
linux-pwm@...r.kernel.org
Cc: BMC-SW@...eedtech.com
Subject: Re: [v13 2/2] pwm: Add Aspeed ast2600 PWM support
On Mon, 2021-11-29 at 14:43 +0800, Billy Tsai wrote:
[...]
> + ret = clk_prepare_enable(priv->clk);
> + if (ret)
> + return dev_err_probe(dev, ret, "Couldn't enable clock\n");
> +
> + ret = reset_control_deassert(priv->reset);
> + if (ret) {
> + dev_err_probe(dev, ret, "Couldn't deassert reset control\n");
> + goto err_disable_clk;
> + }
Is there any reason to keep the clocks running and the controller out of
reset while the PWM outputs are disabled?
regards
Philipp
Powered by blists - more mailing lists