Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp638488rwl; Wed, 12 Apr 2023 01:47:19 -0700 (PDT) X-Google-Smtp-Source: AKy350aqOjWALq6K7he44SytBpVCqi473o/jCpDEAUdMMtJxqMqYMEGzAWRWeiSZGefpI3GhwJii X-Received: by 2002:a05:6a20:8929:b0:dd:ff4f:b856 with SMTP id i41-20020a056a20892900b000ddff4fb856mr2477276pzg.26.1681289239555; Wed, 12 Apr 2023 01:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681289239; cv=none; d=google.com; s=arc-20160816; b=Ch92/JSyZRKIl5s0e/y7qRXEzVy4AAHFNSzno/J3tbYX6thc38sm6U8hiTaQUtIfdx nlmddTfBZM7KCCJ/mWm4mkr4+z/OhvhI6Hf5TCa7J0LAWEAEX9W2LvSOE8wa+omencg1 cuPDnU5RxsZ63XjG5BEde4M73FzNPisWNel3euunYosjOki4JYHQxs2a5kqfBhCTgOgZ 9nvY6rZwD/JvS+ngFLhMNyBLRoP5NAM+bQP4Ew5ZsXXF2S3+3o2Hnfi7vMl2i2EzWTzO SDksjuNNsSJiBQr5hOUUKhzIBnnWXIhBcKQz5cmblNFNovRC3jJFILouvP0MmTUfwTov SNZg== 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=pKOnkuKyisCfoUgWbEf4xLs836gxTyZNZfqaQiM3dgw=; b=ohdeCJ19w53RVDZFbM1XfemavS9thYg5pyb7zeSMBChW0bCUM+pjHsXtRJofeLNUMt eAjSHGocj1BD2qN5DDBxTY6v5PjhRByLFmtqDL1Mpyx42KPNgv7PdvPkrt+PmjsPiUEw nUepK+IEPIdfbtHZX97h8RPr/oUFhjW3zk+K5TMZfVK2Pgv/XXXqMAmXdBQkuyVtFMh9 22QwY3Gpr6wlmj5Xnv0VfaGCmbeBysZ67FFeRtaTJHdJO9XwXXdipjinGu9bmgiJ6rVL HJCVoplh6Y5FqAUmanYj/QQ3Ddg9aTDTnNJBLe0jhjKiyUA12u7oFOiOvcWhvOAnTFHE uj8g== 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 p189-20020a6229c6000000b006265c3706f5si1609840pfp.42.2023.04.12.01.47.08; Wed, 12 Apr 2023 01:47:19 -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 S231240AbjDLIrA convert rfc822-to-8bit (ORCPT + 99 others); Wed, 12 Apr 2023 04:47:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231214AbjDLIqz (ORCPT ); Wed, 12 Apr 2023 04:46:55 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F1D9007; Wed, 12 Apr 2023 01:46:31 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id D5DFC7FFE; Wed, 12 Apr 2023 16:45:44 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 12 Apr 2023 16:45:44 +0800 Received: from ubuntu.localdomain (113.72.145.176) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 12 Apr 2023 16:45:43 +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 v4 3/3] riscv: dts: starfive: Add dphy rx node Date: Wed, 12 Apr 2023 01:45:40 -0700 Message-ID: <20230412084540.295411-4-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230412084540.295411-1-changhuang.liang@starfivetech.com> References: <20230412084540.295411-1-changhuang.liang@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.145.176] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS 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 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 3179b5698329..dc51e2199ac4 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -573,6 +573,20 @@ 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 = <&pwrc_dphy JH7110_PD_DPHY_RX>; + lane_maps = /bits/ 8 <4 0 1 2 3 5>; + #phy-cells = <0>; + }; + voutcrg: clock-controller@295c0000 { compatible = "starfive,jh7110-voutcrg"; reg = <0x0 0x295c0000 0x0 0x10000>; -- 2.25.1