From patchwork Wed Feb 14 02:44:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 13555898 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 9BDEEC48260 for ; Wed, 14 Feb 2024 02:45:17 +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: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:In-Reply-To:References: List-Owner; bh=AZM6PXLpcbwU0upVBEaz0E0m/qQQP8EhYSY4u2fTyjg=; b=O43mylaZZ649ox WZfoY1jz7nDii8TsbtGzkmu3aLX3i5t7Ocjie8oUxmLpz/6WBclTiG9qzEJhl8/Ta+Jg9i4BClPFU lpwgOp6lgfY/N5IsB5+ASw7gpi2eaDOnLRAD4caNTa1tp8ylInEaKhbsbULtdzZzAynUAXDf1ymGM kSG3KAcY6QKNcZmwPl+TceHERyuASbfVGzAKwhVSLvApd6+L3TLBDy5iOARHev85yKepL8YxwpUtl wpqXhJOFWmJUizLBT4h/jkZnwErZhpIdeN84V2VUMu4GljIeOOvhinstA9FM1rfi9/eu15ETaqaaF 9PGv3E0cAHBRerFSsM5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra5Gn-0000000BXdu-2ZgO; Wed, 14 Feb 2024 02:45:09 +0000 Received: from mail-bn8nam12olkn20800.outbound.protection.outlook.com ([2a01:111:f403:2c18::800] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra5Gk-0000000BXct-32Nw for linux-riscv@lists.infradead.org; Wed, 14 Feb 2024 02:45:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GjV3ubEII8KEtKcILPS+pYn3n72uTkFlxXfRVuJXosImuuP05+1nUOrxezM+/0Kk/aFI/HPvIbZyuG2PziCHP+LF32Ua3G9m90ygH6UzGr6yIljYQhtl3EDa1N0xiNwhDKoF/cgly724Yd9NLxuUdObLJQqjQip5smVCZP1xakI4inMV94hfTPWHCSPBzr/auJnbwuACu+2Eawzzx0ZsAF3yyGRhKg2SOLWBppTlDCDBAfR8Efoijit+ctkQRYhPT7XLWuFIizYeYnlG1Mbx6oF11Ilu7pvXKc0jZ+rxbxhGbsfclN8/cqngTwkCG1M37UojBBe2ZBlyQumfM4u+lA== 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=sJ2M+DysXepoDTezNl6s4nOqMkjh0T3KRNnpm9ct2ww=; b=Ni7xIAaT2Ake12gOzT8IBy2LE21nG4maEE0jDUXpPOtWFq/w+fYemsUGgoCnztfE5vCJ5F3vk+wolgJA9nEWHRpxmcHlB4P2pOPG9a46baD93yJep4DqKEanECWVxXGcN5D0AbU048gcaMSvhN6b0dS/dSr03jWPcvKyaRfZGIrfovmXTWdspPUxjOoipbTaIUSP7svj2LhsGmrNFMqbXF8jpLM2ZB7vx7hxe5VoLTUfWlD8K1l978yMCUawH9os4I053zVjTTTYhmERHDcak8WkLzp5VsPhYlt5yxVxpV6BGlzCksLZwR6QQdoCc1JT16sE9hhCpiIjsDKUn4UusA== 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=sJ2M+DysXepoDTezNl6s4nOqMkjh0T3KRNnpm9ct2ww=; b=tHaQvRcFp7RycbI/3eqcU6ImF8+eSaenWA+USpYRCYNj65Mrjw3M9UOkvc+E0hz7psNJRpLeC48zshc3YsM8HrmWzhwoPWglXJZ4Vn9WFTp2wzl2/Hq9vEQH2HQPXkrREO7+SLGlea3uJqvKITwqNSdpySaPC/6NhGcvimaO/pHgMJn8NIeVQlba4CpVjinSZrCb7WkVAPRuYfrhs1NtpZcdc3K3j2cx+cWlgHmWwlt4ehoLHFzP4dK0kK7Fd01CaWPaPBG7gicBzbg+iHLdDlnxwKC8m0f+gZs5oQTXnI4ycN10VRIoZH27KmiYbdrMkDJt6EpEIxcuGGO3cMT/FA== 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:44:56 +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:44:56 +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 0/2] riscv: sophgo: cv18xx: add top misc system controller Date: Wed, 14 Feb 2024 10:44:59 +0800 Message-ID: X-Mailer: git-send-email 2.43.1 X-TMN: [a1dOetuf2yDh/pv/U1jbvvsRBwsqn0bRMtjcw6q0sBjdm16znKuxYclS6y9355o4] X-ClientProxiedBy: SG3P274CA0013.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::25) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240214024500.292723-1-inochiama@outlook.com> 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: 08ef5f2f-7617-4623-5495-08dc2d06ed99 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dqMkPWhRvajgHCTMt4nURKlQe0NOYznlHuQNrHMlIjOb8jrnRyEJDvTBs0uzIeFKIrbcijVGfUTi57gkc3mQywOyQFU4i9yNS5oEOzP6PGrdHFSZ8TOKN13PEBAaIBIROk2qo4AtgI222BQhgrKVsrQpHIrMmTOwwvwFq83/UH7nKN0bZc4ml6Wrm7WnOgAUl/d97Lh3MHVrP3PQsPKrg1pfKAETQYalDNF7XIqRLofwgs2jNmZoAScu38H0ASEttWl2J6ify0RXCaX7Npb4YJtbWHxQUUeMGWROLqfzERVYuD3kWa6JodtZuVix/nov9YjtKZXNX8LESqflQ+P6inEeUHByvLw6cOqFeDFdeqVcjpTWboUWMSBxq0zMA97c8emPhKCxFFslhuRPEbVh9mYBq5rYc9otayK6gLLOlC0XlgK0HOkKUK/sKNTkXJULTtbI2AkO325EvTYwW6fUQVbf7rnJ5tgH2Li5u56Y6sk+WOTW+wsV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CCAsjHXArLfUPw+vzcotq9E54T/vDmQQO0nB5n3M3+PO8Fa0x7b/NDU7ZDkNNPb48uUxm5gaSvCXATZH6Yx4RSgHj1uo1j+aHzg4aGkNnuMsRuM0aKThur9nAc0vbpe/J/DGNSuLpBSf2Ipie0oEbCKwGGrgliqYdnSJBAaStwf6hKAidgPy2cQfmM0UPsBY4OPjimLtv6aQbguZRuOMQTwvnck/UAC+fy/BIBj56evWkaN46cxDgpEFvwb/+WL8F0dAkEq0MFgVlQ19/DvaOKFWqWuPLS0BYOh71QpPkchVVHlH8fPW6PJa73IC1FBcNM/G83AJ2vfoR976ahrxt0pjA7R5VkwECtAE6Nm5LnTc2z9pN3WTD4RaKVmvQJJsequytakJ41gsaLoiasXdnehYQqQk6vsTUoZiRq1riw2I+RyvJPCacKCMQCY= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08ef5f2f-7617-4623-5495-08dc2d06ed99 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:44:56.0761 (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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_184506_820526_C6C9A0A9 X-CRM114-Status: UNSURE ( 6.71 ) X-CRM114-Notice: Please train this message. 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 Add top misc system controller to CV18XX/SG200X series. At least for now, this topctrl dt node has no related driver, because it only contains register for other devices, or the subdevice for some other purposes. The patch is submitted for providing potential common dependency for watchdog, sdhci, usb phy and maybe etc. Changed from v1: 1. fix linting issue. 2. remove #address-cells and #size-cells in the dtb. Inochi Amaoto (2): dt-bindings: clock: sophgo: Add top misc controller of CV18XX/SG200X series SoC riscv: dts: sophgo: cv18xx: add top misc system controller .../soc/sophgo/sophgo,cv1800-top-syscon.yaml | 41 +++++++++++++++++++ arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 6 +++ 2 files changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml --- 2.43.1