Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1468238rdb; Sun, 7 Jan 2024 23:03:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGl6AowUa4ksHke17HbgadACnNCep1TQ7SgVyHNcNK8wZfr1E9MPURnBh3ijZG4CTzmERol X-Received: by 2002:a17:906:512:b0:a28:d950:a86c with SMTP id j18-20020a170906051200b00a28d950a86cmr1361443eja.87.1704697400131; Sun, 07 Jan 2024 23:03:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704697400; cv=none; d=google.com; s=arc-20160816; b=S/hGjfJ+v2RERUDkCVmt3mJlPagLFWhXOzdSuaEFaHwZRhmJ5FBEsy0yexRlHf26tf 4MvA9N5qgsrLceXXcZfwVSq7681fMijExdqFgeHrqErpRJEzwyd+mGFaLeRrPdi2WrEL V2qnZUX10zRw7C5f7yBR1QqI4tWx6nRg/MrXsPhVPnRYea9RneI2ugz/YsJp+g2Nq9Ba xcCU+aspDTH2wGuXzyXczS0x1zkkQ0nFZblOuuGHTmlHIH8pVSUn4sU0SmOrImrLBpD+ aJd3AHAL+wfdUnLDmRRvhh5Tnslz/XJuLzM70sNarLOQ6GFWHLxtYMZ+zE6KYfxL/R+o RRPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=/KaKy41Wl3MSbQMyAjeN+ovopvqexe3XNPCK+UGM1Aw=; fh=+0SQFEhSgKo0N7kfA+6Fqx4INrv3QJPVu6+KudaiXcA=; b=XdyD0fuec1w/ETUHI3Dp0f5bpDc2Izy/iYSfokVnVYuJOdRo2kW+hLzbcCHESpXX/X maazS52o2YRyBERWpNesdDV6I9F8LP5E7mpC+vhxRbV1CP8WkyaSBiiG81ZR9G6vqVAa s7bej/jmVs3057yGC/kH8tNu4sO97NvRlYGpOw5cNww6xFcwR2mzJazDzUgE0qx1ysBC ml3rH0cIs83cmeJq3I6EebdMjtvV9Dkq9KfU4faB3Zq/Py2r7WdciG6DHizphyaTCVJj PZYra1TAYoQ8HAvyzp4NJQZpuBdkoTTvORvl+ISAOqZqnTr0nz8nr7/2BhVuOfsbP1aF pIJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SuTS8i+i; spf=pass (google.com: domain of linux-kernel+bounces-19125-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 14-20020a170906224e00b00a294940ab67si2657996ejr.414.2024.01.07.23.03.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 23:03:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19125-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SuTS8i+i; spf=pass (google.com: domain of linux-kernel+bounces-19125-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB8B81F21BBD for ; Mon, 8 Jan 2024 07:03:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C74C8821; Mon, 8 Jan 2024 07:03:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SuTS8i+i" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9AAC8F55 for ; Mon, 8 Jan 2024 07:03:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2ccae380df2so14242601fa.1 for ; Sun, 07 Jan 2024 23:03:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704697384; x=1705302184; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/KaKy41Wl3MSbQMyAjeN+ovopvqexe3XNPCK+UGM1Aw=; b=SuTS8i+iaxZjndTW7EPiLSfh2rTg7OychI/nyo4FBpkIg8uVud6vlY631yN2MB8sl/ u9u5rlr8aRU6ufsyq23AbIpZEDxETHG93indwUGgKq8DDjtgqoUDGfKse59XW5w4WiFC hcAp3iC4PFanEYUtRkrJte15XXa5rpCEVHkDXBovHo7F2Ns66p7ChAtK+wi5iDjgHRct oJdUiGYkG83BnCJHSlNSlclaWQBJLmChGTPrK17XYqdHnjd3cN5FEcUvfWxcmg26EspO QIWEZLoYwPn0Ij23GW2rz/w9zYHYzB6wRphPzh0tQeQ98uGovvpkSqoqBqv5nD/CSvnh OHrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704697384; x=1705302184; h=content-transfer-encoding:in-reply-to:autocrypt: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=/KaKy41Wl3MSbQMyAjeN+ovopvqexe3XNPCK+UGM1Aw=; b=DMS+FIkXFb4xfDtEd9AhMjcO6e9qhV8lRFTpaBV/7KkiJOgLOH9weo0cIGUbzEqulq M5rArn5Uo9XWYsbYypVsx1YIdbfEfjGHqgLevesyNi6F6p4fr2GYlEY4BxcfJC5WStar LirowIRTUEFSoOfr0nxhx5BTnn85iESbYO8eY/AK3mXkEeFeKor2SphC0fMUXzE1TQ2/ vpQzC8GvQAtwkpR+Fp2OGOBrkncSvgm/wF2hbfX5eLzS5YwtZ51zUhJCu6sfkIQNGr+z iDGjur0Ogfw2ZV8UfbzOcZHyPj2LOSbDMwzAyM9HwTgF8bdiwQ67PcVQ2Bc+GgL+wL1u HDgw== X-Gm-Message-State: AOJu0YxdppC+quG5+U2ooYf+2xahIPMDAugE7XbZ8mel0EyCOS5vrDQ3 2yhwZAsK5dGogi96/lEBHJ+HKc/Ys6n5tg== X-Received: by 2002:a2e:9cd4:0:b0:2cd:2acc:e9ff with SMTP id g20-20020a2e9cd4000000b002cd2acce9ffmr1040830ljj.26.1704697384577; Sun, 07 Jan 2024 23:03:04 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id fd5-20020a056402388500b0055743d6e9ebsm3059360edb.41.2024.01.07.23.03.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Jan 2024 23:03:04 -0800 (PST) Message-ID: Date: Mon, 8 Jan 2024 08:03:01 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 1/4] dt-bindings: soc: sophgo: Add Sophgo system control module Content-Language: en-US To: Chen Wang , aou@eecs.berkeley.edu, chao.wei@sophgo.com, conor@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, palmer@dabbelt.com, paul.walmsley@sifive.com, richardcochran@gmail.com, robh+dt@kernel.org, sboyd@kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, haijiao.liu@sophgo.com, xiaoguang.xing@sophgo.com, guoren@kernel.org, jszhang@kernel.org, inochiama@outlook.com, samuel.holland@sifive.com Cc: Chen Wang References: From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1N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ViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 08/01/2024 07:48, Chen Wang wrote: > From: Chen Wang > > Add documentation to describe Sophgo System Controller for SG2042. > > Signed-off-by: Chen Wang > Reviewed-by: Krzysztof Kozlowski > --- > .../soc/sophgo/sophgo,sg2042-sysctrl.yaml | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml > > diff --git a/Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml b/Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml > new file mode 100644 > index 000000000000..1ec1eaa55598 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.yaml > @@ -0,0 +1,34 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/sophgo/sophgo,sg2042-sysctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sophgo SG2042 SoC system controller > + > +maintainers: > + - Chen Wang > + > +description: > + The Sophgo SG2042 SoC system controller provides register information such > + as offset, mask and shift that can be used by other modules, such as clocks. "offset, mask and shift" is not a register information stored in syscons. Are you really sure, that your system controller hardware stores offsets of some other registers? Show as some example of such offsets, masks and shifts provided by this hardware. Best regards, Krzysztof