arm/dt: Add wleds driver aw99703 configs

arm/dt:
Add wleds driver aw99703 configs.

Change-Id: I9f90ce7e0fef56a66829b8c59fa0ca436380aec9
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1584302
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wangyq13 authored and Carlos Pinho committed 2023-05-31 17:01:00 -03:00
1 parent 95659c5f64
commit d216db4ba3
1 file changed
+29
+29
View File
@@ -0,0 +1,29 @@
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
&qupv3_se1_i2c {
status = "ok"
aw99703-bl@36 {
compatible = "awinic,aw99703-bl";
reg = <0x36>;
aw99703,hwen-gpio = <&pmi632_gpios 6 0>;
aw99703,pwm-mode = <1>; /*0 pwm disable,1 PWM enable*/
aw99703,using-lsb;
aw99703,bl-fscal-led = <0x13>;/*default 20mA*/
aw99703,turn-on-ramp = <0x09>;
aw99703,turn-off-ramp = <0x09>;
aw99703,pwm-trans-dim = <0>;
aw99703,i2c-trans-dim = <0x07>;
aw99703,bl-channel = <2>;
aw99703,bl-map = <3>; /*brightness map level 1:256,2:1024,3:2048*/
};
};