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=1796432748; b=oDjxVDhbwEdLyoXaU4CGymjfGBHfQO5FL4aj1XkKlB4k5S54XzH51BMOBi9hIt2XHjOT i0zOvUyh5U8IKmJ6O2ddySyvVl8t/h1Vrr1fQsBIvPcbBf7Wwtgiw+U/OszCNVkQebgW1 iVZeHnFmAgoBx0FGAw3aR9lVTueoZlywu7CVj9PZgdeA8p/FhxxXhWCHzmi+wFPfpJz4y KO3h0WolIkQgdl2oHnkGAjZzqMyLKqkIiVPxTB5sA6Q903sfbQ6pafVfFyypFey8HAwgR dwD6kzyajEdP7otNDtI15o06/U6LIl3wbZokdekIZfkaGlPsJTt00dvzhDJM28mMt9A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796432748; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=jYaW03xLpo3f14pvXhnkJ/zUJvmABjj5YtmnT0oYZb8=; b=2LFGMPXtuV9syGVZ8Dse6ZHbqZWZ9ciOtsWT67Mgu08HTp6Jrm9Jfn8Qm6jK6fl/lp6T /FS89KYGXoR/8nn85dgPhif0xwsVpsKcqn//jA4wpPSUstEXQAdZJ0u7r5zetGf5zJIIa Xqv+24YW23Af3KqkHtqADOT8xnUNUwaMMUg4zbFrSFuWgP9XEMruHvHtwuCY2jDSGn0dH Ivcy6HCmMRlOTyrG50FTr4AbRHP7cawtXpgFy7m5f0YVt+pjT3OK82DIeomPvVDORHKI9 JxLemgmeDkyvnX5C7p8qC/59bTZTlXJQHp61E+TBh7r6n5Mj3WWr5itcVdExnYpRvhQ== 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=QvkDrkGC; 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 A4740606A32F; Sat, 5 Dec 2026 01:05:48 +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=QvkDrkGC Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02DB71F00A06; Sat, 5 Dec 2026 01:05:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796432748; bh=jYaW03xLpo3f14pvXhnkJ/zUJvmABjj5YtmnT0oYZb8=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=QvkDrkGCOUSSn+5Fg3v4EC3P6/dTT/hEDfT+Nfh5FNdkEFJoIxUL0xKG274rTMniY upRwQHH3CKFfA9Dq5L5W1/ALfdLslp9uk4xL9x5Wa3fNLAbdHWdLilLyX9fD61F/YB rUt0ZmMisfuo1r783v512QhEwZxsuzFQ8HzBqToQgPlein8Dkt4QD7/WCb4p/sOypM geP1b/wqe+FW2a8t0cvUCFcybepZtin1qtKHOZ/UEF7URKWpz6qAOmz3dTUC4Ahiuz JUbu7L7pGYhlp/7PiM3Oi+BVjZgLfe41DeCtri6UhRHGXEy6A3kaNWxEkZWFvpyEYN WS+9wexZU9nTw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 3/6] backlight: aw99706: Enable the chip before reading its ID Reply-To: sashiko-reviews@lists.linux.dev To: "Luka Panio" Cc: dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, lee@kernel.org In-Reply-To: <20261205005118.884885-4-lukapanio@gmail.com> References: <20261205005118.884885-1-lukapanio@gmail.com> <20261205005118.884885-4-lukapanio@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 01:05:46 +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 1 potential issue to consider: - [Medium] backlight: aw99706: GPIOD_OUT_LOW causes HWEN low glitch in aw99706_probe() -- commit 075b8a34b2576dc02fa570093a2f3e92820bbe54 Author: Luka Panio backlight: aw99706: Enable the chip before reading its ID This commit moves the chip ID read in aw99706_probe() after requesting and asserting the enable GPIO, and de-asserts the GPIO if subsequent probe steps fail. > diff --git a/drivers/video/backlight/aw99706.c b/drivers/video/backlight/= aw99706.c > index 43f82c83f91a3..c6b0d0122ad69 100644 > --- a/drivers/video/backlight/aw99706.c > +++ b/drivers/video/backlight/aw99706.c > @@ -389,11 +389,6 @@ static int aw99706_probe(struct i2c_client *client) [ ... ] > aw->hwen_gpio =3D devm_gpiod_get(aw->dev, "enable", GPIOD_OUT_LOW); > @@ -401,23 +396,39 @@ static int aw99706_probe(struct i2c_client *client) > return dev_err_probe(dev, PTR_ERR(aw->hwen_gpio), > "Failed to get enable gpio\n"); > =20 > + gpiod_set_value_cansleep(aw->hwen_gpio, 1); > + > + ret =3D aw99706_chip_id_read(aw); [Severity: Medium] Does requesting aw->hwen_gpio with GPIOD_OUT_LOW and immediately asserting it high glitch the enable line low before aw99706_chip_id_read()? On boards where the bootloader already enabled the backlight, this low pulse can reset the chip, causing display flicker or making aw99706_chip_id_read() fail while the chip is resetting. Requesting the GPIO with GPIOD_OUT_HIGH instead would avoid the low pulse and remove the redundant gpiod_set_value_cansleep() call. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205005118.8848= 85-1-lukapanio@gmail.com?part=3D3