From nobody Tue Apr 7 04:33:42 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 652383A0B29; Mon, 16 Mar 2026 15:25:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773674761; cv=none; b=a7hopQwGwpWKvXmqwmkx0nFsMRPJfUiuWaBQku+5Lam9pW12HNCg1gZPb4qOzRX40aqR3Vs5Mu1xdcPxo0dsDGxV5aQDKWuDhAzT2m59gCGUj1G0gwy+Vdl4JMrxLHkrj42C2DGEnGjexF/4Gs+RlGwI6Rp636hU6JhOTrxHTFU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773674761; c=relaxed/simple; bh=d7xzJ/Zdl4XUqWXeHp3gMAa9bQJQznI63W9v0R6XiC8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bfUZ24Nvc1kUIZRe8MbYwAX9Lx7FEirdnpX0OqSb5FZqC1w99N3nr+O1z02ePGk3s+ZMiMJ7RqNAHVaO+kF7gXjxaU95DtRPyALCzlJ7jA1gwNXzU4RT9E0MBklwEc4/8Y6NPbil9BjndrXYLOdbe1w2r9pYfx56IEUadhxuOIY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=QIfFkmA1; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="QIfFkmA1" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id E10EB1A2E5B; Mon, 16 Mar 2026 15:25:57 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id B7D4C5FC4A; Mon, 16 Mar 2026 15:25:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id ED6B8103721EB; Mon, 16 Mar 2026 16:25:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1773674756; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=qhsMzWBsOebiFYIKgHn4CikkhxD3WYEUDe0coVF4nXQ=; b=QIfFkmA1KhSYmzttxzn9uMG2jDmhnXu6X3tvtNN7UZhRkyy2WQmxfHcesvsO116AOsmBRP 7s/UrZTUvdCaQpGhSlasXvDZNWpB9Ew6z/w25VkFqSt9ONsGsAC9URgIIWWbS620Hdlc6L DJeJ4f/gGwaMbl2ddKKRycR/sDP/afjgWs1h8Kbg7N4n6pkuvb2VBYKVZupHlhGBTKnXdC EdGmM1Zs+tAuC4cyQrJbxcpMTP16uSxjkjO5BqOOWqyn+z6v281EVp2VOExequTP36ekeW D13NDxwQD14YzeYTyaehaWXcR0vqXP/lP1t8lQtputB8RSO+Gmc6i2u40XGFFA== From: =?utf-8?q?Beno=C3=AEt_Monin?= Date: Mon, 16 Mar 2026 16:25:41 +0100 Subject: [PATCH v4 04/13] reset: eyeq: Add Mobileye EyeQ6Lplus OLB Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260316-eyeq6lplus-v4-4-bf44dfc7a261@bootlin.com> References: <20260316-eyeq6lplus-v4-0-bf44dfc7a261@bootlin.com> In-Reply-To: <20260316-eyeq6lplus-v4-0-bf44dfc7a261@bootlin.com> To: Vladimir Kondratiev , Gregory CLEMENT , =?utf-8?q?Th=C3=A9o_Lebrun?= , Thomas Bogendoerfer , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Philipp Zabel , Linus Walleij Cc: Thomas Petazzoni , Tawfik Bayouk , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, =?utf-8?q?Beno=C3=AEt_Monin?= X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 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. Also select reset-eyeq for all EYEQ SoCs instead of listing each one individually, as it is needed by all Mobileye EyeQ SoC. Reviewed-by: Philipp Zabel Signed-off-by: Beno=C3=AEt Monin --- 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 7ce151f6a7e4..67057248c810 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -85,9 +85,9 @@ config RESET_EIC7700 =20 config RESET_EYEQ bool "Mobileye EyeQ reset controller" - depends on MACH_EYEQ5 || MACH_EYEQ6H || COMPILE_TEST + depends on EYEQ || COMPILE_TEST select AUXILIARY_BUS - default MACH_EYEQ5 || MACH_EYEQ6H + default EYEQ 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 8018fa895427..1a3857983897 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- @@ -501,6 +513,24 @@ static const struct eqr_match_data eqr_eyeq6l_data =3D= { .domains =3D eqr_eyeq6l_domains, }; =20 +static const struct eqr_domain_descriptor eqr_eyeq6lplus_domains[] =3D { + { + .type =3D EQR_EYEQ5_PCIE, + .valid_mask =3D 0x3FFF, + .offset =3D 0x004, + }, + { + .type =3D EQR_EYEQ5_ACRP, + .valid_mask =3D 0x00FF, + .offset =3D 0x200, + }, +}; + +static const struct eqr_match_data eqr_eyeq6lplus_data =3D { + .domain_count =3D ARRAY_SIZE(eqr_eyeq6lplus_domains), + .domains =3D eqr_eyeq6lplus_domains, +}; + /* West and east OLBs each have an instance. */ static const struct eqr_domain_descriptor eqr_eyeq6h_we_domains[] =3D { { @@ -535,6 +565,7 @@ static const struct eqr_match_data eqr_eyeq6h_acc_data = =3D { static const struct of_device_id eqr_match_table[] =3D { { .compatible =3D "mobileye,eyeq5-olb", .data =3D &eqr_eyeq5_data }, { .compatible =3D "mobileye,eyeq6l-olb", .data =3D &eqr_eyeq6l_data }, + { .compatible =3D "mobileye,eyeq6lplus-olb", .data =3D &eqr_eyeq6lplus_da= ta }, { .compatible =3D "mobileye,eyeq6h-west-olb", .data =3D &eqr_eyeq6h_we_da= ta }, { .compatible =3D "mobileye,eyeq6h-east-olb", .data =3D &eqr_eyeq6h_we_da= ta }, { .compatible =3D "mobileye,eyeq6h-acc-olb", .data =3D &eqr_eyeq6h_acc_da= ta }, --=20 2.53.0