Set wled max current to 25mA, panel IC outputs 80% for HBM function. Change-Id: I75ae118f4106a28ec6dbe089f0b9a410223c701e Signed-off-by: wangyq13 <wangyq13@lenovo.com> Reviewed-on: https://gerrit.mot.com/1648452 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
30 lines
1.1 KiB
Devicetree
30 lines
1.1 KiB
Devicetree
/* 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 = <0x1B>;/*default 25mA*/
|
|
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*/
|
|
};
|
|
};
|