Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp624673rwl; Wed, 12 Apr 2023 01:31:15 -0700 (PDT) X-Google-Smtp-Source: AKy350Z9nasC7qkJe0ZLH4rA2olXjBec8HzHIdHC0e/3rlRVpOOeVpFwAZM4TEnqK5BH2vMMAyQN X-Received: by 2002:a17:906:916:b0:946:c022:8979 with SMTP id i22-20020a170906091600b00946c0228979mr12189793ejd.21.1681288275100; Wed, 12 Apr 2023 01:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681288275; cv=none; d=google.com; s=arc-20160816; b=cpFm6R47hr9w2glf+w/PxuNI7C403/0Og710ufvcS4WlHka2jvm6ac8eeTvlph5PIf ou+H0XkDmNBR5d4bZwOuKUzaKwDmzUs4eqzNZZWf/h3J1FC7fVIekORj4BjsARt3UCkJ h6kZKgIlZ2IE6hbBt72ESl5XOdDf1BUGKt9a9Pq3LGoYIflKzEZ96dVsyqOJZltXc+QR oR79w7PW5Fr6vbFqnXQPol2+kacZTBt4qfNm+zMRU+ZFaEA+aAhzao1mQ7J0pJNuYk2h 3s+wQZHNZz7E9huzU9O3MT/cBLCCTyrDnv40s44mpwyqmMjIQDbSgIqV+hrkCcYp3S8l WVNg== 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=jd92r82riwJsOveYZKHTDW/KsSsFPyivg2ELpgoEsB8=; b=MUxo/CU5WUsEE7m3GJ0oKEOnsGRPJ0ez+SbvkUMIXGlI2xmvBAOnAT8OjZjnObmNmQ HOa5z7aL4OAtzN3JJWK5860Hy+w5Aji01Lkkfe7pp78SNrf3Mi6BokA3lAxzyhdyR2IM Gve+aWyf9VKgbdwgVpU/av/tRC13NTTzgI4UcibRsGdkZwBUx2PRhTeLJLXnhMdkzeMC bydAp+o/WGsMDxBNb9qVHJ2VhbpyXRz7QETZcMxKniClQEF+JPhfGCO6YrG5K4ySwKyB 76ePM+YIgIP8xkU5aE7KR7LsHjenOLLdFiHkjnleAsuob6CLylKNwQ2sBvYwbG9hGQuF ywiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PUSbPGzi; 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 kt18-20020a170906aad200b0094e0d3e873csi4222275ejb.563.2023.04.12.01.30.48; Wed, 12 Apr 2023 01:31:15 -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=PUSbPGzi; 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 S230008AbjDLI2h (ORCPT + 99 others); Wed, 12 Apr 2023 04:28:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229949AbjDLI2f (ORCPT ); Wed, 12 Apr 2023 04:28:35 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9360B186 for ; Wed, 12 Apr 2023 01:28:33 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id kt17so14590532ejb.11 for ; Wed, 12 Apr 2023 01:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681288112; 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=jd92r82riwJsOveYZKHTDW/KsSsFPyivg2ELpgoEsB8=; b=PUSbPGzizsrr+vFCMuzzRcGEUYcTlSjWUG024UhbJUVEC9efv7g2Znddtmhck85VUH TzDnIdpCWArQsdfyoqA/Gh9Jj/aD3sWUro5uHXlzVOPgUXVCEQoO/I2k2S49uBZIjELG Z90g07/D+8XZY6CNGW8T8gXOrGbGPZss0z+y8a0W7BUnMXbS0ROHvFLH+gX8swuE38GO dfdMY8eYn8ddEpQ+5kkH237k5Oeu8Sb+hNOMbHpeZkMCSdrf+CG+bhXv0V2oAK11CsTr pjFK+TfyZxDTDw7vZp81KQdD/581KEBQMeLy+lqignQkEo4ApuXJGIqaEyDJBGm7qhFQ 0W6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681288112; 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=jd92r82riwJsOveYZKHTDW/KsSsFPyivg2ELpgoEsB8=; b=QI02HSZ9Yi6QR0YrDfRHlXlZWu+UBbTg7ZJRMgl2BmAcOFkX9Cgy0SGHJjPSTiRfZV mi+FP1rjtco0qKETAen3iDei2ylZPq9d+rzbTDTuu4EyS6urepJ1xXxdkCogpGtiS5cw hz1in1ykvy8713tANgcvhIcGEDtG+dwNkvkAJLNkc8/UDdWHYl7+a4BFYUcqwLCJBeTh F/M0Cww88/3MRCO/TTj/HTvzDbRS2hHaawX8JSXusvNXVGOEZTsIZsok7+q8Hf5rKeBL cvSH7Tplf/M1y0q2VKAzW9I0A4e8HWLKXy2x9hQu4v5BtUSsZdaM2uGrATSIoOG6YaLV ZfpQ== X-Gm-Message-State: AAQBX9cgPqiGiDxw5VhVxei92U5zbNAfFfqCmCsZhcuJ5ov4JqGdgy3q fqxXeN7DzAvf/NqjOAHGvzpvwA== X-Received: by 2002:a17:907:703:b0:948:b9ea:3302 with SMTP id xb3-20020a170907070300b00948b9ea3302mr14702454ejb.1.1681288111982; Wed, 12 Apr 2023 01:28:31 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:8fa0:9989:3f72:b14f? ([2a02:810d:15c0:828:8fa0:9989:3f72:b14f]) by smtp.gmail.com with ESMTPSA id f17-20020a170906739100b0094e5679dd2csm532308ejl.165.2023.04.12.01.28.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 01:28:31 -0700 (PDT) Message-ID: <38575aee-139c-688c-21a0-69844e5ae1c2@linaro.org> Date: Wed, 12 Apr 2023 10:28:30 +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 2/7] dt-bindings: phy: Add StarFive JH7110 PCIe document Content-Language: en-US To: Minda Chen , Emil Renner Berthing , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Pawel Laszczak , Greg Kroah-Hartman , Peter Chen , Roger Quadros , Philipp Zabel Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org, linux-riscv@lists.infradead.org, Paul Walmsley , Palmer Dabbelt , Albert Ou , Mason Huo References: <20230406015216.27034-1-minda.chen@starfivetech.com> <20230406015216.27034-3-minda.chen@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20230406015216.27034-3-minda.chen@starfivetech.com> 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=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 06/04/2023 03:52, Minda Chen wrote: > Add StarFive JH7110 SoC PCIe 2.0 PHY dt-binding. > PCIe PHY0 (phy@10210000) can be used as USB 3.0 PHY. Subject: drop second/last, redundant "document". The "dt-bindings" prefix is already stating that this is documentation. > > Signed-off-by: Minda Chen > --- > .../phy/starfive,jh7110-pcie-phy.yaml | 58 +++++++++++++++++++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml > > diff --git a/Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml > new file mode 100644 > index 000000000000..1b868f75ddae > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/starfive,jh7110-pcie-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: StarFive PCIe 2.0 PHY JH7110 Unless you plan to add here more compatibles, but then use enum for compatible, not const. > + > +maintainers: > + - Minda Chen > + > +properties: > + compatible: > + const: starfive,jh7110-pcie-phy > + > + reg: > + maxItems: 1 > + > + "#phy-cells": > + const: 0 > + > + starfive,sys-syscon: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + items: > + items: > + - description: phandle to System Register Controller sys_syscon node. > + - description: PHY connect offset of SYS_SYSCONSAIF__SYSCFG register for USB PHY. No improvements here. > + description: > + The phandle to System Register Controller syscon node and the PHY connect offset > + of SYS_SYSCONSAIF__SYSCFG register. Connect PHY to USB3 controller. > + > + starfive,stg-syscon: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + items: > + items: > + - description: phandle to System Register Controller stg_syscon node. > + - description: PHY mode offset of STG_SYSCONSAIF__SYSCFG register. > + - description: PHY enable for USB offset of STG_SYSCONSAIF__SYSCFG register. No improvements. Best regards, Krzysztof