Documentation/devicetree/bindings/leds/backlight/ti,lm3509.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/leds/backlight/ti,lm3509.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/leds/backlight/ti,lm3509.yaml- Extension
.yaml- Size
- 2950 bytes
- Lines
- 137
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: configuration, schema, or hardware description
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
dt-bindings/gpio/gpio.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/leds/backlight/ti,lm3509.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: TI LM3509 High Efficiency Boost for White LED's and/or OLED Displays
maintainers:
- Patrick Gansterer <paroga@paroga.com>
description:
The LM3509 current mode boost converter offers two separate outputs.
https://www.ti.com/product/LM3509
properties:
compatible:
const: ti,lm3509
reg:
maxItems: 1
"#address-cells":
const: 1
"#size-cells":
const: 0
reset-gpios:
maxItems: 1
ti,brightness-rate-of-change-us:
description: Brightness Rate of Change in microseconds.
enum: [51, 13000, 26000, 52000]
ti,oled-mode:
description: Enable OLED mode.
type: boolean
patternProperties:
"^led@[01]$":
type: object
description: Properties for a string of connected LEDs.
$ref: common.yaml#
properties:
reg:
description:
The control register that is used to program the two current sinks.
The LM3509 has two registers (BMAIN and BSUB) and are represented
as 0 or 1 in this property. The two current sinks can be controlled
independently with both registers, or register BMAIN can be
configured to control both sinks with the led-sources property.
minimum: 0
maximum: 1
label: true
led-sources:
minItems: 1
maxItems: 2
items:
minimum: 0
maximum: 1
default-brightness:
minimum: 0
maximum: 31
default: 18
Annotation
- Immediate include surface: `dt-bindings/gpio/gpio.h`.
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.