Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1645296rdb; Tue, 20 Feb 2024 02:38:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXLwvyeA7+GSdSYSerjnkq0iqhchsX3J0Djg6dQk5VdLgff7Lvf9fiPOFjEyDNA/vkcKJAHe7TMqFOKWzzlZStPqyZyQeL1l6DEMElV+g== X-Google-Smtp-Source: AGHT+IGmmaVDYeuegcFJkDEq/Q8Gy9zuRq0h8pel1mprEy4gQOx4iCI3GULZPVhLSnRegSbFGZaE X-Received: by 2002:a17:906:81d6:b0:a3e:473d:e391 with SMTP id e22-20020a17090681d600b00a3e473de391mr4710568ejx.22.1708425482784; Tue, 20 Feb 2024 02:38:02 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lu20-20020a170906fad400b00a3ec680ee34si1227697ejb.469.2024.02.20.02.38.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:38:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72837-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=E75SlKCN; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-72837-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72837-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 495721F21F5C for ; Tue, 20 Feb 2024 10:38:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C530D62172; Tue, 20 Feb 2024 10:37:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="E75SlKCN" Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2050.outbound.protection.outlook.com [40.92.21.50]) (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 C66AB56B74; Tue, 20 Feb 2024 10:37:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.21.50 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708425469; cv=fail; b=kKrQUMpg9FGmv4uuu1Mo9knyoNsNIbrDBjI1ZsuxSmdhKGSdoP3zswD6qjdsq5251I23T6BghQ4/+GGoWwTm5K1F7EDF7IihaXJrFEI/7HjBcU2x3PNNWXP1tfr7THeepHHkAqbZZP2IV/Eg70fHxQ24Jqa0oNS+SiJrM2KiIHI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708425469; c=relaxed/simple; bh=J1pORw1JCa8hslU9XhFDXmfBDIPGXNgljEZmzz+G45o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=TDDswpKowzys/SqiP6ljFTCgBrk1FaXB/Sox/Na0x7HLjePIy6DmrDqSuWc2AumKMnRvBWqsgd6N26n7fhsqphMy/kyI5HqmpIztfMSj5sHOCjU0bU8MFyZkcMvQZPiFmCi9s7dx2154RzuX/8d5wM/7jpCI3Ok5aJFqpTsR9uM= 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=E75SlKCN; arc=fail smtp.client-ip=40.92.21.50 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=lZ/U/eYTyDaSIPZV1fJFRo/SpMR/yzFSmsl+kOcnM2UCayuvWL/4NT/u2Z0Ok8vRc3+Hrafg8zv4nrE1S2K89munJkB/DkVxH6XpwsarlmyEAEQsSllQ/4fAyYoD8chk+7lzcvLzuuU+7Mn3QU9JluhDGncsUZ7Vs9OvqMtFNcVNGaXxVFAq/9YG99GfduZiL0af02GNEWzYaD60P8equQ5UrAsK4UYP39XP1XgdndcTJcFhre5Md6rGgzguCtsFNtUAA5tPQ0wKqy8clw+weYBRHAKIHq0lEmF5xvpudas3G7oVOhtCOts1JgK0GmL+QYZxADqiVLukt0I8DOLeZw== 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=ozfeCGrMIvSLhD1zxY2abDFbFsquiiJZaW7aUzdK1G0=; b=FlcguNY0ayBi7MBsC8tfua9+zlQILRzYlJXs6+DWN4bMB2+JEJ0mCX15dKvcFmXv71NAuxtV8r+7kXG9lUIyqNhC75vtha1OnyHgt9ku+qvtQM4XGgf1GDLxbe5B5RLyQJjP93Ytm/q+3PQgpHbuK4NmC+sk5jonKPW5+iyaugClfRrGQnedGGMgtxJbU/E/KWYnyJVa7y16CyquYvw5bp+8J0GvLgrlfd2mREdrycNEdLZtnqypqXffd85s8h5CGenYaDssqS3ZGtu/lTSO1njEqjknZiF5nicKQ8ihAx+D493uEBLg+zeYy6iHlWXLaRkcWVnTomNgNixuCp7MDw== 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=ozfeCGrMIvSLhD1zxY2abDFbFsquiiJZaW7aUzdK1G0=; b=E75SlKCN9x1L202ajg7u1uBA7t4U5xmNyeXE/HCW6wXdyPHFDa8Lyn6YFBRzXAeRPrG6tGGr4Ln08eQGBSX6UVDjvyh/FM1n3PzN6MfA3xkLxLriiWyaeK9vXGnryTAGKGU+alW5EE2Tm+x37dUlH7uQ5CNYaVfv99bEhmbgXy24/iZHQuAb2WPERhTpEau9uPrm65Y9ywPFiEa9BkA2ZE7jgRGC0marbsoZGch0ewWdaP9LgFh7rCTyaUR7CVs0vabRwjMnr+/rT3jImtzdvpdg5wYkonzNVDoQQ9KKWg9rnd1U+0rCI5OBbZIYNDp4dJZLoY5liSGCpJPmOpEd7g== Received: from PH7PR20MB4962.namprd20.prod.outlook.com (2603:10b6:510:1fa::6) by BL1PR20MB4588.namprd20.prod.outlook.com (2603:10b6:208:390::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Tue, 20 Feb 2024 10:37:45 +0000 Received: from PH7PR20MB4962.namprd20.prod.outlook.com ([fe80::4719:8c68:6f:34ff]) by PH7PR20MB4962.namprd20.prod.outlook.com ([fe80::4719:8c68:6f:34ff%6]) with mapi id 15.20.7292.033; Tue, 20 Feb 2024 10:37:45 +0000 From: Inochi Amaoto To: Krzysztof Kozlowski , 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 Subject: Re: [PATCH v3 1/2] dt-bindings: clock: sophgo: Add top misc controller of CV18XX/SG200X series SoC Date: Tue, 20 Feb 2024 18:37:36 +0800 Message-ID: X-Mailer: git-send-email 2.43.2 In-Reply-To: <99df43cc-37fd-4f50-a086-2864a6545673@linaro.org> References: <99df43cc-37fd-4f50-a086-2864a6545673@linaro.org> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [7QRY85gDSne2eOonHJ/KvkIIqLXY5+z5EvZINbRf6nI=] X-ClientProxiedBy: KL1PR01CA0156.apcprd01.prod.exchangelabs.com (2603:1096:820:149::13) To PH7PR20MB4962.namprd20.prod.outlook.com (2603:10b6:510:1fa::6) X-Microsoft-Original-Message-ID: <20240220103737.882017-1-inochiama@outlook.com> 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: PH7PR20MB4962:EE_|BL1PR20MB4588:EE_ X-MS-Office365-Filtering-Correlation-Id: 234d5a0e-b576-497f-dfbd-08dc31fff92f X-MS-Exchange-SLBlob-MailProps: O8uo9vZ0QHU57nZ+bmZTlwNTf5+IW0LuC9iPUZYaWsHeSP++fhOBBc3yKcwAgmf1ivcP0GXzo58GlXsUen18DN4ssnfCU+sSE4x5QbFDyBT7cNoVZf8Ze6yKrNFGRfP48Ai4wJd04HpYIwGu+zU/b2NTdF6zlOsm/0YxnaWPT2n/2PUEjA7EycRqKbCMv0dUM+AEETb086bWYpkuCpQxhANrZbAzL36m+WPCetupWPOyzJNEjaA6tvJBSwKSuhH55DmhdiOFxFAhxxQGzKQp7b1ogvQGVeXWX0/e5vKIQsoScUpL7y2F4Sp3vK8Gspc3giXgPpmEk8RD7RStMgsNjy8602aRYsQVUEuTzH+VSqkRg2QRmiJMpg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5vagR2tiOPIqPhb+3rcd?= =?us-ascii?Q?hpiAqNWRPafCMwWGB/CDrFPOn6DoaHejeenJjhVyfMMrvemIpAMxUr+b46TG?= =?us-ascii?Q?eb70BC0iMSOjILn11KnXESfgbtJon9z1udgWiy8jIeyBQIu8sttTC8xV++vG?= =?us-ascii?Q?t35GuCs7qelGlMEAZjEBSwb1DgfqXwd/Z8v1FkTNzPYOnD+fHVWfQa0OQh/X?= =?us-ascii?Q?qMwvOAX7cU0sDSeHc4uKSgUKL0FCDlHQ/InpXEgbLFgX3YcokLlC0wmwOMQT?= =?us-ascii?Q?phR+ki4AuPQ0oh62aKQjgdIovN25Mo+63QEh++ujeG6Gy+Kp/38tkj/+GAaW?= =?us-ascii?Q?5kgBN/o/+0jPIoNytHf0ASJ+agR8gHJ6lWfkVtaMLbua8fPXY1Acn0zON8sy?= =?us-ascii?Q?5oh0RPdd5xfeDGOeC7uFk6fE/abO7f5vxa1gDMXC3QW7fdI1yz+vg/uHDh2s?= =?us-ascii?Q?5fi1Lm9RmPUwnKZbN9cytsnH0Gp3k4jSRtb7ODClmzOF9MTMPxg5OhUcPQ/A?= =?us-ascii?Q?mzeChkag/0kxHeMxqpaskrRiegMgKRLvtKSlU7EuqAyigF//HCHn0JEwOCQG?= =?us-ascii?Q?LNYDrN/0Dn0zlNFSLedZ?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 234d5a0e-b576-497f-dfbd-08dc31fff92f X-MS-Exchange-CrossTenant-AuthSource: PH7PR20MB4962.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 10:37:44.9960 (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: BL1PR20MB4588 >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 > Thanks. And please see https://lore.kernel.org/linux-kernel/PH7PR20MB49624AFE44E26F26490DC827BB502@PH7PR20MB4962.namprd20.prod.outlook.com/T/#t. This new patch series includes this binding.