Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1177832rwb; Thu, 8 Dec 2022 07:36:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf7U2fw3VZzXfO4qkGIQ9xoBij55DMrFVTz0RmYV8em3B5tU6jNkDhPyzwpCFOG15wYcooU4 X-Received: by 2002:a17:906:2851:b0:78d:88c7:c1bf with SMTP id s17-20020a170906285100b0078d88c7c1bfmr63625388ejc.299.1670513763666; Thu, 08 Dec 2022 07:36:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670513763; cv=none; d=google.com; s=arc-20160816; b=RkzjBUj1ZMayWn2/4YF+SdJtFFJJFIKdtgBn2A6Zvw04rIdEz8LKjgxgZcArsZpjLl drsl1GdVn7nwq4ChubiBUeQipAppNmVrvssieMP7CTaxBs0avnBxa+qUUf0TWsPhtXG9 D4/6pV8lVOZjTYV/Cl20J49Y1/hpP4xTvJa7fn8n0I+a1H5AI0r8gc+IQW96RJs75Tm6 53QJyChI+Yu+JdXBR0CS5KimT+qKWHzcuXoT2CNynWs7t35ghYPgaZEIrB7sM8QiuVY2 +M08d5Df8Jr5x0Itc/lOQ5T2e1+AfcgOLYFhdSOqzL4+joNXmbweemarjTNibtzDyCLg 6AVw== 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; bh=5HewZkmE/XbmiqGkBiAL6eVyoYWN54/OAy5rDnF0R5Q=; b=T+pT5zrXFGlehnqB11mo4tq2XnLBybXzLGhSZG8WfrXpcAb+h5QYllQLl6MyKefAbC 4yYNUcsFN6yKyIkH9pJWEw68Ci9/QmKH8yrQnR3+vNf1azZB9d1Agx+LmNd0r/vJD+2N siSKcYj7IQT9PBYm1SwTZ2G4ZaZxOKfQqXKoyl8iim5Ftk/0HoBC6ZFEY2BFH8l/Fk59 +U/MA0a5AvSZv+9kV3rRqpCrd/t/PPR5zbDSMS5xOJU3bX6j76uDkg+p+l5QVC1IhAxx rChQkCfHq+4djsYSm3IiEypupTW7aj2KXFKFGSapwVwiA/poJq6r7Ee/witMk4g+IPfi 4nOw== 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 i16-20020a1709064fd000b007b29ccd79c0si8165847ejw.590.2022.12.08.07.35.36; Thu, 08 Dec 2022 07:36:03 -0800 (PST) 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 S229626AbiLHPKK (ORCPT + 73 others); Thu, 8 Dec 2022 10:10:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230106AbiLHPKC (ORCPT ); Thu, 8 Dec 2022 10:10:02 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 400D3A13D3; Thu, 8 Dec 2022 07:10:01 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 09 Dec 2022 00:10:00 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 9C9F92059054; Fri, 9 Dec 2022 00:10:00 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 9 Dec 2022 00:10:00 +0900 Received: from [10.212.157.17] (unknown [10.212.157.17]) by kinkan2.css.socionext.com (Postfix) with ESMTP id D16E71DA8; Fri, 9 Dec 2022 00:09:59 +0900 (JST) Message-ID: Date: Fri, 9 Dec 2022 00:09:59 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 08/16] dt-bindings: soc: socionext: Add UniPhier system controller Content-Language: en-US To: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski Cc: Masami Hiramatsu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221207055405.30940-1-hayashi.kunihiko@socionext.com> <20221207055405.30940-9-hayashi.kunihiko@socionext.com> <801c95b0-1157-632f-f9ed-9d526f54dc6c@linaro.org> From: Kunihiko Hayashi In-Reply-To: <801c95b0-1157-632f-f9ed-9d526f54dc6c@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 2022/12/08 17:15, Krzysztof Kozlowski wrote: > On 07/12/2022 06:53, Kunihiko Hayashi wrote: >> Add devicetree binding schema for the system controller implemented on >> Socionext Uniphier SoCs. >> >> This system controller has multiple functions such as clock control, >> reset control, internal watchdog timer, thermal management, and so on. >> >> Signed-off-by: Kunihiko Hayashi >> --- >> .../socionext/socionext,uniphier-sysctrl.yaml | 105 ++++++++++++++++++ >> MAINTAINERS | 1 + >> 2 files changed, 106 insertions(+) >> create mode 100644 >> Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml >> >> diff --git >> a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml >> b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml >> new file mode 100644 >> index 000000000000..c1b7cec8def4 >> --- /dev/null >> +++ >> b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml >> @@ -0,0 +1,105 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: >> http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sysctrl.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Socionext UniPhier system controller >> + >> +maintainers: >> + - Kunihiko Hayashi >> + >> +description: |+ >> + System controller implemented on Socionext UniPhier SoCs has multiple >> + functions such as clock control, reset control, internal watchdog >> timer, >> + thermal management, and so on. >> + >> +properties: >> + compatible: >> + items: >> + - enum: >> + - socionext,uniphier-ld4-sysctrl >> + - socionext,uniphier-pro4-sysctrl >> + - socionext,uniphier-pro5-sysctrl >> + - socionext,uniphier-pxs2-sysctrl >> + - socionext,uniphier-sld8-sysctrl >> + - socionext,uniphier-ld11-sysctrl >> + - socionext,uniphier-ld20-sysctrl >> + - socionext,uniphier-pxs3-sysctrl >> + - socionext,uniphier-nx1-sysctrl >> + - const: simple-mfd >> + - const: syscon >> + >> + reg: >> + maxItems: 1 >> + >> +patternProperties: >> + "^clock-controller(@[0-9a-f]+)?$": > > I don't remember if we talked about this but: why do you include here > unit address? All your bindings expect these take regmap from the parent > and they do not have separate MMIO address space, so these should be > properties, not pattern properties. I thought this unit address was an option, however, there is no example of the existing devicetree. It is no longer necessary. > Same in places below. > >> + $ref: /schemas/clock/socionext,uniphier-clock.yaml# >> + >> + "^reset-controller(@[0-9a-f]+)?$": >> + $ref: /schemas/reset/socionext,uniphier-reset.yaml# >> + >> + "^watchdog(@[0-9a-f]+)?$": >> + $ref: /schemas/watchdog/socionext,uniphier-wdt.yaml# >> + >> + "^thermal-sensor(@[0-9a-f]+)?$": >> + $ref: /schemas/thermal/socionext,uniphier-thermal.yaml# I'll drop the address patterns. Thank you, --- Best Regards Kunihiko Hayashi