gpio_led: g12a: give up using led-trigger cpu0 [1/1]
authorBichao Zheng <bichao.zheng@amlogic.com>
Fri, 15 Feb 2019 08:34:28 +0000 (16:34 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:09 +0000 (20:22 +0800)
PD#SWPL-4876

Problem:
32bit will operate led-trigger cpu0 in cpu idle enter/exit causing
system led flashing.

Solution:
give up using led-trigger cpu0.

Verify:
g12a_u211 g12a_u212

Change-Id: I106a4fe0e35923919f5bbc34113fa73a4ca28577
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot.dts

28 files changed:
arch/arm/boot/dts/amlogic/g12a_s905d2_u200.dts
arch/arm/boot/dts/amlogic/g12a_s905d2_u200_1g.dts
arch/arm/boot/dts/amlogic/g12a_s905d2_u200_buildroot.dts
arch/arm/boot/dts/amlogic/g12a_s905d2_u200_buildroot_vccktest.dts
arch/arm/boot/dts/amlogic/g12a_s905d2_u200_drm_buildroot.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u211.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u211_1g.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u211_512m.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u211_buildroot.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u212.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u212_1g.dts
arch/arm/boot/dts/amlogic/g12a_s905x2_u212_buildroot.dts
arch/arm/boot/dts/amlogic/g12b_a311d_w400_buildroot.dts
arch/arm/boot/dts/amlogic/g12b_a311d_w400_buildroot_vccktest.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_1g.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_buildroot.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_buildroot_vccktest.dts
arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_drm_buildroot.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u211_1g.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u211_512m.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u211_buildroot.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u212.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_1g.dts
arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_buildroot.dts
arch/arm64/boot/dts/amlogic/g12b_a311d_w400_buildroot.dts
arch/arm64/boot/dts/amlogic/g12b_a311d_w400_buildroot_vccktest.dts

index 03a40b2..a411b2f 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 70a6efd..0517486 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 4441fcc..0b38e1b 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index a960b74..831d296 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index f533037..05fd700 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index c3e2361..7d821fa 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index cd970a2..9952476 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 231f350..f3480dc 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index a3ae0f1..69d17f5 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 58073e2..56d98e6 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index aed00d0..5c7824c 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index f3fd8d3..89b9b14 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 8393710..c79d770 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index b1b2676..cc4f106 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index bda0c8a..77e0504 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 1fe4278..eff237c 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 1b5bb0f..3c79d04 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index bbbbb34..c7118a4 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 927ef1b..a87ba00 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index d45f54b..d84451f 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index c463f06..31390b8 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 88edd7a..723cc70 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index c2ac3e5..b05d3e8 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 83da45b..c36e1df 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 8082109..02662aa 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 0d3a730..09a878d 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 5d81dd3..3e12ebc 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };
 
index 6a304e4..e087c6b 100644 (file)
                        label="sys_led";
                        gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state ="on";
-                       retain-state-suspended;
-                       linux,default-trigger="cpu0";
                };
        };