Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp75626lqt; Mon, 18 Mar 2024 01:36:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKOXAcSPjGTev46xzE8oVkfB9cuD8689jBy4eKW8DSm+YUfy1hvDvAAodVuncUCZ1bT2YAmYbJwFw2Odmow8Y4RQXZRh3O/LOBH0/xEQ== X-Google-Smtp-Source: AGHT+IHsTSJLIa9IUVxSBh0qE2lrQe7RpMbyWKQbJ01GRXEWB8YJ9zmSj/6hyYamBcmVEJ6hrocd X-Received: by 2002:a05:6214:947:b0:691:6122:68b2 with SMTP id dn7-20020a056214094700b00691612268b2mr9645273qvb.27.1710750973337; Mon, 18 Mar 2024 01:36:13 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i13-20020ad45c6d000000b0069078004e85si8052437qvh.246.2024.03.18.01.36.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 01:36:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=WWADhtyy; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-105820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 014031C21268 for ; Mon, 18 Mar 2024 08:36:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D77B2286BF; Mon, 18 Mar 2024 08:36:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="WWADhtyy" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2094.outbound.protection.outlook.com [40.92.19.94]) (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 DD9E41D680; Mon, 18 Mar 2024 08:36:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.19.94 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710750962; cv=fail; b=Uf2WBE6vpE7wdDHRfK7yuje3b5IxpC/gGx+xeTJSk2MHw06P3D1DIg6XLLpeI0+fZbd+oHChTuKJubD/tp+2BpGMszNJsVjNk1l8qj2a/rmtntM69UWu2Eyf1Jp2WWel8+CCE2+gBtqXdXPpP08K6Rzhs0o1Mgmr8xY2g91m8n4= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710750962; c=relaxed/simple; bh=TlWHT+mHZivKtLppGWUJYRdK5hcW7dKRFzPYFM15Vns=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=hDyT6Uh3Gt7YriPdG/XmvFz2iXjlnCWHkmD86gX3Q01t9xTs40+9UMI/eY+k2aSx+FlFVyYRuIZIXaFHY/5Ld7j3a3vgpdZJ+cbRSXiJa6CbiP5U+r2INPHlWJCwlmDovmC70LYQp11HjQcU8erMkpApOQGrZ4w99pq6GkWTv7Q= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=WWADhtyy; arc=fail smtp.client-ip=40.92.19.94 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DP9AP9hV4VpwiAn2aT6WBmsNbqc0+7vuOcGjyvI4NhyCruTaVhp5TD1vg0WdAIJM5psPBBTYN/sVZL550O6EXfVr9gTsM3dBWQxCaJbrE55a3gWoWlk5DQy/DEcqdonqUNn34Sm3L+++k6VNr5PVkQBGo69enbBndJsR2ITSIqJndZhGAeML/XUSuZ3fGiTjKOKCtj/0i3gDc9tJ3Ze5Zxk98gWY9329SvhV0GphGQUS2rbWnoqHzv0X+bd8Xe/VYjVbhPDQxHMs9rETLLhM5sqjzW6z9DowkmfxfkJCt7EbEIn3cvUCfcmdbfG8uzO6/Yo/y8NbQm4TlRDKhg2u4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=K0RW1x9j+lvwxkovv1mLMjCDikrEBPtsBEgYCMOTfeI=; b=UmQssdojv6Z8aNy7E/gSjx34YaTt0n5/As0uQdugr+aDGDuDlIeZ8UgeMXF+SIjZjIctq8VaK83AQxNTn3Mt/GpFvHAkT1/ljd97g/CM6Yw54F7jJQ0Xh/xukDTiJ52aQaUXAr6uNmXPUpkOCQRdRv1GHXkrA93Cb0+2MOP6E+BFn/nCVG2LXiFNkcSFoL/0qfmF/YIVHI7Prp1f5M7/Z/9scFxnV4AZQKVymM6DnHQTRpeHbYd83TmA2vpZ76Rte1JipCMXQc/m+21THakPVODaG1Gr6uGJz6LJIHColnDDnc89FoxvqkovRTQtXD5VHeys7Ejh+eheT9M61i3SPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K0RW1x9j+lvwxkovv1mLMjCDikrEBPtsBEgYCMOTfeI=; b=WWADhtyyWOZBV+dg+knFaDzpdwvid2GRrfA0tzInC/GQ7JeTyciIHxyiMrwuyB7+Hep88gTI9rmhxOrMkgTf6owvRHrLqvnNOVsUgkP4Y3r2Kskb4fTcjP81VA7HQG7tiG51BwGy0+3dqY+hiPKkmTA+NDnDYRyHagnoND77LPY/oLg5Wsqy8JeyoGpV/qQng1TpaRxUkRm7B+71UkT+D+B2mc3IxuRks9dyD2DRC0aMmPOiWB6lFw1927AswfMEJkamgdRKS6iPj/4h1NoorGO/iAUpIqy9YHNp5+VxoiILNCm7zY/lRghTv0pf7fW6yipE+7JulLOWGi9FTv6J7A== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH7PR20MB4414.namprd20.prod.outlook.com (2603:10b6:510:13e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.26; Mon, 18 Mar 2024 08:35:58 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::8615:efe2:7c8e:2041]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::8615:efe2:7c8e:2041%3]) with mapi id 15.20.7386.025; Mon, 18 Mar 2024 08:35:58 +0000 Date: Mon, 18 Mar 2024 16:35:52 +0800 From: Inochi Amaoto To: Krzysztof Kozlowski , Inochi Amaoto , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v4 2/4] dt-bindings: soc: sophgo: Add top misc controller of CV18XX/SG200X series SoC Message-ID: References: <3f6753ab-ef3c-4bf2-a885-afbf5ad83ccc@linaro.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f6753ab-ef3c-4bf2-a885-afbf5ad83ccc@linaro.org> X-TMN: [8sPxidhUkMW8K5Ft6XT/BHFBknp1uJmiebY5kkH4mrg=] X-ClientProxiedBy: SG2PR03CA0098.apcprd03.prod.outlook.com (2603:1096:4:7c::26) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH7PR20MB4414:EE_ X-MS-Office365-Filtering-Correlation-Id: dea48f1c-5672-4ca4-59d0-08dc47266f24 X-MS-Exchange-SLBlob-MailProps: RlF2DIMZ1qUQWS8lN22nULkf5597sA7XohXtyjFUJix2A5x4xn175B5c2kxm4g+N+8FSSbK5EhQCznHrBZltGv/wU0qhdzk23WU88lvYl9924dqT/12B49gDBRyj6ypTAbq5W5cWB2Em0vVoPoXkaP6IB93I/BbR7EuRSbUdSeiMQqoRgZ3FYo6uO9yv5yWQrRtGtgdlObVIco00dojkaS0xdKg9cbH2ZXCBe8mEqAPo8hZiTZZ6j5XT0SNIilokaN2Eu4QIw6OsqaSrJeFvn0u2lUtgBEbGZ0nLC08ebbxnWjyneLJBN3xIB/IR3BqGdebEC4qZyhbO0w1nk1Suedm0KMdONMSSE6iSFfqYuMOUdFAMzIJmN7wxFCR2+qUh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yrxXpR/xvTYHqGNwICiHpsfXYA3vrzuV/T5NWau4WbXr54dQmXbJOQsjuCanVr6pM+apTnsBWXLk3ePtPOQXxRDP/h0YaUAMfLD1LqQYj7WPUmBIaJQlpxMYwHZoVESNqpaDoiRy9krmDu88CEaIvKiv6MY2LAzDZCuwwJg== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?YCmo0rtUC5mkbPKI1P+IrEbQH4e24dI8zVHogwUoOVk5N1vb1lISyDX71/ru?= =?us-ascii?Q?aHV22I7fsxNiS4dGWEvEyZ5is/pKSlPHS7JnIUTCHkxqf7Bb7DpcDSLpJi6L?= =?us-ascii?Q?8D2SLIwsYBchBrSZuPocSWq9/jroowIo84AEvmmIfC7w8pt4ahSDRmqKwYSm?= =?us-ascii?Q?sl2nstcRqkOIzoUXDlOr+iIYcnQ6RguqjD60CRv8nte/rOdarIEQ99MdlRHg?= =?us-ascii?Q?30di+KP6ndNF9T/SKH+5l1gC2dwLPemf61bome3NPA+6jCPV8vwOlAc6wwkr?= =?us-ascii?Q?920XX/h9+GV1AiHZ+Bw/JJK1iiIIM4fB5sbRWg49+YVAEEkJRmmm/As4aivB?= =?us-ascii?Q?tMEW/Zh5MPcQeWrEbKgY72TsFWq6NxE6O1+kuP8HOu9GlDamC9LgngIoj6wC?= =?us-ascii?Q?HfInyLYXlk7jzShHTSrpGfc5ZozxdCQwd3AVr9bI1nEAZEaOLyjvuOj0VPyl?= =?us-ascii?Q?45TdF68IrEQyK5EzDy+NI4AzbS++U80kV3ZLExB5qsjZK9GD2ROWXVwmuq0g?= =?us-ascii?Q?LaeQkBPVfiFAhOotBvsx2heErBwoZqP0Dxy5tkWHhPn68yfLAR+LIdbex5C7?= =?us-ascii?Q?V9vxJnTBxb1tUJmtmgtrFCneLplcPtNsdnDy+F1XpGuf/2CnW4MsY9FHwDgc?= =?us-ascii?Q?6k5dhGzXwG08SxH4D3nMfD6mL5P7XESyVkSrBVYqVN26blQpdea9bDoKumyA?= =?us-ascii?Q?5rwhW5uqslDmCYjlF4/QHHExMaJob/xJZiq7yMrLbbtbQTmLi1WgcEhXmRRb?= =?us-ascii?Q?RNieMw5WLK6l/FFetSUuiiscI/J2Fx/HArOaFs2Pb2VI9XEjYuqG6kmEDTAt?= =?us-ascii?Q?+RfC/Fgpk4cQ5SGzi8diMk0F0UDBRr3uH2F7unKYTM7vcAfnkJb6HJk9nFqk?= =?us-ascii?Q?t3iyKs7i7KDL/kOpQbmj3IJEdOjiWwrEuM3jy4xjlt6ePAUtN8tkE6wUUjWj?= =?us-ascii?Q?IM/Z3qYQ1AhfDEkKFhgJcPfBfV/V+/la/spGobCBu/HUlV3Za5Eok1PE1d0A?= =?us-ascii?Q?7YFqcQ17tCMPbYPyOU7K57Pslzhiya2ATG3Hs3NWbXGMuwP3L6KPP66Yunc6?= =?us-ascii?Q?FqZYLADpkQAf8DBnZVvgk+XGYQsLsWOlYKZzBivgwNMNuULdkx/Oktd1Uyqo?= =?us-ascii?Q?4nO1/fuTu8avl6G50XL59wBqA0XezZ2U1SKPhUqSQEpW+n8kgpNqPJyLHRQ0?= =?us-ascii?Q?cpA6UtjYHmszuly4yikkCwuManhcDtMVn+DPQkVxceP/5J0Ew7UGipEvJwFN?= =?us-ascii?Q?zF/O6XOcOX94JiJvBPIT?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dea48f1c-5672-4ca4-59d0-08dc47266f24 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2024 08:35:58.0219 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR20MB4414 On Mon, Mar 18, 2024 at 09:04:37AM +0100, Krzysztof Kozlowski wrote: > On 18/03/2024 07:38, 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 | 57 +++++++++++++++++++ > > 1 file changed, 57 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..009e45e520d9 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml > > @@ -0,0 +1,57 @@ > > +# 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 > > + > > + "#address-cells": > > + const: 1 > > + > > + "#size-cells": > > + const: 1 > > + > > +required: > > + - compatible > > + - reg > > + > > +additionalProperties: > > + type: object > > You have schema for the child, don't you? So use it: add 'dma-router' to > the properties with $ref. additionalProperties: false. > > Explain the dependencies and merging bindings via one tree in the cover > letter or commit changelog. > Thanks for this suggestion. This is what I need. > Best regards, > Krzysztof >