From: Patrice CHOTARD <patrice.chotard@foss.st.com>
To: Patrick DELAUNAY <patrick.delaunay@foss.st.com>, <u-boot@lists.denx.de>
Cc: U-Boot STM32 <uboot-stm32@st-md-mailman.stormreply.com>,
Lionel Debieve <lionel.debieve@foss.st.com>,
Gatien Chevallier <gatien.chevallier@foss.st.com>,
Marek Vasut <marex@denx.de>, Simon Glass <sjg@chromium.org>,
Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 09/13] ARM: stm32mp: add ETZPC system bus driver for STM32MP1
Date: Tue, 22 Apr 2025 11:33:17 +0200 [thread overview]
Message-ID: <e6452d26-75a6-4d90-90f0-21376adca0ee@foss.st.com> (raw)
In-Reply-To: <a7491caf-a8a1-427d-a4e3-fe70add98218@foss.st.com>
On 4/22/25 10:31, Patrick DELAUNAY wrote:
> Hi,
>
>
> On 4/1/25 15:14, Patrice Chotard wrote:
>> From: Lionel Debieve <lionel.debieve@foss.st.com>
>>
>> This driver is checking the access rights of the different
>> peripherals connected to the ETZPC bus. If access is denied,
>> the associated device is not bound.
>>
>> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
>> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>> ---
>>
>> arch/arm/mach-stm32mp/include/mach/etzpc.h | 32 ++++
>> arch/arm/mach-stm32mp/stm32mp1/Makefile | 1 +
>> arch/arm/mach-stm32mp/stm32mp1/etzpc.c | 194 +++++++++++++++++++++
>> 3 files changed, 227 insertions(+)
>> create mode 100644 arch/arm/mach-stm32mp/include/mach/etzpc.h
>> create mode 100644 arch/arm/mach-stm32mp/stm32mp1/etzpc.c
>>
> ...
>> diff --git a/arch/arm/mach-stm32mp/stm32mp1/etzpc.c b/arch/arm/mach-stm32mp/stm32mp1/etzpc.c
>> new file mode 100644
>> index 00000000000..b7aefb84069
>> --- /dev/null
>> +++ b/arch/arm/mach-stm32mp/stm32mp1/etzpc.c
>> @@ -0,0 +1,194 @@
>> +// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
>> +/*
>> + * Copyright (C) 2023, STMicroelectronics - All Rights Reserved
>> + */
>> +
>> +#define LOG_CATEGORY UCLASS_SIMPLE_BUS
>
>
> minor => why SIMPLE_BUS here ?
>
>
> #define LOG_CATEGORY UCLASS_NOP
Ok will update it
Thanks
>
>
>> +
>> +#include <dm.h>
>> +#include <asm/io.h>
>> +#include <dm/device.h>
>> +#include <dm/device_compat.h>
>> +#include <dm/lists.h>
>> +#include <linux/bitfield.h>
>> +#include <mach/etzpc.h>
>> +
> ...
>> +
>> +U_BOOT_DRIVER(stm32_etzpc) = {
>> + .name = "stm32_etzpc",
>> + .id = UCLASS_NOP,
>> + .of_match = stm32_etzpc_ids,
>> + .bind = stm32_etzpc_bind,
>> + .plat_auto = sizeof(struct stm32_etzpc_plat),
>> +};
>
>
>
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>
> Thanks
> Patrick
>
>
>
next prev parent reply other threads:[~2025-04-22 9:34 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-01 13:14 [PATCH 00/13] Enable OF_UPSTREAM for STM32 and STi platforms Patrice Chotard
2025-04-01 13:14 ` [PATCH 01/13] ARM: dts: sti: convert stih410-b2260 board to OF_UPSTREAM Patrice Chotard
2025-04-22 7:59 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 02/13] ARM: dts: stm32: convert stm23h7 boards " Patrice Chotard
2025-04-22 8:00 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 03/13] ARM: dts: stm32: convert stm23f7 " Patrice Chotard
2025-04-22 8:06 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 04/13] ARM: dts: stm32: convert stm23f4 " Patrice Chotard
2025-04-22 8:07 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 05/13] ARM: dts: stm32: convert stm32mp13 board " Patrice Chotard
2025-04-22 8:08 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 06/13] ARM: dts: stm32: convert stm32mp15 " Patrice Chotard
2025-04-22 8:10 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 07/13] configs: stm32: introduce stm32mp15-odyssey_defconfig Patrice Chotard
2025-04-22 8:16 ` Patrick DELAUNAY
2025-04-22 9:06 ` Patrice CHOTARD
2025-04-01 13:14 ` [PATCH 08/13] stm32mp1: clk: Update index for DSI gate Patrice Chotard
2025-04-22 8:24 ` Patrick DELAUNAY
2025-04-22 9:42 ` Patrice CHOTARD
2025-04-01 13:14 ` [PATCH 09/13] ARM: stm32mp: add ETZPC system bus driver for STM32MP1 Patrice Chotard
2025-04-22 8:31 ` Patrick DELAUNAY
2025-04-22 9:33 ` Patrice CHOTARD [this message]
2025-04-01 13:14 ` [PATCH 10/13] ARM: dts: stm32: add ETZPC as a system bus for STM32MP1x boards Patrice Chotard
2025-04-22 8:32 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 11/13] stm32mp: fdt: remove ETZPC peripheral cleanup Patrice Chotard
2025-04-22 8:37 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 12/13] ARM: dts: stm32: convert stm32mp2 board to OF_UPSTREAM Patrice Chotard
2025-04-22 8:40 ` Patrick DELAUNAY
2025-04-01 13:14 ` [PATCH 13/13] ARM: stm32mp: add RIFSC system bus driver for STM32MP25 Patrice Chotard
2025-04-22 8:44 ` Patrick DELAUNAY
2025-04-22 8:51 ` Patrice CHOTARD
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=e6452d26-75a6-4d90-90f0-21376adca0ee@foss.st.com \
--to=patrice.chotard@foss.st.com \
--cc=gatien.chevallier@foss.st.com \
--cc=lionel.debieve@foss.st.com \
--cc=marex@denx.de \
--cc=patrick.delaunay@foss.st.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-stm32@st-md-mailman.stormreply.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.