From patchwork Wed Mar 22 01:53:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 9637919 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6D8D4602D6 for ; Wed, 22 Mar 2017 01:53:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DA3F1FE85 for ; Wed, 22 Mar 2017 01:53:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5016625EA6; Wed, 22 Mar 2017 01:53:42 +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=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E2EC51FE85 for ; Wed, 22 Mar 2017 01:53:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Z6nWD+X/G2Fo2C9IbzoUSob0HMdHjQPrD927EY/yYp0=; b=N0y ODVQVV0Xxw1D6D0uxEfK06tm1aY6zwH59yploqpmk7DNdaqYtf2rQ8B0focCfNaD3RnIqjAqqSACk lTMi9ugm/iHuHsNt5KAWDyJfkPsqH9yu+77zYn2NS1yWiiIOW1h3nvXpUzS2/czGjt/Kmmf3xcfnQ bwAMr1lVsPBOhmrsP/QCgv22SKdZdJkNnMMHcOYk1jUsqJrl5Z4GgChl5OHeKKeQW9k6zHdeIM9SR 6ZV+PzCcA2U8sgBKYJ35/5V4q5dGE4k2f8NZ2O8kajuE6lbAaSpG39YAIdsMJHO9xEfIfPp7PmKO6 4DKDxhAAHjrulgvRqCPEIWHZKCXSd+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqVT1-0003xH-UV; Wed, 22 Mar 2017 01:53:40 +0000 Received: from mail-pg0-f65.google.com ([74.125.83.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqVSy-0003t3-6i for linux-rockchip@lists.infradead.org; Wed, 22 Mar 2017 01:53:38 +0000 Received: by mail-pg0-f65.google.com with SMTP id g2so27920726pge.2 for ; Tue, 21 Mar 2017 18:53:15 -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; bh=zyH2BWKM51P2X8aYeEKaOuugR1JspzLWW33AdsqhvB0=; b=PQUEKr/c+NIS/eFD4RyogIn5Kox1pCUItdO750NLSVs5dscj2eyZRKsgjWFa1Is/AR cZ1KevuPfW3nNpHJJtUelsK0jQlaM+B8QMxvyxhyOSjAyF1BIX2d40Ekrt9mN3RPaCfr VxO3wk7bZOeQKydP7ReFatFZRym1iQxC282pgTIVle8H/0cCheQAub+I+wkBBSjMrolI Caez4B9LQJFO9PX/Kfxyx3Xuni3fu4Afe/WpcE+yjUJtbRXYyKcKWOtEsYcbBSCUu5fA 5ap7prz7SXAHCaQwZNQQ/kBOMYdtj99yph0+VHJG0Z/3fkgJiLfBDq0PtJ/tojW+XcJ6 1/2g== X-Gm-Message-State: AFeK/H3pFEp5TeF87Ju7ppwy6XJ8cDezxcH1W7ajGbAt+8ObpATMJSAtrbIIRWMTV3dTCQ== X-Received: by 10.84.131.79 with SMTP id 73mr8584840pld.45.1490147594843; Tue, 21 Mar 2017 18:53:14 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id h20sm41864753pfh.79.2017.03.21.18.53.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Mar 2017 18:53:14 -0700 (PDT) From: Chris Zhong To: linux-rockchip@lists.infradead.org, thierry.reding@gmail.com Subject: [PATCH v3 1/2] dt-bindings: Add INNOLUX P079ZCA panel bindings Date: Wed, 22 Mar 2017 09:53:06 +0800 Message-Id: <1490147587-4382-1-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 2.6.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170321_185336_283065_D0986989 X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , Chris Zhong MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Innolux P079ZCA is a 7.85" panel with a 768X1024 resolution and connected to DSI using four lanes. Signed-off-by: Chris Zhong Reviewed-by: Brian Norris --- Changes in v3: None Changes in v2: None .../bindings/display/panel/innolux,p079zca.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt diff --git a/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt b/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt new file mode 100644 index 0000000..5c70a83 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt @@ -0,0 +1,23 @@ +Innolux P079ZCA 7.85" 768x1024 TFT LCD panel + +Required properties: +- compatible: should be "innolux,p079zca" +- reg: DSI virtual channel of the peripheral +- power-supply: phandle of the regulator that provides the supply voltage +- enable-gpios: panel enable gpio + +Optional properties: +- backlight: phandle of the backlight device attached to the panel + +Example: + + &mipi_dsi { + panel { + compatible = "innolux,p079zca"; + reg = <0>; + power-supply = <...>; + backlight = <&backlight>; + enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + };