Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf08167c authored by Ben Dooks's avatar Ben Dooks Committed by Russell King
Browse files

[ARM] 4720/1: S3C2412: Add power configuration registers for battery flat behaviour.



Add the S3C2412_PWRCFG values for the action taken on detecting that
the battery is flat.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 1fb4e561
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -23,7 +23,8 @@
#define S3C2412_INFORM2		S3C24XX_PWRREG(0x78)
#define S3C2412_INFORM3		S3C24XX_PWRREG(0x7C)

#define S3C2412_PWRCFG_BATF_IGNORE		(0<<0)
#define S3C2412_PWRCFG_BATF_IRQ			(1<<0)
#define S3C2412_PWRCFG_BATF_IGNORE		(2<<0)
#define S3C2412_PWRCFG_BATF_SLEEP		(3<<0)
#define S3C2412_PWRCFG_BATF_MASK		(3<<0)