Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9859430rwr; Thu, 11 May 2023 23:41:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Mh3WukE02lSQ8mHpgho5BcZ7DiaPdAY9J0hWU/K5TKq3cwDe/jV+gYPCUpG8lo+ggoTJ8 X-Received: by 2002:a05:6a20:4408:b0:101:6be3:f675 with SMTP id ce8-20020a056a20440800b001016be3f675mr15285633pzb.17.1683873700816; Thu, 11 May 2023 23:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683873700; cv=none; d=google.com; s=arc-20160816; b=WNxEaGCSTMQ2oikcRQsv8bXoF1E+SXFzPSmZ1CMCzqErtMlTNRFkys+/6uhZUJWA95 dgCgtkJoPKwJC53P2zAS3QRbYYMsjtLGja9wYsfDHZtFq+RPa0uK5xfROXZrqo9N0kGp xMYzwoAmuZVf6araa7aGcjzOyBUR+G780Cf8cSscu4gNWi9H3M2OqntipamtHGh8CbX5 AKyaReCqhW2dHjMFRLg41sK/7YyzHcqrRZN/NHm465kqtLq6oadvJ9bTr722Aq1PK9rO rZ8SjXjcO83AcsfZIy4DwnDUNUPbMWv6rgnG25L4QeNyLv7usvm4MEauMHQYok4TF4zT P1Gw== 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=aTgXqw1DQiVxfPuVhpWdkrrVopkfZHC/fCmNPR7iEmw=; b=wMbB1z5HShKcB1n4+BzA+pEuA8w1rakzT5704MnEpDYMAT424telFpiNIgpXHlfaTN syFRSyn9ZXp8cu4c4ZR74wG05ZYs0IDFjBOXDZix4pwjoK86wYC+6NADPAt5StCuVohI SBSO3avnz0CuF6MJkCZa3F/3hTPHRVAMi8/JUxme2riUm+X+qpm1kqEGFt3l5PqG+IzV ml8/OiOBYWgjQD3IKoTIX6YqbtKQoaJB+EXiSeftFH/RHU4MjBQOqeN975r/hW7iO3a6 Dq8fixJTQ0kA7CG8qFf+DiwxTwgfyt8K/Ijeu+NiPEoIj9HwkbzNEx/yP+kVqCVUTT4s h09w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ijv3t4S3; 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 pf18-20020a17090b1d9200b0024b55721075si23817916pjb.176.2023.05.11.23.41.29; Thu, 11 May 2023 23:41: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=ijv3t4S3; 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 S240016AbjELGgI (ORCPT + 99 others); Fri, 12 May 2023 02:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240000AbjELGgH (ORCPT ); Fri, 12 May 2023 02:36:07 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBDBF900E for ; Thu, 11 May 2023 23:35:46 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-50bcb229adaso17485899a12.2 for ; Thu, 11 May 2023 23:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683873345; x=1686465345; 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=aTgXqw1DQiVxfPuVhpWdkrrVopkfZHC/fCmNPR7iEmw=; b=ijv3t4S3+ROAAhh3+bMTEFjg8ZUs0YTiAc26pykuzAxOzjR650GGOHIszIsTKdv7e5 edv36KAU1FW9cjS/WYMJE0jPX7q5yM8aQ9L5YFjmhZdf8/6CFq66g92PZpppWqtwz5Pt eXDtMApIONch2DReTW+6j82CFZUFBjejQLutd92NFxkn8yWuqUdqFE2loxb/zZR6bpwn iZ52Rcj9yFx3f1+Q3dDVYZMbRS1RHIsO2liVGRLBHX/MVUkU1dqa3yk+/uCta83fxNRZ LxfDrwse6A/Fmx4Y7mOm29/3hUb09AOOVTuVSBfRCY4CwU9CvV6C1XmZNV85Wtit0aYS 1FDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683873345; x=1686465345; 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=aTgXqw1DQiVxfPuVhpWdkrrVopkfZHC/fCmNPR7iEmw=; b=MFRmwajFa5Ms/Y4Q89FeTI3EEX9NnPRB9ibyDFtwv/jCxElJB0n+gZFdqowzKJt/Rw cXpELP0f/EYJqBsnupyFGxNj9Ce3gRNP062+ibwJCnanNn6OYswcE6xjkDDSKBITWn5G 6KBM9tDUF72zvwFoW1w9AtRedsuafZZmbjmone0lW9Ba3Wf+71dkYRJhAN0pu/I9PCnf NXAud4fHTgJClMnop/SPsIc8DfieDwNPOYYuHD8HDBDgVd3l+aqclLpM93DT/8cCn68g Jyj5smOUyZiHgUrbihLkPbDhJY2cejOjJI67UWkzfc/aeOlSuQEqwMmmv/AVN8A9TLXE R4RQ== X-Gm-Message-State: AC+VfDxeY2RiNJJPSCDVbLKZvSd/Bv3WsgNXuVWfp9ifQid5kq8L2Y/g 0mLUaRy0wxSUUM6eLdQqV7tEcw== X-Received: by 2002:aa7:cf16:0:b0:50b:f654:8846 with SMTP id a22-20020aa7cf16000000b0050bf6548846mr18432311edy.19.1683873345196; Thu, 11 May 2023 23:35:45 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:7ede:fc7b:2328:3883? ([2a02:810d:15c0:828:7ede:fc7b:2328:3883]) by smtp.gmail.com with ESMTPSA id d16-20020a056402001000b0050dfd7de30dsm1100820edu.94.2023.05.11.23.35.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 23:35:44 -0700 (PDT) Message-ID: <2fb8c88a-dab5-791b-eefe-c983decad5e8@linaro.org> Date: Fri, 12 May 2023 08:35:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v4 5/7] dt-bindings: soc: starfive: Add StarFive syscon module Content-Language: en-US To: Xingyu Wu , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Philipp Zabel , Conor Dooley , Emil Renner Berthing Cc: Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , William Qiu , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org References: <20230512022036.97987-1-xingyu.wu@starfivetech.com> <20230512022036.97987-6-xingyu.wu@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20230512022036.97987-6-xingyu.wu@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.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,T_SCC_BODY_TEXT_LINE,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/05/2023 04:20, Xingyu Wu wrote: > From: William Qiu > > Add documentation to describe StarFive System Controller Registers. > > Co-developed-by: Xingyu Wu > Signed-off-by: Xingyu Wu > Reviewed-by: Rob Herring You made significant changes. Explain them in changelog here and drop the tag. > Signed-off-by: William Qiu > --- > .../soc/starfive/starfive,jh7110-syscon.yaml | 67 +++++++++++++++++++ > MAINTAINERS | 7 ++ > 2 files changed, 74 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..26dc99cb0c89 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/starfive/starfive,jh7110-syscon.yaml > @@ -0,0 +1,67 @@ > +# 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: > + - const: starfive,jh7110-sys-syscon > + - const: syscon > + - const: simple-mfd > + - items: > + - enum: > + - starfive,jh7110-aon-syscon > + - starfive,jh7110-stg-syscon > + - const: syscon > + > + reg: > + maxItems: 1 > + > + clock-controller: > + $ref: /schemas/clock/starfive,jh7110-pll.yaml# > + type: object > + > + "#power-domain-cells": > + const: 1 Add it to the existing examples. This part confuses me... why aon appeared here? Why power-controller disappeared? I don't think that Rob or me proposed any of this. > + > +required: > + - compatible > + - reg > + > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: starfive,jh7110-aon-syscon > + then: > + required: > + - "#power-domain-cells" > + > +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>; Why simple-mfd? You do not have any children here. Best regards, Krzysztof