Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp675889rdb; Thu, 22 Feb 2024 16:33:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW8ur5xyZwxEA5/wITajG6/c1S0JoT0az7+yfP8Mk1V1PuQBOYX1iTYC8WrKi6OlRFNpnkABgyTFAMf6PR2tzOH9mUoAJmFxKPsf+l5HA== X-Google-Smtp-Source: AGHT+IG89qipp4JESR4GkkNS0/TYWn/VaNGlNabiFPE/NbX6I8aeC33Rq7xmEfkjwUjuIIeEZdHz X-Received: by 2002:a05:6830:164e:b0:6e2:dc7f:f708 with SMTP id h14-20020a056830164e00b006e2dc7ff708mr617661otr.13.1708648431575; Thu, 22 Feb 2024 16:33:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708648431; cv=pass; d=google.com; s=arc-20160816; b=XffvUkPUCh/8fVEiiMm6BuxOTdPB7TPSpnISUJOZ5c08szPMxXNJFfLnUs9x0cbCsS 9KTFLtSv/OS3q75sRGZB9y7GFVdNY0oXZUBsGrnYoX7l23jSpZRI801AkqLWuKgYLtlC Nk504MYrT3NvTTfn4Tx9sm9O0qvJylC1tzOJnDaLuMOfPS2kII+thC0oYlNxwaT/eThW bK3NRGBOgTLGdHRLlPnb6L5dxDrc3dvUlsQAUq4L5E8nlICpb+wS0VDI3lUsrW0nppum 88L7xzM3/euxU1+RjO1azqvfCVjoIsqoqfndGWmYQBWT4qftQ/8DymeJVTgO2vB3sjaX Z/vQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xPPcjDsnkWa5192qHhoZm0syN2stt5bSfth7kdnhskQ=; fh=41NNB4hI94iCIowmSGLzuET2RNRHNmEyktCzfgUSjN0=; b=s8mxf0P3/T/uUNgq1WIaBcp1hL7/whFX/+SxmeepPMFxXQx9Ffdcj7NPA/oj0ZM43T BBSayx2d7LtIc3ZbhZxxbfOwNIzuYt6PKz4050zJwBTZz/PM+uIIz9tav4f926WDBUfp pXefpPJVLEBvJjE5GcMHhLfxsKt54oMabBCVZ0t8kfbO+lDsgztKdEfKFY2fKGLDdA9P uTcm1LQAg7rC/x/l91HZcF2d575RvB+7wFJ+m/Q+USeKEXMSwlZjkL+7JGeRib0dk6J9 JAwQmOfcWJMkBfqjRnvwzxx7gvdnmUcsIiPRVn1M0o1qJ5850s3CqQOFjGqPmC4OUBMt 28Ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XDsYLGcT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77580-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77580-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id cc11-20020a056a02074b00b005dc42fd8c40si11037697pgb.404.2024.02.22.16.33.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 16:33:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77580-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XDsYLGcT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77580-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77580-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6DF70B214E4 for ; Fri, 23 Feb 2024 00:33:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A37AB66C; Fri, 23 Feb 2024 00:33:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XDsYLGcT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54DCDB65F; Fri, 23 Feb 2024 00:33:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708648419; cv=none; b=flSa2Fr+LqNFo3+kkDvqO48UghkEefF5ydasc+phPEmzbGhg7oY3k5PTx9cz/Ld8djG2tPPmNGS5HJLPeYQuuHgWVtAy8h5JCNdBFCldV/m47Ayn3zOOfkuKSuH8t4ejFf13q0F20l2RTxALfk6jWjW1wUYypCfAuN+jadjxWLU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708648419; c=relaxed/simple; bh=cBU1jt1M8bZGFlsvQJ38aNDs/DA2/MQxShbTiC7Nm5c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GQv7y8zOXhRQdjTeowW5L6Q0bjqYDL5Hu0vPyMw/EC6d2kUDhOXmoFV4aRptl1Zs6au/0frqlYNb6qjbCRexMX8dke++7InVPyIvRtj2Lo2jRU5vAiOsiRx6RCEl3is+LNlCq/9XP9l/Z1ZOQDS+oZSiCRZOEQHC4T5l3WT1P9k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XDsYLGcT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77E92C433F1; Fri, 23 Feb 2024 00:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708648418; bh=cBU1jt1M8bZGFlsvQJ38aNDs/DA2/MQxShbTiC7Nm5c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XDsYLGcTA+ia+aygpPKeAbN/zQXOaKUCUiuK2UNLDYkKau1qWuXUI7zC9SpmrJcrH Xxha085TJ7oOXL03JV90djtanvXBIyWr3jwW1mFr9+Vmdk3c4kB8T6WTvDYsi6pE9v ESdIhshMLWrxdjNe5k3gh3lzqMSV0tFVtLudiqYAwq+3apNNv0wUDjBEsR7lf381QX QLQdE6zuXjrVqyrYGO7QYc5G/uiVN9cJsI04lhiEBpdlceH7mgKm0BuI5vDg+Xd1Hm C3LkIHOf92G8VdyOF1Yc6czDVKpGbrmMDaBi2DYJP3HH40kb897EkLqxM136cce4pc /BKR+8Y5vQntA== Date: Thu, 22 Feb 2024 17:33:34 -0700 From: Rob Herring To: Inochi Amaoto Cc: Vinod Koul , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/4] dt-bindings: soc: sophgo: Add top misc controller of CV18XX/SG200X series SoC Message-ID: <20240223003334.GA3981337-robh@kernel.org> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Feb 20, 2024 at 06:28:59PM +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 | 48 +++++++++++++++++++ > 1 file changed, 48 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..29825fee66d5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml > @@ -0,0 +1,48 @@ > +# 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 > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: > + type: object > + > +examples: > + - | > + syscon@3000000 { > + compatible = "sophgo,cv1800-top-syscon", > + "syscon", "simple-mfd"; > + reg = <0x03000000 0x1000>; > + > + dma-router { Is there no defined register set you can put in 'reg' here? > + compatible = "sophgo,cv1800-dmamux"; > + #dma-cells = <3>; > + dma-masters = <&dmac>; > + dma-requests = <8>; > + }; > + }; > + > +... > -- > 2.43.2 >