Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp227921rdb; Mon, 22 Jan 2024 18:57:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMw+4l4sa2GJU69GgT6zPVmM0S0ZE6k4rpJZMKctk+Bvn9yUZxYQoS29nzkkWPVBzzCnTS X-Received: by 2002:a17:907:d042:b0:a30:721d:75e9 with SMTP id vb2-20020a170907d04200b00a30721d75e9mr919687ejc.24.1705978647931; Mon, 22 Jan 2024 18:57:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705978647; cv=pass; d=google.com; s=arc-20160816; b=jrvfoedR048tMgzc655GoYyexTdKtjTB2xech+R4toeKL0TuxkTkXLFBLA0JzBiXIz eaLPjxyyGrdxGIlGaxooo0mIwh2Ppqr7WFtdvQMRRCO2Drkh3CBOjxaQJuxlKGvOUf1v 9nJ/COL7QcpTrl9RmZoCiv7oO08i7S35W8PtwugXgZ63hu/+Xi1wuhHxWzYWPcrTyY2i W2EoCgtp+oBrIW3PlO3bjz5QtBzA/mZaqEMDLehF3bawEo7r4f5J64P48ygwpHMkuCZ4 NpYvxy7FvpGy8cIfOkHhM6t1CoMjS7eKTzRo1jKikiyJbOqb4L3v38j4pLyWz6OfDgeT 1MGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from; bh=MbC2eAIFV1dXLe6TZofuI8nVasn+GXZqwaGwNVGhMJc=; fh=RIdKBkSEYOWz7yeeusgHNJ/dMRiN5xTpfnP63Nqm+gQ=; b=ILk+IaRDGZRRA/sfPxjjwM0AOVMgrZjFhuvPCNeVPG9y3BHXQMNr1WGJ7E66KrOLvP pofNiHzdoYXeisnZHonqj9sH2jSYwAiUa48KvxhuWJsem6apJbbAnQdwttD/DG6CU2r6 UR8PY0RnHyTWiGPbB7pgMxPUdcZOFzGC3b4MfTZHSMGssQYpHJ42idmK/Z2i/CYQzGcF /H6UYMNJ2mhjCWfQev4Sn7yyeifqVh81gBNsvc7f5BqiM17Ayq6Hgg3B2NdUsD04taDi QY/fk7mnOMfaZMSkDm6c4pKrpROnDwp6WgrLrxwYB3AKJWh6lV78ENfrA8TwQDm4MO1d MAJQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=unisoc.com); spf=pass (google.com: domain of linux-kernel+bounces-34663-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34663-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o2-20020a170906358200b00a28b679724fsi11034020ejb.860.2024.01.22.18.57.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 18:57:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34663-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=unisoc.com); spf=pass (google.com: domain of linux-kernel+bounces-34663-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34663-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B0EDB1F22619 for ; Tue, 23 Jan 2024 02:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D6C22114; Tue, 23 Jan 2024 02:57:04 +0000 (UTC) Received: from SHSQR01.spreadtrum.com (unknown [222.66.158.135]) (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 788C6A40; Tue, 23 Jan 2024 02:57:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=222.66.158.135 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705978624; cv=none; b=iqQLGC6ArtNIJ69nyzr8YGLCGSOO5k4u+c2wlg2LDhRBhWG8hsz4LBX+SRRz3zxycgLltlS9BFzo+Au+MdeBIVEw06HyPKN+J4a0J1OqXJmejL6ByplWsHe6fXptjhO/cDqiC+TcbExeUBvuzR10femfU7x4jMnn4wsBQnAw3tg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705978624; c=relaxed/simple; bh=HO+P9HHk5xdN8+9NMbhUtb2fAk3bvYT5z8UnLdpzVaE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cs6Yrp2JYFH47NADkm6Ewo7ZV5RT0Vdnp0fCI+z+h8zOWXXC1ae9/y2vBiTzc/lKeHUAjDVnpHsNW420Cocarv3MblzkEfmdQ4wQgsxVKHfQsMq7gAcidSG/KYIQU48/nVmoaqxwFhBGN1hVXJJPQ06vP5Var9AQOlkaIzSxtds= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=unisoc.com; spf=pass smtp.mailfrom=unisoc.com; arc=none smtp.client-ip=222.66.158.135 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=unisoc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=unisoc.com Received: from dlp.unisoc.com ([10.29.3.86]) by SHSQR01.spreadtrum.com with ESMTP id 40N2uJox022812; Tue, 23 Jan 2024 10:56:19 +0800 (+08) (envelope-from zhifeng.tang@unisoc.com) Received: from SHDLP.spreadtrum.com (shmbx04.spreadtrum.com [10.0.1.214]) by dlp.unisoc.com (SkyGuard) with ESMTPS id 4TJs3t5pckz2S82tk; Tue, 23 Jan 2024 10:48:58 +0800 (CST) Received: from xm9614pcu.spreadtrum.com (10.13.2.29) by shmbx04.spreadtrum.com (10.0.1.214) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Tue, 23 Jan 2024 10:56:18 +0800 From: Zhifeng Tang To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Orson Zhai , Baolin Wang , Chunyan Zhang , Philipp Zabel CC: , , , Zhifeng Tang , Wenming Wu Subject: [PATCH V4 3/3] arm64: dts: sprd: Add reset controller driver for UMS512 Date: Tue, 23 Jan 2024 10:56:13 +0800 Message-ID: <20240123025613.3976-4-zhifeng.tang@unisoc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240123025613.3976-1-zhifeng.tang@unisoc.com> References: <20240123025613.3976-1-zhifeng.tang@unisoc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: SHCAS01.spreadtrum.com (10.0.1.201) To shmbx04.spreadtrum.com (10.0.1.214) X-MAIL:SHSQR01.spreadtrum.com 40N2uJox022812 From: "zhifeng.tang" In most of Sprd SOCs,The clock controller register block also contains reset bits for some of these peripherals,so reset controller and clock provider are combined together as a block, and put it under the driver/clk/. Signed-off-by: zhifeng.tang --- arch/arm64/boot/dts/sprd/ums512.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/sprd/ums512.dtsi b/arch/arm64/boot/dts/sprd/ums512.dtsi index 024be594c47d..08d0adf6624c 100644 --- a/arch/arm64/boot/dts/sprd/ums512.dtsi +++ b/arch/arm64/boot/dts/sprd/ums512.dtsi @@ -7,6 +7,7 @@ #include #include +#include / { interrupt-parent = <&gic>; @@ -182,6 +183,7 @@ clocks = <&ext_26m>; clock-names = "ext-26m"; #clock-cells = <1>; + #reset-cells = <1>; }; }; @@ -316,6 +318,7 @@ clocks = <&ext_26m>; clock-names = "ext-26m"; #clock-cells = <1>; + #reset-cells = <1>; }; }; @@ -333,6 +336,7 @@ clocks = <&ext_26m>; clock-names = "ext-26m"; #clock-cells = <1>; + #reset-cells = <1>; }; }; @@ -348,6 +352,7 @@ compatible = "sprd,ums512-audcpapb-gate"; reg = <0x0 0x300>; #clock-cells = <1>; + #reset-cells = <1>; }; }; @@ -363,6 +368,7 @@ compatible = "sprd,ums512-audcpahb-gate"; reg = <0x0 0x300>; #clock-cells = <1>; + #reset-cells = <1>; }; }; @@ -380,6 +386,7 @@ clock-names = "ext-26m"; reg = <0x0 0x100>; #clock-cells = <1>; + #reset-cells = <1>; }; }; @@ -401,6 +408,7 @@ compatible = "sprd,ums512-mm-gate-clk"; reg = <0x0 0x3000>; #clock-cells = <1>; + #reset-cells = <1>; }; }; @@ -416,6 +424,7 @@ compatible = "sprd,ums512-apapb-gate"; reg = <0x0 0x3000>; #clock-cells = <1>; + #reset-cells = <1>; }; }; -- 2.17.1