]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: dts: aspeed: Add proper clock references
authorJoel Stanley <joel@jms.id.au>
Tue, 28 Nov 2017 12:09:25 +0000 (22:39 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Dec 2017 03:33:14 +0000 (14:03 +1030)
commitbb8155ada490ea04d78abc9183ddc8702e6f8ba3
tree9e80e2f3de568633d9779119a94d910274d811a2
parentb6436f765d8f1502d10d67ff28bd28745e2fe4c2
ARM: dts: aspeed: Add proper clock references

This device tree will break existing kernels that do not have the clk
patches applied (no clocksource, as we don't know the speed of the APB
clock.  You can boot if you pass a lpj value on the command line, but
won't have a uart).

Older device trees running with the newer kernel will function as well
as pre-4.16 kernels. That is, that some IP blocks (i2c, pwm/tach, adc)
will not work as the kernel lacks reset controller and clock enabling.

This is being changed as existing device trees use fixed-clocks in order
to boot without a clk driver. The newly added clk driver provides proper
clock support, including gating, so we move the device trees over to
properly request clocks.

The SCU compatible string is updated as the g4-scu string made it into
the tree before we decided on aspeed,astX000-<ip> as the format for the
strings. The old string will be removed from the bindings in a future
patch.

Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi