From patchwork Wed Feb 14 06:33:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13556002 X-Patchwork-Delegate: mail@conchuod.ie Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DE74BC4829D for ; Wed, 14 Feb 2024 06:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0zAqenj1NweHMmGC04f73QUhtHkOg++3hxFheTjhXJI=; b=zoqfYx+SVyTG4G 0ZYMA4iW7g2LlpZslONjr5qGE1FdSHglVCo6GGOTFX2zAzW+da3yowOttGjbiqPiU7fYtgGfx4+XH AIxdn1tngOINY56l0wf4XNeMyzAzAC6PN8ngZGBLjmSBzrMUS2DWmf16aczdwuD7EPdcztVip3T5E UJCURCmw4aypB0XNdhK1tDGte9JMNFUU/EPVzTtD3bfvMsCxLAWT4atMG9q/pzBazfiv8/3KbghhB BV5geeLwKbtvdx/x0ZJnur6vP1m+hmYAP5TyZpVC7iiIIrFXoks0BmL65CrroiC57gBTbopfWJgLu 8q8i1LKQbZhSWh5GMqbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra8pp-0000000Bxp4-0Vie; Wed, 14 Feb 2024 06:33:33 +0000 Received: from mail-mw2nam04olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2c0a::801] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra8pm-0000000Bxo5-0pYs for linux-riscv@lists.infradead.org; Wed, 14 Feb 2024 06:33:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P4IG1Px7SH1ICLdADVGq8H2xMuIi974hyv6BdsSvLeJyazCWihUC0/vmSfwhi/J8VgdB7p7XFjawIn9ky+JjD0kBT5WaRHSP09shfX76rNoD21y07csol1XBX89RLTV9S35RwBk2y1ATvOUoNgzJT0y4S8x6Dld/giNaOHEYE2Jm1v29gZY7Yy7RqJFHwdZXqhsyyoNYDDEUpWyTgM/03ImowGSFwqrntdStjF6bTdNmvRO3KMERlPz0xk6PtOa576dAfj73+oAMdsCu29/I7VLgw+6Bm8kAwUKQyfLyvN3dZE1NmK+VlisbSCAE6nrQwyuHT8H3WrJ4Uwta/XyXMQ== 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=mFKGkLHmQsQ36AYIhbDW0HsveA4Tcr9QY54Mgck8DnU=; b=dNj0hmdfw3EU3CanHDdoGRVNpWmYMSYHwW1YkgxEgGDksdgnHfNejfoouM1RrUyOU5k1EYirXVZsYhHKqUVMeaBU5x3EM+Wy6HFNNcnp85zp5YkDXE4Vm4320jGHQBM299Axky40voG75NrdPRJ7haW28PtPxwqVKZxn6TBQa8ZPzdE/Vtnv03X3k7Za5xfKn23CEQmtwtY8e5jyJWB2xt0MmhPk87f7OYEZVCUXRH+oe+edjXVdSjBJa1VxrHSjN8/ZmfCg+Ml56URZqCc9wGfpI/XIokMrx9l/FkO9NGh1q06ipn2G4Qhf6VQ5cwCZneNx50sZE35+Q5h1EjdkNg== 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=mFKGkLHmQsQ36AYIhbDW0HsveA4Tcr9QY54Mgck8DnU=; b=T2zHxicECUZX7AZ7QeA8OrbqYujjv22YFt7Ogd27wm6Mc4kEep4IZ0sDf/tiB7rBkfM/Rx8ksEOFtQIGpA5hKTIF5mr/l1ozJDRHz5X6zQNdEg9ojux8hQbl81L3zB72MNsDHoZ+Zrlp2GFkEof+u//0Fvvrcd7gTiMusXQG2DBzzIsRxLYWRQ2/IxfduHaPgWTgl7oHMn5P3+IWvf6NMEClKTVcQFyEiuqRsjzUD3isugGWmP2kvnEe54LwR2yEIqDXx3z8BSiHX55JX+xGtchBQElKlw/WdXl4hOXhFzyaWwti8Z/aN5QfQEbhYYs0bj6o+A+ypoiQyJKJk9cdPg== Received: from PH7PR20MB4962.namprd20.prod.outlook.com (2603:10b6:510:1fa::6) by DM4PR20MB5063.namprd20.prod.outlook.com (2603:10b6:8:8c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.39; Wed, 14 Feb 2024 06:33:18 +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.7270.036; Wed, 14 Feb 2024 06:33:18 +0000 From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Inochi Amaoto Cc: Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v3 1/2] dt-bindings: clock: sophgo: Add top misc controller of CV18XX/SG200X series SoC Date: Wed, 14 Feb 2024 14:33:14 +0800 Message-ID: X-Mailer: git-send-email 2.43.1 In-Reply-To: References: X-TMN: [8qV+7nW4eUMheqWvmiuFgpPqdzNff9G/VBA3Znb5vq8ts9zKBeSpADPFh2s22jQt] X-ClientProxiedBy: TYCP286CA0063.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:31a::12) To PH7PR20MB4962.namprd20.prod.outlook.com (2603:10b6:510:1fa::6) X-Microsoft-Original-Message-ID: <20240214063316.435254-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR20MB4962:EE_|DM4PR20MB5063:EE_ X-MS-Office365-Filtering-Correlation-Id: 06cd7927-64f4-46b2-3401-08dc2d26d4d2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pF1CPjZnbekDjiJ2hdc1WQIkUAMU0rXw/sGyitnzVwV2wFNm36cGQ1Aj56gkWha4yk2I0WxaIGmNM5myp07TJnMOLrvz0TVCJbXtzKuQbzheIxfUHOBIiejTUBrbyC+GUU2KURvlse0eJnYwfP659tjA0X6ZPZzxB0825MdwoTSOqQ+ip+Jju04UVYEJpq1KVjbhWlZLziRZi7hlE/rrnpRo+RKxxZSXFoe7u+s1Zphef2d1kIw0K/ENHCEaKOAfbKuo7yHqomfS4yVA+RplTlZ0HrRSfx73mnsLukIPMnUyMph9SZd9xBQjlhRPhYTw+ySjV4o7KGf1L/pAByTS+N/jEhGzkJtkbl2WOnPNSpbhhAUeIH7kGzVKjEYRDj9vXvbkXO9jFokhL7MQPpRrpchKuHIVyPDH802GzPHuPD8GuIzpQZd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bcVQgtZKcgx5rUg7joXXIstP+Y3O1ORvQeu7UPA6JiHXiIjKxYX3K1sLzm9MdC0xVscm/nVl/E5VeK4Ks3fAAxC4qMRVyiT+2rPuMUTaCu5PfRYjHD1irjC24ys0C3tAbz44Yv2QsjMfg8XBF1sQr3I652Y8vtmlM0Ok8tdQK0K/vH6swqy5G6Q5zmyChjGLMF9HSDbqtgt6bv2OzVN0YElplla94+mzbehROOEO4uFzVEiGvo1yiCY1AnJqseD1vivZcFf4EjZyS2cGKFsJQugtWD9vMMksVBj9vkQVVRWNQvGlqBOEGtcwHHN/egRspQStkdHUN/q5CEIRwXDJ/I4Z+fvTCcpjht/twwDKXPvXn3j8itaDISiMUmwU5y4coChpDjHz4uFmll7hdXGQ7ZvrKeDtHQYEL/exG9o5icReJWG7jQUcVc4G6tfO/SfZusmi8UKIUoD1JJUDSNNl3c2Kwvz/y/vq7KJd+xAZgK2nHWubeDz6HmOcgu9SWnCIs7kg+N3eiD0bXwYsywHf/WDVV7pvMBMDAExhj0ZTDTm9zK8= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06cd7927-64f4-46b2-3401-08dc2d26d4d2 X-MS-Exchange-CrossTenant-AuthSource: PH7PR20MB4962.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2024 06:33:18.4649 (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: DM4PR20MB5063 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_223330_253370_6C20FA5E X-CRM114-Status: GOOD ( 10.90 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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 -- 2.43.1 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 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@3000000 { + compatible = "sophgo,cv1800-top-syscon", + "syscon", "simple-mfd"; + reg = <0x03000000 0x1000>; + }; + +...