mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
SUSPEND: enable supspend function.
PD#156734: suspend: enable supspend function. Change-Id: I20d62c97147298617cc3c11b3a0ff878bff5f034 Signed-off-by: Hong Guo <hong.guo@amlogic.com>
This commit is contained in:
@@ -146,7 +146,8 @@
|
||||
compatible = "amlogic, pm";
|
||||
device_name = "aml_pm";
|
||||
status = "okay";
|
||||
reg = <0x0 0xff80023c 0x0 0x4>;
|
||||
reg = <0x0 0xff8000a8 0x0 0x4
|
||||
0x0 0xff80023c 0x0 0x4>;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -177,9 +177,10 @@
|
||||
|
||||
meson_suspend:pm {
|
||||
compatible = "amlogic, pm";
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
device_name = "aml_pm";
|
||||
reg = <0x0 0xff80023c 0x0 0x4>;
|
||||
reg = <0x0 0xff8000a8 0x0 0x4
|
||||
0x0 0xff80023c 0x0 0x4>;
|
||||
};
|
||||
|
||||
secmon {
|
||||
|
||||
@@ -243,7 +243,6 @@ static int __init meson_pm_probe(struct platform_device *pdev)
|
||||
|
||||
debug_reg = of_iomap(pdev->dev.of_node, 0);
|
||||
exit_reg = of_iomap(pdev->dev.of_node, 1);
|
||||
writel(0x0, debug_reg);
|
||||
device_create_file(&pdev->dev, &dev_attr_suspend_reason);
|
||||
device_create_file(&pdev->dev, &dev_attr_time_out);
|
||||
device_rename(&pdev->dev, "aml_pm");
|
||||
|
||||
Reference in New Issue
Block a user