Sorry to bump this thread, but any chance on getting this patch (5/8
clk) and (7/8 pinctrl) merged? I do have an SM8150 device myself (Xiaomi
Mi Pad 5) and would benefit from clk and pinctrl drivers. From the
reviews it seems not much work would be required.
Kind regards
Julius
Newer Samsung SoCs (including newer Exynos, ExynosAuto, Google Tensor)
still use these IPs, or slightly newer versions of it.
Make these drivers available on these platforms by guarding
EXYNOS4/EXYNOS5 specific code behind their configs, and using CCF for
clocks on other platforms.
Tested S3C I2C
This has been dead code for many years now. Remove it.
Signed-off-by: David Virag
---
drivers/i2c/exynos_hs_i2c.c | 4
drivers/i2c/s3c24x0_i2c.c | 8
2 files changed, 12 deletions(-)
diff --git a/drivers/i2c/exynos_hs_i2c.c b/drivers/i2c/exynos_hs_i2c.c
index 2ab0bae449..189ce6d
This set of patches should enable the Samsung I2C drivers to work on
platforms other than EXYNOS4/EXYNOS5.
This has been tested on Exynos7885 with the S3C I2C driver.
With the clocks for it implemented in it's driver, this should also
enable S3C I2C to work on Exynos850.
While at it, clean up som
Hi Zhiqiang,
On Fri, Jul 26, 2024 at 5:38 PM Marek Vasut wrote:
> Uh ... why are you adding this patch in the first place ?
>
> Is there anything (driver? arch code?) which requires these clock ?
Marek brings up a good point.
Please explain the motivation/reason for this change in the commit l
Is this a problem in Linux upstream? or specific to U-Boot, and is it
a regression?
refrerence https://lore.kernel.org/u-boot/20240504183354.GL2568172@bill-the-cat/
and reference
https://lore.kernel.org/u-boot/bjxpr01mb0855813dd38ef86cca6dd5c8e6...@bjxpr01mb0855.chnpr01.prod.partner.outlook.cn/
On FDT platforms the APs are brought out of reset using the spin-table
as defined in the DT. On ACPI enabled platforms there's no FDT, thus
enable the ARMV8_MULTIENTRY to use the ACPI parking protocol instead.
TEST: - Aps enter U-Boot when run on qemu-system-aarch64 -machine raspi4b
- APs on
Allows to build the RPi4 with ACPI enabled.
TEST: - Boots on qemu-system-aarch64 -machine raspi4b
- Boots on real hardware with arm_64bit=1 in config.txt
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Matthias Brugger
Cc: Peter Robinson
---
configs/rpi_4_acpi_defconfig | 79 +++
When ACPI is enabled over FDT the APs cannot be brought out of reset
by the OS using the "FDT spin-table" mechanism, as no FDT is provided
to the OS. The APs must be released out of reset in u-boot and then
brought up in an ACPI compliant fashion.
When ARMV8_MULTIENTRY is specified the APs are rel
On Arm platforms that use ACPI they cannot rely on the "spin-table"
CPU bringup usually defined in the FDT. Thus implement the
'ACPI Multi-processor Startup for ARM Platforms', also referred to as
'ACPI parking protocol'.
The ACPI parking protocol works similar to the spin-table mechanism, but
the
From: Simon Glass
Add the necessary DSDT files copied from tianocore to boot the RPi4.
In addition generate a board specific SSDT to dynamically enable/disable
ACPI devices based on FDT. This is required to support the various variants
and boot options. It also allows to test the code on QEMU 9.0
Allocate a 64KiB buffer for ACPI tables and provide SoC specific tables
for BCM2711:
- MADT
- FADT
- PPTT
- GTDT
- SPCR
Board specific tables like DSDT and SSDT are added in a separate patch.
When ACPI is enabled for a different SoC compliation will fail by
design, indicating the required functio
From: Simon Glass
These header files presumably duplicate things already in the U-Boot
devicetree. For now, bring them in to get the ASL code and ACPI table
code to compile.
Signed-off-by: Simon Glass
Signed-off-by: Patrick Rudolph
Cc: Matthias Brugger
Cc: Peter Robinson
Cc: Tom Rini
---
.
Cover the "ARM local MMIO" range as well in the default MMU mapping in
order to allow future code to access the GIC-400 without crashing. For
now the GIC is not touched in u-boot, thus this change is a noop.
See [1](BCM2711 ARM Peripherals) for reference.
TEST: Enabled CONFIG_GICV2 and accessed t
Return the ACPI table revision in acpi_get_table_revision() for
PPTT and GTDT. Match both to ACPI 6.2.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
---
include/acpi/acpi_table.h | 2 ++
lib/acpi/acpi_table.c | 4
2 files changed, 6 insertions(+)
diff --git a/include/acpi/acpi_table.
The FADT structure found in U-Boot represents FADT revision 6 and the
GICC and GICD structures defined in U-Boot are based on ACPI revision
6.3.
Bump the table revision to fix FWTS failures seen on aarch64.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Bin Meng
---
arch/x86/cpu/tangier/a
Add generic ACPI code to generate
- MADT GICC
- MADT GICD
as commonly used on arm platforms.
Signed-off-by: Patrick Rudolph
Cc: Tom Rini
Cc: Simon Glass
---
arch/arm/include/asm/acpi_table.h | 18 +
arch/arm/lib/Makefile | 1 +
arch/arm/lib/acpi_table.c | 44 +
Add the interrupt flag used in ACPI GTDT table as define.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
---
include/acpi/acpi_table.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h
index 0de3d3f439..19771c133a 100644
--- a/include/ac
From: Maximilian Brune
When ACPI is enabled on arm it will use the getinfo function to fill
the SPCR ACPI table.
Signed-off-by: Maximilian Brune
Cc: Simon Glass
Cc: Tom Rini
---
boot/bootflow.c | 8 ++--
drivers/serial/serial_pl01x.c | 24
include/
Rename ACPI tables MADR to MADT.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
---
include/acpi/acpi_table.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h
index 904c54e38e..0de3d3f439 100644
--- a/incl
Write MADT in common code and let the SoC fill out the body by
calling acpi_fill_madt() which must be implemented at SoC level.
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Bin Meng
---
arch/sandbox/lib/Makefile | 9 +++---
arch/sandbox/lib/acpi_table.c | 7 +
arch/x86/
From: Maximilian Brune
Write the FADT in common code since it's used on all architectures.
Let the cpu code fill out the FADT body by introducing a new weak
function acpi_fill_fadt().
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Bin Meng
---
arch/x86/cpu/apollolake/acpi.c| 20 +++--
From: Maximilian Brune
This moves the SPCR and DBG2 table generation into common code, so that
they can be used by architectures other than x86.
Signed-off-by: Maximilian Brune
Signed-off-by: Patrick Rudolph
Cc: Simon Glass
Cc: Bin Meng
---
arch/x86/include/asm/acpi_table.h | 11 --
arch/x
Based on the existing work done by Simon Glass this series adds
support for booting aarch64 devices using ACPI only. As target the
Raspberry Pi4 was used, which is broadly available and allows easy
testing of the proposed solution.
The series is split into ACPI cleanups and code movements, adding
24 matches
Mail list logo