From patchwork Tue Nov 13 11:16:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 26 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id A7E342E5422 for ; Tue, 13 Nov 2018 12:18:45 +0100 (CET) Received: by mail-pl1-f198.google.com with SMTP id w19-v6sf9286971plq.1 for ; Tue, 13 Nov 2018 03:18:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1542107924; cv=pass; d=google.com; s=arc-20160816; b=Gavaj1oPr5DFO2NjEUAyKkfwNyOMQC7vUNkkhEkgQuxSbSTg0tIK3usarDYbDkwlS2 G9yxOu/sfSh10ygA/h+TnhHPs9Oswgq+LIAbf72xHlf/8hCTfQNn8WdkWnqSIhSjAOf8 hJR2uWTzbpeFJaztOHTFTAm4K56y5hOAkUYNxANx8ASAGc1kNzzVqXVbIYxGwBHYRKJ+ MhFMvEx88+9b2CjhwadZqPn4PGrB2qRf/S0TlBA/7zB9Ku+9evBXEPUZN+MPGeAIJUfu QOfiF/uVYfPSNdsiAp/iNRxtU/0VrbO/Zb7dg5xbNeFoST2hq/ClGkpXEWb6INRa/EQX hzzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bezu7kJZ0Njo2tp9TTb/Vi97QjlcQqipnPzN/MWROLI=; b=FFla8r/fYem/NA6n2WcDgKACVchftE1ln3HkxSEzsI5/ZGiXhB+cIFUQROvLrNFU+f 3fTP9qXSbXQ+VG9mjfc9hnUcboOwBUhj3ipY1DAvASC3nk9Ib+t1vkKs9RbXPgDl6VKi iz3zziTm44iswsTqdwHKSCc+SrRFX9gOdR2dfw82Io+pUjVn/E1XJqJYbJuroGwUCW2e 581sga8Bt6W1cXDcJ+NPEDUEhRqDE//L8tb/vBriEI/WX/Bdg7hGQDUG+G0fjdc6Yn7i 9yYBTDoJIDh9x/eAgGOBHMQi9T1UCb7OaO7B1v8UX/WtZ6YnZmkPXyntTASsNdbYFhkE BsBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dAqS7a6o; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Bezu7kJZ0Njo2tp9TTb/Vi97QjlcQqipnPzN/MWROLI=; b=HXtRRPBRUU88ybEcEjQQ/ZV96ehXcNEc/pyqaJm9d4wz4s7tOX3PExyDRu9g6VSiwx 6Sb6M0d2DtTZdweWMVGYQ260+dvtuCSGTYoOXKB8ydxTr9HFdDQs6DLhGy6/6CzStaui nrLWVcMvb5NS7HlliNK2yoYMMErTE4O/w3Ih0= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=Bezu7kJZ0Njo2tp9TTb/Vi97QjlcQqipnPzN/MWROLI=; b=DWRidB1cgFsjNRQz2A81Mc8CxUJXtfCYbPGQcKWF5Hp0wi5NXEbHXBmdS7FXHNyCM3 87YvAoEvDNJVuDTti8PYx+Ry2D9FYJgTMj7Ez6SDMHOPFc62XH46Gw0IyqUatMgcYFht DAZ1MRAPC/hVjoxNEiJqdwxSF/12JLuQdsvtVg7gAsTKW6dy9pWAW6Ri/MpoCgTkh5Te 4iY/nNu53bkTrrPzl60yKUht7MZ4uk8oghdmlDAUSUblzsczSO68kqr7DKcajA8VAhnl Wq7xPLhbZNhEqFEpN7GarbWo4TH4WmO/tdJ/fG51zPt9SrwaHcAgmLpy5CBi5Xkoj4Qw Xmxw== X-Gm-Message-State: AGRZ1gJ2MhLr3nSwbcW4tSJhY0mrdpLyjPOtz7NzaWJui/NrIxxbq+M2 ITo+trDJ1H3qxPBYhDKW2FkbqMHC X-Google-Smtp-Source: AJdET5f3lJ8uR8l1d7ieeiAjjqFrbsBzfj/JVpjhPWDMK1j1qZn480DUzj5hI5GtcEvvLJYWEXAl5A== X-Received: by 2002:a62:1809:: with SMTP id 9-v6mr2021588pfy.4.1542107924378; Tue, 13 Nov 2018 03:18:44 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:bd43:: with SMTP id b3ls968880plx.5.gmail; Tue, 13 Nov 2018 03:18:44 -0800 (PST) X-Received: by 2002:a17:902:8e8a:: with SMTP id bg10-v6mr4699439plb.214.1542107924070; Tue, 13 Nov 2018 03:18:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542107924; cv=none; d=google.com; s=arc-20160816; b=mHqKY6kBIVsDCF7WODAvaLgEwcsB/uj/ZLLBogTEqjVgBPwtvhzUrRWDICChSYQ5pm XLMTz7jTdMgmD///RSu/vVeYC5tcvghZH5K3tuJr4RkQYfz4TXK5kBSvrKcLHdaQ5FAw 0KDx6aX0KmDBqdG03um/KxDTjrgS6w8P5XqWEFqEKy8ls86CxKn0DbJyBXUM/bs5QFO7 EGdzYAZb+fjWRsL9JaQRoEqZYe0Rk+3UptMwnyVTTdKt6ztdLNURrxS6Kxm3MhROOQXT PdhJe4CCIctwSbsTnPfzu2yXsi2/lV2r55rd8KUC46kdv7Bbwbu5bW97JeQ1M+ADZfJU 1KDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Bezu7kJZ0Njo2tp9TTb/Vi97QjlcQqipnPzN/MWROLI=; b=sI5Jpe/IUojW2qde9PzP/O5h4M8QzKX/UCOGCHO7KO2ObKViZJlkSleJPhCHdgSvyn KA5Ihah8QT61yedSIPGgrAwnzAMjk0bWVbK+Jx9K7mf/h8545B22OuvXjInBuh1tSpsN EBHmVfjUQSgRJR0qrFCjtJ6CkokYWZZ1cO3bUpzwMbJxGyGxLQXsb+ZKQCWGNP8UYYkV 3UUI2iDomYuG30bsfK2YnygODVd3vXQRJKJWQ5giK8loeGElvtAQXeRB0pggQJSWOcTP xoHdmlfco/v/G23TpTVHW8HxqUYoGFHaveU6KjUqQv6FI0pBxdUp8pLfOnOZyh1AvJ4B Ovlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dAqS7a6o; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id q129-v6sor21557990pga.31.2018.11.13.03.18.44 for (Google Transport Security); Tue, 13 Nov 2018 03:18:44 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:310:: with SMTP id 16mr4255308pgd.79.1542107923736; Tue, 13 Nov 2018 03:18:43 -0800 (PST) Received: from localhost.localdomain ([2401:4900:3670:3f11:bc71:2ef7:4a39:e260]) by smtp.gmail.com with ESMTPSA id 27-v6sm28531377pfm.36.2018.11.13.03.18.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 03:18:43 -0800 (PST) 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, linux-amarula@amarulasolutions.com Cc: Jagan Teki Subject: [PATCH v4 18/26] dt-bindings: panel: Add Bananapi S070WV20-CT16 ICN6211 MIPI-DSI to RGB bridge Date: Tue, 13 Nov 2018 16:46:25 +0530 Message-Id: <20181113111633.20189-19-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181113111633.20189-1-jagan@amarulasolutions.com> References: <20181113111633.20189-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dAqS7a6o; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Bananapi S070WV20-CT16 ICN6211 is 800x480, 4-lane MIPI-DSI to RGB bridge panel, which is available on same PCB with 24-bit RGB interface. So, this patch adds DSI specific binding details on existing dt-bindings file. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- .../display/panel/bananapi,s070wv20-ct16.txt | 31 +++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt index 35bc0c839f49..b7855dc7c66f 100644 --- a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt +++ b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt @@ -1,12 +1,39 @@ Banana Pi 7" (S070WV20-CT16) TFT LCD Panel +S070WV20-CT16 is 7" 800x480 panel connected through a 24-bit RGB interface. + +Depending on the variant, the PCB attached to the panel module either +supports DSI, or DSI + 24-bit RGB. DSI is converted to 24-bit RGB via +an onboard ICN6211 MIPI DSI - RGB bridge chip, then fed to the panel +itself + Required properties: -- compatible: should be "bananapi,s070wv20-ct16" +- compatible: + for 24-bit RGB interface, use "bananapi,s070wv20-ct16" + for ICN6211 MIPI-DSI to RGB bridge, use "bananapi,s070wv20-ct16-icn6211" + +Required properties for RGB: - power-supply: see ./panel-common.txt +Required properties for MIPI-DSI to RGB: +- reg: for 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: -- enable-gpios: see ./simple-panel.txt +- enable-gpios: see ./simple-panel.txt(not available in MIPI-DSI to RGB bridge) - backlight: see ./simple-panel.txt This binding is compatible with the simple-panel binding, which is specified in ./simple-panel.txt. + +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>; +};