arm64: dts: rockchip: rk3326/px30: add charge animation node

Change-Id: I2c013c6e1f94727de7031420e7cd15e022767171
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
This commit is contained in:
shengfei Xu
2018-03-01 11:07:08 +08:00
committed by Tao Huang
parent c420c1e4db
commit bc22ab7830
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
charge-animation
~~~~~~~~~~~~~~~~
Required properties :
- compatible: "rockchip,uboot-charge"
- rockchip,uboot-charge-on: enable uboot charge animation
- rockchip,android-charge-on: enable android charge animation,
either uboot charge animation or android charge animation
can be executed, but not both
Optional properties :
- rockchip,uboot-low-power-voltage: voltage threshold of power off
- rockchip,screen-on-voltage: voltage threshold of screen on
Example:
charge-animation {
compatible = "rockchip,uboot-charge";
rockchip,uboot-charge-on = <1>;
rockchip,android-charge-on = <0>;
rockchip,uboot-low-power-voltage = <3500>;
rockchip,screen-on-voltage = <3600>;
status = "okay";
};

View File

@@ -77,6 +77,15 @@
default-brightness-level = <200>;
};
charge-animation {
compatible = "rockchip,uboot-charge";
rockchip,uboot-charge-on = <1>;
rockchip,android-charge-on = <0>;
rockchip,uboot-low-power-voltage = <3500>;
rockchip,screen-on-voltage = <3600>;
status = "okay";
};
rk817-sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";