From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D32E606A322 for ; Fri, 4 Dec 2026 21:57:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=N1C3f9fT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9D8E010E231; Fri, 4 Dec 2026 21:57:31 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id A896010E7A8 for ; Fri, 4 Dec 2026 21:57:25 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 5CE4F4634A; Fri, 4 Dec 2026 21:57:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA0B91F00A18; Fri, 4 Dec 2026 21:57:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796421445; bh=tVDY46GsCbEuyicdgLiVggzpjCKtNcPoEkp/qRsK/YI=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=N1C3f9fT7l0hzaluzPqbZI2WjVn8IjOmprcVF87hZ7nVCMIL/+IG2UstYwGNvErVu TrkFvDYGt3X4RLmBGNiByUed6fjPLExhPZpIQRkWSIah8NRMBLam1Rf+k/ubJcZdrh vX6O84Mfj179GEcpERJdYkkaGx7ih+EQuyUKtW6lmRwMlnQTOar0UUIXAXmDKbE1tu yR8fbXZkl4vZ7iGeflhdVIqCMIHKwIq3PiOcOOdh2VJAvqMNk6x9nNvxIudPQ5hjKZ mHJNJ07paY/IvcQgzOkFhehH0CgX91lML5pfDwVoexbeDU0c1QJfwZR6dDgSNhb23v ca0/M1nAi+v2w== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v3 1/4] dt-bindings: leds: backlight: Add Awinic AW99703 backlight To: "Andreas Kemnade" Cc: dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org, Frank.Li@kernel.org, lee@kernel.org In-Reply-To: <20261204-bl-aw99703-upstr-v3-1-b98b78720ac2@kemnade.info> References: <20261204-bl-aw99703-upstr-v3-0-b98b78720ac2@kemnade.info> <20261204-bl-aw99703-upstr-v3-1-b98b78720ac2@kemnade.info> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 21:57:24 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "dri-devel" X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Low] dt-bindings: awinic,aw99703: unevaluatedProperties: false without $ref - [Low] dt-bindings: awinic,aw99703: channel-mask allows 0 and lacks bit mapping -- commit 389bb9f0bd518f7433efdc6d02944088dd335402 Author: Andreas Kemnade dt-bindings: leds: backlight: Add Awinic AW99703 backlight This commit adds the Device Tree binding schema for the Awinic AW99703 3-channel backlight driver. > diff --git a/Documentation/devicetree/bindings/leds/backlight/awinic,aw99= 703.yaml b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.= yaml > new file mode 100644 > index 0000000000000..ae2820f7c6040 > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.yaml > @@ -0,0 +1,94 @@ [ ... ] > + awinic,channel-mask: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: Mask of channels to use > + minimum: 0 > + maximum: 7 > + default: 7 [Severity: Low] Can awinic,channel-mask reuse the standard led-sources property from Documentation/devicetree/bindings/leds/common.yaml instead of introducing a custom vendor bitmask? If a bitmask is kept, minimum: 0 allows enabling zero channels (sibling bindings like richtek,rt4831-backlight.yaml require minimum: 1). The description also omits the bit-to-channel mapping, leaving values such as 5 ambiguous. [ ... ] > +unevaluatedProperties: false [Severity: Low] Should this schema either reference common.yaml# via allOf or use additionalProperties: false instead of unevaluatedProperties: false? Per Documentation/devicetree/bindings/writing-schema.rst, unevaluatedProperties: false is only for bindings that reference another schema. Without referencing common.yaml# (as awinic,aw99706.yaml does), standard backlight properties like default-brightness fail dtbs_check. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-bl-aw99703= -upstr-v3-0-b98b78720ac2@kemnade.info?part=3D1