From patchwork Wed Feb 14 02:45:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 200788 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp949672dyb; Tue, 13 Feb 2024 18:55:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVuNo9wEoqeobKVyfRNWXqY9zIbqBlXJMtKhm7IoHrDKwecYYjoOJKUb1stYiTZHkDVDSDeHn+95tnJWRnfMYbCELeTXw== X-Google-Smtp-Source: AGHT+IH0Sv00HYCKIqNE8RnYLILDFkxqINM4CLP4NpV8055f6GzcDgXJUHzS+z+HUFBAVDe7mc4N X-Received: by 2002:a05:6902:2309:b0:dcc:e6bb:18d0 with SMTP id do9-20020a056902230900b00dcce6bb18d0mr1491096ybb.16.1707879304405; Tue, 13 Feb 2024 18:55:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWC5jINinVBu4cXPBF48ybn7FQjNR1kxyvWeimB0zyFPwKO4tooQOonMqdVymv1b+lfbUjf4iOJD75s0C4to7uF6jI8ng== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d19-20020a637353000000b005d8bc09efb4si2868630pgn.886.2024.02.13.18.55.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 18:55:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64697-ouuuleilei=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=ZGFnKN+m; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-64697-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64697-ouuuleilei=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 BEDF52909BF for ; Wed, 14 Feb 2024 02:46:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7811947A; Wed, 14 Feb 2024 02:45:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="ZGFnKN+m" Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2077.outbound.protection.outlook.com [40.92.21.77]) (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 827B0BE4C; Wed, 14 Feb 2024 02:45:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.21.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707878752; cv=fail; b=MaPIvxUd34muE7/5HHAFQcZPzIVJa/IIYShXmy6hxbMvLauSAPMdjtnYYr5etol1soFzMfy/d5n4sNwOZ6yiQ/MMgvNQWxsuTYQWLNeIhznYEMzC+GxTcKt94cERS3TpH7KuNhXtD7IhhCTEoZrz772v4o37wLtoE9FrKPpPGNY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707878752; c=relaxed/simple; bh=bawxOijEcHnMT3Obq3Z/hIZUV8e+rloP1T/vL3l7yp8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=OFbCcDobp0jTAz51B3TPR0wMQEloX5EpfWoMyOeM2q5KsrwWNnJd3GGS6MZZpM33Ix0BEW95q5TZo8qGQaw4j0EK7hntBvOKdzHyHNDt11EnqTFidQhLcPsxFhbarZLrTHFFtuQwS5Tdy4QpY77JP3UgwKARIdADA7YcH0fsFKY= 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=ZGFnKN+m; arc=fail smtp.client-ip=40.92.21.77 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=mCrHF4ykECPtbngUz21cRWjGt8zK68DIRVVYuZKBQE6UWrZx+YCnuuz6+N2VHoLgNyBuqrX912iyo41X3KXN4rhag5J5Yld8eXW4TANeq10GV41hRUpX8309RyGQhwdVJT2d+2tbeAyoD3d0g7ZH50mg4DaJzHttw2GZ8b/Rm7u9awOu4Ncoh6dY7kuigtY9SfVCOlYaBQOD3+ibrqNQF9ZZsnKbonxwv+Hpgvt33Q2ByUniRCNGM9tWIMjaSs12KDlDRm8glFVpZsTF82Pq9uvczYtDQF7pcmnMQH5ev2L2pjOticF2s+zlNEYgNrZtTVUcQ7Fom77B7eURTpPmeQ== 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=60NKp3UCzdPXkXtUhU+cgJy0XBC2Ez/PysKkRmAtMBU=; b=cCenzLTN8uzXH9Gf10058LiTs1139cPe9l15LioamUC1VEom3ZV22VyU/2QimNl8qw5tpfVKqJagGWU4Ns5hKZLcqWGd/8o70wLE9SSmfmfccpYF4IhlMcZKZonnpKnk/4WIh2T8t62uIO1cx+NOzxTX8/nx+ke5HbESuOG/OQHAmcUrv5ENkntyNflp7rJmtYxue1rwrYp+JD2oY4I7LEPHXN9PuBDMEo7QJBx1suUVWxMD+T/ij2ptkDuHhIxVMh4FKJACF/sMR9+m3O1DrnvBrrjNKxf/ZoUQ7Y8gn14JA6Po7rs/l0edkshTX99Ws8893Jj3Yr5aMfnduf/oGw== 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=60NKp3UCzdPXkXtUhU+cgJy0XBC2Ez/PysKkRmAtMBU=; b=ZGFnKN+m6Tcn9GEW9bE9coebccAU/rgNrmTtz5iTTVszAwuWBovZm0udVZn9B3xvZBTEIEy8ZmOLNbHCwIZEowkbBOLyUJjXp++K+BR1swDG7vn4wQuLKmsEYKOBGSvbIyoZ8Nfo27x1KnyRDPLyr2bXAtnfhO06v6crFtwkPR9XuTdb8e1OUzLD45xdmAmg5m0ldY9ZiP4lvIIgqzFyRk2OcgOdzMBkLf6+Q9xH5jgs6U8qWvTqv5yIcqpb5jMIe1GMf0W+f9zBTQk9P+sioUJqfqp0tJMbW2IXlQYl3NnqHlRGvrQcVMKLcI4nYW/OGQmeKdOlnqq9D49eyvExoQ== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by CH0PR20MB3788.namprd20.prod.outlook.com (2603:10b6:610:dc::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.26; Wed, 14 Feb 2024 02:45:48 +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 02:45:48 +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 v2 1/2] dt-bindings: clock: sophgo: Add top misc controller of CV18XX/SG200X series SoC Date: Wed, 14 Feb 2024 10:45:49 +0800 Message-ID: X-Mailer: git-send-email 2.43.1 In-Reply-To: References: X-TMN: [GCnDntMKZ5seAFvkNrKolpPeRuHnR+hHYyWI2RgsATCMWHIANGGx0w+ffB9CRfrt] X-ClientProxiedBy: SG2PR03CA0096.apcprd03.prod.outlook.com (2603:1096:4:7c::24) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240214024551.292853-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_|CH0PR20MB3788:EE_ X-MS-Office365-Filtering-Correlation-Id: 26afa5b6-2b50-4963-8d3c-08dc2d070cc7 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sL5yrl3LpP4sYGLPy1f25N0unbErOA9OyFWz7p7D/YgFRDK87QGSO3eG9bCbY9bqU4gD4Y/d6K18kyIHDXEe0x/tmvWH9RC0ea7ZsHPrhhud9GsJdTH28ZvajSjBGLvp52I6vyLlmnqwPftBIBwhGx6vHzkdWA3FlMFdfpwlGpUvnOrcBZI8ulfVmdbSk9bCdqVpwmunvfoX7CONfclSrCNlGunxz5GPgP5g773XFBy3V7fBGK6AZMzY9FzrMorA3V1K8lma3DZyll38w55dBnoAoOc+ZKJkSbBswsU08644sygHrAdbSZ5PVqPbMMHatbbXBjmzREevo4MqNmXpq7yu2OuBGsYjAkhKfiHZOMMQpV2jJ8mGTo00YjprpwnpTaElxg1IeS5gxOOue+pHxweHFeH1AHJDgF/GXL1SuCxiyFq31XFjnwjCV93lGlUF055aPz2ooVBtKUAkV4qXBeLrVqKfyvzamiNMj6AC/ac297ojG6lIDOCskaYeocrvGIbYTRwi1IHcOtbg2e+1lQzcXKcT/SO3JI/6TCu/Nn76duX+9kkE7sxFahio6ut4hYHQxN5V0bJ7X/f8sPXAJC3YtDsksdCphcb5xZSHQ1RqZrzL0uQUxknsEPBdmJbuSzPWa/xLJG/9I+afHTevobKflgG5Pp0mI6LErrMarpw= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rVSMgrfoada+ZQDFIk5TwUlkEDv1lgH5geGiyeh3VleHg/JXABiwnrQsT1X04HfHtiMWrY1PEGn5x7+vAX3bbjJ4qtRz3J8aENhTDFMum1SD1+YJnqLEY7EHHicgwjcwv4I5VIH9yrLW4RfmcQcz6X97q5QknpwLUUcnC03j6vxbUF/h/2tRroFlaNccmTQ/wnEndlx3JfTV260aT3FtX1kAi9DmKSWR3X07lZJr18sZTjv2p3PUdkq9nSe7IQTsbW1Tph2JFwcUWFAumiKBq8dsA56MwavIW/McVzwdwH+S2nCEfvOEnxFYuXvRoaNKPI5jw4j3iYZ18BJXZWTruvQ75JRbCYxnYKwiWSBkvpDE4bl+KnV+zK8A9APfRmRxlusDRSPHCM2oULcqNk7JxQFqORTNjqNCizBAz+US1F6tbMueonMgzWlfL1o9Da2hdgoaAqcAwewiZLlJz8ttpEufPwmQffZvHYTAUtkvjAalxf7/uYs57wJnUHjZf9U5kpEoDDqT2dPhuZHEbTVk4FChHlDrbTngahggj2uQQPssggHjvEUAvuF6Eb66fx1zaUu2UOfLtW8+qY5B4aXzdVFyJLANd8N0DxPly04c6m66dtMG2RDaSOsHETAb7VKr/DY+93K+RidqNAEgzbou0PKWvOD6wZkK00BqA7ZhVKbeEk0jjyqfaDdHGBEfK3hhlJRyiFVkzCLnpDrZHhVTU1XjA7D4JQagnG9czNpqwxCPJVGyOPMSgz8Xgt+1KSFon7QgLQxBvRXr+ITBdjogyJq/0OhcOIE/XRTFqctPDn3IV1VeU78AvbtYp5WcLDJnZsBqkpqJDyKC+Jnq5qRJ3XklMnkg/4eaQhRLf9ZQIgAF0/nDLq9mIUanqFsAhAoTBhWcjIP86xcLF50+liGv3MnlqvQroToIiFezpJ85j82kRfhOUJK2zh6t0Je8RAub3FZaZ9VGpzUO4QsNEVoR5q6dB+mWnh0XNwrsRwuo2+KbxBaqkiUuTAJZScm1C9Wsm2XsiaTnGIfyxh5ev/LC2659vn13gDmbvxdWBY6D86/oF7spJ+D28Oq2vrDbZ/sxnU+J4U99NqtnS1QXdBtmTUJZuqqKRAqbYjUJa7ghMA5GGMTQ+26fBLHNtUubmJdrvOxTpBUvqA03BaESuZ8dzttZMgeFrFtXzSEbGLWgzDBWRpV0IeEjSCdulspiAqBZAv4VJMZptTeb9gaVsCsbtR5fjY6TLJJ86Qy1+mGRKUsKW6CifTIEhdhCj10WqSraadchEP1qQiBC6dF1Ys8Yj89xzNmv/vVY6v6awKa84qo= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26afa5b6-2b50-4963-8d3c-08dc2d070cc7 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2024 02:45:48.3605 (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: CH0PR20MB3788 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790841249402548995 X-GMAIL-MSGID: 1790841249402548995 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 | 41 +++++++++++++++++++ 1 file changed, 41 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..630257083cf8 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml @@ -0,0 +1,41 @@ +# 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: + 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>; + }; + +...