Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp487362rwl; Fri, 7 Apr 2023 00:03:36 -0700 (PDT) X-Google-Smtp-Source: AKy350aG9EAST8VPO4u417sgOcUNBdLFcszhevw7m3aDPLrEtXS36DdqeG5Z7ED+AmJK7ZAzHVE2 X-Received: by 2002:a05:6402:1acb:b0:504:7b5e:1d88 with SMTP id ba11-20020a0564021acb00b005047b5e1d88mr740549edb.17.1680851015786; Fri, 07 Apr 2023 00:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680851015; cv=none; d=google.com; s=arc-20160816; b=jZjZDhssPozxwJF2GTuec45pZevA6H8yaED2yehvYEYyiVrl2rJwi9CuBuINwidtNC xz0J3b6YeT9SD7XzK2bP8/u2deqKfCj0SiYHD53a8os8/9wuBalabahjoCYL6A6KmI/5 QOdnGDqrGE3/5irOL9KEBU3q3nvudv8W0u6l6iUQvKllW7z4cEppQ0VNTkDRL64T4wKB TiSm4WqRRK/XMiYvrjngulVp0JNKhI1K8stKJxEQrZoFwm3SdoW3U+hfaj4PIsGAoBex W3ZEf8PV2SPl2ckwE8+h2uMZPZb7SHfg+5NPTfKv4d61OjsmEBnNsGtcS8f4EXzNkzMj FXTQ== 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:dkim-signature; bh=msjmsTP5XUT1V+jIEfLnak/g/r7E1CkkTinc9YN+xvM=; b=uB6An4AScbtUIU+9YISxjDU25M84bn+mW+t5G0Yjw+7XmiYGa/1aK8t9TrwEzT88eM cwN7veaP9SC5lHdUh7QP2dV+4RqxBr8+ISwgY8v5695ZrnFgIrJEFV/WcpfsU4itXwr4 oB+O7wNMvbrYQ4XnTRdr3RRNtnrC8TwkUfYjfLcVVTmXHrhfEpznSUX5o+h8X++IW67j aCtmAUZOii/mcWkX9C++yzI2Rw83Wbvv7BEKMJVVN0wAAsX7obZxPf6VyaqZ6ipvg+Mv k46Yj++VWWlsJ23WCmHnXpPuGbbTYYuel1DgCtZU+i1FMTjuO9hX7XbRrdqwE+JrcF1J UyJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SShh79BJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a50ed13000000b00501ded7c46asi1253344eds.651.2023.04.07.00.03.09; Fri, 07 Apr 2023 00:03:35 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SShh79BJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233094AbjDGGyP (ORCPT + 99 others); Fri, 7 Apr 2023 02:54:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbjDGGyN (ORCPT ); Fri, 7 Apr 2023 02:54:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B18297ED3; Thu, 6 Apr 2023 23:54:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4D565648F0; Fri, 7 Apr 2023 06:54:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AB03C433D2; Fri, 7 Apr 2023 06:54:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680850451; bh=MofKp5WWpnswSysN+v8UPuWgIO1ysl1ijKql/7omvoA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SShh79BJnamvPW8E1TlfuiK9ylW1J5p/ZYfRAze3mIX9G3YlrbL5uGvcyrArRrYh9 4bNl5mkNJsu5e4EsvOM7TMSKyQIrRefIfRHeBl0gGR4FA8Qd9R2VFlrXbGAdUEotw9 IfsbuhssHj7hkpS8prRg6N0QKsC11OXcoDjm6hsqGB85miAcY7HABaR2Aw59XlS88P Dp4Fn4nVSWrlqy22dy/yuGl8g2l3ve5ciKROHTOqHre/seYD5BKGpwewa7dtWblbqL 1W0KFn7QEixcKLHbfH+1YDmdgHCW/ADEFqsfMgkRPA/gPHT+y4czi7W8sXCUugbYQ+ 90MsEKLZZRQhA== Message-ID: <06a17138-cccc-1283-d235-fa54275c1651@kernel.org> Date: Fri, 7 Apr 2023 08:54:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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: Changhuang Liang , 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 , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20230315100421.133428-1-changhuang.liang@starfivetech.com> <20230315100421.133428-2-changhuang.liang@starfivetech.com> <20230320151437.GA1709620-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 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... Best regards, Krzysztof