diff --git a/include/dt-bindings/pwm/meson.h b/include/dt-bindings/pwm/meson.h index fd9ee3dae93b..5e5ceb7afdbc 100644 --- a/include/dt-bindings/pwm/meson.h +++ b/include/dt-bindings/pwm/meson.h @@ -27,21 +27,19 @@ #define PWM_F 5 #define PWM_AO_A 6 #define PWM_AO_B 7 -#define PWM_AO_C 8 -#define PWM_AO_D 9 -/* - * Addtional 8 channels for txl - */ -#define PWM_A2 10 -#define PWM_B2 11 -#define PWM_C2 12 -#define PWM_D2 13 -#define PWM_E2 14 -#define PWM_F2 15 -#define PWM_AO_A2 16 -#define PWM_AO_B2 17 -/*add another two channel for txlx*/ +#define PWM_A2 8 +#define PWM_B2 9 +#define PWM_C2 10 +#define PWM_D2 11 +#define PWM_E2 12 +#define PWM_F2 13 +#define PWM_AO_A2 14 +#define PWM_AO_B2 15 +/*add another four channels for txlx*/ +#define PWM_AO_C 16 +#define PWM_AO_D 17 + #define PWM_AO_C2 18 #define PWM_AO_D2 19 diff --git a/include/linux/amlogic/pwm_meson.h b/include/linux/amlogic/pwm_meson.h index 73769c692cca..0d4676ba2669 100644 --- a/include/linux/amlogic/pwm_meson.h +++ b/include/linux/amlogic/pwm_meson.h @@ -52,8 +52,6 @@ enum pwm_channel { PWM_F, PWM_AO_A, PWM_AO_B, - PWM_AO_C, - PWM_AO_D, PWM_A2, PWM_B2, @@ -63,6 +61,9 @@ enum pwm_channel { PWM_F2, PWM_AO_A2, PWM_AO_B2, + /* add another four channels for txlx*/ + PWM_AO_C, + PWM_AO_D, PWM_AO_C2, PWM_AO_D2, };