projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cde578f
)
x86: acpi: Enable RTC for Intel Tangier
author
Andy Shevchenko
<
[email protected]
>
Sat, 10 Nov 2018 15:37:01 +0000
(17:37 +0200)
committer
Bin Meng
<
[email protected]
>
Mon, 10 Dec 2018 02:12:29 +0000
(10:12 +0800)
Intel Tangier SoC has RTC inside. So, enable it in ACPI.
Signed-off-by: Andy Shevchenko <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
arch/x86/include/asm/arch-tangier/acpi/platform.asl
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/arch-tangier/acpi/platform.asl
b/arch/x86/include/asm/arch-tangier/acpi/platform.asl
index 7abea4bb96ee8c50927ad0d8c378125c3c13d1f9..353b879918aa1ad39037fd61ad5f71e7cd5dd01b 100644
(file)
--- a/
arch/x86/include/asm/arch-tangier/acpi/platform.asl
+++ b/
arch/x86/include/asm/arch-tangier/acpi/platform.asl
@@
-21,6
+21,19
@@
Method(_WAK, 1)
Return (Package() {0, 0})
}
+Scope (_SB)
+{
+ /* Real Time Clock */
+ Device (RTC0)
+ {
+ Name (_HID, EisaId ("PNP0B00"))
+ Name (_CRS, ResourceTemplate()
+ {
+ IO(Decode16, 0x70, 0x70, 0x01, 0x08)
+ })
+ }
+}
+
/* ACPI global NVS */
#include "global_nvs.asl"