]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: imx51-babbage: Fix the 26MHz clock modelling
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 21 Dec 2017 15:23:52 +0000 (13:23 -0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:48:48 +0000 (16:48 +0800)
commitd189803b89a2327860ef1784223f1fcda021378f
tree4b4e316cb143b4f1070a5182aa6f7005a3e8f330
parent37aa3e30bcf02583a4c49c8e3d7248cb5b567fd3
ARM: dts: imx51-babbage: Fix the 26MHz clock modelling

On imx51-babbage there is a 26MHz oscillator that is gated by GPIO3_1.

The output of this clock feeds audio codec clock and USB PHY clocks,
which are gated by GPIO4_26 and GPIO2_1 respectively.

Fix the clock representation by properly using gpio-gate-clock.

The clock nodes can be moved out of the 'clocks' node.

Based on a commit from Lucas Stach for imx51-zii-rdu1 board.

This also fixes the following build warning with W=1:

arch/arm/boot/dts/imx51-babbage.dtb: Warning (unit_address_vs_reg): Node /clocks/codec_clock has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-babbage.dts