Re: [OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button

2015-03-22 Thread fl.serv...@t-firefly.com
Dear John: We are using "self-lock power switch" . When the switch is pressed, the power will turn on . Original design is a physical switch . But we want to unmount the sd card , usb device and the harddisk before the power off. So we add a detect pin to check the switch status and add

Re: [OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button

2015-03-21 Thread John Crispin
On 22/03/2015 00:31, Rafał Miłecki wrote: > On 21 March 2015 at 23:18, John Crispin wrote: >> >> >> On 21/03/2015 23:15, Rafał Miłecki wrote: >>> On 21 March 2015 at 06:06, wengbj wrote: Signed-off-by: wengbj --- target/linux/ramips/dts/FIREWRT.dts |5 + 1 file cha

Re: [OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button

2015-03-21 Thread Rafał Miłecki
On 21 March 2015 at 23:18, John Crispin wrote: > > > On 21/03/2015 23:15, Rafał Miłecki wrote: >> On 21 March 2015 at 06:06, wengbj wrote: >>> Signed-off-by: wengbj >>> --- >>> target/linux/ramips/dts/FIREWRT.dts |5 + >>> 1 file changed, 5 insertions(+) >>> >>> diff --git a/target/linu

Re: [OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button

2015-03-21 Thread John Crispin
On 21/03/2015 23:15, Rafał Miłecki wrote: > On 21 March 2015 at 06:06, wengbj wrote: >> Signed-off-by: wengbj >> --- >> target/linux/ramips/dts/FIREWRT.dts |5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/target/linux/ramips/dts/FIREWRT.dts >> b/target/linux/ramips/dts/FIRE

Re: [OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button

2015-03-21 Thread Rafał Miłecki
On 21 March 2015 at 06:06, wengbj wrote: > Signed-off-by: wengbj > --- > target/linux/ramips/dts/FIREWRT.dts |5 + > 1 file changed, 5 insertions(+) > > diff --git a/target/linux/ramips/dts/FIREWRT.dts > b/target/linux/ramips/dts/FIREWRT.dts > index 54f0e55..2b018e6 100644 > --- a/targe

Re: [OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button

2015-03-21 Thread John Crispin
Hi On 21/03/2015 06:06, wengbj wrote: > Signed-off-by: wengbj > --- > target/linux/ramips/dts/FIREWRT.dts |5 + > 1 file changed, 5 insertions(+) > > diff --git a/target/linux/ramips/dts/FIREWRT.dts > b/target/linux/ramips/dts/FIREWRT.dts > index 54f0e55..2b018e6 100644 > --- a/target/

[OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button

2015-03-20 Thread wengbj
Signed-off-by: wengbj --- target/linux/ramips/dts/FIREWRT.dts |5 + 1 file changed, 5 insertions(+) diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts index 54f0e55..2b018e6 100644 --- a/target/linux/ramips/dts/FIREWRT.dts +++ b/target/linux/ramips/dt