Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1755798rwl; Wed, 12 Apr 2023 18:37:52 -0700 (PDT) X-Google-Smtp-Source: AKy350ZMu0GKuwC6mBrIQ7zciKevSH3aV39yAegNbt3q4AlzFat/f9tnBZSFv1N26HuJEnmMrEoZ X-Received: by 2002:a17:906:4712:b0:92b:34cf:16a with SMTP id y18-20020a170906471200b0092b34cf016amr769298ejq.52.1681349872075; Wed, 12 Apr 2023 18:37:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681349872; cv=none; d=google.com; s=arc-20160816; b=LCygWtWdEInP//9CH6itcxat6nopP/fhWZ9h2zQD9LdiAVf7YM5oZJtEBzxQkzx8OD 0vICOKune4JKKmeIeRD35UrWZ1ily68SbC1aJhdLppxaaQsbHUfP1bZXb6iIy1AmjEgZ 0iZd0Rs6XtCu482lO4wJFzNhnzGPtLq3l+/Om4HYwuKFCHjBGo9d7ywUKCwVFiunIr6o xLMNpuD61sQy4dZUEMumuNCvt5oy31Hhn5GA+T7fCSgKfft8jDlZjSONiwEutSkx3Okc WuOTIBAisLuix0tDtvaZPvR7qefJFpEKI00/jM74qt/It13GAzL136+JqZGWGKGmFDfL D9uA== 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=2cSMSzx0gyYoyL1sqR/qclzIfn2gglyZQJiFIjGySfI=; b=TSao0mRJ913i0+nD2yWowVh6JcerrN3DfrRMeNxkutDF5cAuFOfBhfWzOzjPxTm/vD uIKYLCYnevw7GYL099FqjzDIfTmrrRF+Qj169akonfjv7Lm1EFuuiYBaOflauJ/MKskd oLJVf62a1s8tOcMKS03TCS3y3H/1eSX98ws4J0Wvfdkz8Lt0PudhjWbV3LKzXBrtxMC6 KPfGgYIuuaUD3q2npQpN+4kh1CFElfeN2mp+lzivqibmcvhCSpdfXBmennIgfUeDSR5K jKGmCNQL5+4+MpnG3SBozobOgWXwMjCwUy9BXtRiCMkH4k4wscPuZE8sgTwaxeLD5YMi lSyA== 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 ew21-20020a170907951500b0093345001d1dsi412973ejc.498.2023.04.12.18.37.27; Wed, 12 Apr 2023 18:37:52 -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 S229729AbjDMB3j (ORCPT + 99 others); Wed, 12 Apr 2023 21:29:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbjDMB3h (ORCPT ); Wed, 12 Apr 2023 21:29:37 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 190306E86; Wed, 12 Apr 2023 18:29:34 -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 fd01.gateway.ufhost.com (Postfix) with ESMTP id A4D907FEF; Thu, 13 Apr 2023 09:29:27 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 13 Apr 2023 09:29:27 +0800 Received: from [192.168.125.82] (183.27.97.249) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 13 Apr 2023 09:29:26 +0800 Message-ID: Date: Thu, 13 Apr 2023 09:29:25 +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 v4 1/3] dt-bindings: phy: Add starfive,jh7110-dphy-rx Content-Language: en-US To: Krzysztof Kozlowski , 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 , , , , References: <20230412084540.295411-1-changhuang.liang@starfivetech.com> <20230412084540.295411-2-changhuang.liang@starfivetech.com> <8dd0dc63-e0df-8764-f756-da032d9d671c@linaro.org> From: Changhuang Liang In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.249] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 2023/4/13 0:55, Krzysztof Kozlowski wrote: > On 12/04/2023 14:42, Changhuang Liang wrote: >> >> >> On 2023/4/12 19:34, Krzysztof Kozlowski wrote: >>> On 12/04/2023 10:45, Changhuang Liang wrote: >>>> StarFive SoCs like the jh7110 use a MIPI D-PHY RX controller based on >>>> a M31 IP. Add a binding for it. >>> >>> So this is D-PHY? Or the other patch is D-PHY? The naming is quite >>> confusing and your commit msgs are not helping here. >>> >>> Also the power domain phandle here adds to the confusion. >>> >> >> Yes, this is DPHY, DPHY has rx and tx, and last version we are discussing that >> use power domain replace syscon: >> https://lore.kernel.org/all/5dc4ddc2-9d15-ebb2-38bc-8a544ca67e0d@starfivetech.com/ > > The other patch - DPHY PMU - is confusing. Instead of writing short > commits, explain more. > OK, I will add more commit message in DPHY PMU dt-binding patch, for example: dt-bindings: power: Add JH7110 DPHY PMU support. Add DPHY PMU for StarFive JH7110 SoC, it can be used to turn on/off DPHY rx/tx power switch, and it don't need the reg and interrupt properties. I think this commit message will helpful for you to distinguish them. >> >>>> >>>> Signed-off-by: Changhuang Liang >>>> --- >>>> .../bindings/phy/starfive,jh7110-dphy-rx.yaml | 85 +++++++++++++++++++ >>>> 1 file changed, 85 insertions(+) >>>> create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-rx.yaml >>>> >> [...] >>>> + >>>> + power-domains: >>>> + maxItems: 1 >>>> + >>>> + lane_maps: >>> >>> Why did this appear? Underscores are not allowed. It looks like you >>> re-implement some standard property. >>> >> >> Will change to lane-maps. >> Yes, according to Vinod advice, lane mapping table use device tree >> to parse makes sense. > > Hm, I have a feeling that I saw such property, so you should dig into > existing and in-flight bindings. > > Best regards, > Krzysztof >