From patchwork Tue Oct 23 15:50:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10654243 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4777013A4 for ; Wed, 24 Oct 2018 07:23:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3057D2A658 for ; Wed, 24 Oct 2018 07:23:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 243932A66E; Wed, 24 Oct 2018 07:23:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CF1B32A658 for ; Wed, 24 Oct 2018 07:23:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B30436E277; Wed, 24 Oct 2018 07:21:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id C465B89B38 for ; Tue, 23 Oct 2018 15:51:55 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id s3-v6so842430pga.12 for ; Tue, 23 Oct 2018 08:51:55 -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=NRiFnFQmO06c8gbDZJ9nZvUMTAdDKJG1daWAYZ4wH/4=; b=VkkzipZXcvHyXM5YSzc1WPrXVA8ap/EZNEdmJEigqhOQi1X3/9AnYgi3/fva1GNG/8 hr0keGpbtZ7q+Y/hHbSdQ4ZzI5Z4MYNa5FwN+PxvMej3vUMN06M4LPHDusjkmhLYRiXQ 3reLmGYhHAqAGlHpJlWvqjXEAzjrMcHY8iwtggR4sX54TuxNzDbYM8koclvoGKKcbXuZ m467mxK/oTXOno6oLqenm3agWl7fD1C3H3rYYL8DB+Kw+z1GFJCOnB7PvAkLPozCk5jf veDN+Rxz7wh2etd4hlnaexZJMsvG/yBdFaz2CGtiuLGpWxQ2R05Ym5C8l2yDLzUkgyPf JmAA== X-Gm-Message-State: ABuFfohOgP1IMzpvP2UAovTLLva8q/GT3LrbGkk7BKKlRxFehQPkkIOT 5oxB6HKU4vk7ApuCkDexeRKZXA== X-Google-Smtp-Source: ACcGV60fxKUNm5uI3h7V/PkBURRubPQ/BisaA0zjnkdAXt0zMc9lDipf+Y0FsdIdN/RqqPlJFCkRQg== X-Received: by 2002:a63:1e5c:: with SMTP id p28-v6mr47912857pgm.376.1540309915327; Tue, 23 Oct 2018 08:51:55 -0700 (PDT) Received: from localhost.localdomain ([27.7.51.1]) by smtp.gmail.com with ESMTPSA id o75-v6sm7442829pfg.0.2018.10.23.08.51.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 08:51:54 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jernej Skrabec , Vasily Khoruzhick , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v2 10/15] dt-bindings: panel: Add Bananapi S070WV20-CT16 ICN6211 MIPI-DSI to RGB bridge Date: Tue, 23 Oct 2018 21:20:30 +0530 Message-Id: <20181023155035.9101-11-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181023155035.9101-1-jagan@amarulasolutions.com> References: <20181023155035.9101-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 24 Oct 2018 07:21:17 +0000 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: Jagan Teki Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Bananapi S070WV20-CT16 ICN6211 is 800x480, 4-lane MIPI-DSI to RGB bridge panel, the same panel PCB comes with parallel RBG which is supported via panel-simple driver with "bananapi,s070wv20-ct16" compatible. But this binding is specific for MIPI DSI to RGB bridge panels, which usually accessed using MIPI DSI controller driver. for information: - "bananapi,s070wv20-ct16" compatible for parallel RGB panels - "bananapi,s070wv20-ct16-icn6211" compatible for MIPI-DSI to RGB bridge panels Signed-off-by: Jagan Teki --- Changes for v2: - Add detailed commit message - Update the bindings as MIPI-DSI to RGB bridge .../panel/bananapi,s070wv20-ct16-icn6211.txt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16-icn6211.txt diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16-icn6211.txt b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16-icn6211.txt new file mode 100644 index 000000000000..68a89b6feaee --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16-icn6211.txt @@ -0,0 +1,21 @@ +Bananapi S070WV20-CT16 ICN6211 MIPI-DSI to RGB bridge + +Required properties: +- compatible: must be "bananapi,s070wv20-ct16-icn6211" +- reg: DSI virtual channel used by that screen +- avdd-supply: analog regulator dc1 switch +- dvdd-supply: 3v3 digital regulator +- reset-gpios: a GPIO phandle for the reset pin + +Optional properties: +- backlight: phandle for the backlight control. + +Example: +panel@0 { + compatible = "bananapi,s070wv20-ct16-icn6211"; + reg = <0>; + avdd-supply = <®_dc1sw>; + dvdd-supply = <®_dldo1>; + reset-gpios = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */ + backlight = <&backlight_dsi>; +};