mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
pwm: fix pwm channel id definition for txlx
PD#143838: fix pwm channel id definition for txlx For txlx previously, it may cause double channel pwm request failed. Change-Id: I9787c4d79898edff88f4b27bc5fb5ff922f4faee Signed-off-by: Jian Hu <jian.hu@amlogic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user