Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3116419lqo; Tue, 21 May 2024 07:22:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0LREb8dpi9EeVMbuR3PkGVXZdPWRVbaB2tQOkmlX1cGJM3B2m8ewT7sXntCUFdpNehPU/trbcdbKn7YFr/jbO6aQEOK36qpvSM6jp5Q== X-Google-Smtp-Source: AGHT+IGMyqsNqNoiFIh+4klQ8PbsuRzQf9mi9CEBsR1m7KzAec+LIcySBvm+KTtCCb/39mVxqdUx X-Received: by 2002:a05:6a00:39a5:b0:6f0:c88e:a0dd with SMTP id d2e1a72fcca58-6f4e0384b45mr41843180b3a.28.1716301338262; Tue, 21 May 2024 07:22:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716301338; cv=pass; d=google.com; s=arc-20160816; b=ZmM/iD5YVfdqlH41THhyOpPyGr5PyDFkaFnosFEF9IuwJrrRcwh9sIPWHwDswvhXxM XXNYIT5hkCrO74zjFbzsbAMfWhmOFV5quGCIOZ0pVxlCNHGw0wEOMuu+LAupknXrE35N KJnh8J6QjjD33tS4gChLX4effXpI55qORsjtUcEpgzCjJPSL2feJwwAmweVkWyXowWX/ WxnnnzCED5CTFuqoYZ5mJ6Rtqbk+Rn+vXqZCKPi8fwmn6Wt05QCccvAZJOwrs+gnLQuy LzguqXiEBPmS3cmNcmcWzndKf7UEhV/eBYF129gNlvGZ75DJg43iC5PkTmxGs9ZZypC+ K5EQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3/Zol19VKYMOH80VTZS0JjMZ5P9RxlJ8JSZh/HxKJS4=; fh=5rJ2ojPkidyf/KyINaGjsCiYCrbCBilq78yXFqE+BuU=; b=Y56Yot68+ELFWpUi3A9WgAbJTHixvJudJrP7fVGW3Jp2jXBGIPsbDq05PGbltsGMa2 3jo5ekqTteXW5MkQ9Qj7HYseFRX8tn7K2jIeRSv6GywAhBSevFw7PoeeoJYFMotBLhsY TX1Hp2x45BwpAmVcz+pH3EkCefhonVpXKJmBSvvmQGDmi4D2/qwmbw9lraZVZvVPBoNK 5hTovsy9253YGCPuZQJnuGs9mNLCiAxXtROfaWvDgGr+/tVr+qeVYuIbHIKNujEsxuK0 ZnSIX/qCdIJclzLE6XT038v8T4ffYKc1CrkL34X5gFUDrYawJl57ekPTtYnOhx0jGcPs WXsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K315iUjp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-185083-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b2f9d2si24991333b3a.299.2024.05.21.07.22.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 07:22:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185083-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K315iUjp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-185083-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 12996282768 for ; Tue, 21 May 2024 14:21:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A604A12FF63; Tue, 21 May 2024 14:21:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K315iUjp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C633412F388; Tue, 21 May 2024 14:21:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716301266; cv=none; b=TNWTcj2JkZQ9QgWKC2c/OfznC1lGtC7L3d+4wU0MfRt/jf0WwrVlLbRt4hOF3gJcrWGiqz1zHZlJB++VV+AbfTyzRgt82pg0RQfTcPfyyzorxiwsmmJjzkuGLHgSWut5PmJLGHUA/WteJ17zf5yFa9jOh3BMPJQStybDxKJQIZE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716301266; c=relaxed/simple; bh=CLn2G4vuf3oqkBDthyQRr2R2coyMKZzEup6hxUQ08uc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Lk0xrZzVxgBGgHxpldSEnFYJLThZU6VE0QruI4PvQI1hpZCVzdh3bL2fFqpbnJRgsTPGFMpHu7K7oXgvsYqlyCdc83Kt7H9HfHsKkPY5AzPVDr7qMt8iTOIH7MMAq8gl+pNCu2CgI2Q8HT46qGQ6yzMB3QQzBgRNS601ClEXx+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K315iUjp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33621C4AF09; Tue, 21 May 2024 14:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716301266; bh=CLn2G4vuf3oqkBDthyQRr2R2coyMKZzEup6hxUQ08uc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K315iUjpBHdqtqR4SIkjemhcchKB0hAco+F+zmDbiSjfML1DhHMC26xg+aIor62ZL B58A+4O2N5B7z9+j9su5xbnz3rqZKPOHGn/d/+hoYTaVijlZCVYdzvdeGmttb2yYBv O0sMT4IBB1J0ymBAqfxwEIQWda8b+T8uQAr43Xf1sx8oyfcAKrGRK09poTVMEjG+eT HFgHRvX52akpZeLeSLFvkqXMRAPZlucaDURmkbfOZDrfxX84q5Do35I7RVWkJHmHri zud1cpeFU6p1KJGSJVLF0jP1M4kGeG6EFAIbuAvMZnZtqu1VCYs27uNVNEwUbgy0ot K0eNwl8qveSIQ== Date: Tue, 21 May 2024 09:21:05 -0500 From: "Rob Herring (Arm)" To: Douglas Anderson Cc: dri-devel@lists.freedesktop.org, Thierry Reding , Sam Ravnborg , Neil Armstrong , devicetree@vger.kernel.org, Dmitry Baryshkov , Jeffrey Hugo , Daniel Vetter , David Airlie , Jessica Zhang , Maarten Lankhorst , Thomas Zimmermann , linux-kernel@vger.kernel.org, Conor Dooley , Krzysztof Kozlowski , Maxime Ripard Subject: Re: [PATCH] dt-bindings: display: Reorganize legacy eDP panel bindings Message-ID: <171630126263.4110905.17984387768866183422.robh@kernel.org> References: <20240520153813.1.Iefaa5b93ca2faada269af77deecdd139261da7ec@changeid> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240520153813.1.Iefaa5b93ca2faada269af77deecdd139261da7ec@changeid> On Mon, 20 May 2024 15:38:17 -0700, Douglas Anderson wrote: > Back in the day, we used to need to list the exact panel in dts for > eDP panels. This led to all sorts of problems including a large number > of cases where people listed a bogus panel in their device tree > because of the needs of second sourcing (and third sourcing, and > fourth sourcing, ...). Back when we needed to add eDP panels to dts > files we used to list them in "panel-simple.yaml". > > These days we have the new way of doing things as documented in > "panel-edp.yaml". We can just list the compatible "edp-panel", add > some timing info to the source code, and we're good to go. There's not > really good reasons not to use this new method. > > To try to make it obvious that we shouldn't add new compatible strings > for eDP panels, let's move them all out of the old "panel-simple.yaml" > file to their own file: "panel-edp-legacy.yaml". This new file will > have a description that makes it obvious that we shouldn't use it for > new panels. > > While we're doing this: > - We can remove eDP-specific properties from panel-simple.yaml since > there are no more panels there. > - We don't need to copy non-eDP properties to the > "panel-edp-legacy.yaml". > - We'll fork off a separate yaml file for "samsung,atna33xc20.yaml". > This is an eDP panel which isn't _quite_ handled by the generic > "edp-panel" compatible since it's not allowed to have an external > backlight (it has one builtin) and it absolutely requires an > "enable" GPIO. > - We'll un-fork the "sharp,ld-d5116z01b.yaml" and put it in > "panel-edp-legacy.yaml" since there doesn't appear to be any reason > for it to be separate. > > Suggested-by: Dmitry Baryshkov > Signed-off-by: Douglas Anderson > --- > > .../display/panel/panel-edp-legacy.yaml | 127 ++++++++++++++++++ > .../bindings/display/panel/panel-simple.yaml | 58 -------- > .../display/panel/samsung,atna33xc20.yaml | 95 +++++++++++++ > .../display/panel/sharp,ld-d5116z01b.yaml | 30 ----- > 4 files changed, 222 insertions(+), 88 deletions(-) > create mode 100644 Documentation/devicetree/bindings/display/panel/panel-edp-legacy.yaml > create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml > delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ld-d5116z01b.yaml > Reviewed-by: Rob Herring (Arm)