]> asedeno.scripts.mit.edu Git - linux.git/commit
pwm: meson: Fix the G12A AO clock parents order
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 20 Jun 2019 14:46:55 +0000 (16:46 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 25 Jun 2019 12:57:44 +0000 (14:57 +0200)
commit9bce02ef0dfa4d3816756a85c9f25dd63592d65f
tree6a96fe322cb6591b19ea91e9b1f41985b2739d07
parent1cdb44135dd87cd4eac77b06c075486881f04767
pwm: meson: Fix the G12A AO clock parents order

The Amlogic G12A and G12B Documentation is wrong, the AO xtal and clk81
clock source order is reversed, and validated when adding DVFS support
by using the PWM AO D output to control the CPU supply voltage.

The vendor tree also uses the reversed xtal and clk81 order at [1].

[1] https://github.com/hardkernel/linux/blob/odroidn2-4.9.y/drivers/amlogic/pwm/pwm_meson.c#L462

Fixes: f41efceb46e6 ("pwm: meson: Add clock source configuration for Meson G12A")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-meson.c