blob: eff32b05c21cba4b36d1ed41a24c541fb5d4a477 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/ti,lp3943.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: TI/National Semiconductor LP3943 MFD driver
maintainers:
- Chaosheng Qu <quchaosheng000406@163.com>
description:
LP3943 is an integrated device capable of driving LEDs. It contains two
sub-devices, lp3943-gpio and lp3943-pwm, which are instantiated by the MFD
core from the child nodes described below.
properties:
compatible:
const: ti,lp3943
reg:
maxItems: 1
description: I2C slave address, from 0x60 to 0x67
patternProperties:
"^gpio":
type: object
$ref: /schemas/gpio/trivial-gpio.yaml#
"^pwm":
type: object
$ref: /schemas/pwm/pwm-lp3943.yaml#
required:
- compatible
- reg
additionalProperties: false
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
lp3943: gpio@60 {
compatible = "ti,lp3943";
reg = <0x60>;
gpio {
compatible = "ti,lp3943-gpio";
gpio-controller;
#gpio-cells = <2>;
};
pwm {
compatible = "ti,lp3943-pwm";
#pwm-cells = <2>;
ti,pwm0 = <8 9 10>;
ti,pwm1 = <15>;
};
};
};
...
|