Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp489149rwl; Fri, 7 Apr 2023 00:05:23 -0700 (PDT) X-Google-Smtp-Source: AKy350b058bT4l9VkGsHTHiSYvo9zO9NF6nqSO5vhmTQ8W9kysFmWkJ462x61FUCtSea9MPTSKbS X-Received: by 2002:aa7:d906:0:b0:502:23a2:6739 with SMTP id a6-20020aa7d906000000b0050223a26739mr1588015edr.28.1680851123251; Fri, 07 Apr 2023 00:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680851123; cv=none; d=google.com; s=arc-20160816; b=QXsuNKz8WkdGGnAeybSdMjPZt6v1kRRQ8FTBh0VX1o6ZfI29ZexDz/zh6ETb16ALb2 cLwndSM4rCrU3cwOv23AAyb77hrf6kJEn0onTkiH4lV8vgK6l1kNuZz5hhc0gMD7iGtq cNbaUE008DTB58qUW+mVjmI3cu1qzWPS/QvKNcCY06EIPvwN89+oUrp/4waGCsdADvS0 9tjdfrEPgYaFSMOdh1GGu+k7NDESjETbJC18cONIA6+N1KpiZcjuXz5PjzLfZVDEbKDG jSE/TGV38rpy7vf8Eb9MQV818MQfX0HaBauBvPhBdCBbIc90odeTlMS70g5HV1b4jwuN DkKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=SxfNmMJpb1u2R8+5lWhRwoRvO3HIKT6SZLXdeL2BvWU=; b=G7CQGOzQkqQvPdMCs72/KU17MO0RNY28yhL6D0yxGPIdE7PTa1UCKV3tuddiD86wQW J2hATiTVmAhGjqpE2HMh/t9dG9czoXQeqjodl2DO2RE0rvjmB+2+iX/hFtfhAulLboNF O9bM+IEENGsEV/Z5Xq0n8gICSC84MyxwO5NGaboelNeARcJ91f7UJqwMkVehsmCODI8w owV3V4m9nbQKybtfdj0oKyzsyC5x8K7uyaSkITAQZQ1I/m7ymQ+OqEJssmBO6qxsUtMZ hIrlg8Zd1ISU6amYE0Z41+ELUeC8hkdsWrXLaw2mUdQHGRSibDvmF95ZzngapXKGPFcf mRfw== 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 n1-20020aa7c441000000b005047d814ee0si509384edr.1.2023.04.07.00.04.57; Fri, 07 Apr 2023 00:05:23 -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 S232559AbjDGG6x (ORCPT + 99 others); Fri, 7 Apr 2023 02:58:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbjDGG6w (ORCPT ); Fri, 7 Apr 2023 02:58:52 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 087817DBF; Thu, 6 Apr 2023 23:58:51 -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 B52D424E2EE; Fri, 7 Apr 2023 14:58:49 +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; Fri, 7 Apr 2023 14:58:50 +0800 Received: from [192.168.125.82] (183.27.97.179) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 7 Apr 2023 14:58:48 +0800 Message-ID: <5dc4ddc2-9d15-ebb2-38bc-8a544ca67e0d@starfivetech.com> Date: Fri, 7 Apr 2023 14:58:47 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 1/3] dt-bindings: phy: Add starfive,jh7110-dphy-rx Content-Language: en-US To: Krzysztof Kozlowski , Rob Herring CC: Vinod Koul , Kishon Vijay Abraham I , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Jack Zhu , , , , References: <20230315100421.133428-1-changhuang.liang@starfivetech.com> <20230315100421.133428-2-changhuang.liang@starfivetech.com> <20230320151437.GA1709620-robh@kernel.org> <06a17138-cccc-1283-d235-fa54275c1651@kernel.org> From: Changhuang Liang In-Reply-To: <06a17138-cccc-1283-d235-fa54275c1651@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.179] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.2 required=5.0 tests=NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 On 2023/4/7 14:54, Krzysztof Kozlowski wrote: > On 07/04/2023 08:51, Changhuang Liang wrote: >>>> + >>>> + resets: >>>> + items: >>>> + - description: DPHY_HW reset >>>> + - description: DPHY_B09_ALWAYS_ON reset >>>> + >>>> + starfive,aon-syscon: >>>> + $ref: /schemas/types.yaml#/definitions/phandle-array >>>> + items: >>>> + - items: >>>> + - description: phandle of AON SYSCON >>>> + - description: register offset >>>> + description: The power of dphy rx is configured by AON SYSCON >>>> + in this property. >>> >>> Sounds like AON SYSCON should be a power-domains provider. Custom >>> phandle links are for things which don't fit standard bindings. >>> >> >> Hi, Rob, >> >> On visionfive2 jh7110 SoC, this AON SYSCON is the Secondary power switch to the DPHY Rx. >> When we open the pmic switch, we also need to configure the AON SYSCON register to turn >> on the switch, it is used to link the pmic and the DPHY Rx, So I think it just use syscon >> framework is enought. What about your comments. > > Which sounds exactly like power domain provider... > OK, thanks for your comment, I will try to use power domain framework in next patch. > Best regards, > Krzysztof >