From patchwork Wed Feb 14 01:35:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13555884 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 2E7DDC48260 for ; Wed, 14 Feb 2024 01:36:21 +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=LMd30q8Az+C5QaRhGfBuhz1ENpiihD6UAILxbBVxd0U=; b=y+2uL+lTaAXW5S OuUfbgg4lffqMUhmhvGsW6ySnQDpA6kaWDakJw0LRkcwvGpgj9MgqTvCN+2mob08FJs0jWmVzbP85 JP3xp/NW8x2RSEw881kjtllyIVKliDQJauPKec5vanVOL8yr0Nk1ka97j0EcxEpaGZpbVo7v1uq90 bfLmfCJPy4EjACS+bDe1M9rXPXchFgE67x1ff5PbbqD0dcXOuvhkhyvKIPe/MJA3AhZqQhuLjGUXw u6QcV/mINcvC1fYGl1ouhcvkZK6PMyd5KRCk7xiJrl370H0xPDkzHOlgBc38An+cHdHlxsmsHFSBw qIqC5epIH+r+JtjEWTOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra4C9-0000000BSwr-1Vbq; Wed, 14 Feb 2024 01:36:17 +0000 Received: from mail-dm6nam11olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2c15::801] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra4C6-0000000BSvi-3XmQ for linux-riscv@lists.infradead.org; Wed, 14 Feb 2024 01:36:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EgSAkMFQm9iI6K4e6+4h50y+UVs2qd4jBq2/4s10+nRWFTt3SwhQMZXgaooNHwF0VAJQu628aQI1s09TmZlMyLDyZtDQ3aLbXilgdlpYL7VmhC//+TdhKVC17bnDwpAFNeYLyGwXiPl2Z8VWyG7Fxgt0WZKqQkE2GhFEUGjrgUMkWFKrRTjoL4wv5+/Eyh6054Zbq2whI4sUGFKRDFqaBRt9EGKFs8tFukDi1c881GNsnRDtyO3DZAvzGhp7/A6Eqg+31+NtpTrVtDMO5oVFktSn2e70/Dw0YbR6nSbzVA7AgwHqAjoZTPWpaY5WtAxC66XOIo8DkxE87VeZd9yV/g== 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=EJVEhdsUwzp1Zy893CCZx6d3lVeYt4CWdmPe2c3eCUQ=; b=T6r1rcuh2jpZp6qNwH+/E5Ir7GnTu/jkojf7WEicdLZVm+HxdBW/kF6A3m17JfkRgHceUSeZX3NwTWhXvPgr6qTGiTcvNThI+b0o4YXAIUkLwGt490NKmA3fWT/TdfOqQJkAWVT3rYUZB2JfU4n9ZpqkrgoaW+6a6pemz3si0z5Wv93q/fieUBp6UaD/jYmncU3z9JmXG9acEkdXAPrSBi2o7OyuElgWv14SSjwEwDmyrQEgAirbFnCAacJmxHJVJqw8hpDP1vL5aWpjpn1yUerSQaxi3TUXyPru5JZI6g8gUhXhx/uNtlt7kQkwc8GmDoAuF2XkrDdyLoKh5wtrJg== 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=EJVEhdsUwzp1Zy893CCZx6d3lVeYt4CWdmPe2c3eCUQ=; b=mAd4ZGzlf9bcWolDJHdYAGJw6LriOfr2Mxtday30CWQPsWrKtlrpal10LoNAPcGT/BhKN+bRwIMaK/zJzLJeMKqD2FMyok8aZc0Yc8DMV+Oqzbvud2LX3VglpKweJQ5MIQ+UjnGL4luTOfiBKoDXb3A/OyXvlrN6eyc71m88coFbqUAl0j88QtsYBbDOb9uU8ZkVGlD9uwK1pmds7OqFX1hI9/4ilbTCE2dzlJ9jfTfZzaBffJ6Fe99esqkjheR5nGjgn/7TFplNFs1I5ckP3aPXG4utlq29jZ7LmkAFGvaKr8bYiW1OqBmdBtef5Fj8R7tDPQsflWwKGREE3Y/rHA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by PH7PR20MB4663.namprd20.prod.outlook.com (2603:10b6:510:1d3::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 01:35:57 +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.7270.036; Wed, 14 Feb 2024 01:35:57 +0000 From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chao Wei , 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 1/2] dt-bindings: clock: sophgo: Add top misc controller of CV18XX/SG200X series SoC Date: Wed, 14 Feb 2024 09:35:54 +0800 Message-ID: X-Mailer: git-send-email 2.43.1 In-Reply-To: References: X-TMN: [D2U0n48OAF+p2Ka9UZtgQQs3/iNVN8gm4E1gdwM0h5GCxqY1pG10Evj9BTc9yCqt] X-ClientProxiedBy: SG2PR03CA0125.apcprd03.prod.outlook.com (2603:1096:4:91::29) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240214013601.135526-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|PH7PR20MB4663:EE_ X-MS-Office365-Filtering-Correlation-Id: 12abead4-b56c-4067-02c5-08dc2cfd4a7c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IK5X+addsKz/aXRCBia6Ve7mFt0rcIVeowhGTM7frK4cDSBvUjMpRpYeusjsYHRFiGVTwbjRQRDneb+tJ/VF+PNvkRYZkl8+35CWPOqQM4so/KQ3gW5lAg+4Hs0kjiNkdJeT++LCHF+wOuIIjEG9+rVRyKOyYvCWfMU1UXw91DdXOhgZIdAkAZI6Iyx/89VWrBHjqZV3oS94wv7hOkU/g9h+VlCfhXhG/X9aWSdQfBfIYn6OHK+6Kauji//SM9DVUw9VHlBLneA/lLsmAv5Z7jk/5fp+WkcdE167st61iLEfHoORhQIF6YhNYKf6bhKAwOjCVyi6mA19gklvdN5EoKqGxkjJZowFMCnMrWGPuRT+4b1LkvMmayDO4IX59U1u/XPfjy1jXRGJ1zMOK4sHq4IBLF8RBoDQUqyGP50RD4XxjaTjNuYvL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6E9KE0LCGF3SJ16IMfXsaeVRZusQi1wmkQ74kAE8OK7gz4a1xzkY4k5GaXSeUBD07jIx/FMxE3NgLsZiHPGlrYyv9nDr5ZF6hQJSiTf8zWz9LIweCWgK9/2CwQay+4Z3WpQwG+GDaBT5/qIvCuS8cj7/NHZ7v+wmvEY8vEm3TNiQ3/veOufp4dGC7ExF5kbTCwKBtfJgSvuY8Ww4W4L1Cp3/uTtqqcUtWRnKyp0JvnFgAnGwftJq5X6nG7uL+VDz1bUZt9Jozk3h13BVF35yjd2cFs6J1lswonwSXzas+z/ENGhHnOUih5TO6+Z7+wIaqKSUimMqWkQVHNAKIC8gVKzMI43sC8kzhsAGLp791eJ/41ipheJS5KmbCapH9sMTeByGESpJM3kPrl2/hXJ0hJXFkw/UY/l/f1YXp7WjmFDhO6gqcMktn23NjpdHEvVTBkPNPb7u/ny3ue+kcpU3mMCrUZzF0FeLm5yCd8DspsPnt7JEYspFiGWLqu/GoCQC5H+x483HoNWGkfXOXPkaadChxUGGchCrB9+njsTVs= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12abead4-b56c-4067-02c5-08dc2cfd4a7c X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2024 01:35:56.9475 (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: PH7PR20MB4663 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_173614_896405_0904B877 X-CRM114-Status: GOOD ( 11.06 ) 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 | 43 +++++++++++++++++++ 1 file changed, 43 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..858f6a2e4c90 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/starfive/starfive,jh7110-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: + oneOf: + - 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>; + #address-cells = <1>; + #size-cells = <1>; + }; + +...