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=1796105104; b=lS26GR+KqAxuM1cg/QCdFSCV8PzPFnElFbVdFZZr0mON5vIfhUwDvsTrAspYTMHpV8T2 rtnzI29RhhzeW3eVLJMe7coRPdtxVEAJwX61IZWG+TEldp8Lm3jOTUzxyWEUP2w2pypV1 G2fTxArOXe5VmU5gT8lNR9FqulxRfDFjvpihtujswfDGXEBV39RVl4LiLG6WSwpD9kiGX cH6ipy2BHe2K7C+SJbY6VZGW8AzKeZfdiTESiBH4dXrDI7g6qnsnnpm+Nc6571AvLRX16 IbZVx0V9R1fAwICr93hd+cCvkBSHygGQxRvawpDRFMaDmP13w0eK7kIgbaSUfvUdohA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796105104; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=Ea7VKDxCfvdGmS6CPaLFcNvlaFzutjqXP/KEtK6hpB8=; b=Ff667M/gTUTqHHvjyhqfrB+LDLBYnNFSL6zOLVpAH/k/xwqMxl2EVq4vaCR1SHqDD+Xi gL6XNub5/G6CzePOsNCS2aUUc+dl+1Vbghl8aqkjX9AH51Cp0knnEJAQvdJhrZ0JR6Dbn 9SnkbeNLOZ4AzBeMK/v55ll99G60KNoh4e6RkEKNVhCiAezDzSPn0W1ljiRics1NZRi/U Ut76grocDJ3r+2cFmE9OmxKpxwn4LHdkey4iZ3AZKNILjLY9XGsCdPIoYGxLfAYp+M/zb pbt8U9PxHqG4UBSy0ZYK/iMdc9uU7VZHRx8VwwYNBibpotwmz5KD+6jHQUztAbttspQ== 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=MkMZACb2; 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 4FBF0606A31A; Tue, 1 Dec 2026 06:05:03 +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=MkMZACb2 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDE341F000C1; Tue, 1 Dec 2026 06:05:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796105103; bh=Ea7VKDxCfvdGmS6CPaLFcNvlaFzutjqXP/KEtK6hpB8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MkMZACb2DQ6vxqB2xtaeAxhYDvP9lyv+uq5FOtWr5/625s9NiJQlTaCG1MMKge0Bj DE7zFP4PMSVSSTL5P4M8AsdHZ6VGYVqTrMn2oXoRbbF19g3LyAe0zU/UNZusbZkKWC KKeY6XR2DfhwbVPNHfgO/ELINgQkb9uPbh6gulEIi6fg+V7wi706A7VVMkFBbGIMQv tfzwZoL4n0nu7ytHrwqu9ESUGg9YppOmxTUjazeI4t65HgJGj8YwzZpZOT/W/6IZHF 9f7WX9l8AM0wBNZNYGZeuWQX2L2XzZ376L+UwfNJen7JGp8MwjBzQfdvATPVYMQfRY hnoh1sBzH4J5Q== Date: Tue, 1 Dec 2026 07:05:00 +0100 From: Krzysztof Kozlowski To: David Heidelberg Cc: Dzmitry Sankouski , Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Marco Mattiolo , Konrad Dybcio , Petr Vorel , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, phone-devel@vger.kernel.org Subject: Re: [PATCH v4 1/9] dt-bindings: display: panel: s6e3ha8: Adjust to reflect the DDIC and panel used Message-ID: <20261201-annoying-mega-gorilla-cddeec@quoll> References: <20261125-crosshatch-panel-v4-0-120adc58e737@ixit.cz> <20261125-crosshatch-panel-v4-1-120adc58e737@ixit.cz> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20261125-crosshatch-panel-v4-1-120adc58e737@ixit.cz> On Wed, Nov 25, 2026 at 07:12:45PM +0100, David Heidelberg wrote: > S6E3HA8 is the DDIC, while the panel used on the Samsung Galaxy S9 is > the Samsung AMB577PX01. Introduce a compatible reflecting that using > established practice 'vendor,ddic-panel' format. Adjust the example, > and deprecate the DDIC-only samsung,s6e3ha8 compatible as > the DDIC isn't able to auto-detect the panel attached anyway. > > We're going to introduce another panel with different sequence, so keep > calling original panel sequence just by the DDIC name is confusing. > While we're at it, we can cleanly fix reversed GPIO polarity. > > Update the polarity to better match newly introduced compatibles with > fixed logic. > > Signed-off-by: David Heidelberg > --- > .../bindings/display/panel/samsung,s6e3ha8.yaml | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml > index 00ce5a4e1c6be..ca250b1b91712 100644 > --- a/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml > +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml > @@ -1,28 +1,35 @@ > # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > %YAML 1.2 > --- > $id: http://devicetree.org/schemas/display/panel/samsung,s6e3ha8.yaml# > $schema: http://devicetree.org/meta-schemas/core.yaml# > > title: Samsung s6e3ha8 AMOLED DSI panel > > -description: The s6e3ha8 is a 1440x2960 DPI display panel from Samsung Mobile > - Displays (SMD). > +description: | > + The s6e3ha8 is a display driver IC used in 1440x2960 AMOLED panels from > + Samsung Mobile Displays (SMD). > + > + Known panels: > + - AMB577PX01, 5.77", Samsung Galaxy S9 (samsung,s6e3ha8-amb577px01) > > maintainers: > - Dzmitry Sankouski > > allOf: > - $ref: panel-common.yaml# > > properties: > compatible: > - const: samsung,s6e3ha8 > + oneOf: > + - const: samsung,s6e3ha8-amb577px01 Just make it an enum already, to avoid changing the same lines twice. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof