From patchwork Fri Dec 17 13:25:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 525196 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31526C433EF for ; Fri, 17 Dec 2021 13:25:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231582AbhLQNZJ (ORCPT ); Fri, 17 Dec 2021 08:25:09 -0500 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:35659 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbhLQNZJ (ORCPT ); Fri, 17 Dec 2021 08:25:09 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id E15A0580153; Fri, 17 Dec 2021 08:25:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 17 Dec 2021 08:25:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=dHIUDc6qA+Yft j/Hs32hLA0/3KHWaXUFK40JZlnJjB4=; b=hXaw9fUNBpJ3mLvPAIiJHWNbSG+vE 889rwIorNLfK9ZONObBZtLdvw85cI/AdJPKXW7o1OSsWSZ8zAbm2mJwIohSA94Io eqSPmcIWT28xAdCCRYW/2TX3jjkoj5RzUy49d2fkYLGdgYoLHfB5ZA6Y4tNnA2v8 YG31j3C8cSJWivp9DCq8SZ6WsLfuP4TdXFB/LRcUa1vEAMcmAtbGqnY7om0wH/B0 NZcFaEzpBSne9oskpmuaOkFUFAe3iTbtdhRdJZi1HY0c9bqhjh4Rr/6I7zPW4kjr pD2CmYBL5jmEZ4pCTr33hIodQYOOguhz6oJj11dCdjlnUxXvV102ji4eA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=dHIUDc6qA+Yftj/Hs32hLA0/3KHWaXUFK40JZlnJjB4=; b=AHmlqzKs 529kDrPLEJxg01/B2PGaeUsxUSWMEWxg1L37r8eMQIrokwpaudprD2zEwK4wzf+Z WE7FW8zdDI+x2g2Qxp0F56MXjlYdkXkGjyHGaAgtNs1yRqOD83aeNqYqrn5OgwLi B6ao6KrPpFqY/uMQ9GPbzODgA7WLBlB26GMHronK2NfupNuX+xwlGEUnM8CoyFuA 10LSCOmkqhHrpDlPhQiRfmRkzOUfVmLm7tUFf/Ik1+VU7QcG3Tjx0/PJk0Id7dTl bkeQClv9i8WpVnGKKOSSOFg9Ui5p3S4BiUDjnpNecHpZ3lBL+QoGau19eYcwFEl1 MdRqflb0CAY7Kw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeigdehfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenog evohgrshhtrghlqdfhgeduvddqtddvucdludehtddmnecujfgurhephffvufffkffojghf ggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhmvgcutfhiphgrrhguuceomhgrgi himhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvghrnhepveejieejtdevgfff gfejuefggfeutdelteekgeetueeftddutddtgfffhffgueffnecuffhomhgrihhnpeguvg hvihgtvghtrhgvvgdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Dec 2021 08:25:08 -0500 (EST) From: Maxime Ripard To: Laurent Pinchart , Thierry Reding , Sam Ravnborg , Daniel Vetter , David Airlie , Rob Herring , Frank Rowand Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Maxime Ripard , Rob Herring Subject: [PATCH v2 2/2] dt-bindings: panel: Introduce a panel-lvds binding Date: Fri, 17 Dec 2021 14:25:02 +0100 Message-Id: <20211217132502.95880-2-maxime@cerno.tech> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211217132502.95880-1-maxime@cerno.tech> References: <20211217132502.95880-1-maxime@cerno.tech> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Following the previous patch, let's introduce a generic panel-lvds binding that documents the panels that don't have any particular constraint documented. Reviewed-by: Rob Herring Signed-off-by: Maxime Ripard --- Changes from v1: - Added missing compatible - Fixed lint --- .../bindings/display/panel/panel-lvds.yaml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-lvds.yaml diff --git a/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml b/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml new file mode 100644 index 000000000000..fcc50db6a812 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-lvds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic LVDS Display Panel Device Tree Bindings + +maintainers: + - Lad Prabhakar + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/display/lvds.yaml/# + +select: + properties: + compatible: + contains: + const: panel-lvds + + not: + properties: + compatible: + contains: + enum: + - advantech,idk-1110wr + - advantech,idk-2121wr + - innolux,ee101ia-01d + - mitsubishi,aa104xd12 + - mitsubishi,aa121td01 + - sgd,gktw70sdae4se + + required: + - compatible + +properties: + compatible: + items: + - enum: + - auo,b101ew05 + - tbs,a711-panel + + - const: panel-lvds + +unevaluatedProperties: false + +required: + - compatible + - data-mapping + - width-mm + - height-mm + - panel-timing + - port + +...