arm/dts: Cebu ktd3136 backlight IC support

Cebu: 2nd backlight ktd3136 IC support
add ktd3136 config

Change-Id: I8af9fdffabb5e341542b93434bc7585ff2163893
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1668611
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
hujing3 authored and Carlos Pinho committed 2023-05-31 17:01:01 -03:00
1 parent f20d61d198
commit 82d31ca629
2 files changed
+33

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
#include <dt-bindings/clock/mdss-14nm-pll-clk.h> #include <dt-bindings/clock/mdss-14nm-pll-clk.h>
#include "bengal-sde-display.dtsi" #include "bengal-sde-display.dtsi"
#include "bengal-leds-aw99703.dtsi" #include "bengal-leds-aw99703.dtsi"
#include "bengal-leds-ktd3136.dtsi"
#include "dsi-panel-mot-dummy-qhd-video.dtsi" #include "dsi-panel-mot-dummy-qhd-video.dtsi"
#include "dsi-panel-moto-ft8006s-dsbj-hdplus-video.dtsi" #include "dsi-panel-moto-ft8006s-dsbj-hdplus-video.dtsi"
+32
View File
@@ -0,0 +1,32 @@
/* 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"
ktd3136-bl@36 {
compatible = "ktd,ktd3136";
reg = <0x37>;
ktd,using-lsb;
ktd,pwm-frequency = <100>;
ktd,bl-fscal-led = <0x99>;/*default 20mA*/
ktd,turn-on-ramp = <8>; /* Should add ms value, please check datasheet*/
ktd,turn-off-ramp = <8>; /* Should add ms value, please check datasheet*/
ktd,pwm-trans-dim = <4>; /* Should add ms value, please check datasheet*/
ktd,i2c-trans-dim = <256>; /* Should add ms value, please check datasheet*/
ktd,bl-channel = <3>;
ktd,ovp-level = <32>; /*default 32v*/
ktd,switching-frequency = <1000>; /*default 1000kHz*/
ktd,inductor-current = <2600>; /*dfault 2600mA*/
ktd,flash-timeout = <500>;/*default 500ms*/
ktd,flash-current = <0xf>;/*default, it depends on full-scale led*/
};
};