pwm: meson: add support for txl

PD#168480: pwm: meson: add support for txl

1、 add support for txl
2、 fix txl、txlx clock mux selection error issue

Change-Id: Iff7eeb16086604030414d4e350fd533a3d2328b1
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
This commit is contained in:
bichao.zheng
2018-06-23 16:41:49 +08:00
committed by Yixun Lan
parent 1d4900ea6c
commit 5315f11b23

View File

@@ -444,7 +444,7 @@ static const char * const pwm_txlx_ee_parent_names[] = {
};
static const char * const pwm_txlx_ao_parent_names[] = {
"clk81", "xtal", "null", "null"
"xtal", "clk81", "null", "null"
};
static const char * const pwm_axg_ee_parent_names[] = {
@@ -528,6 +528,8 @@ static const struct of_device_id meson_pwm_matches[] = {
{ .compatible = "amlogic,g12b-ao-pwm", .data = &pwm_g12a_ao_data },
{ .compatible = "amlogic,txlx-ee-pwm", .data = &pwm_txlx_ee_data },
{ .compatible = "amlogic,txlx-ao-pwm", .data = &pwm_txlx_ao_data },
{ .compatible = "amlogic,txl-ee-pwm", .data = &pwm_txlx_ee_data },
{ .compatible = "amlogic,txl-ao-pwm", .data = &pwm_txlx_ao_data },
{ .compatible = "amlogic,axg-ee-pwm", .data = &pwm_axg_ee_data },
{ .compatible = "amlogic,axg-ao-pwm", .data = &pwm_axg_ao_data },
/*for gxl gxtvbb gxm*/