reboot: meson: standardize the compatible property

PD#168480: reboot: meson: standardize the compatible property

Use 'amlogic,reboot' instead of 'aml,reboot'.
'aml,reboot' will be removed later.

Change-Id: I7d16795c98aa293fe204121ccd7da41c7d078f77
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
This commit is contained in:
Jian Hu
2018-07-02 17:52:37 +08:00
committed by Yixun Lan
parent 7fc61b1f99
commit 091a289acc
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
Amlogic Meson Reboot
Required properties:
- compatible: must be "amlogic,reboot"
- sys_reset: should be 0x84000009
- sys_poweroff: should be 0x84000008
refere to Power_State_Coordination_Interface_PDD_v1_1_DEN0022D.pdf,page 34.
Examples:
reboot {
compatible = "amlogic,reboot";
sys_reset = <0x84000009>;
sys_poweroff = <0x84000008>;
};

View File

@@ -14535,3 +14535,7 @@ F: include/dt-bindings/gpio/meson-txl-gpio.h
AMLOGIC TXL PANEL DRIVER
M: evoke zhang <evoke.zhang@amlogic.com>
F: arch/arm64/boot/dts/amlogic/mesontxl_p321-panel.dtsi
AMLOGIC REBOOT
M: Jian Hu <jian.hu@amlogic.com>
F: Documentation/devicetree/bindings/amlogic/reboot-meson.txt

View File

@@ -151,6 +151,7 @@ static int aml_restart_probe(struct platform_device *pdev)
static const struct of_device_id of_aml_restart_match[] = {
{ .compatible = "aml, reboot", },
{ .compatible = "amlogic,reboot", },
{},
};
MODULE_DEVICE_TABLE(of, of_aml_restart_match);