Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1707071ybx; Thu, 7 Nov 2019 16:05:16 -0800 (PST) X-Google-Smtp-Source: APXvYqy1z06gL8XneKyhD8475Gb1EHbFImj7TQWfxSqrss0wxkjpryjz4AUv6EuL2aYsZnz38cKv X-Received: by 2002:a17:906:25c5:: with SMTP id n5mr5828945ejb.126.1573171516303; Thu, 07 Nov 2019 16:05:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573171516; cv=none; d=google.com; s=arc-20160816; b=IDEyultWUnZrNOp0TCsS7bdbu9A4Zcxna8OmB5EtL+7LNn3Tk7hG9gmGvLe9S3iiBw rODAtJM184bfhftYOihurd396quTPB0ZA52JbXYml56DVXtyZX97c5y/K5Z1NNEgr94y 1z2UN3q9Mat/F2aRZ31AxOXd4cNPodOuFCAMEVIEOaCpZQCTfARapCCJbu4Lkb7WOUTc dEhN6VRDjwr4VG1Gvwk+Ybt1NZ0XsNTlse8K2rC8rW6Xl23YfKlIAomeqnwmFsNqgzfK GYhkfWObub4xCs2J2ZuPHgMG63q+c3UBFJFdB6gE6WZb8eqY4trhM6Zrvmla/Qxtum5w MSbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=jRhQ81dhwZCtuOXbbCgEVe2oGWZv6yGHoIRoVEhUxHQ=; b=pvc01TBJ4vmXyN+VVp8JXsyZb2vEOUj5e1pWx9mNMaspcYHO3nMFklatzXOpQ3ZHxY I75IFrw8l+k7fj8mrQzraSf8Xry/sEFnBI7GF9kcatcjOWnAVpPb99LOLtXmHmEv1u7H RvZotEu+hI0TNAZ7vIoKNrsvvuH8N2bsp+s5EVOrDvrxWsooozvLP51KZK4CdSjxEJEd qKhayE4Gs94QOUkQOJzbBcK3v08Ko+MVCmRujZgQeUT//c6Cp1o9iB1I/EDi4Ho28fAG /Ks+9BsvCl3YtXJ6RyLfMvuO9a3algCkZ1eE4p5LURr24fbayQXsneZo/54GHa2Z0p2E TRXg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si3054547edc.171.2019.11.07.16.04.51; Thu, 07 Nov 2019 16:05:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728325AbfKHADd (ORCPT + 99 others); Thu, 7 Nov 2019 19:03:33 -0500 Received: from gloria.sntech.de ([185.11.138.130]:49638 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbfKHADR (ORCPT ); Thu, 7 Nov 2019 19:03:17 -0500 Received: from ip5f5a6266.dynamic.kabel-deutschland.de ([95.90.98.102] helo=phil.fritz.box) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iSrk0-00065H-TQ; Fri, 08 Nov 2019 01:03:04 +0100 From: Heiko Stuebner To: dri-devel@lists.freedesktop.org, a.hajda@samsung.com Cc: hjc@rock-chips.com, robh+dt@kernel.org, mark.rutland@arm.com, narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, philippe.cornu@st.com, yannick.fertre@st.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, heiko@sntech.de, christoph.muellner@theobroma-systems.com, Heiko Stuebner Subject: [PATCH v2 2/5] dt-bindings: display: rockchip-dsi: document external phys Date: Fri, 8 Nov 2019 01:02:50 +0100 Message-Id: <20191108000253.8560-3-heiko.stuebner@theobroma-systems.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191108000253.8560-1-heiko.stuebner@theobroma-systems.com> References: <20191108000253.8560-1-heiko.stuebner@theobroma-systems.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some dw-mipi-dsi instances in Rockchip SoCs use external dphys. In these cases the needs clock will also be generated externally so these don't need the ref-clock as well. Signed-off-by: Heiko Stuebner --- .../bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt index ce4c1fc9116c..1ba9237d0ac0 100644 --- a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt +++ b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt @@ -9,8 +9,9 @@ Required properties: - reg: Represent the physical address range of the controller. - interrupts: Represent the controller's interrupt to the CPU(s). - clocks, clock-names: Phandles to the controller's pll reference - clock(ref) and APB clock(pclk). For RK3399, a phy config clock - (phy_cfg) and a grf clock(grf) are required. As described in [1]. + clock(ref) when using an internal dphy and APB clock(pclk). + For RK3399, a phy config clock (phy_cfg) and a grf clock(grf) + are required. As described in [1]. - rockchip,grf: this soc should set GRF regs to mux vopl/vopb. - ports: contain a port node with endpoint definitions as defined in [2]. For vopb,set the reg = <0> and set the reg = <1> for vopl. @@ -18,6 +19,8 @@ Required properties: - video port 1 for either a panel or subsequent encoder Optional properties: +- phys: from general PHY binding: the phandle for the PHY device. +- phy-names: Should be "dphy" if phys references an external phy. - power-domains: a phandle to mipi dsi power domain node. - resets: list of phandle + reset specifier pairs, as described in [3]. - reset-names: string reset name, must be "apb". -- 2.23.0