From patchwork Tue Oct 15 08:28:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 11189799 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 92E3C14ED for ; Tue, 15 Oct 2019 08:28:25 +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 7B1AA2064B for ; Tue, 15 Oct 2019 08:28:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B1AA2064B 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 6B1676E637; Tue, 15 Oct 2019 08:28:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 01E416E63B for ; Tue, 15 Oct 2019 08:28:20 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id d1so19241315ljl.13 for ; Tue, 15 Oct 2019 01:28:20 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ojxDAKRAwmMHLlwEWcHkwv5aBgxTmWdQ8UAjvDvF2+E=; b=cmb0XdFTgPMD9c5HoJDK/43ymzhjXQefu1l3nreGTR5U7SbFaUczN+OUmrgbHVz727 M822Z5nogJdtdFScqoK+JGokX9Rh7rXu006pUZW7JnzdpdAHPrLoxr8rSc8rAYl3kbuW Xvhgu0t4riZTXxNGVN05l5mks/crxtAlIl9holEEGXW1rSdekamyHq/1ZH9SyC53ifd9 eEb+OxUYb3snJbx/zw49s1ei7duvNTEc6Etk2aPkRPUHjYcudjtkkY0MxnVhGj9OTxkC sHwF9C5bg+c1puYf44PWAKkerYRtm9QpXqBEoxIq2FjuITq8EkAFF2Mmmre8XXFt73B8 SpkQ== X-Gm-Message-State: APjAAAWVku4pwpxWhbb5FYRCp/3Fxj3Jsp4+FtkHppuUYl9iIrrWymc7 M8uUaxd9ZlpaZVlc7aF/7iLg4w== X-Google-Smtp-Source: APXvYqzDkQgGT1n6ThwoF7yrpLrPAh0E0UZJfbX1JMKM7bjfcjUYM9NPCKUXvhni2IG27r5c5Qxoiw== X-Received: by 2002:a2e:81cf:: with SMTP id s15mr1954918ljg.99.1571128098821; Tue, 15 Oct 2019 01:28:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 01:28:17 -0700 (PDT) From: Linus Walleij To: Thierry Reding , Sam Ravnborg , dri-devel@lists.freedesktop.org Subject: [PATCH 2/3 v2] drm/panel: Add DT bindings for Sony ACX424AKP Date: Tue, 15 Oct 2019 10:28:10 +0200 Message-Id: <20191015082811.29497-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191015082811.29497-1-linus.walleij@linaro.org> References: <20191015082811.29497-1-linus.walleij@linaro.org> 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:in-reply-to:references :mime-version:content-transfer-encoding; bh=ojxDAKRAwmMHLlwEWcHkwv5aBgxTmWdQ8UAjvDvF2+E=; b=Gucr4GXfE5GksBaj71VaqL02FNvfq8GV9MZqWq1LQ+47lkJrmOaL9yIlB2gNTmg/RH A9BcR/eSA7g95P/LmFhnWRVK0e0CiAsXdusG1bjZRPq/znw4CLeCLe/PUXfSx2QtK8/7 hf7C2ukdXYrVbb1DCwDtUWximRzWiTuepJ9hwLfHTe44cZ8Bqt/IJgzMZVSdQbgew3mE xp++urW+WtYSWs21i1X8H135FP9ueyv9ftdj1hJPXzE5CFI8TzjPKlR8PZG2TK4w/fLA 7WBQGSPDqoKuFTgFOlbpA3JiRi6Dqo0FEvh9VSZAdM3QOdBD0Rox9RZRLJuBeqrFuBNb 27ew== 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 device tree bindings for the Sony ACX424AKP panel. Let's use YAML. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Suggest a stand-alone YAML bindings file for DSI panels in a separate patch, and use that to reference the boolean "enforce-video-mode" attribute for DSI panels --- .../display/panel/sony,acx424akp.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml diff --git a/Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml b/Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml new file mode 100644 index 000000000000..844665b0c953 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sony,acx424akp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony ACX424AKP 4" 480x864 AMOLED panel + +maintainers: + - Linus Walleij + +allOf: + - $ref: panel-common.yaml# + - $ref: panel-dsi-common.yaml# + +properties: + compatible: + const: sony,acx424akp + reg: true + port: true + reset-gpios: true + vddi-supply: + description: regulator that supplies the vddi voltage + enforce-video-mode: true + +required: + - compatible + - reg + - port + - reset-gpios + - power-supply + +additionalProperties: false + +examples: + - | + panel@0 { + compatible = "sony,acx424akp"; + reg = <0>; + vddi-supply = <&foo>; + reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + +... \ No newline at end of file