From patchwork Fri Jan 7 02:39:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zelong dong X-Patchwork-Id: 12706113 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 2919CC433F5 for ; Fri, 7 Jan 2022 02:41:24 +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=u/vByc2N8cIPIa6MsAVVw+GMm7XHtHLzr6hMttxLcWo=; b=uxoNHAjA3mROpD DpJ3G63FGQGEhZT41k4yM93sZm//gZCqhfEkcQSyHVo09VdQG4XxheyCYJjYHsJ/IPY1aqm7pIP1b HjM0HUZkMxISPR/0sMp30ghHrKzrQMp3jHylZT73BTi9QugIIYK0xr/Qc+Vs3h7ZkG2FHar8Ny8Zp Lpy1qOJko7DPBztPHkX8dmrdUvIZ7RXGPoolqzHEhZnYrxDcZ6SQDQHfsaCcYq6fnQLUbtBLirRTe lrU5CsRt8PtR1TxIGtjgG9oHkFAAuEpJh+OGGGRSKdT0rKdkrgGiJV9bXysm9w5SsK/XCjlIBzAqo GwNtB9N/vBWcEMp4SScQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5fAo-0020lT-I0; Fri, 07 Jan 2022 02:40:10 +0000 Received: from mail-sh.amlogic.com ([58.32.228.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5fAk-0020jF-E9; Fri, 07 Jan 2022 02:40:07 +0000 Received: from droid10-sz.amlogic.com (10.28.8.20) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2176.14; Fri, 7 Jan 2022 10:39:58 +0800 From: Zelong Dong To: , , , , CC: , , , , , Zelong Dong Subject: [PATCH 0/3] reset: meson-s4: add reset driver Date: Fri, 7 Jan 2022 10:39:28 +0800 Message-ID: <20220107023931.13251-1-zelong.dong@amlogic.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.28.8.20] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220106_184006_527034_528B7158 X-CRM114-Status: UNSURE ( 5.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patchset adds Reset controller driver support for Meson-S4 SoC. Meson-S4 Reset Controller has 6 banks (the number of reset register) and the level-reset register offset is 0x40. Zelong Dong (3): dt-bindings: reset: Add compatible for Meson-S4 Reset Controller dt-bindings: reset: add bindings for the Meson-S4 SoC Reset Controller reset: reset-meson: add support for the Meson-S4 SoC Reset Controller .../bindings/reset/amlogic,meson-reset.yaml | 1 + drivers/reset/reset-meson.c | 6 + .../reset/amlogic,meson-s4-reset.h | 125 ++++++++++++++++++ 3 files changed, 132 insertions(+) create mode 100644 include/dt-bindings/reset/amlogic,meson-s4-reset.h