From: Ralph Siemsen <ralph.siemsen@linaro.org>
To: Marek Vasut <marek.vasut@mailbox.org>
Cc: u-boot@lists.denx.de, Bharat Gooty <bharat.gooty@broadcom.com>,
Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Subject: Re: [PATCH v4 07/10] ARM: rzn1: basic support for Renesas RZ/N1 SoC
Date: Mon, 17 Apr 2023 14:57:01 -0400 [thread overview]
Message-ID: <20230417185701.GE642444@maple.netwinder.org> (raw)
In-Reply-To: <9c36e8c1-094a-f96e-a28e-b37e662e7d3f@mailbox.org>
On Mon, Apr 17, 2023 at 07:15:07PM +0200, Marek Vasut wrote:
>On 3/8/23 21:26, Ralph Siemsen wrote:
>
>[...]
>
>>+++ b/arch/arm/Kconfig
>>@@ -1031,6 +1031,21 @@ config ARCH_RMOBILE
>> imply SYS_THUMB_BUILD
>> imply ARCH_MISC_INIT if DISPLAY_CPUINFO
>>+config ARCH_RZN1
>>+ bool "Reneasa RZ/N1 SoC"
>>+ select CLK
>>+ select CLK_RENESAS
>>+ select CLK_R9A06G032
>
>Does 'select CLK_R9A06G032' automatically activate the dependencies
>like 'CLK_RENESAS' too ?
Do you mean things like CLK_RCAR_CPG_LIB for example?
The new clock driver has no dependencies (except perhaps ARCH_RZN1).
Since this clock driver is essential to boot, I figured it was best to
select it in Kconfig, rather than require each board defconfig to
specify the same options.
If there is a better/preferred approach, I will implement it.
>
>>+ select DM
>>+ select DM_ETH
>>+ select DM_SERIAL
>>+ select PINCTRL
>>+ select PINCONF
>>+ select REGMAP
>>+ select SYSRESET
>>+ select SYSRESET_SYSCON
>>+ imply CMD_DM
>>+
>> config ARCH_SNAPDRAGON
>> bool "Qualcomm Snapdragon SoCs"
>> select ARM64
>>@@ -2207,6 +2222,8 @@ source "arch/arm/mach-owl/Kconfig"
>> source "arch/arm/mach-rmobile/Kconfig"
>>+source "arch/arm/mach-rzn1/Kconfig"
>
>Should this be in mach-rmobile (which, maybe, should be renamed to
>mach-renesas) ?
I vaguely recall that I discussed this with someone (possibly you),
likely on IRC. And I think the conclusion was there was a significant
enough difference (possibly Cortex-A7 versus A9?).
I don't have a strong preference, if moving to mach-rmobile makes sense,
let me know and I can give it a go.
>>+#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
>>+void enable_caches(void)
>>+{
>
>Why not enable icache with icache_enable() too ?
The I-cache is enabled quite early in arch/arm/cpu/armv7/start.S
Ralph
next prev parent reply other threads:[~2023-04-17 18:57 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 20:26 [PATCH v4 00/10] Renesas RZ/N1 SoC initial support Ralph Siemsen
2023-03-08 20:26 ` [PATCH v4 01/10] ARM: armv7: add non-SPL enable for Cortex SMPEN Ralph Siemsen
2023-04-17 17:04 ` Marek Vasut
2023-04-17 18:26 ` Ralph Siemsen
2023-04-17 20:21 ` Marek Vasut
2023-04-18 14:32 ` Ralph Siemsen
2023-04-18 19:35 ` Marek Vasut
2023-03-08 20:26 ` [PATCH v4 02/10] clk: renesas: prepare for non-RCAR clock drivers Ralph Siemsen
2023-04-17 17:02 ` Marek Vasut
2023-04-17 18:22 ` Ralph Siemsen
2023-04-17 20:33 ` Marek Vasut
2023-04-17 20:48 ` Ralph Siemsen
2023-04-17 22:24 ` Marek Vasut
2023-03-08 20:26 ` [PATCH v4 03/10] clk: renesas: add R906G032 driver Ralph Siemsen
2023-04-17 17:07 ` Marek Vasut
2023-04-17 18:29 ` Ralph Siemsen
2023-03-08 20:26 ` [PATCH v4 04/10] pinctrl: " Ralph Siemsen
2023-04-17 17:09 ` Marek Vasut
2023-03-08 20:26 ` [PATCH v4 05/10] ram: cadence: add driver for Cadence EDAC Ralph Siemsen
2023-04-17 17:32 ` Marek Vasut
2023-04-17 20:33 ` Ralph Siemsen
2023-03-08 20:26 ` [PATCH v4 06/10] dts: basic devicetree for Renesas RZ/N1 SoC Ralph Siemsen
2023-04-17 17:12 ` Marek Vasut
2023-04-17 18:33 ` Ralph Siemsen
2023-04-17 20:22 ` Marek Vasut
2023-03-08 20:26 ` [PATCH v4 07/10] ARM: rzn1: basic support " Ralph Siemsen
2023-04-17 17:15 ` Marek Vasut
2023-04-17 18:57 ` Ralph Siemsen [this message]
2023-04-17 20:30 ` Marek Vasut
2023-04-17 20:44 ` Ralph Siemsen
2023-04-17 22:23 ` Marek Vasut
2023-03-08 20:26 ` [PATCH v4 08/10] board: schneider: add RZN1 board support Ralph Siemsen
2023-04-17 17:18 ` Marek Vasut
2023-04-17 19:45 ` Ralph Siemsen
2023-04-17 20:27 ` Marek Vasut
2023-03-08 20:26 ` [PATCH v4 09/10] tools: spkgimage: add Renesas SPKG format Ralph Siemsen
2023-04-17 17:23 ` Marek Vasut
2023-04-17 20:17 ` Ralph Siemsen
2023-04-17 20:28 ` Marek Vasut
2023-03-08 20:26 ` [PATCH v4 10/10] doc: renesas: add Renesas board docs Ralph Siemsen
2023-04-17 17:28 ` Marek Vasut
2023-04-17 20:29 ` Ralph Siemsen
2023-04-17 20:34 ` Marek Vasut
2023-04-17 20:50 ` Ralph Siemsen
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=20230417185701.GE642444@maple.netwinder.org \
--to=ralph.siemsen@linaro.org \
--cc=bharat.gooty@broadcom.com \
--cc=marek.vasut@mailbox.org \
--cc=rayagonda.kokatanur@broadcom.com \
--cc=u-boot@lists.denx.de \
/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