lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <175708448034.930549.7632913810070724509.robh@kernel.org>
Date: Fri, 05 Sep 2025 10:02:56 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Aleksandrs Vinarskis <alex@...arskis.com>
Cc: devicetree@...r.kernel.org, linux-arm-msm@...r.kernel.org, 
 linux-kernel@...r.kernel.org, Lee Jones <lee@...nel.org>, 
 Jacopo Mondi <jacopo@...ndi.org>, 
 Jean-Jacques Hiblot <jjhiblot@...phandler.com>, 
 Sakari Ailus <sakari.ailus@...ux.intel.com>, 
 Bjorn Andersson <andersson@...nel.org>, 
 Konrad Dybcio <konradybcio@...nel.org>, 
 Daniel Thompson <danielt@...nel.org>, Hans de Goede <hansg@...nel.org>, 
 linux-media@...r.kernel.org, Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Daniel Thompson <daniel.thompson@...aro.org>, 
 Bryan O'Donoghue <bryan.odonoghue@...aro.org>, 
 Jingoo Han <jingoohan1@...il.com>, linux-leds@...r.kernel.org, 
 dri-devel@...ts.freedesktop.org, Pavel Machek <pavel@...nel.org>, 
 Mauro Carvalho Chehab <mchehab@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>
Subject: Re: [PATCH v2 1/4] dt-bindings: leds: add generic LED consumer
 documentation


On Fri, 05 Sep 2025 09:59:29 +0200, Aleksandrs Vinarskis wrote:
> Introduce common generic led consumer binding, where consumer defines
> led(s) by phandle, as opposed to trigger-source binding where the
> trigger source is defined in led itself.
> 
> Add already used in some schemas 'leds' parameter which expects
> phandle-array. Additionally, introduce 'led-names' which could be used
> by consumers to map LED devices to their respective functions.
> 
> Signed-off-by: Aleksandrs Vinarskis <alex@...arskis.com>
> ---
>  .../devicetree/bindings/leds/leds-consumer.yaml    | 85 ++++++++++++++++++++++
>  1 file changed, 85 insertions(+)
> 

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/leds/leds-consumer.example.dtb: camera@36 (ovti,ov02c10): Unevaluated properties are not allowed ('led-names', 'leds' were unexpected)
	from schema $id: http://devicetree.org/schemas/media/i2c/ovti,ov02e10.yaml#

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250905-leds-v2-1-ed8f66f56da8@vinarskis.com

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ