Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp238743rdb; Sat, 17 Feb 2024 06:32:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVAXFXPaalCwmwBP4kHME4fyliDJa98rLwsDajZErB7o/GqVc1DotRU5R5MDG176Jh85kWizoomAulMP+aI5ts13mg3z8+pdMuqJcySag== X-Google-Smtp-Source: AGHT+IEq27ORh+UuIfTDeuYV1IqUBMoWI3EnGZcAlCYkDlzS/0j/66TAHSc+eLjjS17K67edztXI X-Received: by 2002:a05:6402:184c:b0:563:9003:4496 with SMTP id v12-20020a056402184c00b0056390034496mr5841632edy.9.1708180345652; Sat, 17 Feb 2024 06:32:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708180345; cv=pass; d=google.com; s=arc-20160816; b=koZqmM7Kno7fmBk9uATBvstDLB0N94qDzO6rbK3RX65MZDczuPYlU3Zg2X0QyOAXTo 7CI5Ot/JGT2EuLiol0phdxI/8hY/ia6Q6SWa692QYxstnDjiGYBDkrzWNFHAZMGNsCw2 3Z+21h1lWiNp76uPPrZVnO1u1LUbzxD4aAoThZQXxfJ9LO6T5yOt3BWhDyLZoB/au1VF oGGZEo9psK7MRt8qP71kyAVAtSnOtqdpr4ALMPOnATJeZJV+rshEkCSCGd3T0jpFCxfk gaOAGFDEqYh0BJY/0c4nKB8Sx+CY2hIK0XJyxGabvhrwIJb7P4yLBsj28C4stZK8kGn4 bICA== ARC-Message-Signature: i=2; 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=RSNmyfW1+GrF91z+IHvlzjs+mSUvBVEEbhJ3txgTkRM=; fh=HVXp/HNq3ju3jEpWG0Ixhu5Nk6nXg0b4atRNoPWFPJc=; b=opFMleuicRB3yT50L0oOBYKOWW7uk4EZRIJx8LInLoyXmwNJGjxQdCZMUspaBkJHEt cT78UdZQWhSJYM9/SQL5KvAkM7EymslpfLXTiN5pq75pCMnIaNSh/ICfzcJ1mATPM5/r ArgIbojTP12hBGyk3z/f8lCrQ0YWTHNlLndCifndzjK1Zzg6zDyqXHXxvRfInchmWgP2 9HLrDYLQ1hhlFElsuJmoqHF8O2vKcrvQWyI4YjU4BaIBfyItgNI9rOa8xS9IPwQqD2YE 2xHDJ89ylpQwWT1E0o9fDCO4zAd6XyDtA4deWA0aO6YNmq8/AJPpDOBB7xuJnBFBFpIn BB9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fMsdwxeF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-69907-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69907-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 w25-20020a50fa99000000b005643d69567fsi105100edr.200.2024.02.17.06.32.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 06:32:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69907-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=fMsdwxeF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-69907-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69907-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 41E081F21CEB for ; Sat, 17 Feb 2024 14:32:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1106E7B3DC; Sat, 17 Feb 2024 14:32:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fMsdwxeF" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 40E1F1D55C for ; Sat, 17 Feb 2024 14:32:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708180337; cv=none; b=W4bAdMZGz+kiatEFQkYzMcLGzELOgNQL68qHbkKGhQqrTjokfbiYzyoMQVXTH6sA7TQgP5cNoyTOVa7llfioIDld5KA45mt6zt2mkWueICjCwOn/t9l8BfUhcQvLLsT3X98jgeRIGKthiRfmxSCQ0ksjATdXS4kYVXigvcmWoqU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708180337; c=relaxed/simple; bh=JH2BJbUC8p9rzyAfRaxkjJtIvKq+V+0O0YUQN2Wqnx8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=t0eXjusFLkBcg2XE1iSY+dkscM2Yo4upwrarKcMmHX58jThEomN1L+/cp9Gna4iVuCN01GU8k9ePsLMDg4U903K1lgII3+TX7n2uhoXU6WB3Ns4rdbACsoRUTp4Uryvv8JZWMKRU2eBTyLp96QBHUpqpIxqq2NHJwPi5UCKm+YY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=fMsdwxeF; arc=none smtp.client-ip=209.85.218.48 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-ej1-f48.google.com with SMTP id a640c23a62f3a-a26f73732c5so266753366b.3 for ; Sat, 17 Feb 2024 06:32:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708180333; x=1708785133; 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=RSNmyfW1+GrF91z+IHvlzjs+mSUvBVEEbhJ3txgTkRM=; b=fMsdwxeFrLPBPaeOAcDZnpMzSljFgpakqTYNlohkngX9fXsdRktyWYu/RXGXj1Sg// PQ5628L0Uv9iZ/u1V9bfLvtD+DeikiE65R5SulUy+gkuHZTUXSbI7cptOWWB2uv2n079 aE0irlFNiPUJ0jXn+urOrwHdhKGOBNlFTTaPKggmZFuYgLtG6/+7nr3tPtBmiZXu/Dvz gsyIq0FRxM1dV9ygDCwkcUO2YaXGQcfijMYLnO/qfzp86CKlXfn0ei8ehKPje2TLKO8V Byov1WoTHRNnSPINNHRWVqrpL53E4WXEfD7lsuWXRiHWe9T1uLUhO5vUCtCxFI8stFZ+ zRYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708180333; x=1708785133; 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=RSNmyfW1+GrF91z+IHvlzjs+mSUvBVEEbhJ3txgTkRM=; b=lkWzI9YnZQJ4kmyj/7Pjweh9eU2jtPm2ri4TbNlL5Mw6q60VqE1pNSdtDt55+CgEPO 5WbM4iBV9qlZLwnFpda2D6ZRRpqrDCi/PY7JYcxnpGYgVdNMVKp1P9yl/kGBKlYHG8IY a1mLRVQaa6DdRD8yyBaiLY2VkJEFdPsp5MFMAyqFzWrs6DrQ7tcjhVdPZ262VWl9ag5m uVW/led4aa1HB32HiLDUtFeCDzHL10blhVzEwvz0HURiLbiNKwt+zWeKKnj9nX6Dv95U 1yISQl++nuH7QEmBnXkncuxiolzkHDjfojCldu1TwGsWoHlvXVF1GInW4xdG6XBwCIq0 v8LA== X-Forwarded-Encrypted: i=1; AJvYcCVrhdecNsV4FEyfd8udBYvouXeCL6agwAO7/4JIqRq1nIHHCUFe7IDS0xWNUrVcCUihgCPC4uE/Kd94t2+ul72tHCW3eatmQJP6GO8J X-Gm-Message-State: AOJu0Yz5imLiR5mPzIRAHF4ugOBK936MZV7NP5z9ZRmJ5/WHfvVIWETu 6YsVyzX/f+y1NiF16VeEt9aH56jI2dIF1ZWq3OnLygq1H1oVTuEZr5E8PUqyU/s= X-Received: by 2002:a17:907:bb8d:b0:a38:a6b2:b329 with SMTP id xo13-20020a170907bb8d00b00a38a6b2b329mr4507277ejc.8.1708180333463; Sat, 17 Feb 2024 06:32:13 -0800 (PST) Received: from [192.168.0.22] ([78.10.207.130]) by smtp.gmail.com with ESMTPSA id y14-20020a170906448e00b00a379ef08ecbsm1028569ejo.74.2024.02.17.06.32.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Feb 2024 06:32:13 -0800 (PST) Message-ID: <99df43cc-37fd-4f50-a086-2864a6545673@linaro.org> Date: Sat, 17 Feb 2024 15:32:11 +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 v3 1/2] dt-bindings: clock: sophgo: Add top misc controller of CV18XX/SG200X series SoC Content-Language: en-US To: Inochi Amaoto , Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20240215151316.GA89268-robh@kernel.org> 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/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8Vw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nMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16/02/2024 00:56, Inochi Amaoto wrote: >> On Wed, Feb 14, 2024 at 02:33:14PM +0800, Inochi Amaoto wrote: >>> CV18XX/SG200X series SoCs have a special top misc system controller, >>> which provides register access for several devices. In addition to >>> register access, this system controller also contains some subdevices >>> (such as dmamux). >>> >>> Add bindings for top misc controller of CV18XX/SG200X series SoC. >>> >>> Signed-off-by: Inochi Amaoto >>> --- >>> .../soc/sophgo/sophgo,cv1800-top-syscon.yaml | 40 +++++++++++++++++++ >>> 1 file changed, 40 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml >>> new file mode 100644 >>> index 000000000000..619237532801 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml >>> @@ -0,0 +1,40 @@ >>> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800-top-syscon.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: Sophgo CV1800/SG2000 SoC top system controller >>> + >>> +maintainers: >>> + - Inochi Amaoto >>> + >>> +description: >>> + The Sophgo CV1800/SG2000 SoC top misc system controller provides >>> + register access to configure related modules. >>> + >>> +properties: >>> + compatible: >>> + items: >>> + - const: sophgo,cv1800-top-syscon >>> + - const: syscon >>> + - const: simple-mfd >> >> You have to define child nodes to be a simple-mfd. >> >> You could drop it, but I now suspect your binding is incomplete. >> >> Rob > > Hi Rob, > > I have a small questions: Can I drop "simple-mfd" and just add it > when the new subdevice is added? I know the binding is just a example, No, because bindings should be complete. Best regards, Krzysztof