From: "Benoît Monin" <benoit.monin@bootlin.com>
To: "Vladimir Kondratiev" <vladimir.kondratiev@mobileye.com>,
"Gregory CLEMENT" <gregory.clement@bootlin.com>,
"Théo Lebrun" <theo.lebrun@bootlin.com>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Michael Turquette" <mturquette@baylibre.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Linus Walleij" <linusw@kernel.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Tawfik Bayouk" <tawfik.bayouk@mobileye.com>,
linux-mips@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
linux-gpio@vger.kernel.org,
"Benoît Monin" <benoit.monin@bootlin.com>
Subject: [PATCH 04/13] reset: eyeq: Add Mobileye EyeQ6Lplus OLB
Date: Wed, 17 Dec 2025 14:35:54 +0100 [thread overview]
Message-ID: <20251217-eyeq6lplus-v1-4-e9cdbd3af4c2@bootlin.com> (raw)
In-Reply-To: <20251217-eyeq6lplus-v1-0-e9cdbd3af4c2@bootlin.com>
Declare the two reset domains found in the EyeQ6Lplus OLB and add
them to the data matched by 'mobileye,eyeq6lplus-olb' compatible.
Those reset domains are identical to those present in the EyeQ5
OLB, so no changes are needed to support them.
Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
---
drivers/reset/Kconfig | 4 ++--
drivers/reset/reset-eyeq.c | 31 +++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 6e5d6deffa7d..ba0814f0f292 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -85,9 +85,9 @@ config RESET_EIC7700
config RESET_EYEQ
bool "Mobileye EyeQ reset controller"
- depends on MACH_EYEQ5 || MACH_EYEQ6H || COMPILE_TEST
+ depends on MACH_EYEQ5 || MACH_EYEQ6H || MACH_EYEQ6LPLUS || COMPILE_TEST
select AUXILIARY_BUS
- default MACH_EYEQ5 || MACH_EYEQ6H
+ default MACH_EYEQ5 || MACH_EYEQ6H || MACH_EYEQ6LPLUS
help
This enables the Mobileye EyeQ reset controller, used in EyeQ5, EyeQ6L
and EyeQ6H SoCs.
diff --git a/drivers/reset/reset-eyeq.c b/drivers/reset/reset-eyeq.c
index 2d3998368a1c..791b7283111e 100644
--- a/drivers/reset/reset-eyeq.c
+++ b/drivers/reset/reset-eyeq.c
@@ -49,6 +49,18 @@
* 8. MPC0 9. MPC1 10. MPC2 11. MPC3
* 12. MPC4
*
+ * Known resets in EyeQ6Lplus domain 0 (type EQR_EYEQ5_PCIE):
+ * 0. SPI0 1. SPI1 2. UART0 3. I2C0
+ * 4. I2C1 5. TIMER0 6. TIMER1 7. TIMER2
+ * 8. TIMER3 9. WD0 10. WD1 11. EXT0
+ * 12. EXT1 13. GPIO
+ *
+ * Known resets in EyeQ6Lplus domain 1 (type EQR_EYEQ5_ACRP):
+ * 0. VMP0 1. VMP1 2. VMP2 3. VMP3
+ * 4. PMA0 5. PMA1 6. PMAC0 7. PMAC1
+ * 8. MPC0 9. MPC1 10. MPC2 11. MPC3
+ * 12. MPC4
+ *
* Known resets in EyeQ6H west/east (type EQR_EYEQ6H_SARCR):
* 0. CAN 1. SPI0 2. SPI1 3. UART0
* 4. UART1 5. I2C0 6. I2C1 7. -hole-
@@ -521,6 +533,24 @@ static const struct eqr_match_data eqr_eyeq6l_data = {
.domains = eqr_eyeq6l_domains,
};
+static const struct eqr_domain_descriptor eqr_eyeq6lplus_domains[] = {
+ {
+ .type = EQR_EYEQ5_PCIE,
+ .valid_mask = 0x3FFF,
+ .offset = 0x004,
+ },
+ {
+ .type = EQR_EYEQ5_ACRP,
+ .valid_mask = 0x00FF,
+ .offset = 0x200,
+ },
+};
+
+static const struct eqr_match_data eqr_eyeq6lplus_data = {
+ .domain_count = ARRAY_SIZE(eqr_eyeq6lplus_domains),
+ .domains = eqr_eyeq6lplus_domains,
+};
+
/* West and east OLBs each have an instance. */
static const struct eqr_domain_descriptor eqr_eyeq6h_we_domains[] = {
{
@@ -555,6 +585,7 @@ static const struct eqr_match_data eqr_eyeq6h_acc_data = {
static const struct of_device_id eqr_match_table[] = {
{ .compatible = "mobileye,eyeq5-olb", .data = &eqr_eyeq5_data },
{ .compatible = "mobileye,eyeq6l-olb", .data = &eqr_eyeq6l_data },
+ { .compatible = "mobileye,eyeq6lplus-olb", .data = &eqr_eyeq6lplus_data },
{ .compatible = "mobileye,eyeq6h-west-olb", .data = &eqr_eyeq6h_we_data },
{ .compatible = "mobileye,eyeq6h-east-olb", .data = &eqr_eyeq6h_we_data },
{ .compatible = "mobileye,eyeq6h-acc-olb", .data = &eqr_eyeq6h_acc_data },
--
2.52.0
next prev parent reply other threads:[~2025-12-17 13:36 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-17 13:35 [PATCH 00/13] Introducing the Mobileye EyeQ6Lplus SoC Benoît Monin
2025-12-17 13:35 ` [PATCH 01/13] dt-bindings: mips: Add " Benoît Monin
2025-12-19 21:10 ` Rob Herring (Arm)
2025-12-17 13:35 ` [PATCH 02/13] dt-bindings: soc: mobileye: Add EyeQ6Lplus OLB Benoît Monin
2025-12-19 21:10 ` Rob Herring (Arm)
2025-12-17 13:35 ` [PATCH 03/13] MIPS: Add Mobileye eyeQ6Lplus support Benoît Monin
2025-12-17 13:35 ` Benoît Monin [this message]
2025-12-17 13:35 ` [PATCH 05/13] pinctrl: eyeq5: Use match data Benoît Monin
2025-12-20 13:46 ` kernel test robot
2025-12-20 14:34 ` kernel test robot
2025-12-17 13:35 ` [PATCH 06/13] pinctrl: eyeq5: Add Mobileye EyeQ6Lplus OLB Benoît Monin
2025-12-17 13:35 ` [PATCH 07/13] clk: eyeq: Skip post-divisor when computing PLL frequency Benoît Monin
2025-12-17 13:35 ` [PATCH 08/13] clk: eyeq: Adjust PLL accuracy computation Benoît Monin
2025-12-17 13:35 ` [PATCH 09/13] clk: eyeq: Add Mobileye EyeQ6Lplus OLB Benoît Monin
2025-12-17 13:36 ` [PATCH 10/13] MIPS: Add Mobileye EyeQ6Lplus SoC dtsi Benoît Monin
2025-12-17 13:36 ` [PATCH 11/13] MIPS: Add Mobileye EyeQ6Lplus evaluation board dts Benoît Monin
2025-12-18 15:30 ` Krzysztof Kozlowski
2025-12-19 15:57 ` Benoît Monin
2025-12-19 16:28 ` Krzysztof Kozlowski
2026-01-01 22:42 ` Linus Walleij
2026-01-02 15:27 ` Benoît Monin
2025-12-17 13:36 ` [PATCH 12/13] MIPS: config: add eyeq6lplus_defconfig Benoît Monin
2025-12-17 13:36 ` [PATCH 13/13] MAINTAINERS: Mobileye: Add EyeQ6Lplus files Benoît Monin
2025-12-19 12:03 ` [PATCH 00/13] Introducing the Mobileye EyeQ6Lplus SoC Linus Walleij
2025-12-19 16:22 ` Benoît Monin
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=20251217-eyeq6lplus-v1-4-e9cdbd3af4c2@bootlin.com \
--to=benoit.monin@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregory.clement@bootlin.com \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=tawfik.bayouk@mobileye.com \
--cc=theo.lebrun@bootlin.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=tsbogend@alpha.franken.de \
--cc=vladimir.kondratiev@mobileye.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.