From: "Andreas Färber" <afaerber@suse.de>
To: linux-realtek-soc@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, "Andreas Färber" <afaerber@suse.de>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Rob Herring" <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
devicetree@vger.kernel.org
Subject: [PATCH 06/14] dt-bindings: reset: Add Realtek RTD1195
Date: Mon, 2 Dec 2019 19:21:56 +0100 [thread overview]
Message-ID: <20191202182205.14629-7-afaerber@suse.de> (raw)
In-Reply-To: <20191202182205.14629-1-afaerber@suse.de>
Add a header with symbolic reset indices for Realtek RTD1195 SoC.
Naming was derived from BSP register description headers.
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v1: From RTD1195 v4 series
include/dt-bindings/reset/realtek,rtd1195.h | 74 +++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
create mode 100644 include/dt-bindings/reset/realtek,rtd1195.h
diff --git a/include/dt-bindings/reset/realtek,rtd1195.h b/include/dt-bindings/reset/realtek,rtd1195.h
new file mode 100644
index 000000000000..27902abf935b
--- /dev/null
+++ b/include/dt-bindings/reset/realtek,rtd1195.h
@@ -0,0 +1,74 @@
+/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
+/*
+ * Realtek RTD1195 reset controllers
+ *
+ * Copyright (c) 2017 Andreas Färber
+ */
+#ifndef DT_BINDINGS_RESET_RTD1195_H
+#define DT_BINDINGS_RESET_RTD1195_H
+
+/* soft reset 1 */
+#define RTD1195_RSTN_MISC 0
+#define RTD1195_RSTN_RNG 1
+#define RTD1195_RSTN_USB3_POW 2
+#define RTD1195_RSTN_GSPI 3
+#define RTD1195_RSTN_USB3_P0_MDIO 4
+#define RTD1195_RSTN_VE_H265 5
+#define RTD1195_RSTN_USB 6
+#define RTD1195_RSTN_USB_PHY0 8
+#define RTD1195_RSTN_USB_PHY1 9
+#define RTD1195_RSTN_HDMIRX 11
+#define RTD1195_RSTN_HDMI 12
+#define RTD1195_RSTN_ETN 14
+#define RTD1195_RSTN_AIO 15
+#define RTD1195_RSTN_GPU 16
+#define RTD1195_RSTN_VE_H264 17
+#define RTD1195_RSTN_VE_JPEG 18
+#define RTD1195_RSTN_TVE 19
+#define RTD1195_RSTN_VO 20
+#define RTD1195_RSTN_LVDS 21
+#define RTD1195_RSTN_SE 22
+#define RTD1195_RSTN_DCU 23
+#define RTD1195_RSTN_DC_PHY 24
+#define RTD1195_RSTN_CP 25
+#define RTD1195_RSTN_MD 26
+#define RTD1195_RSTN_TP 27
+#define RTD1195_RSTN_AE 28
+#define RTD1195_RSTN_NF 29
+#define RTD1195_RSTN_MIPI 30
+
+/* soft reset 2 */
+#define RTD1195_RSTN_ACPU 0
+#define RTD1195_RSTN_VCPU 1
+#define RTD1195_RSTN_PCR 9
+#define RTD1195_RSTN_CR 10
+#define RTD1195_RSTN_EMMC 11
+#define RTD1195_RSTN_SDIO 12
+#define RTD1195_RSTN_I2C_5 18
+#define RTD1195_RSTN_RTC 20
+#define RTD1195_RSTN_I2C_4 23
+#define RTD1195_RSTN_I2C_3 24
+#define RTD1195_RSTN_I2C_2 25
+#define RTD1195_RSTN_I2C_1 26
+#define RTD1195_RSTN_UR1 28
+
+/* soft reset 3 */
+#define RTD1195_RSTN_SB2 0
+
+/* iso soft reset */
+#define RTD1195_ISO_RSTN_VFD 0
+#define RTD1195_ISO_RSTN_IR 1
+#define RTD1195_ISO_RSTN_CEC0 2
+#define RTD1195_ISO_RSTN_CEC1 3
+#define RTD1195_ISO_RSTN_DP 4
+#define RTD1195_ISO_RSTN_CBUSTX 5
+#define RTD1195_ISO_RSTN_CBUSRX 6
+#define RTD1195_ISO_RSTN_EFUSE 7
+#define RTD1195_ISO_RSTN_UR0 8
+#define RTD1195_ISO_RSTN_GMAC 9
+#define RTD1195_ISO_RSTN_GPHY 10
+#define RTD1195_ISO_RSTN_I2C_0 11
+#define RTD1195_ISO_RSTN_I2C_6 12
+#define RTD1195_ISO_RSTN_CBUS 13
+
+#endif
--
2.16.4
next prev parent reply other threads:[~2019-12-02 18:22 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-02 18:21 [PATCH 00/14] ARM: dts: realtek: Introduce syscon Andreas Färber
2019-12-02 18:21 ` [PATCH 01/14] ARM: dts: rtd1195: Introduce iso and misc syscon Andreas Färber
2019-12-02 18:21 ` [PATCH 02/14] arm64: dts: realtek: rtd129x: Introduce CRT, " Andreas Färber
2019-12-30 14:40 ` James Tai
2019-12-02 18:21 ` [PATCH 03/14] arm64: dts: realtek: rtd139x: " Andreas Färber
2019-12-30 14:39 ` James Tai
2019-12-02 18:21 ` [PATCH 04/14] arm64: dts: realtek: rtd16xx: Introduce " Andreas Färber
2019-12-30 5:53 ` James Tai
2019-12-02 18:21 ` [PATCH 05/14] ARM: dts: rtd1195: Add CRT syscon node Andreas Färber
2019-12-31 9:16 ` James Tai
2019-12-02 18:21 ` Andreas Färber [this message]
2019-12-31 9:25 ` [PATCH 06/14] dt-bindings: reset: Add Realtek RTD1195 James Tai
2019-12-02 18:21 ` [PATCH 07/14] ARM: dts: rtd1195: Add reset nodes Andreas Färber
2019-12-31 9:27 ` James Tai
2019-12-02 18:21 ` [PATCH 08/14] ARM: dts: rtd1195: Add UART resets Andreas Färber
2019-12-31 9:28 ` James Tai
2019-12-02 18:21 ` [PATCH 09/14] arm64: dts: realtek: rtd16xx: Add CRT syscon node Andreas Färber
2019-12-30 14:43 ` James Tai
2019-12-02 18:22 ` [PATCH 10/14] ARM: dts: rtd1195: Add SB2 and SCPU Wrapper syscon nodes Andreas Färber
2019-12-31 9:30 ` James Tai
2019-12-02 18:22 ` [PATCH 11/14] arm64: dts: realtek: rtd129x: " Andreas Färber
2019-12-30 14:46 ` James Tai
2019-12-02 18:22 ` [PATCH 12/14] arm64: dts: realtek: rtd139x: " Andreas Färber
2019-12-30 14:45 ` James Tai
2019-12-02 18:22 ` [PATCH 13/14] arm64: dts: realtek: rtd16xx: " Andreas Färber
2019-12-30 14:45 ` James Tai
2019-12-02 18:22 ` [PATCH 14/14] dt-bindings: reset: rtd1295: Add SB2 reset Andreas Färber
2019-12-13 23:31 ` Rob Herring
2019-12-30 14:55 ` James Tai
2019-12-30 2:57 ` [PATCH 00/14] ARM: dts: realtek: Introduce syscon Andreas Färber
2019-12-31 9:47 ` James Tai
2020-01-03 2:58 ` Andreas Färber
2020-01-15 13:26 ` Andreas Färber
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=20191202182205.14629-7-afaerber@suse.de \
--to=afaerber@suse.de \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-realtek-soc@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).