Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp681211ybb; Fri, 3 Apr 2020 09:51:58 -0700 (PDT) X-Google-Smtp-Source: APiQypL7uSn2eZzIMgFBoMaq5v3nSAGlYeasyaq3WafbwjqK2n/yth/t2rkUQeSftLSxECjQ8F0t X-Received: by 2002:a4a:3bd7:: with SMTP id s206mr7401974oos.89.1585932718289; Fri, 03 Apr 2020 09:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585932718; cv=none; d=google.com; s=arc-20160816; b=0x0Bp8DTp2TIZGeh3zGPBTj2vSGOG08Xxe78tYQs54ZvMqHj4sqb5FaxkElkqwqGry ipEPI7+m7ZIZnyomm5oZG1rBbR9yc3QBrBgVryBikN7txtmgThiLBBJ/+cR4gQX7snKy VNOO/NvcbJG9pcDJJBETnZ05doaQdUYX4awP0m4hNaxG2T2adQoCbSw/VeMax2Gyv6i+ 4gEj5moTbhcC+nKKxiMGgWGPifnbgteoUT8WF0pAPY4uCn8njUrlUncwYrCu7P9em/xq Rn7N9YPhuCz1oFOqS5v5xDIx5TFXY1HqGVXlpGGvsPnqErlTKSgkJY3Rfz19e4/93Wq9 H5BQ== 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=B4xyhvwGhUOwB7o6Y5++Y4sErHAz1MfKllVnk/6E5Cg=; b=XITfpQ8bewk3ofoo9qcxq7gMcsb1CXD3Mug+Oc3eUmrYVnFNqXsTCZcRy4DDUQBr69 FyLyA4n9ZV3KJg6ZhVQpQ/pwAxmnY+cn/4VMau71kD6SbFA3Zav8x727a5LVnwoa+YgM d7j8U8cO1tyvulz1gXSWT/xFLcyHALHSPBONaOGDYxkg5/SOF7ycBaMwl4EsYcAgl9iQ WZca4p5GbbDUGh2ciX16ONskzV7iY5hcipMnvh3ylTNL+WAV+IPInrD8l6fQrOs4Kp+F sDwv+9z8E/HqerYLDXUfyqpLjX3nyLBg+htPPDj0TGbWQGUy/dFVxQ85JKS9VIqWlG3a XQhA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u64si4101420oig.238.2020.04.03.09.51.46; Fri, 03 Apr 2020 09:51:58 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404323AbgDCQQr (ORCPT + 99 others); Fri, 3 Apr 2020 12:16:47 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:58102 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404035AbgDCQQq (ORCPT ); Fri, 3 Apr 2020 12:16:46 -0400 Received: from floko.floko.floko (unknown [IPv6:2804:431:e7cc:11ff:4f80:3de:e2b2:5c1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 7BA2429868E; Fri, 3 Apr 2020 17:16:39 +0100 (BST) From: Helen Koike To: devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, robh+dt@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, kernel@collabora.com, dafna.hirschfeld@collabora.com, ezequiel@collabora.com, mark.rutland@arm.com, karthik.poduval@gmail.com, jbx6244@gmail.com, kishon@ti.com Subject: [PATCH v2 8/9] arm64: dts: rockchip: add rx0 mipi-phy for rk3399 Date: Fri, 3 Apr 2020 13:15:37 -0300 Message-Id: <20200403161538.1375908-9-helen.koike@collabora.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200403161538.1375908-1-helen.koike@collabora.com> References: <20200403161538.1375908-1-helen.koike@collabora.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 From: Shunqian Zheng Designware MIPI D-PHY, used for ISP0 in rk3399. Verified with: make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen Signed-off-by: Helen Koike --- Changes in v2: - fix alignment of clocks V1: This patchset came from the original ISP series from Rockchip: https://patchwork.kernel.org/patch/10267409/ The only difference is: - add phy-cells - update compatible to "rockchip,rk3399-mipi-dphy-rx0" - commit message --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 33cc21fcf4c10..6b3380b10e596 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1394,6 +1394,17 @@ io_domains: io-domains { status = "disabled"; }; + mipi_dphy_rx0: mipi-dphy-rx0 { + compatible = "rockchip,rk3399-mipi-dphy-rx0"; + clocks = <&cru SCLK_MIPIDPHY_REF>, + <&cru SCLK_DPHY_RX0_CFG>, + <&cru PCLK_VIO_GRF>; + clock-names = "dphy-ref", "dphy-cfg", "grf"; + power-domains = <&power RK3399_PD_VIO>; + #phy-cells = <0>; + status = "disabled"; + }; + u2phy0: usb2-phy@e450 { compatible = "rockchip,rk3399-usb2phy"; reg = <0xe450 0x10>; -- 2.26.0