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=1796120213; b=jRAQogu1Hwqkqpi6IyZ7T6ppzbW+lK2FlpuoXiaAvFEt5mdcrQm+JW9RZIhVIkELFMhL je/j2aM+Jp7r0GfjFQXADKZXdh0o2ZtsaUOwF313K3GXAl80mDhurqYBTnptQj+RbGcd2 +s9Xd84K685Q5vWnjP6J4nYoLDgRHa+BAY5VR/SQNqadupAxWD1RKY4S0+03JRX7VU7Sw g0pnKijaEsIg/0wXb8RVRv8fZleuIOfbgPdG2EpWBbSh+ZpBzgA0vJt1Lu6/xX2bJMcLV zNZhVNarhEexLBBADsvPCEkzZ/oB+oK+dfMI+KfCmQO6IEz8BA3iZ04jENSup6PHT1A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796120213; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=jF7ySQ6+ID+jLGiClKMfwluZwdWTnpJgzwByPu3H73E=; b=zCeHjHv5Oz8Xo6tmlibX09YaTkjEsYFIAQClZBJZk4V89nMnEIGTKQn2TMczqOAwu9Xs vaX8mhMk4Z6OgZOa/Dw35FJ32hM0PSP3xeZh4RZIZKDa5XSRWY0yC/DS6pO7tZuhISKOj 4iVF49ddXrzUblDFRUDCEd5StsuBkqg7KIWuSIDU3hCP/R3nZkfshKtGKDsph0wWor1Fy 5mDro9crLmZb+S/VP+KpQqNx3r7nZNKyhkgTK85enfTnkP6mvXCBTZsmcBg3WTcL7rWt7 vJh5bLISaXvZhEbcu3zEUXfUi9r0J3KsommurOrjQaW9lQk2TALhyOqvAgEd7FmX65A== 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=CE3A0YFY; 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 1A88C606A31A for ; Tue, 1 Dec 2026 10:16:52 +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=CE3A0YFY Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F6F81F000C1; Tue, 1 Dec 2026 10:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796120212; bh=jF7ySQ6+ID+jLGiClKMfwluZwdWTnpJgzwByPu3H73E=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=CE3A0YFYGPDTziIBY2lFMdjrglecn/FlK5/eiuGCalnRTYVK7vs62+NnjPXcZVC2s /tEgzfxecgTGibEt/7zih9x1Q8JR+1ZZpywpdo/VILvtDheFKZrSbGGomFu+Tp4R4U 14W9NaxDM2LXWwdn10y5dzhfcdFdfzteX2O7e3jKVptuU+AH6f6tAIAPqBOsGT7ipX hBiyA2P7pfFaqYfo7fT7caaj9HoZ+MM6COEXuOAjg/jG23z0A4NfnB9azd/PfKbFnJ QYajitp1mdvbC+dtEhA80+pDgi4uwI8XuZfkejcmgiyOyAEwOFo3NbB23r9IAStYHm Hf5wLXaYUk5Ew== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v5 5/9] drm/panel: s6e3ha8: Correct the polarity logic within Reply-To: sashiko-reviews@lists.linux.dev To: "David Heidelberg" Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261201-crosshatch-panel-v5-5-fe5a8c0a7fb2@ixit.cz> References: <20261201-crosshatch-panel-v5-0-fe5a8c0a7fb2@ixit.cz> <20261201-crosshatch-panel-v5-5-fe5a8c0a7fb2@ixit.cz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 10:16:51 +0000 X-Mailing-List: devicetree@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] drm/panel: s6e3ha8: wrong initial reset level in s6e3ha8_probe() -- commit 638501e49b28649968fb13a048f427c682aad406 Author: David Heidelberg drm/panel: s6e3ha8: Correct the polarity logic within This commit inverts the reset GPIO sequence in s6e3ha8_amb577px01_wqhd_reset() and adds gpiod_toggle_active_low() for the deprecated "samsung,s6e3ha8" compatible to preserve compatibility with existing device trees that specify GPIO_ACTIVE_HIGH. > diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c b/drivers/gpu/= drm/panel/panel-samsung-s6e3ha8.c > index f5b3992d948bc..99290913de69a 100644 > --- a/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c > +++ b/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c [ ... ] > @@ -288,6 +300,9 @@ static int s6e3ha8_probe(struct mipi_dsi_device *dsi) > return dev_err_probe(dev, PTR_ERR(priv->reset_gpio), > "Failed to get reset-gpios\n"); > =20 > + if (priv->desc->broken_reset_polarity) > + gpiod_toggle_active_low(priv->reset_gpio); > + [Severity: Medium] Does calling gpiod_toggle_active_low() after devm_gpiod_get(..., GPIOD_OUT_HIGH) leave priv->reset_gpio at the wrong initial physical level on legacy device trees? devm_gpiod_get() configures the output using the untoggled GPIO_ACTIVE_HIGH polarity from the device tree, driving the physical line high (reset deasserted). gpiod_toggle_active_low() then only flips GPIOD_FLAG_ACTIVE_LOW in desc->flags without updating the hardware output, so reset stays deasserted after probe and through the 120 ms power-on delay in s6e3ha8_amb577px01_wqhd_prepare() until s6e3ha8_amb577px01_wqhd_reset() runs. Driving the GPIO to 1 after gpiod_toggle_active_low() (or passing GPIOD_OUT_LOW to devm_gpiod_get() when broken_reset_polarity is set) would keep the panel in reset initially. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201-crosshatch= -panel-v5-0-fe5a8c0a7fb2@ixit.cz?part=3D5