mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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:
16
Documentation/devicetree/bindings/amlogic/reboot-meson.txt
Normal file
16
Documentation/devicetree/bindings/amlogic/reboot-meson.txt
Normal 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>;
|
||||
};
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user