From patchwork Fri Dec 10 11:17:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12695592 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B68FC433EF for ; Fri, 10 Dec 2021 11:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dv30MMD+JVtqIxkog5lnpBkKGVRCONdfEk+eDGiOgWE=; b=HgvHgONRXu/ONq 9OH5iA9l6saeSKN/R9OqQYySCSrVrI0xbx7Qm3+1oYHi+x0igVo2W717ObXCDmzrlL7eZmUsVYM9N 8YeeNCcQ6KuQt6slBQr57CbR8fxeyZhWqkJJSaLInX4COoZPvCRhfXURlJn6s4qOkhknrnDH8pkz+ RXff+l6LdyLDeCMtGBJTBWGihK+BMC7OoPaZp41PpUYgumhFh1jkEIjKjpIYa/q9HTsl5YgXoT+Sw QU9MzTaq83C9Zu7YmQPlsGfnVxa0Hr8Xe2rx3iO9dx3/TXTyJQgCctKOnVZ3XjJS402EoXCoOf479 /VX9tWYmMfXx3I3Rg3eQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvdvX-001cZ3-Ud; Fri, 10 Dec 2021 11:19:00 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvduU-001cBj-5b for linux-arm-kernel@lists.infradead.org; Fri, 10 Dec 2021 11:17:55 +0000 Received: by mail-pj1-x1036.google.com with SMTP id np6-20020a17090b4c4600b001a90b011e06so7226572pjb.5 for ; Fri, 10 Dec 2021 03:17:53 -0800 (PST) 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; bh=Y58f/408ggFS0t4Z6wIbn0XNvGpa9gF+cq3fnKbXvq4=; b=Zg94Ty4D4jUP9ylOZDPNjOkgZl2tcZVu2FobVmPWqGtBRji42lfnSaHdUtgYO4Dpdg UFJggr98af08NApIlpLdH+ZqUtaVTKVkcMPpUUpe7QAgy0uERtZNo4zr70TH+9A5XO/g wohdZ882YOeG+dPt+WIQBuIH4yIypprVc9dHU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y58f/408ggFS0t4Z6wIbn0XNvGpa9gF+cq3fnKbXvq4=; b=uIYW3OHIwfg/4wtAZQSb3HV1pwViYwiM2nyQgve9dniA4YRcYAf+XVK8n0nG9/Ol4h Lm6hlmO2Ne+fTFJfd81/JsfjGm3jzc8hEqKVZbs3aPVZM+VkgXI0rECQRKglhWkd9cAi LRqKy6MUsD+qnnxUj1p3DnlE884UXwjDl0n25Ooqe1UqDl/05e4KQyGlmWKhHnrTBvZc l0gopmUZ1SoeFyPwjLJiL2FrLiizipaynD41Uo3s1F6AqStdIfa3eQtkddV/k8cguylu JizMzDBX1YdBianOe7R8QIySymc6pTVZN1HctTZf+Sjif/5NEO9HrcTuEwYRVq1r+xiS 5bwQ== X-Gm-Message-State: AOAM531Tm3b36dnWgSNdWGPYMZ2XHFY+P+jgJbanF2HaNNIdfFvMrvcY +8UkwH1xhi7SzJYvo3FD0S4I/A== X-Google-Smtp-Source: ABdhPJzAFDD6y2DwjF2jmlcaZlHOZhKXjj4Z/7auMyoCnoob9MAwhov/izo/HGKuwrD9GZNi9lQXdw== X-Received: by 2002:a17:90b:380e:: with SMTP id mq14mr23759146pjb.74.1639135073054; Fri, 10 Dec 2021 03:17:53 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:c40f:36d4:b45d:731]) by smtp.gmail.com with ESMTPSA id qe12sm13125607pjb.29.2021.12.10.03.17.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Dec 2021 03:17:52 -0800 (PST) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Laurent Pinchart , Neil Armstrong , Robert Foss , Sam Ravnborg Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [DO NOT MERGE] [PATCH v6 6/6] ARM: dts: sun8i: bananapi-m2m: Enable DLPC3433 Bridge (I2C) Date: Fri, 10 Dec 2021 16:47:11 +0530 Message-Id: <20211210111711.2072660-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211210111711.2072660-1-jagan@amarulasolutions.com> References: <20211210111711.2072660-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211210_031754_256320_494B6092 X-CRM114-Status: GOOD ( 13.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org R16 board has DLCP3433 DSI bridge for connecting TI DMD Projectors. Enable support for it. Note: This is for testing purpose, DLPC3433 not available in BPI-M2M. Signed-off-by: Jagan Teki --- .../boot/dts/sun8i-r16-bananapi-m2m-i2c.dts | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r16-bananapi-m2m-i2c.dts b/arch/arm/boot/dts/sun8i-r16-bananapi-m2m-i2c.dts index 7713cdaf6211..a96fbfd743f7 100644 --- a/arch/arm/boot/dts/sun8i-r16-bananapi-m2m-i2c.dts +++ b/arch/arm/boot/dts/sun8i-r16-bananapi-m2m-i2c.dts @@ -86,6 +86,16 @@ vol-down { }; }; + panel { + compatible = "panel-simple"; + + port { + panel_out_bridge: endpoint { + remote-endpoint = <&bridge_out_panel>; + }; + }; + }; + reg_vcc5v0: vcc5v0 { compatible = "regulator-fixed"; regulator-name = "vcc5v0"; @@ -125,6 +135,32 @@ &dai { status = "okay"; }; +&de { + status = "okay"; +}; + +&dphy { + status = "okay"; +}; + +&dsi { + vcc-dsi-supply = <®_dcdc1>; /* VCC-DSI */ + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dsi_out_bridge: endpoint { + remote-endpoint = <&bridge_out_dsi>; + }; + }; + }; +}; + &ehci0 { status = "okay"; }; @@ -132,6 +168,35 @@ &ehci0 { &i2c1 { clock-frequency = <100000>; status = "okay"; + + bridge@1d { + compatible = "ti,dlpc3433"; + reg = <0x1d>; + enable-gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>; + vcc_intf-supply = <®_dldo1>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + bridge_in: port@0 { + reg = <0>; + + bridge_out_dsi: endpoint { + remote-endpoint = <&dsi_out_bridge>; + data-lanes = <0 1 2 3>; + }; + }; + + bridge_out: port@1 { + reg = <1>; + + bridge_out_panel: endpoint { + remote-endpoint = <&panel_out_bridge>; + }; + }; + }; + }; }; &i2c2 { @@ -289,6 +354,10 @@ &sound { "Right DAC", "AIF1 Slot 0 Right"; }; +&tcon0 { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pb_pins>;