Porting of (CR) arm/dt: Add ti lm3697 backlight ic configs. Change-Id: Ie26b0a743008b1688be1867d316911c9c2292d24 Signed-off-by: wangyq13 <wangyq13@lenovo.com> Reviewed-on: https://gerrit.mot.com/1954961 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Ying Xu <xuying9@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key Signed-off-by: Robert Cabral <robertc@motorola.com> Reviewed-on: https://gerrit.mot.com/1964498
36 lines
949 B
Devicetree
36 lines
949 B
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"
|
|
|
|
lm3697-bl@37 {
|
|
compatible = "ti,lm3697";
|
|
reg = <0x37>;
|
|
|
|
enable-gpios = <&pmi632_gpios 6 0>;
|
|
backlight {
|
|
compatible = "ti,lm3697-backlight";
|
|
lcd {
|
|
led-sources = <0 1 2>;
|
|
ramp-up-msec = <200>;
|
|
ramp-down-msec = <200>;
|
|
pwm-period = <0>;
|
|
default-brightness-level = <255>;
|
|
};
|
|
};
|
|
fault-monitor {
|
|
compatible = "ti,lm3697-fault-monitor";
|
|
};
|
|
};
|
|
};
|