From: Christian Marangi <ansuelsmth@gmail.com>
To: Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Jacek Anaszewski <jacek.anaszewski@gmail.com>,
linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Christian Marangi <ansuelsmth@gmail.com>
Subject: [PATCH v7 01/20] dt-bindings: leds-lp55xx: Limit pwr-sel property to ti,lp8501
Date: Thu, 20 Jun 2024 23:03:17 +0200 [thread overview]
Message-ID: <20240620210401.22053-2-ansuelsmth@gmail.com> (raw)
In-Reply-To: <20240620210401.22053-1-ansuelsmth@gmail.com>
pwr-sel property is specific to ti,lp8501, make it conditional of the
related compatible.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
---
.../devicetree/bindings/leds/leds-lp55xx.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
index e9d4514d0166..77828dedbb9f 100644
--- a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
@@ -151,6 +151,16 @@ patternProperties:
$ref: /schemas/types.yaml#/definitions/string
description: name of channel
+if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: ti,lp8501
+then:
+ properties:
+ pwr-sel: false
+
required:
- compatible
- reg
--
2.45.1
next prev parent reply other threads:[~2024-06-20 21:41 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-20 21:03 [PATCH v7 00/20] leds: leds-lp55xx: overhaul driver Christian Marangi
2024-06-20 21:03 ` Christian Marangi [this message]
2024-06-20 21:03 ` [PATCH v7 02/20] dt-bindings: leds-lp55xx: Add new ti,lp5569 compatible Christian Marangi
2024-06-20 21:03 ` [PATCH v7 03/20] leds: leds-lp55xx: Generalize stop_all_engine OP Christian Marangi
2024-06-20 21:03 ` [PATCH v7 04/20] leds: leds-lp55xx: Generalize probe/remove functions Christian Marangi
2024-06-20 21:03 ` [PATCH v7 05/20] leds: leds-lp55xx: Generalize load_engine function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 06/20] leds: leds-lp55xx: Generalize load_engine_and_select_page function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 07/20] leds: leds-lp55xx: Generalize run_engine function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 08/20] leds: leds-lp55xx: Generalize update_program_memory function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 09/20] leds: leds-lp55xx: Generalize firmware_loaded function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 10/20] leds: leds-lp55xx: Generalize led_brightness function Christian Marangi
2024-06-26 17:48 ` Markus Elfring
2024-06-20 21:03 ` [PATCH v7 11/20] leds: leds-lp55xx: Generalize multicolor_brightness function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 12/20] leds: leds-lp55xx: Generalize set_led_current function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 13/20] leds: leds-lp55xx: Generalize turn_off_channels function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 14/20] leds: leds-lp55xx: Generalize stop_engine function Christian Marangi
2024-06-20 21:03 ` [PATCH v7 15/20] leds: leds-lp55xx: Generalize sysfs engine_load and engine_mode Christian Marangi
2024-06-20 21:03 ` [PATCH v7 16/20] leds: leds-lp55xx: Generalize sysfs engine_leds Christian Marangi
2024-06-20 21:03 ` [PATCH v7 17/20] leds: leds-lp55xx: Generalize sysfs master_fader Christian Marangi
2024-06-20 21:03 ` [PATCH v7 18/20] leds: leds-lp55xx: Support ENGINE program up to 128 bytes Christian Marangi
2024-06-20 21:03 ` [PATCH v7 19/20] leds: leds-lp55xx: Drop deprecated defines Christian Marangi
2024-06-20 21:03 ` [PATCH v7 20/20] leds: leds-lp5569: Add support for Texas Instruments LP5569 Christian Marangi
2024-06-26 15:42 ` [PATCH v7 00/20] leds: leds-lp55xx: overhaul driver Lee Jones
2024-06-26 15:57 ` Christian Marangi
2024-06-26 16:07 ` Lee Jones
2024-06-26 16:09 ` Lee Jones
2024-06-26 16:11 ` Christian Marangi
2024-06-26 16:02 ` Lee Jones
2024-06-26 16:08 ` Lee Jones
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=20240620210401.22053-2-ansuelsmth@gmail.com \
--to=ansuelsmth@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jacek.anaszewski@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.