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: 1806 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 94B683F15A for ; Fri, 10 Dec 2021 12:17:56 +0100 (CET) Received: by mail-pl1-f199.google.com with SMTP id s16-20020a170902ea1000b00142728c2ccasf3879016plg.23 for ; Fri, 10 Dec 2021 03:17:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1639135074; cv=pass; d=google.com; s=arc-20160816; b=Y18kun8WSmu01fWJqRaCVitw2F6ZrU/oLQu4FdiTjiVgw1I9kQxMqNkBpRStnxBBWd cOuBK3Ff+opgzhEbmp5fmQiRdpbprG7Hoq3QN/J/cQu40/eHlUwBlxhAoPrQl73KXqxz jYeKIIOT3ASgLmFuJMg8jQ3C1HgpCIFVPwgiYU1zUpdnN5ZC0opvrNG51D7brESx0xO5 bunfOQcwvXqfGLOCjCIRY0LXbJRDtqAWRyDCVRjEnt1p/Gld4w9C9DCzzAo1Ef0AbBh+ NQJWWc2vSLHYL6a9jcE8dODZ9F9RccKPXOpZmseNApNqEeNaXNUAY+gVtXfSs69JSGR/ vJsA== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=AatOKwGr/WFqpEtAZ+D05mOzq7TRpe8Hj/8NtnXJQ9g=; b=gmLhaSW901+mJB0wKfvyhWIPiw+9wsVV2TSOopo/35eI2t/9loa5YpBmcxm+mn5txS Wwa7E9gxGMPO6/6qSCyw98cbLnuuKoAPFu7Fuo4r/txVhMQjQtAL0s81kLCzkX8azWWP JlXgQITLCIcS+LKFKf2iVIhfar876g0Rhe8wYhOGJdsfKOncZ2hvhAWOK5S6eT6Xt9Gt Eetn8TgLnQ02TuOXqFlbZTUiYjyTpKW2k4x1HoWnohj1O316GQttYpuwRoiuT4LuIG4R /oo1rKJCmaYrKJqOJ8zpT5yAZgosVLgnkGQ0/BjykN9V3hMLzAiYcQLFnn1D4ag/1qAF 0c3w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Zg94Ty4D; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=AatOKwGr/WFqpEtAZ+D05mOzq7TRpe8Hj/8NtnXJQ9g=; b=mF18xEBNH08Kw4uIW2BcdZCzPoBGBbKjBWlttskt7Xpy/PBo7zY32/VPiEbQYb4rxA CpeNLE9N+dk6lltoZZs0o6hQGJkahPzBdv4qyGqDNCTpknU0B+DX4bC/DUX2MsD2payC nqTvFgons0g/jpNtf11b8Sx03NQl5NJIoA6Hw= 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: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=AatOKwGr/WFqpEtAZ+D05mOzq7TRpe8Hj/8NtnXJQ9g=; b=irp1OSVkrl8UHzhwUWKWvKBKnsrUjQzxjrcsRsAs8iroI1BBsBlrM1wuqV4LHItS5w bJIHsHTi3hkOzJogsVbrn3fx/McwgcJNFb6UPxSk1aadaRILSMe5VZDrea4Dejxd/GFb IdIvpqNQdnEtcpJmx1xgY06Or1iC6VWqh7c8JVUhaDmH2hZMj7WJ8kQ67BxeK0MqT3H7 vZXRQ5QywZCriaPGmV/izR3t1W5PHGn+H3sipk/mUAzUipM1N3KnaMfSM3Wp0xgb5nnq Xi3AZPEjZ9Iu1E88TJENnwzE+hhjF61szLmTTOV0YSRagKfLo/1nxKsQmzGPjgW4H0lN HyqQ== X-Gm-Message-State: AOAM533dKMHBQP8W6gX7A31PGqX3QmQMxgtZ14wOWyantE65g7QK3Yh0 yQbpdwYtowHgWuXC3yfvrQlr+Qf3 X-Google-Smtp-Source: ABdhPJzKSWoyiLsPdOFI5vbp935SHHlgdEPOn4r43QDHTaL/1eZf8dRLIyQk8jgg0qIuiKT2s9hWDQ== X-Received: by 2002:a63:b90c:: with SMTP id z12mr23637610pge.584.1639135073987; Fri, 10 Dec 2021 03:17:53 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:99e:: with SMTP id u30ls3297107pfg.7.gmail; Fri, 10 Dec 2021 03:17:53 -0800 (PST) X-Received: by 2002:a63:ea02:: with SMTP id c2mr39477647pgi.54.1639135073301; Fri, 10 Dec 2021 03:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639135073; cv=none; d=google.com; s=arc-20160816; b=QEPcIlU00mCWbu+I5UhNWhlOSxkNbJn6NEV5xEy90vanQMfpphvTTOLNXvpZHpJtBY ugfjqye17/wNRvIlXV0CXUzYh0MzRmhJKlIdEAUA7NCw9Yzygp0JPKCVhjFRCedHHA3N PKbDBXzgPg31xjCvusa6lR5nTILJSjkibyyOvJJ7w0pvlZQAsL9v3u1LJtJqs6S/HYi+ iUu0wt9eC+nOjREpHHMReXCYZWLe5uozHm4WQ499v6k1JwlRn/6lVSQMsggf6jRrxYkm Yt491UShob8AQG0cRqAgnYrNf/76pKFzUiNzve6tzUbi1b/tBGqJnWnUclZCQidmArh7 TS6w== 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=Y58f/408ggFS0t4Z6wIbn0XNvGpa9gF+cq3fnKbXvq4=; b=eC8Hv1t4Oaml9Tg2CDH+tGHQfhIRrI70c6yIXmu7J8+/ePhCPtaLhBn5hjPPVGw0+V dpdQgNGHIVDwTyVm73FKFNjh5PfCYWQv/Y0ANeSbvh2mx0x0OSNz4hnf9NtIKMtfaT/T 30uxpXNkdQYNXSWKg26MgITf0vi8LocoVcrybBa1fHg2GoqBY74ntKudpUvBbdvbOFvo iPgAWNixsRBB1O5/UmmcxtztlWD1SQN6yJ7M50ooyaP/aincAon578Kx6WEzIJen6jbs NAgAqiLXMUZGjjuuqQWIcHu4rQVcY8G95i9i8sfkRJ2LkyX5QhXh8XI8aTzjjpK+6fhy 7Nmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Zg94Ty4D; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id u7sor2286004pjc.42.2021.12.10.03.17.53 for (Google Transport Security); Fri, 10 Dec 2021 03:17:53 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Zg94Ty4D; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" 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: , 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>;