From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796421445; b=trx3Xq96rsBiFTOeSQEtCsrkWHVG3A3QTB2KJhZ8yjg5GgZPfzsgp/S2GN8GVAnXEb9I e/1aNfaWRzdkMzywWVE5THq+MHkivDKh21AeAedAKvlKCfY0fMnnBZJUPQmVLjnpvp8dZ IOm5eCK6DRRVhALlIwc+BzheppVJfR4Ver0jb3uULRBbPPjTKg4ezuQp4gZiU2IyoDr1y c3oUjQ1hzAk5t8i0nO0L6L9rcLs6/qYvz3H+sQl/vuVDkXLamla1UCOZ6+3TFJB0sk7x+ s9GL1q7DSDcm+lZOhXsjOClMF6qPqf9UbIClnVmbWFmRwDU9Rd+YdQq3eB0xZTkiBHg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796421445; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=tVDY46GsCbEuyicdgLiVggzpjCKtNcPoEkp/qRsK/YI=; b=Pog98kbh1hl+jIT2UHNY8CCKBOTlh2AmwMgZzUIK0RdAIh50XB7czXOSQRfDxMH3Fz8G +kpQ4VVmg5jT4p47+3W2JnD0sNN7ZSoH4DGC1Ta2AiHrZzXONCAaK/s1c8j25JsToxiWi viDBp5qcnMhQCnYzWddBUC91TlAH58sH5jGIGQb0yEjlJdRaLP1eF2lptZPJVPGaLFXP9 RcOtzD747NN1zX4XqZa04SfrV9pvOMT/xoAOSG3FhqPJT9/m1adFpRWO1uGLfVpU/llCY SOjGt9j+lp/Sd+wACmYlTrcmv08Xqte3BkJQiDwKxmA5yl5bmPqBNOt3hl14yowWOfg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=N1C3f9fT; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9526A606A692; Fri, 4 Dec 2026 21:57:25 +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: 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 Reply-To: sashiko-reviews@lists.linux.dev 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-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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