-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'backlight-next-6.3' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/lee/backlight Pull backlight updates from Lee Jones: "New Drivers: - Add support for Kinetic KTZ8866 Backlight Removed Drivers: - Toshiba Sharp SL-6000 LCD and Backlight Fix-ups: - Provide some profiling optimisations with respect to pwm_get_state() and pwm_apply_state() - Make use of the dev_err_probe() API - Provide some Device Tree documentation additions / adaptions - Drop fall-back legacy PWM probing support - Convert over to new I2C probing API - Fix incorrect documentation - Make use of backlight_get_brightness() API Bug Fixes: - Fix disabling backlight on i.MX6 when inverted PWMs are used" * tag 'backlight-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight: backlight: ktz8866: Convert to i2c's .probe_new() backlight: ktz8866: Add support for Kinetic KTZ8866 backlight dt-bindings: leds: backlight: Add Kinetic KTZ8866 backlight backlight: pwm_bl: Don't rely on a disabled PWM emiting inactive state backlight: pwm_bl: Configure pwm only once per backlight toggle backlight: Remove pxa tosa support backlight: aat2870: Use backlight helper backlight: ipaq_micro: Use backlight helper backlight: arcxcnn: Use backlight helper backlight: sky81452: Fix sky81452_bl_platform_data kernel-doc backlight: pwm_bl: Drop support for legacy PWM probing dt-bindings: backlight: qcom-wled: Add PMI8950 compatible backlight: ktd253: Switch to use dev_err_probe() helper backlight: backlight: Fix doc for backlight_device_get_by_name
- Loading branch information
Showing
17 changed files
with
339 additions
and
542 deletions.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/leds/backlight/kinetic,ktz8866.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Kinetic Technologies KTZ8866 backlight | ||
|
||
maintainers: | ||
- Jianhua Lu <lujianhua000@gmail.com> | ||
|
||
description: | | ||
The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks | ||
led backlight with dual lcd bias power. | ||
https://www.kinet-ic.com/ktz8866/ | ||
allOf: | ||
- $ref: common.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: kinetic,ktz8866 | ||
|
||
vddpos-supply: | ||
description: positive boost supply regulator. | ||
|
||
vddneg-supply: | ||
description: negative boost supply regulator. | ||
|
||
enable-gpios: | ||
description: GPIO to use to enable/disable the backlight (HWEN pin). | ||
maxItems: 1 | ||
|
||
current-num-sinks: | ||
description: number of the LED current sinks' channels. | ||
enum: [1, 2, 3, 4, 5, 6] | ||
|
||
kinetic,current-ramp-delay-ms: | ||
description: | | ||
LED current ramping delay time in milliseconds, note that the | ||
case 1 will be mapped to 1μs. | ||
enum: [1, 2, 4, 8, 16, 32, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640] | ||
|
||
kinetic,led-enable-ramp-delay-ms: | ||
description: | | ||
LED on/off ramping delay time in milliseconds, note that the case 0 will be | ||
mapped to 512μs because ktz8866 can't ramp faster than it. | ||
enum: [0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384] | ||
|
||
kinetic,enable-lcd-bias: | ||
description: Set if we want to output bias power supply for LCD. | ||
type: boolean | ||
|
||
required: | ||
- compatible | ||
- vddpos-supply | ||
- vddneg-supply | ||
- enable-gpios | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
backlight { | ||
compatible = "kinetic,ktz8866"; | ||
vddpos-supply = <&bl_vddpos_5p5>; | ||
vddneg-supply = <&bl_vddneg_5p5>; | ||
enable-gpios = <&tlmm 139 GPIO_ACTIVE_HIGH>; | ||
current-num-sinks = <5>; | ||
kinetic,current-ramp-delay-ms = <128>; | ||
kinetic,led-enable-ramp-delay-ms = <1>; | ||
kinetic,enable-lcd-bias; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.