From patchwork Thu Jan 27 14:30:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 538091 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 AE8C8C433FE for ; Thu, 27 Jan 2022 14:30:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242365AbiA0Oay (ORCPT ); Thu, 27 Jan 2022 09:30:54 -0500 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:33205 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237777AbiA0Oax (ORCPT ); Thu, 27 Jan 2022 09:30:53 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 59E6F580616; Thu, 27 Jan 2022 09:30:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 27 Jan 2022 09:30:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; bh=9jqvBNEXxiJ05K vgfYiwu9j9Lx4ulg4vj1HxXScHchI=; b=c5QQrAPSOuEdtUZcsaCRfEOL2LRpFM CDN6tLYgMy4fngsKH1IUAY9JOzNm1vbaPmraf9avsXMAMETffeS5xaZqOBKRhANn y7Cx2ChBgjMzVd/zQuBzH7N2iHQ9vN+ot1vTv+yU+yvA1HhD5DFJQIChMgUjMA6e eweKXHle/VNYbutgYOPEYPpf2ewwex8Sbpg6vSMtjYTk8xNsgym7yIcDJDDTvLQg g69l6gpOs+vSO6cnVraD3mq+YYd8qSOwz2j+KN1q23BpQJWqv7/pihZ6eukukJD0 RRWHrwzoyyoFafufma2kaFByh7Vz1gqrKmiZ70RBW0wFw/AYISGHIrWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=9jqvBNEXxiJ05KvgfYiwu9j9Lx4ulg4vj1HxXScHc hI=; b=fPn0KWFGsyA5QrAUSjqLqMgAb8xWb8BI5eIXrbyjuKnL7DTVL5kJbMdzq 8FGbBA3UehsIhM5tV6HSFVLVXa5DKMPXjisUuwcyQclWLt50LkI4AjRPhBNKrrDN a+zxG2DwIdineiA9RScJAmRs13tJSQ4Oh+w5UXkArXVDguQv1ef/lGUF7EQqOp+l 3+jUNoks6Bwm2L+nyNL1YZ2AZeShmQKuk3z1gPLviwU2dCTpD0FUH2p08IHitycm pBGx/D80O0fHoam8aLmrwkhvVWtqZeHAQLE3/oVNj9huhrA/pcQJfWTFe/7QlmIa itMRTdFH1w+nqxf/rMrw77lrERHZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrfeefgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnheptdeuhfehjefgueetgffgfeffveegvdduhfegffejgfefuddufeeghfdttdff tedtnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghdpfhhrvggvuggvshhkth hophdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 Jan 2022 09:30:51 -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 v4 2/2] dt-bindings: panel: Introduce a panel-lvds binding Date: Thu, 27 Jan 2022 15:30:45 +0100 Message-Id: <20220127143045.310199-2-maxime@cerno.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220127143045.310199-1-maxime@cerno.tech> References: <20220127143045.310199-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 v3: - Rework compatible clause Changes from v2: - Added a MAINTAINERS entry Changes from v1: - Added missing compatible - Fixed lint --- .../bindings/display/panel/panel-lvds.yaml | 47 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 48 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..c092a040424b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml @@ -0,0 +1,47 @@ +# 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: + enum: + - auo,b101ew05 + - tbs,a711-panel + + 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 + +... diff --git a/MAINTAINERS b/MAINTAINERS index 3f679974e3fe..8800765fc712 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6077,6 +6077,7 @@ T: git git://anongit.freedesktop.org/drm/drm-misc S: Maintained F: drivers/gpu/drm/panel/panel-lvds.c F: Documentation/devicetree/bindings/display/lvds.yaml +F: Documentation/devicetree/bindings/display/panel/panel-lvds.yaml DRM DRIVER FOR MANTIX MLAF057WE51 PANELS M: Guido Günther