Krzysztof Kozlowski
de40c8496e
dt-bindings: leds: class-multicolor: reference class directly in multi-led node
...
The leds/common.yaml is referenced directly in each LED node, which
leads to people doing the same with leds/leds-class-multicolor.yaml.
This is not correct because leds-class-multicolor.yaml defined multi-led
property and its children. Some schemas implemented this incorrect.
Rework this to match same behavior common.yaml, so expect the multi-led
node to reference the leds-class-multicolor.yaml. Fixing allows to add
unevaluatedProperties:false.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Pavel Machek <pavel@ucw.cz >
2022-07-17 14:45:01 +02:00
Rob Herring
dca669354e
dt-bindings: Another pass removing cases of 'allOf' containing a '$ref'
...
Another pass at removing unnecessary use of 'allOf' with a '$ref'.
json-schema versions draft7 and earlier have a weird behavior in that
any keywords combined with a '$ref' are ignored (silently). The correct
form was to put a '$ref' under an 'allOf'. This behavior is now changed
in the 2019-09 json-schema spec and '$ref' can be mixed with other
keywords.
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Cc: Thierry Reding <thierry.reding@gmail.com >
Cc: Sam Ravnborg <sam@ravnborg.org >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Pavel Machek <pavel@ucw.cz >
Cc: Guenter Roeck <groeck@chromium.org >
Cc: Richard Weinberger <richard@nod.at >
Cc: Vignesh Raghavendra <vigneshr@ti.com >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Kishon Vijay Abraham I <kishon@ti.com >
Cc: Sebastian Reichel <sre@kernel.org >
Cc: Mathieu Poirier <mathieu.poirier@linaro.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Mark Brown <broonie@kernel.org >
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-by: Marek Behún <kabel@kernel.org >
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Jakub Kicinski <kuba@kernel.org >
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220228213802.1639658-1-robh@kernel.org
2022-03-02 14:02:57 -06:00
Marek Behún
b37c384843
treewide: change my e-mail address, fix my name
...
Change my e-mail address to kabel@kernel.org , and fix my name in
non-code parts (add diacritical mark).
Link: https://lkml.kernel.org/r/20210325171123.28093-2-kabel@kernel.org
Signed-off-by: Marek Behún <kabel@kernel.org >
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Cc: Jassi Brar <jassisinghbrar@gmail.com >
Cc: Linus Walleij <linus.walleij@linaro.org >
Cc: Pavel Machek <pavel@ucw.cz >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2021-04-09 14:54:23 -07:00
Marek Behún
e5467b672b
dt-bindings: leds: cznic,turris-omnia-leds: fix error in binding
...
There is a bug in the device tree binding for cznic,turris-omnia-leds
which causes make dt_binding_check to complain.
The reason is that the multi-led property binding's regular expression
does not contain the `@` character, while the example nodes do.
Fix this, and also adjust the maximum address to 'b' as there are 12
LEDs.
Cc: Rob Herring <robh+dt@kernel.org >
Cc: devicetree@vger.kernel.org
Cc: Pavel Machek <pavel@ucw.cz >
Signed-off-by: Marek Behún <marek.behun@nic.cz >
Link: https://lore.kernel.org/r/20200915005426.15957-1-marek.behun@nic.cz
Signed-off-by: Rob Herring <robh@kernel.org >
2020-09-15 21:03:07 -06:00
Marek Behún
ae036f9fb6
dt-bindings: leds: add cznic,turris-omnia-leds binding
...
Add device-tree bindings documentation for Turris Omnia RGB LEDs.
Signed-off-by: Marek Behún <marek.behun@nic.cz >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: devicetree@vger.kernel.org
Signed-off-by: Pavel Machek <pavel@ucw.cz >
2020-07-24 12:58:55 +02:00