From: Svyatoslav Ryhel <clamor95@gmail.com>
To: Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Daniel Thompson <danielt@kernel.org>,
Jingoo Han <jingoohan1@gmail.com>,
Svyatoslav Ryhel <clamor95@gmail.com>
Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, mfd@lists.linux.dev,
dri-devel@lists.freedesktop.org
Subject: [PATCH v1 1/3] dt-bindings: mfd: Document Skyworks AAT2870
Date: Wed, 30 Sep 2026 10:15:11 +0300 [thread overview]
Message-ID: <20260930071513.54697-2-clamor95@gmail.com> (raw)
In-Reply-To: <20260930071513.54697-1-clamor95@gmail.com>
Document Skyworks AAT2870 LED Backlight Driver and Multiple LDO Lighting
Management Unit.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
.../bindings/leds/skyworks,aat2870.yaml | 127 ++++++++++++++++++
1 file changed, 127 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/skyworks,aat2870.yaml
diff --git a/Documentation/devicetree/bindings/leds/skyworks,aat2870.yaml b/Documentation/devicetree/bindings/leds/skyworks,aat2870.yaml
new file mode 100644
index 0000000000000..6dfcd1fa399ca
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/skyworks,aat2870.yaml
@@ -0,0 +1,127 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/skyworks,aat2870.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: AAT2870 LED Backlight Driver and Multiple LDO Lighting Management Unit
+
+maintainers:
+ - Svyatoslav Ryhel <clamor95@gmail.com>
+
+properties:
+ compatible:
+ const: skyworks,aat2870
+
+ reg:
+ maxItems: 1
+
+ enable-gpios:
+ description: GPIO connected to EN pin.
+ maxItems: 1
+
+ vin-supply:
+ description: Regulator providing power to the "IN" pin.
+
+ backlight:
+ $ref: /schemas/leds/backlight/common.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ compatible:
+ const: skyworks,aat2870-backlight
+
+ led-max-microamp:
+ minimum: 450000
+ maximum: 27900000
+ default: 450000
+
+ max-brightness:
+ default: 255
+
+ skyworks,channels:
+ description: layout of active channels, where each bit represents
+ one of 8 channels.
+ $ref: /schemas/types.yaml#/definitions/uint8
+ default: 0xff
+
+ required:
+ - compatible
+
+ regulators:
+ type: object
+ additionalProperties: false
+
+ properties:
+ compatible:
+ const: skyworks,aat2870-regulator
+
+ in-ldo-supply:
+ description: Phandle to parent supply of regulators populated under
+ regulators node. They all share same parent.
+
+ patternProperties:
+ "^(ldo-(a|b|c|d))$":
+ $ref: /schemas/regulator/regulator.yaml#
+ unevaluatedProperties: false
+
+ required:
+ - compatible
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led-controller@60 {
+ compatible = "skyworks,aat2870";
+ reg = <0x60>;
+
+ enable-gpios = <&gpio 139 GPIO_ACTIVE_HIGH>;
+ vin-supply = <&vdd_3v3_vbat>;
+
+ backlight {
+ compatible = "skyworks,aat2870-backlight";
+
+ skyworks,channels = /bits/ 8 <0xff>;
+ led-max-microamp = <27900000>;
+ };
+
+ regulators {
+ compatible = "skyworks,aat2870-regulator";
+
+ in-ldo-supply = <&vdd_3v3_vbat>;
+
+ ldo-a {
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ };
+
+ ldo-b {
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ ldo-c {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ };
+
+ ldo-d {
+ regulator-min-microvolt = <2700000>;
+ regulator-max-microvolt = <2800000>;
+ };
+ };
+ };
+ };
--
2.53.0
next prev parent reply other threads:[~2026-09-30 7:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 7:15 [PATCH v1 0/3] mfd: aat2870: Convert to use OF bindings Svyatoslav Ryhel
2026-09-30 7:15 ` Svyatoslav Ryhel [this message]
2026-09-30 7:15 ` [PATCH v1 2/3] " Svyatoslav Ryhel
2026-09-30 7:15 ` [PATCH v1 3/3] mfd: aat2870: Add support for VIN and IN-LDO power supplies Svyatoslav Ryhel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260930071513.54697-2-clamor95@gmail.com \
--to=clamor95@gmail.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=danielt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mfd@lists.linux.dev \
--cc=pavel@kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®