From patchwork Tue Oct 15 08:28:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 11189797 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 480A214ED for ; Tue, 15 Oct 2019 08:28:22 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FF1E2064B for ; Tue, 15 Oct 2019 08:28:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FF1E2064B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F2656E62E; Tue, 15 Oct 2019 08:28:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by gabe.freedesktop.org (Postfix) with ESMTPS id 83F336E62E for ; Tue, 15 Oct 2019 08:28:18 +0000 (UTC) Received: by mail-lf1-x143.google.com with SMTP id u28so13774581lfc.5 for ; Tue, 15 Oct 2019 01:28:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3e4wGHkKDRH8I24Is4pDzwzrCPwhPGcWqf5noRqU7Cw=; b=A9y1AKI2lyf6yaIcJPL4dADF5LH2GYh9WKyxFpEx1fYpiIxjXPL4FArsmCv81e3c6H xcfpCFRKO/9slmSWeyf+YZBsvDWYCW5rc06hp4jheWpq3KCf7JlQupXjbJA/zm2Jb0mx X+py/ByDe+5s35CcmUfR5bLxDxZcrH6NRyR1PJY3ZwrIT9xsAEsDOdR/HdZ0/5Tj9itG WDuQgZIAybICIz7m6zQeDU+4+WD+4u9zMOSMEu1oy8tZXmjK0deb6M10UYNeVyydVZvM jOYkS6p+r8vU6SCcKScEuiieiINPlmHLLpYAscmczRoP3tAvqKS05L67ETuMg/sO7oOT dOnw== X-Gm-Message-State: APjAAAVmGpt/N8gKB+QKp5XC+L1UddWyNERb85YRcnV6ovpfUHc3VcQK Aq5UXyF/Z86JiMcoihi65bHpWQ== X-Google-Smtp-Source: APXvYqz5hcTLh23u/b+a5MlY7e21oRto6xRmRRmoe8ytkJURyTYHQIs0XNDnkGy7MFEGV9cxFnJUrw== X-Received: by 2002:ac2:46d9:: with SMTP id p25mr7820952lfo.174.1571128096556; Tue, 15 Oct 2019 01:28:16 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id y3sm4795141lji.53.2019.10.15.01.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 01:28:15 -0700 (PDT) From: Linus Walleij To: Thierry Reding , Sam Ravnborg , dri-devel@lists.freedesktop.org Subject: [PATCH 1/3 v2] drm/panel: Add generic DSI panel YAML bindings Date: Tue, 15 Oct 2019 10:28:09 +0200 Message-Id: <20191015082811.29497-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3e4wGHkKDRH8I24Is4pDzwzrCPwhPGcWqf5noRqU7Cw=; b=lGu2KQCBiaXwnAgxjn2XnQyZ29VvWDTfwyj851G8PR7/zGv+5q2Nb0meitSa/yPavC 5UP9jjecA1XSqKtKpA4uv9RzVqYV00H+W/svuhcGSLkjA2KoZIfev2NzXdLV0+6THABP K3Qi1CaiQ1WRYVSDuehnYYX7/xrlpbcHrTYnfPUDkr2L9LPhKtL7oioCT0H8/+DtMYxn ydTJdH9gptFk+yY7Q+MTQIrtTU/d7chqngxsySdZl8lmbo2IRbT2PcFXcIMQYXpN3ejt LUcHDOYM827MBHAjZnBgesbQZiwZmGuOF0PXnbEnj407rGcZNErbM1lxMAdznFjXlmlq 0upw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This adds a starting point for processing and defining generic bindings used by DSI panels. We just define one single bool property to force the panel into video mode for now. Cc: devicetree@vger.kernel.org Suggested-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - New patch after feedback. --- .../display/panel/panel-dsi-common.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-dsi-common.yaml diff --git a/Documentation/devicetree/bindings/display/panel/panel-dsi-common.yaml b/Documentation/devicetree/bindings/display/panel/panel-dsi-common.yaml new file mode 100644 index 000000000000..4242dc25c917 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-dsi-common.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-dsi-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for DSI Display Panels + +maintainers: + - Linus Walleij + +description: | + This document defines device tree properties common to DSI, Display + Serial Interface panels. It doesn't constitue a device tree binding + specification by itself but is meant to be referenced by device tree + bindings. + + When referenced from panel device tree bindings the properties defined in + this document are defined as follows. The panel device tree bindings are + responsible for defining whether each property is required or optional. + +properties: + + enforce-video-mode: + type: boolean + description: + The best option is usually to run a panel in command mode, as this + gives better control over the panel hardware. However for different + reasons like broken hardware, missing features or testing, it may be + useful to be able to force a command mode-capable panel into video + mode.