Received: by 10.223.164.202 with SMTP id h10csp69629wrb; Wed, 29 Nov 2017 17:13:08 -0800 (PST) X-Google-Smtp-Source: AGs4zMYjhyIqT5+mHYyyZ1o4sTrZ+9j7Jdt6fknJ2prPNchpDVPlbI8KNBQ0rVOH1Ks3KNbq8xp3 X-Received: by 10.98.214.145 with SMTP id a17mr4765586pfl.167.1512004388005; Wed, 29 Nov 2017 17:13:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512004387; cv=none; d=google.com; s=arc-20160816; b=FFzmaDTc/GhnZpkhRIl3EfqG1jV77SNDQ67PC1+vMepjwOJfQzLEbCo9YUKzvM6QWX k/1fMPRMAitnAkH177TS8Xkx9jYx3eExR9cCAbhFN8hMgZDncMDmHsFS/ur6zlV9LFMF Z6XsG2qp4+32zulLYTQYpEQRSfZcNvCD92hhbqzVaX+eO3/pKF+y0Oe+SkS+Us57Do5C CBVwPIYjTODbMro7eco7PAAryG4AzxWevDmoKlxkAMbm26WfZYqn73bCnT4vu4WptQoA MV7bzUKH8ZELgqftyq4V8mnh3jpQjbUJKaWoDBFwUm+yCPnJ06EW+Gn8hJbTT29qwk7w SQjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=t9Ksgh4OyQwQafylTBbV44o+XAMsyJqZVWC/Q992VB0=; b=C5wOWWIrkld8XA/1Aj7MxReRlO34OQWXuY50u2jurs2r1xTDWeAy79qO5+xtuG2ade VwAlsF0zc8VDX4FQdRFutG1jY1RQ0QX7pjo8uLAYBVMKL0NjjMdyNeolou7tWFKtCGZx mAN8mMD4Nd9ZuHKOWnL6WldIp+YRzAeOcc5rAI5RdawypMmoj29mBjOBWcSeHEDeDFOL Ls2yW9NJ/ziILsMQPRnucWZn+JSwBD+fiZL8PZxcUnLlyzhMteA5i2MLaSBYBCIfgPiH I2pdy6ZthzumBrNsqGV4l5xvxmAsaRgvmSBThz0oQn3tjUnuyrF74TFwN0Lu7DX/b3X5 ZF8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q+1JM5p6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 135si2114848pgh.503.2017.11.29.17.12.54; Wed, 29 Nov 2017 17:13:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q+1JM5p6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753205AbdK3BLc (ORCPT + 99 others); Wed, 29 Nov 2017 20:11:32 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:44398 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752815AbdK3BLb (ORCPT ); Wed, 29 Nov 2017 20:11:31 -0500 Received: by mail-it0-f66.google.com with SMTP id b5so6366752itc.3 for ; Wed, 29 Nov 2017 17:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t9Ksgh4OyQwQafylTBbV44o+XAMsyJqZVWC/Q992VB0=; b=Q+1JM5p69rYoCrfAm8lZ79sXjvvvG03cqFtPyuoEU+uBLTsaTUzwViS19V3W2enc8W 9RUoif8q31zi2Zvy6m3BoZ0DObstGkx8Ka7MRB6gLJye3Fy4jVKh9ZU1ycetapMOYttq YGDJCSFLvU87Q0nEdRHqunktEjOo/mUCSSyjG9TKJ1rD1OJZ9U8oYSlTCq6JBJ5/iQj1 C2kIJ3On7aM2+c9dlyPs8drHZOigxc3Fte3vD+wSuiB9oE5ceJi8BiDYe2Hp8vy0jzrn FiNahOF8UbtKoirKBfzF6Hzm4Mm6RO/S+VhkBUz0aqZIFbKS1fikZnXV+9Of4lOLcp3z 0sIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=t9Ksgh4OyQwQafylTBbV44o+XAMsyJqZVWC/Q992VB0=; b=f9bcVnt8KsMa7xn+M/Ot26149iGkUDb+Z1miCongby4V2DfD5bmzNdcMIRwAo75CGl hwt26u3bhGOm5t7PBvHeJ9wDTgjVAQ9RHHovCEiR+41tz4sUufksL/UUaMrHQPbWCGv3 bgQNGBEmpFyYz3mYh5ZNIqK90UAiW9TRMKPYChNFzrA31n8AOKUD/M02wVcaijoo4K1n a81wy+eOBeaQ7UGav3vbOWrNQ5im5vHbEfKE6rza+q8IpPtRihIZK4PWNb+/6BJBjUbC 2MnnTIExF2i3ipCUlD1GYnB2GpQ30UDgx0Bx9BTEhnA6ueQJs1LD5FXrHpw/W07VXYI9 Mo/g== X-Gm-Message-State: AJaThX4WQDbT2qoJiv3fB3tbZJOgiHdngz+2+7A5xua1taToOXHNiDtz AfRXw7zp9s4C0mB62YJXqDo= X-Received: by 10.36.55.136 with SMTP id r130mr963251itr.3.1512004290618; Wed, 29 Nov 2017 17:11:30 -0800 (PST) Received: from google.com ([2620:0:1000:1600:4c49:1dd8:1cd3:15b8]) by smtp.gmail.com with ESMTPSA id o71sm1643704itc.30.2017.11.29.17.11.29 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 29 Nov 2017 17:11:29 -0800 (PST) Date: Wed, 29 Nov 2017 17:11:27 -0800 From: Brian Norris To: Brian Norris Cc: Heiko Stuebner , linux-kernel@vger.kernel.org, Doug Anderson , linux-rockchip@lists.infradead.org, Nickey Yang , mka@chromium.org, Chris Zhong , linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: rockchip: add mipi_dsi1 support for rk3399 Message-ID: <20171130011127.GB124672@google.com> References: <20171129233541.51337-1-briannorris@chromium.org> <20171130010723.GA133459@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171130010723.GA133459@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nickey Yang This patch adds the information for the secondary MIPI DSI controller, e.g., interrupts, grf, clocks, ports and so on. Mirrors the existing definition for dsi0. Signed-off-by: Nickey Yang Signed-off-by: Brian Norris --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 8940a3dc3670..e7e882d06c68 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1526,6 +1526,11 @@ reg = <2>; remote-endpoint = <&hdmi_in_vopl>; }; + + vopl_out_mipi1: endpoint@3 { + reg = <3>; + remote-endpoint = <&mipi1_in_vopl>; + }; }; }; @@ -1573,6 +1578,11 @@ reg = <2>; remote-endpoint = <&hdmi_in_vopb>; }; + + vopb_out_mipi1: endpoint@3 { + reg = <3>; + remote-endpoint = <&mipi1_in_vopb>; + }; }; }; @@ -1674,6 +1684,41 @@ }; }; + mipi_dsi1: mipi@ff968000 { + compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi"; + reg = <0x0 0xff968000 0x0 0x8000>; + interrupts = ; + clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI1>, + <&cru SCLK_DPHY_TX1RX1_CFG>, <&cru PCLK_VIO_GRF>; + clock-names = "ref", "pclk", "phy_cfg", "grf"; + power-domains = <&power RK3399_PD_VIO>; + resets = <&cru SRST_P_MIPI_DSI1>; + reset-names = "apb"; + rockchip,grf = <&grf>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + mipi1_in: port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + mipi1_in_vopb: endpoint@0 { + reg = <0>; + remote-endpoint = <&vopb_out_mipi1>; + }; + + mipi1_in_vopl: endpoint@1 { + reg = <1>; + remote-endpoint = <&vopl_out_mipi1>; + }; + }; + }; + }; + edp: edp@ff970000 { compatible = "rockchip,rk3399-edp"; reg = <0x0 0xff970000 0x0 0x8000>; -- 2.15.0.531.g2ccb3012c9-goog From 1585964465394111520@xxx Tue Dec 05 17:06:17 +0000 2017 X-GM-THRID: 1585964465394111520 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread