Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] dt-bindings: leds: backlight: aw99703: invalid default for
  awinic,ovp-microvolt
- [Medium] dt-bindings: leds: backlight: aw99703: typo 34000000 in
  awinic,ocp-microamp enum
--

commit 58bb4029f54ecea50b107838df2d9b077b16d4f3
Author: Andreas Kemnade <[email protected]>

dt-bindings: leds: backlight: Add Awinic AW99703 backlight

This commit adds the Device Tree binding schema for the Awinic AW99703
3-channel WLED backlight driver.

> diff --git 
> a/Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.yaml 
> b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.yaml
> new file mode 100644
> index 0000000000000..74214a1760622
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.yaml
> @@ -0,0 +1,96 @@

[ ... ]

> +  awinic,ovp-microvolt:
> +    enum: [ 17500000, 24000000, 31000000, 38000000, 41500000 ]
> +    default: 38000

[Severity: Medium]
Should the default for awinic,ovp-microvolt be 38000000 instead of 38000?
38000 is not in the enum list and causes dt_binding_check to fail.  This
vendor property is also missing a description field.

> +
> +  awinic,ocp-microamp:
> +    enum: [ 900000, 1800000, 2700000, 34000000 ]
> +    default: 2700000

[Severity: Medium]
Should the fourth enum value for awinic,ocp-microamp be 3400000 (3.4 A)
instead of 34000000 (34 A)?  The driver expects 3400000, so a board DT
using 3.4 A will either fail dtbs_check with 3400000 or fail to probe
with -EINVAL if set to 34000000.  This vendor property is also missing a
description field.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=1

Reply via email to