Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3097117rwd; Mon, 29 May 2023 05:49:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6bej0MSp0cUUncM/BfDC0T4r41OYbMElQOnpjuA5Zfv/r2g0e2h16J/tmFmNdCZIvLU6NP X-Received: by 2002:a05:6a20:9c91:b0:10b:f331:d1c0 with SMTP id mj17-20020a056a209c9100b0010bf331d1c0mr7506415pzb.30.1685364542517; Mon, 29 May 2023 05:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685364542; cv=none; d=google.com; s=arc-20160816; b=KkTYnWgg9/mlReoPj74UxBDeoNF0HuBorSZpaD7x/oP37OTwBhHDb/blj2IG5rrbye TrNNSeJBCP2fAinT2n1YO0C6IQ2ald2aJ0saXDvGevHa+8FODQTL0++3NYuYzZ2FiMLB 03H3B66TznRc4eSsjDC5g8VQ0Y18TAAuWYPKIRbEc0J+7ow8gNIK97Nxn7RyhDuV8Y4j t0K1YNUlFGY+jUKOlqwpg+HUzL36i/3FaWnU5WymYyqsXQFbSGf3yJfufmns2Ae5ZzB1 /4ZgvVuz0cPzvue30hdy2baOFRHb6FnMPC9JxRdtePpeDCOHt10JrGyiAgyABWGFVZI1 N/+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=IGb3/l0urM9TP24AwOkzKaWwDVFzeuTo1ia/TzPU1nc=; b=qs7u98xdm7UwsKl0R5eApSEDX61RM/DgQtoOvxcHCCHhcm+5pT9u3w81xrTsrbm6GF x9QUOVCVVDlVfGA9JjoUkrlBTogjBvX+t5JgBCWyppqYdmsdkJIG3zcoQTvwAk31GE8Y HrtsNwcIYITU4h8Zk6AL03mWeRw51ON+fr+1o3+jHzLZ0Q1WeoTCkdlQylvw1LhY1uM7 J/InpaW56iJ3dA2PvfTseqiH9S2Qg4LMTSdhICg18GiIj2KNyRhwqbnTA5Gfw2PTy2iT beWru5pKzDIaeyZV8u75fk+2dSKGWwynHRzoCb+mHZmE1RK4HvdaCy+uSqUm50WO+Fow xaBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t29-20020a63445d000000b00537d3adaa19si1162915pgk.779.2023.05.29.05.48.50; Mon, 29 May 2023 05:49:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231708AbjE2MPX convert rfc822-to-8bit (ORCPT + 99 others); Mon, 29 May 2023 08:15:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjE2MPQ (ORCPT ); Mon, 29 May 2023 08:15:16 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 941F1B2; Mon, 29 May 2023 05:15:11 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id B40EE24E207; Mon, 29 May 2023 20:15:08 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 29 May 2023 20:15:08 +0800 Received: from ubuntu.localdomain (113.72.147.198) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 29 May 2023 20:15:07 +0800 From: Changhuang Liang To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel CC: Jack Zhu , Changhuang Liang , , , , Subject: [PATCH v5 3/3] riscv: dts: starfive: Add dphy rx node Date: Mon, 29 May 2023 05:15:03 -0700 Message-ID: <20230529121503.3544-4-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230529121503.3544-1-changhuang.liang@starfivetech.com> References: <20230529121503.3544-1-changhuang.liang@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.147.198] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dphy rx node for the StarFive JH7110 SoC. It is used to transfer CSI camera data. Signed-off-by: Changhuang Liang --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 2207be7e1b01..e4241e32dd09 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -579,6 +579,19 @@ ispcrg: clock-controller@19810000 { power-domains = <&pwrc JH7110_PD_ISP>; }; + csi_phy: phy@19820000 { + compatible = "starfive,jh7110-dphy-rx"; + reg = <0x0 0x19820000 0x0 0x10000>; + clocks = <&ispcrg JH7110_ISPCLK_M31DPHY_CFG_IN>, + <&ispcrg JH7110_ISPCLK_M31DPHY_REF_IN>, + <&ispcrg JH7110_ISPCLK_M31DPHY_TX_ESC_LAN0>; + clock-names = "cfg", "ref", "tx"; + resets = <&ispcrg JH7110_ISPRST_M31DPHY_HW>, + <&ispcrg JH7110_ISPRST_M31DPHY_B09_AON>; + power-domains = <&aon_syscon JH7110_PD_DPHY_RX>; + #phy-cells = <0>; + }; + voutcrg: clock-controller@295c0000 { compatible = "starfive,jh7110-voutcrg"; reg = <0x0 0x295c0000 0x0 0x10000>; -- 2.25.1