Message ID | 1353067706-29491-5-git-send-email-anilkumar@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
AnilKumar Ch <anilkumar@ti.com> writes: > Enable system power off control for BeagleBone in am335x-bone.dts file > under rtc node. RTC is the incharge of controlling the system power. > This flag is used by the driver to hook up the pm_power_off system call. > > Signed-off-by: AnilKumar Ch <anilkumar@ti.com> > --- > arch/arm/boot/dts/am335x-bone.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts > index 1d55190..206c3eb 100644 > --- a/arch/arm/boot/dts/am335x-bone.dts > +++ b/arch/arm/boot/dts/am335x-bone.dts > @@ -52,6 +52,10 @@ > }; > > }; > + > + rtc@44e3e000 { > + ti,system-power-controller; > + }; > }; Also, I think this series is missing a patch that allows the RTC driver to be compiled on AM335x. Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Nov 17, 2012 at 00:40:04, Kevin Hilman wrote: > AnilKumar Ch <anilkumar@ti.com> writes: > > > Enable system power off control for BeagleBone in am335x-bone.dts file > > under rtc node. RTC is the incharge of controlling the system power. > > This flag is used by the driver to hook up the pm_power_off system call. > > > > Signed-off-by: AnilKumar Ch <anilkumar@ti.com> > > --- > > arch/arm/boot/dts/am335x-bone.dts | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts > > index 1d55190..206c3eb 100644 > > --- a/arch/arm/boot/dts/am335x-bone.dts > > +++ b/arch/arm/boot/dts/am335x-bone.dts > > @@ -52,6 +52,10 @@ > > }; > > > > }; > > + > > + rtc@44e3e000 { > > + ti,system-power-controller; > > + }; > > }; > > Also, I think this series is missing a patch that allows the RTC driver > to be compiled on AM335x. > Hi Kevin, Yes I missed; I will submit that as a separate patch. Thanks AnilKumar -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index 1d55190..206c3eb 100644 --- a/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts @@ -52,6 +52,10 @@ }; }; + + rtc@44e3e000 { + ti,system-power-controller; + }; }; leds {
Enable system power off control for BeagleBone in am335x-bone.dts file under rtc node. RTC is the incharge of controlling the system power. This flag is used by the driver to hook up the pm_power_off system call. Signed-off-by: AnilKumar Ch <anilkumar@ti.com> --- arch/arm/boot/dts/am335x-bone.dts | 4 ++++ 1 file changed, 4 insertions(+)