Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp612137rwl; Fri, 7 Apr 2023 02:34:55 -0700 (PDT) X-Google-Smtp-Source: AKy350aBgj4OLIAckdpCWbj4mYu18g2T65jQU4Gs3JLSU/2J9/bYI6hteFrcIUH6gRv5OGnLZVRy X-Received: by 2002:a05:6a20:4fa2:b0:da:5e10:799b with SMTP id gh34-20020a056a204fa200b000da5e10799bmr1904582pzb.10.1680860095567; Fri, 07 Apr 2023 02:34:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680860095; cv=none; d=google.com; s=arc-20160816; b=pVXsy3b5hftsrEJ0XGFGpreteXKIkpXm8JJ/l77yq8GHkgTORGzKZuapUJA2knChlh kqspgvJmHZ+nQlJedJhg5NVRwXrO3JlNRuZrNBkmcY9baeRk/7mLbka+buZHLc1EGXTd g1Ebp+QrMMS2UAhlBvShah+FcITeeMhVU9ty3MeGKFT8LSYt27seYP//3OYQ44Qd7iPE +uIyixfK45yMv9TP4XMt3lI1cCUo7yZAmY3+ZP9/xMA5eALHW5e3FUo/yxyd0Bt8Ku3z I1D3zGwFa87y425GL4Ue+7GjILFtc1EkYNbsvwc7EG0mjay6yr68H7vkCV/IJl2P68DA V+4A== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=DxBtWBopK1Y0Bv3KkADmrpfQU9L5wvxGANUrzKoee1k=; b=o7oFw5lanzXYmfOKZ193K6aaqGDzQ1HOoOX8MamBGVIhvIjTnJdEJf2hNZGsfDSRy5 kr/1TqoBUCl3rFzXW70gtWOzVvfgo6GA7ZtSauY05MX/XyJcHyKPf7Zswkuzps5dOjRr Z7xbL3v9D6QeZjT0rYwngjIzTec1jSLWOFDR5QgW31qRbk9wmkTjlJ4HJ0I6nmSm4wIX t47+TTJQom6RP03OuUrGiUsuRFH0ZWZvK3iCjCz+UHI8L51zvuTI7V7BoWluSXV8bVkT fP0BUsYZndOfosD1XQXDTJnd+UcxgJfXSXui24cPOL6d3SMhlB8etODjuCaW4Y/CgmNE nbww== 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 y14-20020aa79aee000000b00627e8781dbfsi3321577pfp.266.2023.04.07.02.34.39; Fri, 07 Apr 2023 02:34:55 -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 S239268AbjDGJan (ORCPT + 99 others); Fri, 7 Apr 2023 05:30:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbjDGJal (ORCPT ); Fri, 7 Apr 2023 05:30:41 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F50A902D; Fri, 7 Apr 2023 02:30:35 -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 ex01.ufhost.com (Postfix) with ESMTP id 319A924E245; Fri, 7 Apr 2023 17:30:33 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 7 Apr 2023 17:30:33 +0800 Received: from [192.168.120.57] (171.223.208.138) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 7 Apr 2023 17:30:32 +0800 Message-ID: <2ce35d68-ae6c-129f-588e-9b292de3a654@starfivetech.com> Date: Fri, 7 Apr 2023 17:30:31 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v7 1/2] dt-bindings: soc: starfive: Add StarFive syscon doc To: Krzysztof Kozlowski , , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Emil Renner Berthing" References: <20230406103308.1280860-1-william.qiu@starfivetech.com> <20230406103308.1280860-2-william.qiu@starfivetech.com> <833b68a5-263d-d293-4910-2ca50b43e60d@linaro.org> Content-Language: en-US From: William Qiu In-Reply-To: <833b68a5-263d-d293-4910-2ca50b43e60d@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.0 required=5.0 tests=NICE_REPLY_A,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 2023/4/7 2:30, Krzysztof Kozlowski wrote: > On 06/04/2023 12:33, William Qiu wrote: >> Add documentation to describe StarFive System Controller Registers. > > Subject: drop second/last, redundant "doc". The "dt-bindings" prefix is > already stating that these are documentation files. > Will fix. >> >> Signed-off-by: William Qiu >> --- >> .../soc/starfive/starfive,jh7110-syscon.yaml | 56 +++++++++++++++++++ >> MAINTAINERS | 5 ++ >> 2 files changed, 61 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/soc/starfive/starfive,jh7110-syscon.yaml >> >> diff --git a/Documentation/devicetree/bindings/soc/starfive/starfive,jh7110-syscon.yaml b/Documentation/devicetree/bindings/soc/starfive/starfive,jh7110-syscon.yaml >> new file mode 100644 >> index 000000000000..0d0319426b67 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/soc/starfive/starfive,jh7110-syscon.yaml >> @@ -0,0 +1,56 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: StarFive JH7110 SoC system controller >> + >> +maintainers: >> + - William Qiu >> + >> +description: | >> + The StarFive JH7110 SoC system controller provides register information such >> + as offset, mask and shift to configure related modules such as MMC and PCIe. >> + >> +properties: >> + compatible: >> + oneOf: >> + - items: >> + - enum: >> + - starfive,jh7110-aon-syscon >> + - starfive,jh7110-sys-syscon >> + - const: syscon >> + - const: simple-mfd >> + - items: >> + - const: starfive,jh7110-stg-syscon >> + - const: syscon >> + >> + reg: >> + maxItems: 1 >> + >> + clock-controller: >> + type: object > > This should be rather specific schema, so $ref. > This would be $ref: /schemas/clock/starfive,jh7110-pll.yaml#, but this file is not available at present, so I would like to ask if I should submit the documents instead of Xingyu >> + >> + power-controller: >> + type: object > Will fix, it would be $ref: /schemas/power/starfive,jh7110-pmu.yaml#. Best regards, William > Same problem. > >> + >> +required: >> + - compatible >> + - reg >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + syscon@10240000 { >> + compatible = "starfive,jh7110-stg-syscon", "syscon"; >> + reg = <0x10240000 0x1000>; >> + }; >> + >> + syscon@13030000 { >> + compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd"; >> + reg = <0x13030000 0x1000>; >> + }; > Best regards, > Krzysztof >