Sam Protsenko
9344efc9bb
rng: Add Exynos TRNG driver
...
Add True Random Number Generator (TRNG) driver for Exynos chips. This
implementation is heavily based on Linux kernel's counterpart [1]. It
also follows upstream dt-bindings [2].
TRNG block is usually a part of SSS (Security Sub System) IP-core on
Exynos chips. Because SSS access on Exynos850 is protected by TZPC
(TrustZone Protection Control), it's not possible to read/write TRNG
registers from U-Boot, as it's running in EL1 mode. Instead, the
corresponding SMC calls should be used to make the secure software
running in EL3 mode access it for us. Those SMC calls are handled by
LDFW (Loadable Firmware), which has to be loaded first. For example, for
E850-96 board it's done in its board_init(), so by the time RNG
capabilities are needed the LDFW should be already loaded and TRNG
should be functional.
[1] drivers/char/hw_random/exynos-trng.c
[2] dts/upstream/Bindings/rng/samsung,exynos5250-trng.yaml
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org >
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com >
2024-07-24 16:37:09 +09:00
Sam Protsenko
95d8937d7c
clk: exynos: Add SSS clocks for Exynos850
...
Add ACLK (operating clock) and PCLK (bus clock) for Security Sub System
(SSS) in Exynos850. Those clocks are needed for RNG enablement.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org >
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com >
2024-07-24 16:37:09 +09:00
Tom Rini
b0ee3fe642
arm: ti: Remove omap4 platform support
...
There are no longer any OMAP4 platforms in U-Boot, remove the related
functionality.
Signed-off-by: Tom Rini <trini@konsulko.com >
2024-07-23 10:37:48 -06:00
Tom Rini
258291f101
Merge tag 'u-boot-imx-master-20240722' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
...
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/21728
- Conversions to DM_I2C and DM_SERIAL.
- Support for I2C3 and PWM1 for the imx6q clock driver.
- Improvements for udoo-neo
- Describe the i.MX93 CPU clocks in the devicetree to fix CPU clock printing
- Fix for SPI and NANC clk-imx8mn clock driver
2024-07-22 17:56:14 -06:00
Emil Kronborg
7f39ad5ae4
clk: imx6q: Add definition for IMX6QDL_CLK_PWM1
...
Enabling CONFIG_CMD_PWM, and consequently CONFIG_DM_PWM, causes the pwm
command to fail due to a missing clock.
=> pwm enable 0 0
Enable clock-controller@20c4000 failed
Failed to enable per_clk
pwm: '0' not found
Command 'pwm' failed: Error -2
Note that it is trivial to also add the clocks for PWM2, PWM3, and PWM4.
However, I only tested PWM1 and thus only added the clock for that
signal.
Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com >
2024-07-22 17:55:35 -03:00
Emil Kronborg
adf1b7aea6
clk: imx6q: Add definition for IMX6QDL_CLK_I2C3
...
Commit 727fa4539c ("clk: Add support for I2C clocks on NXP's imx6q SoC
which use CCF") added I2C clocks for I2C1 and I2C2, but not I2C3.
Consequently, devices using I2C3 fail after enabling CONFIG_CLK_IMX6Q
and thus CONFIG_CLK. Therefore, this commit adds the last I2C clock.
Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com >
2024-07-22 17:55:35 -03:00
Michael Trimarchi
bd09057182
clk: imx8mp: Make parent names arrays const pointers
...
The arrays containing the mux selectors need to be of const pointer
to const char.
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com >
2024-07-22 17:55:35 -03:00
Michael Trimarchi
47dc99fcf2
clk: imx8mm: Make parent names arrays const pointers
...
The arrays containing the mux selectors need to be of const pointer
to const char.
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com >
2024-07-22 17:55:35 -03:00
Michael Trimarchi
68775299eb
clk: imx8mn: Make parent names arrays const pointers
...
The arrays containing the mux selectors need to be of const pointer
to const char.
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com >
2024-07-22 17:55:35 -03:00
Michael Trimarchi
50cdd3f74a
clk: imx: clk-imx8mn Fix nand and spi clock parent
...
The osc_24m is the clock-output-name and not the one that
is used as internal name reference from the strcmp. The clock
that use osc_24m, will not be able to reparent it as they should.
We need anyway register the osc_24m clock fixed factor in the clock
tree.
Fixes: 710c4ffb89 ("clk: imx: clk-imx8mn add gpmi nand clocks")
Fixes: 85b1c11989 ("clk: imx: Add ECSPI to iMX8MN")
Cc: Marek Vasut <marex@denx.de >
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com >
2024-07-22 17:55:35 -03:00
Marek Vasut
f553d29ae8
drivers: watchdog: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
109ab9d296
drivers: video: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
85168f15d1
drivers: usb: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
1718e060bc
drivers: tpm: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
6478e02b2a
drivers: timer: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
0b9377abbf
drivers: thermal: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
c77c054aa5
drivers: sysreset: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
2159d507b0
drivers: spi: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
Reviewed-by: Michal Simek <michal.simek@amd.com >
2024-07-22 10:53:06 -06:00
Marek Vasut
e3b2ae6dc6
drivers: sound: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
21797b2216
drivers: soc: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
027fb6f0cb
drivers: serial: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
76429988da
drivers: scsi: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
e08701e471
drivers: rtc: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
893f111d41
drivers: reset: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
136d76f5a3
drivers: remoteproc: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:06 -06:00
Marek Vasut
3ba14895d3
drivers: ram: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
43262e78b1
drivers: power: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
62b66c39c2
drivers: pinctrl: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
c94a0359c9
drivers: phy: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
c91dcd3078
drivers: pci: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
f3974bec32
drivers: net: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
a7dd2d1d6e
drivers: mtd: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
8582ca9c1d
drivers: mmc: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
ede791fe1c
drivers: misc: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
8ec1344f9f
drivers: led: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
1016f0c526
drivers: input: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
03b236a32b
drivers: i2c: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
Reviewed-by: Heiko Schocher <hs@denx.de >
2024-07-22 10:53:05 -06:00
Marek Vasut
632ba2bd5c
drivers: gpio: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
ae7d5b2fb3
drivers: fpga: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
Reviewed-by: Michal Simek <michal.simek@amd.com >
2024-07-22 10:53:05 -06:00
Marek Vasut
22bd4c0da0
drivers: firmware: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
a4ae5ff6ea
drivers: dma: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
62ea6e55d9
drivers: dfu: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
1528a7e562
drivers: ddr: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:05 -06:00
Marek Vasut
c821d05c14
drivers: crypto: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:04 -06:00
Marek Vasut
7fa217785b
drivers: core: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:04 -06:00
Marek Vasut
1ff7678645
drivers: clk: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:04 -06:00
Marek Vasut
62d14e2a6f
drivers: cache: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:04 -06:00
Marek Vasut
13056cb1e5
drivers: block: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:04 -06:00
Marek Vasut
ce5fe5a047
drivers: bios_emulator: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:04 -06:00
Marek Vasut
e716007ee4
drivers: ata: Remove duplicate newlines
...
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2024-07-22 10:53:04 -06:00