diff options
author | shengfei Xu <xsf@rock-chips.com> | 2018-03-01 11:07:08 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2018-03-09 14:10:02 +0800 |
commit | bc22ab7830787ec2a9d7bf7386afb5aa223d7e05 (patch) | |
tree | 7283edd3aac5ab2c7478da94131c53e765ad5039 /Documentation | |
parent | c420c1e4db229a5d18faed4b58c01ef89027d5b7 (diff) |
arm64: dts: rockchip: rk3326/px30: add charge animation node
Change-Id: I2c013c6e1f94727de7031420e7cd15e022767171
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/power_supply/charge-animation.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/charge-animation.txt b/Documentation/devicetree/bindings/power_supply/charge-animation.txt new file mode 100644 index 000000000000..5d92a530aafa --- /dev/null +++ b/Documentation/devicetree/bindings/power_supply/charge-animation.txt @@ -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"; + }; |