Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1257983rwl; Wed, 12 Apr 2023 10:08:40 -0700 (PDT) X-Google-Smtp-Source: AKy350YHqVGD4jnU1gonZLj1QeB5+F1B3Qx7EyaSfrlNk6gisXBDLwRLgCU8o8qopktzE6sDVjU+ X-Received: by 2002:a17:907:8694:b0:94e:6504:d134 with SMTP id qa20-20020a170907869400b0094e6504d134mr2748541ejc.42.1681319320107; Wed, 12 Apr 2023 10:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681319320; cv=none; d=google.com; s=arc-20160816; b=kFZ2yO2//OBg51ITP9w3oG1Rguoil34UYzhY6Fo7yAhUKAFqm02rJYk46M5R09JCiN k6XR7bwuQQaXerg8OsUusIC3FiKfAZxutFQsZfZHAZoWeiCw8N+H34Ql6giVzrohMqIN 9J1cK1Ef4kXaW2PmwpLD7XqkZDb3jGwOEh+L7cHu+D8TQE8kVDhUb/LNFM+xm+YZGFGE BvhOiVvs3CNlRn+RkItdnUIVCInpbubTDYowvhDE+Y58ENhHTIgz50CQIE44iLwzQaRv BllCZ+/vZHDuVUp82UCvhaS/lgas7w+BqYWD3EeT8WUtRJo24uPYynQWsaG2r0A0vrgs MgJw== 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=mL1Dmw1t8cH96ZKM0Y0rJ8RmORlNySoRf2nYIAB9Jzo=; b=hnPCBsLdvrHzaVuP1AXoFCweFdOf7RkcaCJDMZ0NLaHPYbucfAK7JB/5FL4reOCViS TcP3VhXI89eH9O5yLogxURSft+icZ2To6KxigY5lLXRj4FAs7JH97ZBNLthjk+5xbSQ0 oF8QhQ7+y276zs2+NJDZLCmdzR0vQgEh31ofrI+IbGojGMJBJ6XchtlfdVyx8jf/fbJh zb0teN8TzAVJf4TeiXRUV/rh4wQ0eXlu8yRZGrDvmxeOSBiQofdv73ZQERxefWUdt7ir uebfdACrtx3dWXs1XMbLji+80l7Wh8qLRBZolYMTRg7Rh0Zn/70A8b1I8/8y2QYjSdmt 7fTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d28p+fne; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a1709065dd200b00947bf51f947si1830155ejv.276.2023.04.12.10.07.42; Wed, 12 Apr 2023 10:08:40 -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=@linaro.org header.s=google header.b=d28p+fne; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbjDLQ4X (ORCPT + 99 others); Wed, 12 Apr 2023 12:56:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229928AbjDLQ4V (ORCPT ); Wed, 12 Apr 2023 12:56:21 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31CCC76AE for ; Wed, 12 Apr 2023 09:55:52 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id j17so20865438ejs.5 for ; Wed, 12 Apr 2023 09:55:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681318533; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mL1Dmw1t8cH96ZKM0Y0rJ8RmORlNySoRf2nYIAB9Jzo=; b=d28p+fne4GmzRaXHcfIxScgVDg2XtPaJGzWNaeaYsnNrQP/mFYMAIAV3JVbIhWDMbu Fa+/y0rOjrQPkLzfSI6ggc0jbtP9nYDqnOK077i5kTPh8kOdV3bpjER9aYcC8vx/sHXf HdT2ny8s6RCRLIUyjNv7y+Ibx+zZyzkG8t5szrFkZzvxweU3bHSpAcmn+pNldAXxUH8d p1ZhmAYs7zvjgQiOszonoIM3nAVZ/FLwjfVIHk9otAEY6sN0RaSz9SJ3uqwLgFyz5u8A wEZkcdzxtdnDXXTnp4vMPvK7zFjOCAV86N8J/5DyF+XoPB3yX3zTK3yYn/4clac6Z2gG bFMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681318533; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mL1Dmw1t8cH96ZKM0Y0rJ8RmORlNySoRf2nYIAB9Jzo=; b=L4CBK2Fs4BfTZ+PC3V5Y650Wg0xuUbyAQVOcHQNSOqb2KGehmOl9WEYEOqITsnO57l eGgmBYEc+iURhAdxoa1cER//dHEwprAbfJMm/Sm6bzuKsP+Bmq0A8pWoK/E2yp8WJWK8 WoIEYNrtIyNFgaSjSEJP3oJ5sNdbnPPqTTX5QPlWFkPxkLzXeNV3UPFzR0ED/qqkzDfi rDca6f1x5m0H0eSzAdda/5HK95nDYNXJ78Nf9+Os7ICMdSEcEbGhIHAFs4oc+YYVmzSO bH1LqGKznJuEN9Mn8SEcvnRiT+9qijJljkLE3ljqsXDRlXaGroQCnTALaRKz/bsn9L66 zSQQ== X-Gm-Message-State: AAQBX9cY0ubffHbn1MCfepEKoNN2RyYzeJxoW9fCh5y/VSmaY/Kf+tde cfAph0+I2kQa/sjU/E95sNlG3g== X-Received: by 2002:a17:906:538d:b0:94a:582d:169f with SMTP id g13-20020a170906538d00b0094a582d169fmr12936153ejo.5.1681318532872; Wed, 12 Apr 2023 09:55:32 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:938a:b3db:7c59:795e? ([2a02:810d:15c0:828:938a:b3db:7c59:795e]) by smtp.gmail.com with ESMTPSA id f9-20020aa7d849000000b00505034c27b9sm822863eds.28.2023.04.12.09.55.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 09:55:32 -0700 (PDT) Message-ID: Date: Wed, 12 Apr 2023 18:55:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v4 1/3] dt-bindings: phy: Add starfive,jh7110-dphy-rx Content-Language: en-US To: Changhuang Liang , 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 , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20230412084540.295411-1-changhuang.liang@starfivetech.com> <20230412084540.295411-2-changhuang.liang@starfivetech.com> <8dd0dc63-e0df-8764-f756-da032d9d671c@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 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. > >>> >>> 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