From patchwork Fri Dec 15 11:41:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhifeng Tang X-Patchwork-Id: 13494354 Received: from SHSQR01.spreadtrum.com (mx1.unisoc.com [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 1C804250E0 for ; Fri, 15 Dec 2023 11:42:20 +0000 (UTC) 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 3BFBg8l2006898; Fri, 15 Dec 2023 19:42:08 +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 4Ss6c337Vlz2PDtHV; Fri, 15 Dec 2023 19:36:03 +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; Fri, 15 Dec 2023 19:42:07 +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 V2 0/3] clk: sprd: Add reset controller driver for ums512 Date: Fri, 15 Dec 2023 19:41:26 +0800 Message-ID: <20231215114129.11313-1-zhifeng.tang@unisoc.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SHCAS03.spreadtrum.com (10.0.1.207) To shmbx04.spreadtrum.com (10.0.1.214) X-MAIL: SHSQR01.spreadtrum.com 3BFBg8l2006898 From: "zhifeng.tang" Add reset controller driver for ums512,The reset register has the same base address as the gate register. Changes in v2: - The binding files are combined into one patch zhifeng.tang (3): dt-bindings: reset: Add reset controller bindings for Unisoc's ums512 clk: sprd: Add reset controller driver for ums512 arm64: dts: sprd: Add reset controller driver for UMS512 .../bindings/clock/sprd,ums512-clk.yaml | 3 + arch/arm64/boot/dts/sprd/ums512.dtsi | 9 + drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/common.c | 1 + drivers/clk/sprd/common.h | 2 + drivers/clk/sprd/reset.c | 78 ++++++ drivers/clk/sprd/reset.h | 30 +++ drivers/clk/sprd/ums512-clk.c | 240 ++++++++++++++++++ include/dt-bindings/reset/sprd,ums512-reset.h | 203 +++++++++++++++ 9 files changed, 567 insertions(+) create mode 100644 drivers/clk/sprd/reset.c create mode 100644 drivers/clk/sprd/reset.h create mode 100644 include/dt-bindings/reset/sprd,ums512-reset.h