Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp786055rdb; Thu, 15 Feb 2024 15:57:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUUbuk5PLRHGPCUWcQ44ooGH8zooB4F1hv9cwdRMdyT2+3BwSSeQGYb9DnoHT0xGfCIqdz+/FRfATGbik1hMdjUDKN66Zsnrh1Nj1MR7w== X-Google-Smtp-Source: AGHT+IHGqFqqMSnYNkuBp35Cb53FiT1nNFwNyDu0SFdiaLJIDvJTWggaN5hKkzYcQqe1l5T3i6Ye X-Received: by 2002:a17:90b:268a:b0:299:222c:bdc0 with SMTP id pl10-20020a17090b268a00b00299222cbdc0mr2070258pjb.37.1708041431530; Thu, 15 Feb 2024 15:57:11 -0800 (PST) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id me6-20020a17090b17c600b00298f66dd39esi2036106pjb.3.2024.02.15.15.57.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 15:57:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67866-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=FHYSZ+m3; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-67866-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67866-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D04C52863DB for ; Thu, 15 Feb 2024 23:56:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5063D129A98; Thu, 15 Feb 2024 23:56:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="FHYSZ+m3" Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn2053.outbound.protection.outlook.com [40.92.23.53]) (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 04BEF7AE5E; Thu, 15 Feb 2024 23:56:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.23.53 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708041377; cv=fail; b=D31yCudbC9mrcvCcIorYQQRei4pE3UWagWTNzoWZvxVbtvVa3MhhepI3bwPeY7ZmPo5NfSHmcXA+ENs6J3eaY6OzVAWoxU8q3zqiPRnLfr0M7vwzol0mQfNdi71z7PHiundE4v/DxEioBazDKCzZpvQlTPOYDroJaq/az0Eda6U= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708041377; c=relaxed/simple; bh=ciTA/RwbLRzLNpL5V1P9MpmbEBFDvgzihINi3h/SMuo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=o32II7/kgjUYOryHFtpndofp2tqQqm9vHLKHikVGTuxuXe79Q84kITnH/RFbeJtOx8V8o52nNC/5XPhYRGDA11dlPkPAYpkQiU5QtXDoz+Q2sJ5hp2fL8H4Z3YZTeEawvEcE/LAVb99z1h6yJyZJgg8CI9DaIFHFrSckIQn+KLQ= 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=FHYSZ+m3; arc=fail smtp.client-ip=40.92.23.53 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=fqxmotIsV42V0UdRnIwAZwCA4pRHAZ7/V7IOctpXmvn5oBbkiT2SNKvkR/4GboGumImsdj5aza8ga5fHPMOVTWh7fy7hm1MteKFrpcmy7L3oTLTejKAIjbt6j1D893vdagh9HNClByia5kjTakrpSp3s81FoMxlN5HnrrSJmOq13j9A5L7KG+1+igsHc5tfEQqWE7vCZ8lx5ZYnajyhPVDh/TT0HIy3XzjwoxRWKMlggH+kFJ+48WfE0m9kjiaTBbYnnByGSbr7LVRnCUzWpEuAHkuENViDzt8+3a89/KLFPFI9gXYnhzLhe7IQNcpzGw7xHFaCf4ZOfGy2M7exDDQ== 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=YMMjR1OyCdPEmrs1ZpUkTTP+WIu+p8mRTlYOHvA6uYk=; b=RMARdrffscC4yFrnPGjQoqoYl4Rpqh87lkvj+3bsS4pbpLo45QM9sGlcPdcmZsshkSjjZNNCGX1rh6+bffzBSEix2CdHGxJnLVj3GifksTJsSDznwOMZ2PJxUsUHCeYdmS6frb/tscZwTNaIcWd0zgs0J8w0vIq6Sj0fBNv7SrrKzuICSXnsRYzBRQnSnRZh0ew9CR31WuT6cTT5+Ufkgxptm4FmMXf8GIumv4AsB9atl2ISrbgyLBDWybBPmjZU0hFD/+FrBPszKYpG5ytsxIh9b3AaKQ+YjN5odTQ7FPmwyxlpOu77gYSDKclNX8Hj7WIZB8KcD8wDOT4OpBWs0g== 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=YMMjR1OyCdPEmrs1ZpUkTTP+WIu+p8mRTlYOHvA6uYk=; b=FHYSZ+m316w/Ru9NTQks1SZedR/pA0k5/7ox2RaCYwL3ERzQ4wuT28Z6pRV+jISFu2D79jk3WVCV1+gYdU2EH1icBjjkMl21XJg5bQ39nobBpXeapCMSJ3BKB8XM2Wf5Rjgw5zvqqIdB+46FbBir0cEO1RfpoquVbDD+KDT+cd8sju2mvGmb2eHoTKNCkfIyDOMCX1xTqvLBOMptFht5I/hIzWMOeAE7u5hlBrtelKQnPAQ/M5HnWoWXO3xfjPerxiYC1I1xFAG89ua8eFXY+0HypGGFPKgzXsYEPZucMYNekw9I2+EH4obJzceURMLg6ZzmTMaN+a3k0Hio2CBrMA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DS7PR20MB4112.namprd20.prod.outlook.com (2603:10b6:5:3a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.28; Thu, 15 Feb 2024 23:56:13 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b%2]) with mapi id 15.20.7292.027; Thu, 15 Feb 2024 23:56:13 +0000 From: Inochi Amaoto To: Rob Herring Cc: Inochi Amaoto , 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: Fri, 16 Feb 2024 07:56:16 +0800 Message-ID: X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240215151316.GA89268-robh@kernel.org> References: <20240215151316.GA89268-robh@kernel.org> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [rEMLXFHHMaBBVM0nHsQG0nq5c/praLxIzZR2vhX4WJve4WqrNCtodWHpnJ0dhMI4] X-ClientProxiedBy: TYCPR01CA0194.jpnprd01.prod.outlook.com (2603:1096:400:2b0::18) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240215235616.55084-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: IA1PR20MB4953:EE_|DS7PR20MB4112:EE_ X-MS-Office365-Filtering-Correlation-Id: 8f53d823-7a9c-48b0-1408-08dc2e81b08e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jJu6w/2EpPvJtvXBO0xVe5MtqtqpGZ2yBNBzFAFUoHcUZrArx776YRc87m2kvdTNjaJ9HuTRYFJlVBWmcx54UYXu0J22j7ZP643SimHHtIxTN/csVNYTndWLRVoyEqPAVWCLEnlFGgTLxtxaeS1gKInDMGSDlXDf3oc6cJ0Gdr2l+aDHSBBmWtNkjOdPSxh/iz6kHl9IIQbBt2UOsN7mkzCjttkUjEOpVNFtXwucr3nKQFDLvxaEffNyk0Zm1q1130dcXxUKhZ9MMJ3avJOMd1X+eh3JSx/1GWNOkgqbSJIi28jKJ7pJH/8lzDkrB0ORJLfXesR+fb8mwj7R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DF9VVFe?= =?us-ascii?Q?r8v3gb/upffuN8pVCEVjgZQyr64om2rGJ7RasUos22ltTObYIrCAvR9tIXnC?= =?us-ascii?Q?EIBtC45FYVgMkTdQVMyXPRHl3dnAuXwP3SNAOP33+3QkZrcfyQdNG6/Q3v49?= =?us-ascii?Q?i8k67S5DH02caGb43CtN8y33uerPvFJBTLPODIP9U/EWxkphBJDJHTKyXOXg?= =?us-ascii?Q?VKUab0QXzOuJrBbzXjR9M5WesPvEubRvDc59vT7GQ8D2u3E/JEgmbLQhORoa?= =?us-ascii?Q?XmEokR0WTV7ck9kduo8meLd1RdwMILB6nDzZKsSLXgnpqJYNfcCcl4E9U5YO?= =?us-ascii?Q?/lhyQH6mYvO3+ySnOzhc9jRHlVgL588bJJ7jIBvKJxwvyWofvNYMvtLQOXKm?= =?us-ascii?Q?Hc70xrDy6innS69yPtRJYEHNCyRWpVm1d9QNFv2V8M5i8gM7IsGcqkShRvp8?= =?us-ascii?Q?1BzDkUa1eQfOpeMZSkK/iKC5a5hzshsqV/QkXkakSbS3qG9MOCWetRw80FTY?= =?us-ascii?Q?5gftwZPn6HnM4xUgKlpMzIAd/fXhphEtjJKk6D1XgE2ZFMXBPiwTuKyJ+o1l?= =?us-ascii?Q?ZVGN7adSbJQVN87M7DB3cJlvSWSChUu68crbhuh1X9TL3kaerwwNufBnYcxX?= =?us-ascii?Q?od5xrlF2LkP3buflqKXLT2HO5BZtv3JfupVtDd2Tj15FYkWWkWqerBN1lxPv?= =?us-ascii?Q?xHDURT2GnXvQpbiioRgOX7F/Rhm1XmMSSdqkgRX4NVRKVwpBGnP6kN/XEf2O?= =?us-ascii?Q?8gU26PGiw0DHvrPB+KA1uIqp8LAjz2qbxbv0zXYTDcXpGe8yYuqcgLshMgUu?= =?us-ascii?Q?/7w=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f53d823-7a9c-48b0-1408-08dc2e81b08e X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2024 23:56:13.0501 (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: DS7PR20MB4112 >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, but it may be better to follow the actual SoC configuration. In addition, most device node should reference this node by using vendor property, and only at most one (or two) subdevices. So adding simple-mfd property can be delayed, dt node itself could be more important. Regards, Inochi