Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2532802rwl; Thu, 6 Apr 2023 11:33:42 -0700 (PDT) X-Google-Smtp-Source: AKy350Z2ytVWP5lfvDagbsuI6xIGzFKdM7pvufKKpyPxPOhUk0eAzlDk3OtdrUUr8lkF5Agoiwok X-Received: by 2002:a17:906:5e05:b0:946:f79b:e785 with SMTP id n5-20020a1709065e0500b00946f79be785mr7777177eju.2.1680806022230; Thu, 06 Apr 2023 11:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680806022; cv=none; d=google.com; s=arc-20160816; b=g7H8nZDk0CEkZ9wgiDRPE2HwBwIXEZbJFyaL0LTagaEASoyquRCaZGitK9+xE77RkQ J4t1Jxv7IpbKAxCCY/KtVAuTNA7oc5wpDsf/Pjee7f9URn3vnvvXZ8ccKOd7CR3VBSG1 72jRekq7e4GN98KYWmFYgoKmjjtBUhCm/vR96kdL7uK6OaMIbeo3m9fd08IsJs6LaFrS 0hf3J53glw7kVhtj4tywpvpNoWFKB+kMd1hZBSzBq4u0DglieDB3wKbRCaHnYX4mQpNm tUx+yUwHu6WGaDHBRKHXT9B5bl5U/0U9igCYSbP9BB36zd5fhuEoqeyjYsftc5vX0tVm b0xg== 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=H8xOnV6tCyOvs2gyhgdBhfMQe4yUXu7o2kH7bC3OOGM=; b=L0EzAsM644AUBqZND6w++MyDHsATiijSbnyLdBdgJXykSiutfdh8cMUFKr0Sih1dZJ 1mPcwO/adRFduEo82Uf/10vIKv3F9HgqD361LzVN0bgC8qjq5S7O77gseVBAYV1OVa33 bApRgzb1akAt5NBngEYyUNcb3VWts+K3kUAwg888RqWjk2c34vm+e75tTt/7M0gfgMcW PwjsiWSl2EySsFwxDUu1yHwG3CfbI4GcaF7zEy9C0dFg/Zg0e/Saq/uZLnCbLkdjch8t FolVT5qyu3rChaH02eJcTBgbYc7xKhDmC6U5OQlVGmSYYaWqkinyapelXMtnLxSB061P muZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b5iOLOQn; 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 mf2-20020a170906cb8200b009328d67f308si476478ejb.503.2023.04.06.11.33.16; Thu, 06 Apr 2023 11:33:42 -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=b5iOLOQn; 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 S240136AbjDFSaJ (ORCPT + 99 others); Thu, 6 Apr 2023 14:30:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240186AbjDFSaG (ORCPT ); Thu, 6 Apr 2023 14:30:06 -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 AF48E83FB for ; Thu, 6 Apr 2023 11:30:03 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id sg7so3566636ejc.9 for ; Thu, 06 Apr 2023 11:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680805802; 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=H8xOnV6tCyOvs2gyhgdBhfMQe4yUXu7o2kH7bC3OOGM=; b=b5iOLOQnrmb7I5cMr9PLoh+DDsoWrJ+Ww372OHESD7omSrAJR3M++5RGQVCCpEMnqV +ZPdYWfc0xJRascTYU+atPwFyQEhrdeBEsknBfAgsySMLj6L20we/1yAjDE/6rLxYHjy yxaS6JvdEk90suKMGRKGt3PD4FqAGSu9UfmsZiI28Hx3I4nmZYoAqHNT8DiNjLh4gwDI DTwKATnpSPviipdh3ORflYJW9yZh3A8emn00RrbRuNwrBCAfT7kk2ru1o5Ofzzy526W3 PpFKlhgOvB+XXmGcaOTYhvCtapYcaJae29qE4dUeYQc1+s4f5zfr2GdPetEtghIFTSEZ pejg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680805802; 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=H8xOnV6tCyOvs2gyhgdBhfMQe4yUXu7o2kH7bC3OOGM=; b=OD8N3YhIbXwvOfjCdzBKZ1IrtF0d8YTWmWwEjJfDhRcJPUUdAHBVw3DV2tSKVom3T5 VuA0VKJAWJUccZdtjNtJ7ZucfBH42aMfCijNQuMZEiRY39N+zgmGurEbaVXT6BWyUPg6 birXPgMB6wOTgq74uwcyNsCFXsUasa8zYA8WRY0HLng9GRepuhKmXZza45VDG1WS/aES xxb62wXyzMSw98nT/ctnusTxYo6ncrEYNhtQeH96AKxEYfPcWnW2Dy2/v/pvTJI8m7fV EqKQZJt/ToZZjrywLiJp3C9+mgyYYDAcsp6lCifBnT1RttSabdZLUB3aZhqGXxZohHvG H6Bw== X-Gm-Message-State: AAQBX9e22i5CjqZQBHCqKim2dWIaIBWZgIVSaTGSwBDAHHlvjNTzbrTJ C2mVeNANzLUvWS4MjcmOGFTbgA022wxcYtyhlB8= X-Received: by 2002:a17:906:3b86:b0:8de:e66a:ece9 with SMTP id u6-20020a1709063b8600b008dee66aece9mr7792594ejf.24.1680805802128; Thu, 06 Apr 2023 11:30:02 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:49e6:bb8c:a05b:c4ed? ([2a02:810d:15c0:828:49e6:bb8c:a05b:c4ed]) by smtp.gmail.com with ESMTPSA id fy29-20020a1709069f1d00b0093313f4fc3csm1124541ejc.70.2023.04.06.11.30.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Apr 2023 11:30:01 -0700 (PDT) Message-ID: <833b68a5-263d-d293-4910-2ca50b43e60d@linaro.org> Date: Thu, 6 Apr 2023 20:30:00 +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 v7 1/2] dt-bindings: soc: starfive: Add StarFive syscon doc Content-Language: en-US To: William Qiu , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org 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> From: Krzysztof Kozlowski In-Reply-To: <20230406103308.1280860-2-william.qiu@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 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. > > 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. > + > + power-controller: > + type: object 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