OSDN Git Service

pwm: meson: Add clock source configuration for Meson G12A
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 23 Apr 2019 13:36:45 +0000 (15:36 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 9 May 2019 15:29:31 +0000 (17:29 +0200)
commitf41efceb46e697a750e93c19e4579dc50697effe
tree8350555760e5729767cb74a2bc0f378d20b8f588
parentad36cb9186bc805b8fd0b9908469e29617211658
pwm: meson: Add clock source configuration for Meson G12A

For the PWM controller in the Meson G12A SoC, the EE domain and AO domain
have different clock sources. This patch tries to describe them in the
DT compatible data. The two AO PWM controller has different clock source,
but the first AO controller (A & B) can reuse the AXG parents name.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-meson.c