public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@kernel.org>
To: u-boot@lists.denx.de
Cc: Chen-Yu Tsai <wens@csie.org>,
	Christopher Obbard <chris.obbard@collabora.com>,
	Dragan Simic <dsimic@manjaro.org>, Tom Rini <trini@konsulko.com>,
	Simon Glass <sjg@chromium.org>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Kever Yang <kever.yang@rock-chips.com>,
	Alper Nebi Yasak <alpernebiyasak@gmail.com>,
	Andy Yan <andy.yan@rock-chips.com>, Nick Xie <nick@khadas.com>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Deepak Das <deepakdas.linux@gmail.com>,
	Alexandre Vicenzi <linux@alxd.me>,
	Tianling Shen <cnsztl@gmail.com>,
	David Bauer <mail@david-bauer.net>,
	Xiaobo Tian <peterwillcn@gmail.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	Quentin Schulz <quentin.schulz@theobroma-systems.com>,
	Klaus Goger <klaus.goger@theobroma-systems.com>,
	Loic Devulder <ldevulder@suse.com>,
	Jonas Karlman <jonas@kwiboo.se>, Levin Du <djw@t-chip.com.cn>,
	Suniel Mahesh <sunil@amarulasolutions.com>,
	FUKAUMI Naoki <naoki@radxa.com>,
	Banglang Huang <banglang.huang@foxmail.com>,
	"Matwey V. Kornilov" <matwey.kornilov@gmail.com>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH v2 1/5] rockchip: rk3328: Read cpuid and generate MAC address from efuse
Date: Mon, 12 Feb 2024 21:51:04 +0800	[thread overview]
Message-ID: <20240212135111.1767734-2-wens@kernel.org> (raw)
In-Reply-To: <20240212135111.1767734-1-wens@kernel.org>

From: Chen-Yu Tsai <wens@csie.org>

The rockchip-efuse driver supports the efuse found on RK3328. This
hardware block is part of the SoC and contains the CPUID, which can
be used to generate stable serial numbers and MAC addresses.

Enable the driver and reading cpuid by default for RK3328.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
---
 arch/arm/mach-rockchip/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 1bc7ee904275..0553967b947f 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -189,6 +189,9 @@ config ROCKCHIP_RK3328
 	select ENABLE_ARM_SOC_BOOT0_HOOK
 	select DEBUG_UART_BOARD_INIT
 	select SYS_NS16550
+	imply MISC
+	imply ROCKCHIP_EFUSE
+	imply MISC_INIT_R
 	help
 	  The Rockchip RK3328 is a ARM-based SoC with a quad-core Cortex-A53.
 	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
-- 
2.39.2


  reply	other threads:[~2024-02-12 13:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-12 13:51 [PATCH v2 0/5] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399 Chen-Yu Tsai
2024-02-12 13:51 ` Chen-Yu Tsai [this message]
2024-02-12 13:51 ` [PATCH v2 2/5] rockchip: rk3399: Read cpuid and generate MAC address from efuse Chen-Yu Tsai
2024-02-12 13:51 ` [PATCH v2 3/5] rockchip: rk3328: regenerate defconfigs Chen-Yu Tsai
2024-03-13 10:27   ` Kever Yang
2024-03-13 14:43     ` Chen-Yu Tsai
2024-03-13 15:32       ` Jonas Karlman
2024-03-14  6:46         ` Kever Yang
2024-02-12 13:51 ` [PATCH v2 4/5] rockchip: rk3399: " Chen-Yu Tsai
2024-02-12 13:51 ` [PATCH v2 5/5] rockchip: nanopi-r4s: Drop ROCKCHIP_OTP Chen-Yu Tsai
2024-02-12 13:59   ` Dragan Simic

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=20240212135111.1767734-2-wens@kernel.org \
    --to=wens@kernel.org \
    --cc=alpernebiyasak@gmail.com \
    --cc=andy.yan@rock-chips.com \
    --cc=banglang.huang@foxmail.com \
    --cc=chris.obbard@collabora.com \
    --cc=cnsztl@gmail.com \
    --cc=deepakdas.linux@gmail.com \
    --cc=djw@t-chip.com.cn \
    --cc=dsimic@manjaro.org \
    --cc=jagan@amarulasolutions.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=klaus.goger@theobroma-systems.com \
    --cc=ldevulder@suse.com \
    --cc=linux@alxd.me \
    --cc=mail@david-bauer.net \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=matwey.kornilov@gmail.com \
    --cc=naoki@radxa.com \
    --cc=nick@khadas.com \
    --cc=pbrobinson@gmail.com \
    --cc=peterwillcn@gmail.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=sjg@chromium.org \
    --cc=sunil@amarulasolutions.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=wens@csie.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