[PATCH] ARM: mx5: Replace clk_register_clkdev with clock DT lookup

Marc Kleine-Budde mkl at pengutronix.de
Tue Nov 20 10:31:40 EST 2012


On 11/20/2012 04:28 PM, Sascha Hauer wrote:
> On Mon, Nov 19, 2012 at 04:40:25PM -0200, Fabio Estevam wrote:
>> Similarly as it was done for mx6q, use a DT lookup in order to make maintainance
>> task for the clock devices easier.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
>> ---
>>  .../devicetree/bindings/clock/imx5-clock.txt       |  197 ++++++++++++++++++++
>>  arch/arm/boot/dts/imx51.dtsi                       |   39 ++++
>>  arch/arm/boot/dts/imx53.dtsi                       |   48 +++++
>>  arch/arm/mach-imx/clk-imx51-imx53.c                |   26 +--
>>  arch/arm/mach-imx/imx51-dt.c                       |   28 +--
>>  arch/arm/mach-imx/mach-imx53.c                     |   31 +--
>>  6 files changed, 299 insertions(+), 70 deletions(-)
>>  create mode 100644 Documentation/devicetree/bindings/clock/imx5-clock.txt
>>
>> diff --git a/Documentation/devicetree/bindings/clock/imx5-clock.txt b/Documentation/devicetree/bindings/clock/imx5-clock.txt
>> new file mode 100644
>> index 0000000..a6fb29e
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/clock/imx5-clock.txt
>> @@ -0,0 +1,197 @@
>> +* Clock bindings for Freescale i.MX5
>> +
>> +Required properties:
>> +- compatible: Should be "fsl,<soc>-ccm" , where <soc> can be mx51 or mx53
> 
> s/mx51/imx51/
> s/mx53/iMX53/
         ^^^^^
imx53?

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121120/06a9d932/attachment.sig>


More information about the linux-arm-kernel mailing list