From: Dhatrisri Anumula <dhatrisri.anumula@mediatek.com>
To: <matthias.bgg@gmail.com>, <angelogioacchino.delregno@collabora.com>
Cc: <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
Shunxi Zhang <ot_shunxi.zhang@mediatek.com>,
Dhatrisri Anumula <dhatrisri.anumula@mediatek.com>
Subject: [PATCH] mfd: mt6397: Add new bit definitions for RTC_BBPU register
Date: Tue, 26 May 2026 15:42:10 +0800 [thread overview]
Message-ID: <20260526074210.1969655-3-dhatrisri.anumula@mediatek.com> (raw)
In-Reply-To: <20260526074210.1969655-1-dhatrisri.anumula@mediatek.com>
From: Shunxi Zhang <ot_shunxi.zhang@mediatek.com>
This patch adds new bit definitions for the RTC_BBPU register in the
mt6397 RTC header file. The following bit definitions are introduced:
Signed-off-by: Shunxi Zhang <ot_shunxi.zhang@mediatek.com>
Signed-off-by: Dhatrisri Anumula <dhatrisri.anumula@mediatek.com>
---
diff --git a/include/linux/mfd/mt6397/rtc.h b/include/linux/mfd/mt6397/rtc.h
index 27883af..001cef6 100644
--- a/include/linux/mfd/mt6397/rtc.h
+++ b/include/linux/mfd/mt6397/rtc.h
@@ -15,8 +15,11 @@
#include <linux/rtc.h>
#define RTC_BBPU 0x0000
+#define RTC_BBPU_PWREN BIT(0)
+#define RTC_BBPU_CLR BIT(1)
+#define RTC_BBPU_RESET_AL BIT(3)
#define RTC_BBPU_CBUSY BIT(6)
-#define RTC_BBPU_KEY (0x43 << 8)
+#define RTC_BBPU_KEY (0x43 << 8)
#define RTC_WRTGR_MT6358 0x003a
#define RTC_WRTGR_MT6397 0x003c
next prev parent reply other threads:[~2026-05-26 7:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-26 7:42 [PATCH v3 0/4] rtc: mt6397: Enhance RTC driver with BBPU alarm status handling Dhatrisri Anumula
2026-05-26 7:42 ` [PATCH] rtc: mt6397: Add BBPU alarm status reset and shutdown handling Dhatrisri Anumula
2026-05-26 7:42 ` Dhatrisri Anumula [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-05-25 9:14 [PATCH v3 0/4] rtc: mt6397: Enhance RTC driver with BBPU alarm status handling mtk34418
2026-05-25 9:14 ` [PATCH] mfd: mt6397: Add new bit definitions for RTC_BBPU register mtk34418
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260526074210.1969655-3-dhatrisri.anumula@mediatek.com \
--to=dhatrisri.anumula@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=ot_shunxi.zhang@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®