RE: [PATCH] arm64: dts: exynoautov9: add syscon reboot/reboot_mode support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> > b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> > index 0ce46ec5cdc3..d99e53406ee0 100644
> > --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> > +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> > @@ -312,6 +312,22 @@ pinctrl_peric1: pinctrl@10830000 {
> >  		pmu_system_controller: system-controller@10460000 {
> >  			compatible = "samsung,exynos7-pmu", "syscon";
> >  			reg = <0x10460000 0x10000>;
> > +
> > +			reboot: syscon-reboot {
> > +				compatible = "syscon-reboot";
> > +				regmap = <&pmu_system_controller>;
> > +				offset = <0x3a00>; /* SYSTEM_CONFIGURATION */
> > +				value = <0x2>;
> > +				mask = <0x2>;
> > +			};
> > +
> > +			reboot_mode: syscon-reboot-mode {
> 
> Node name: just "reboot-mode"

Okay. I'll just put "reboot-mode {" without the label.

> 
> > +				compatible = "syscon-reboot-mode";
> > +				offset = <0x810>; /* SYSIP_DAT0 */
> > +				mode-bootloader = <0xfc>;
> > +				mode-fastboot = <0xfa>;
> > +				mode-recovery = <0xff>;
> 
> These are magic values understood by firmware, so please add a header for
> them (something like include/dt-bindings/soc/rockchip,boot-mode.h
> but with some prefixes like EXYNOSAUTOV9_BOOT_FASTBOOT))

Okay. I'll add samsung,boot-mode.h and put them with the prefix.

Best Regards,
Chanho Park




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux