mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
arm/dt: miami: add aw2033 leds configs
arm/dt: Add aw2033 leds initial configs, create red/green/blue for upper layer indication, and charging for tcmd. Change-Id: Id8777dac22078775dc7302f166159d29a43f720d Signed-off-by: wangyq13 <wangyq13@lenovo.com> Reviewed-on: https://gerrit.mot.com/2227091 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Yiqiang Feng <fengyq4@Lenovo.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
2844bd881c
commit
ba85648882
1 changed files with 55 additions and 0 deletions
|
|
@ -595,3 +595,58 @@
|
|||
};
|
||||
};
|
||||
|
||||
&qupv3_se10_i2c {
|
||||
status = "ok"
|
||||
aw2033@45 {
|
||||
compatible = "awinic,aw2033_led";
|
||||
reg = <0x45>;
|
||||
|
||||
aw2033,red {
|
||||
aw2033,name = "red";
|
||||
aw2033,id = <0>;
|
||||
aw2033,imax = <2>;
|
||||
aw2033,led-current = <3>;
|
||||
aw2033,max-brightness = <255>;
|
||||
aw2033,rise-time-ms = <6>;
|
||||
aw2033,hold-time-ms = <0>;
|
||||
aw2033,fall-time-ms = <6>;
|
||||
aw2033,off-time-ms = <4>;
|
||||
};
|
||||
|
||||
aw2033,charging {
|
||||
aw2033,name = "charging";
|
||||
aw2033,id = <0>;
|
||||
aw2033,imax = <2>;
|
||||
aw2033,led-current = <3>;
|
||||
aw2033,max-brightness = <255>;
|
||||
aw2033,rise-time-ms = <6>;
|
||||
aw2033,hold-time-ms = <0>;
|
||||
aw2033,fall-time-ms = <6>;
|
||||
aw2033,off-time-ms = <4>;
|
||||
};
|
||||
|
||||
aw2033,green {
|
||||
aw2033,name = "green";
|
||||
aw2033,id = <1>;
|
||||
aw2033,imax = <2>;
|
||||
aw2033,led-current = <3>;
|
||||
aw2033,max-brightness = <255>;
|
||||
aw2033,rise-time-ms = <6>;
|
||||
aw2033,hold-time-ms = <0>;
|
||||
aw2033,fall-time-ms = <6>;
|
||||
aw2033,off-time-ms = <4>;
|
||||
};
|
||||
aw2033,blue {
|
||||
aw2033,name = "blue";
|
||||
aw2033,id = <2>;
|
||||
aw2033,imax = <2>;
|
||||
aw2033,led-current = <3>;
|
||||
aw2033,max-brightness = <255>;
|
||||
aw2033,rise-time-ms = <6>;
|
||||
aw2033,hold-time-ms = <0>;
|
||||
aw2033,fall-time-ms = <6>;
|
||||
aw2033,off-time-ms = <4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue