e_out),
+ FUNCTION(spdif_in),
+ FUNCTION(sw),
+ FUNCTION(clk25),
+ FUNCTION(cec_a),
+ FUNCTION(cec_b),
+ FUNCTION(clk12_24),
+ FUNCTION(mclk_0),
+ FUNCTION(tdm_b),
+ FUNCTION(mclk_vad),
+ FUNCTION(tdm_vad),
+ FUNCTION(tst_out),
+ FUNCTION(mute),
+};
+
+static struct meson_bank meson_a1_periphs_banks[] = {
+ /* name firstlast pullenpull dir out
inds */
+ BANK_DS("P", GPIOP_0, GPIOP_12, 0x3, 0, 0x4, 0, 0x2, 0, 0x1, 0,
0x0, 0, 0x5, 0),
+ BANK_DS("B", GPIOB_0, GPIOB_6, 0x13, 0, 0x14, 0, 0x12, 0, 0x11, 0,
0x10, 0, 0x15, 0),
+ BANK_DS("X", GPIOX_0, GPIOX_16, 0x23, 0, 0x24, 0, 0x22, 0, 0x21, 0,
0x20, 0, 0x25, 0),
+ BANK_DS("F", GPIOF_0, GPIOF_12, 0x33, 0, 0x34, 0, 0x32, 0, 0x31, 0,
0x30, 0, 0x35, 0),
+ BANK_DS("A", GPIOA_0, GPIOA_11, 0x43, 0, 0x44, 0, 0x42, 0, 0x41, 0,
0x40, 0, 0x45, 0),
+};
+
+static struct meson_pmx_bank meson_a1_periphs_pmx_banks[] = {
+ /* name firstlast reg offset */
+ BANK_PMX("P",GPIOP_0, GPIOP_12, 0x0, 0),
+ BANK_PMX("B",GPIOB_0, GPIOB_6, 0x2, 0),
+ BANK_PMX("X",GPIOX_0, GPIOX_16, 0x3, 0),
+ BANK_PMX("F",GPIOF_0, GPIOF_12, 0x6, 0),
+ BANK_PMX("A",GPIOA_0, GPIOA_11, 0x8, 0),
+};
+
+static struct meson_axg_pmx_data meson_a1_periphs_pmx_banks_data = {
+ .pmx_banks = meson_a1_periphs_pmx_banks,
+ .num_pmx_banks = ARRAY_SIZE(meson_a1_periphs_pmx_banks),
+};
+
+static struct meson_pinctrl_data meson_a1_periphs_pinctrl_data = {
+ .name = "periphs-banks",
+ .groups = meson_a1_periphs_groups,
+ .funcs = meson_a1_periphs_functions,
+ .banks = meson_a1_periphs_banks,
+ .num_pins = 62,
+ .num_groups = ARRAY_SIZE(meson_a1_periphs_groups),
+ .num_funcs = ARRAY_SIZE(meson_a1_periphs_functions),
+ .num_banks = ARRAY_SIZE(meson_a1_periphs_banks),
+ .pmx_data = &meson_a1_periphs_pmx_banks_data,
+};
+
+static const struct udevice_id meson_a1_pinctrl_match[] = {
+ {
+ .compatible = "amlogic,meson-a1-periphs-pinctrl",
+ .data = (ulong)&meson_a1_periphs_pinctrl_data,
+ },
+ { },
+};
+
+U_BOOT_DRIVER(meson_a1_pinctrl) = {
+ .name = "meson-a1-pinctrl",
+ .id = UCLASS_PINCTRL,
+ .of_match = of_match_ptr(meson_a1_pinctrl_match),
+ .probe = meson_pinctrl_probe,
+ .priv_auto = sizeof(struct meson_pinctrl),
+ .ops = &meson_axg_pinctrl_ops,
+};
Reviewed-by: Neil Armstrong
M_REGULATOR=y
+CONFIG_DM_PWM=y
+CONFIG_PWM_MESON=y
+CONFIG_DEBUG_UART_ANNOUNCE=y
+CONFIG_DEBUG_UART_SKIP_INIT=y
+CONFIG_MESON_SERIAL=y
+CONFIG_SPI=y
+CONFIG_DM_SPI=y
+CONFIG_WDT=y
With MAINTAINERS file in board dir:
Reviewed-by: Neil Armstrong
Hi,
On Fri, 05 May 2023 15:56:34 +0300, Igor Prusov wrote:
> This patch series adds basic support for Amlogic AD401 development board
> based on Amlogic A1 SoC family
>
> Changelog:
> v1 -> v2:
> - Add MAINTAINERS for new board instead of using one in the repo root
>
> [...]
Thanks, Applied t
- if (ret && ret != -ENOENT) {
- pr_err("Failed to get PHY regulator\n");
- return ret;
- }
-#endif
-
return 0;
}
Acked-by: Neil Armstrong
Hi,
On 07/05/2023 14:42, Ferass El Hafidi wrote:
The Videostrong KII Pro is a set-top box based on the Amlogic p201
reference board and with the following specification:
* Amlogic S905 ARM Cortex-A53 quad-core SoC @ 1.5GHz
* ARM Mali 450 GPU
* 2GB DDR3 SDRAM
* 16GB eMMC
* Gigabit Ether
Hi,
On Sun, 07 May 2023 12:42:15 +, Ferass El Hafidi wrote:
> The Videostrong KII Pro is a set-top box based on the Amlogic p201
> reference board and with the following specification:
> * Amlogic S905 ARM Cortex-A53 quad-core SoC @ 1.5GHz
> * ARM Mali 450 GPU
> * 2GB DDR3 SDRAM
> * 16GB e
On 17/05/2023 09:17, Michal Simek wrote:
Use proper project name in comments, Kconfig, readmes.
Signed-off-by: Michal Simek
For amlogic changes:
Reviewed-by: Neil Armstrong
---
I am ignoring these for now because they can break automated scripts or
user setting that's why they s
On 08/04/2021 09:50, Neil Armstrong wrote:
> This adds the missing bits to enable PCIe and NVMe support in U-Boot for
> the Khadas VIM3 & VIM3L board.
>
> This serie depends on [1].
>
> [1]
> https://patchwork.ozlabs.org/project/uboot/cover/20210325144921.1791892-
Signed-off-by: Neil Armstrong
---
doc/board/amlogic/index.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst
index 275c3664b7..8da7afddb4 100644
--- a/doc/board/amlogic/index.rst
+++ b/doc/board/amlogic/index.rst
@@ -70,6 +70,8
On 16/04/2021 14:23, Neil Armstrong wrote:
> Signed-off-by: Neil Armstrong
> ---
> doc/board/amlogic/index.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst
> index 275c3664b7..8da7afddb4 100644
>
tyle PHY reset
- add G12A PCIe clock gates
- add G12A PCIe PHY OPs
- enable PCIe for Khadas VIM3/VIM3L boards DT
- enable PCIe and NVME for Khadas VIM3/VIM3L boards config
- update Amlogic board documentation for PCIe support
----
Nei
:52, dm_test_reset_base(): reset_method3.id ==
reset_method3_1.id: Expected 0x14 (20), got 0x2 (2)
Failures: 2
A fix is needed in reset_get_by_index_nodev() when introduced in [1].
[1] ea9dc35aab ("reset: Get the RESET by index without device")
Signed-off-by: Neil Armstrong
---
arch/sandbox
: Get the RESET by index without device")
where a spurius "> 0"
was added to the index handling.
But the dm_test_reset_base() test did not catch it.
The first commit extends the test to catch the regression, and the second patch
fixes the regression.
Neil Armstrong (2):
test:
on on Amlogic G12A/G12B SoCs, where HDMI output was
disable
even when Linux was booting.
Fixes: ea9dc35aab ("reset: Get the RESET by index without device")
Reported-by: B1oHazard
Signed-off-by: Neil Armstrong
---
drivers/reset/reset-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 de
This lacks the right u-boot specific DT include to make HDMI work.
Reported-by: B1oHazard
Signed-off-by: Neil Armstrong
---
arch/arm/dts/meson-g12b-gtking-pro-u-boot.dtsi | 7 +++
arch/arm/dts/meson-g12b-gtking-u-boot.dtsi | 7 +++
2 files changed, 14 insertions(+)
create mode
.
Fixes: 5160b4567c net: designware: add DM_MDIO support
Reported-by: Mark Kettenis
Signed-off-by: Neil Armstrong
---
drivers/net/designware.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index b8ba00b7c0
Add support for the Meson G12A dwmac glue compatible needed after Linux 5.12
sync.
Signed-off-by: Neil Armstrong
---
drivers/net/dwmac_meson8b.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dwmac_meson8b.c b/drivers/net/dwmac_meson8b.c
index c0b6ef4994..069bf1724d 100644
Drop the local USB nodes after Linux 5.12 sync.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/meson-axg-s400-u-boot.dtsi | 8
arch/arm/dts/meson-axg-u-boot.dtsi | 62 -
2 files changed, 70 deletions(-)
delete mode 100644 arch/arm/dts/meson-axg-u-boot.dtsi
Add SCSI target to be able to boot from the SATA disks on the Odroid HC4 using
an on-board AHCI PCIe controller.
Signed-off-by: Neil Armstrong
Signed-off-by: Mark Kettenis
---
include/configs/meson64.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/configs/meson64.h b
Import Amlogic DT changes from Linux commit a38fd8748464 ("Linux 5.12-rc2"),
dt-bindings clock changes and new meson-g12b-gsking-x.dts & odroid-hc4 boards.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts/meso
The SCSI device can be a PCIe adapter, so run pcie enum if enabled.
Signed-off-by: Mark Kettenis
Signed-off-by: Neil Armstrong
---
include/config_distro_bootcmd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index
Add documentation bits for the Odroid-HC4.
Signed-off-by: Neil Armstrong
---
doc/board/amlogic/index.rst | 2 +-
doc/board/amlogic/odroid-c4.rst | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst
index 8da7afddb4
The Odroid-HC4 is a variant of the Odroid-C4 board but with an PCIe-SATA bridge
instead of the USB3 ports.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/meson-sm1-odroid-hc4-u-boot.dtsi | 23 +
configs/odroid-hc4_defconfig | 86 +++
2 files changed, 109
The Beelink GS-King X is a variant of the GS King boards but with an internal
USB to SATA bridge and advanced audio features.
Signed-off-by: Neil Armstrong
---
arch/arm/dts/meson-g12b-gsking-x-u-boot.dtsi | 7 ++
configs/beelink-gsking-x_defconfig | 72
2 files
On 23/04/2021 02:12, Ramon Fried wrote:
> On Wed, Apr 21, 2021 at 11:58 AM Neil Armstrong
> wrote:
>>
>> The dw_eth_pdata is not accessible from the mdio device, it gets the mdio
>> bus plat
>> leading to random sleeps (-10174464 on Odroid-HC4).
>>
>>
Hi Tom, Simon,
On 20/04/2021 10:42, Neil Armstrong wrote:
> A regression weas detected on Amlogic G12A/G12B SoCs, where HDMI output was
> disable
> even when Linux was booting.
>
> Bisect reports 139e4a1cbe ("drivers: reset: Add a managed API to get reset
> controllers
Neil Armstrong (1):
net: designware: fix PHY reset with DM_MDIO
drivers/net/designware.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
Hi,
On 22/04/2021 02:14, Andre Przywara wrote:
> From: Jernej Skrabec
>
> One of my monitors have only 4k@60 timing in base EDID block which is
> out of range for devices with HDMI 1.4. It turns out that it has
> additional detailed timings in CTA-861 Extension Block and two of them
> are approp
t; +
> + /* get private control base addr */
> + sv->priv_base = get_fdt_addr(dev, "mgmt");
> + if (!sv->priv_base)
> + return -EINVAL;
> +
> + gpio_request_by_name(dev, "pwren-gpios", 0, &sv->pwren_gpio,
> + GPIOD_IS_OUT);
> +
> + if (!dm_gpio_is_valid(&sv->pwren_gpio)) {
> + sv_info(sv, "pwren_gpio is invalid\n");
> + return -EINVAL;
> + }
> +
> + gpio_request_by_name(dev, "reset-gpios", 0, &sv->reset_gpio,
> + GPIOD_IS_OUT);
> +
> + if (!dm_gpio_is_valid(&sv->reset_gpio)) {
> + sv_info(sv, "reset_gpio is invalid\n");
> + return -EINVAL;
> + }
> +
> + err = clk_get_by_index(dev, 0, &sv->aux_ck);
> + if (err) {
> + sv_info(sv, "clk_get_by_index(aux_ck) failed: %d\n", err);
> + return err;
> + }
> +
> + err = reset_get_by_index(dev, 0, &sv->reset);
> + if (err) {
> + sv_info(sv, "reset_get_by_index(reset) failed: %d\n", err);
> + return err;
> + }
> +
> + return 0;
> +}
> +
> +static const struct dm_pci_ops pcie_sifive_ops = {
> + .read_config= pcie_dw_read_config,
> + .write_config = pcie_dw_write_config,
> +};
> +
> +static const struct udevice_id pcie_sifive_ids[] = {
> + { .compatible = "sifive,fu740-pcie" },
> + { .compatible = "sifive,fu740-pcie-ecam" },
Are you sure the controller in ECAM mode should use this driver ?
The Linux bindings only declare "sifive,fu740-pcie"
> + {}
> +};
> +
> +U_BOOT_DRIVER(pcie_sifive) = {
> + .name = "pcie_sifive",
> + .id = UCLASS_PCI,
> + .of_match = pcie_sifive_ids,
> + .ops= &pcie_sifive_ops,
> + .of_to_plat = pcie_sifive_of_to_plat,
> + .probe = pcie_sifive_probe,
> + .priv_auto = sizeof(struct pcie_sifive),
> +};
>
otherwise,
Reviewed-by: Neil Armstrong
Neil
When the PHY interface is set as TXID & RXID, the delays should be taken from
DT,
but first they should not be hardcoded since the PHY driver will set them.
Fixes: 798424e857 ("net: designware: add Amlogic Meson8b & later glue driver")
Signed-off-by: Neil Armstrong
If the PHY isn't specified in the DT, -ENODATA means it should be skipped,
handle it like -ENOENT.
With that, devices without USB3 supported can have USB working (Odroid-HC4).
Fixes: adb049abf7 ("usb: dwc3: Add Meson G12A USB Glue")
Signed-off-by: Neil Armstrong
---
drivers/usb/
On 05/05/2021 12:06, Marek Vasut wrote:
> On 5/5/21 10:41 AM, Neil Armstrong wrote:
>> If the PHY isn't specified in the DT, -ENODATA means it should be skipped,
>> handle it like -ENOENT.
>>
>> With that, devices without USB3 supported can have USB working (Odroid
https://lore.kernel.org/u-boot/b7e891d1-d134-b489-eb2d-6125d4c7b...@theobroma-systems.com/
for my worry
https://lore.kernel.org/u-boot/f0dd213c-4a34-926d-3f3b-f2ed49bb9...@linaro.org/
for confirmation from Neil it is breaking existing extlinux.conf
Thanks,
Quentin
Cc: Neil Armstrong
Cc: Patr
On 13/12/2022 15:22, Tom Rini wrote:
On Tue, Dec 13, 2022 at 03:14:43PM +0100, Neil Armstrong wrote:
On 13/12/2022 14:45, Quentin Schulz wrote:
Hi Tom,
On 12/13/22 14:37, Tom Rini wrote:
This reverts commits
51c5c28af59c ("cmd: pxe: use strdup to copy config"),
a5dacef7380e
On 13/12/2022 15:31, Patrick DELAUNAY wrote:
Hi,
On 11/22/22 20:43, Neil Armstrong wrote:
On 22/11/2022 20:11, Neil Armstrong wrote:
Hi,
On 21/11/2022 13:23, Quentin Schulz wrote:
Hi Patrick,
Thanks for looking at it.
On 10/28/22 11:01, Patrick Delaunay wrote:
Since the commit
On 13/12/2022 15:31, Quentin Schulz wrote:
Hi,
On 12/13/22 15:14, Neil Armstrong wrote:
On 13/12/2022 14:45, Quentin Schulz wrote:
Hi Tom,
On 12/13/22 14:37, Tom Rini wrote:
This reverts commits
51c5c28af59c ("cmd: pxe: use strdup to copy config"),
a5dacef7380e ("cmd: pxe:
Hi,
On 14/12/2022 15:45, Mattijs Korpershoek wrote:
Hi Neil,
I'll run some tests on other G12 boards but so far this looks very good, thanks
!
I got my hands on an odroid-c4 board and I also tested:
=> fastboot usb 0
=> # hit Ctrl-c
# disconnection is ok
And tested "usb start" and coul
On 14/12/2022 11:33, Mattijs Korpershoek wrote:
On Tue, Dec 13, 2022 at 21:31, Alexey Romanov wrote:
It is incorrect to keep commands in the arch/ folder.
Signed-off-by: Alexey Romanov
---
MAINTAINERS | 1 +
arch/arm/mach-meson/sm.c | 144 ---
On 14/12/2022 05:39, Simon Glass wrote:
Hi Alexey,
On Tue, 13 Dec 2022 at 10:32, Alexey Romanov wrote:
This function can be used by other modules.
Signed-off-by: Alexey Romanov
---
arch/arm/include/asm/arch-meson/sm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include
input 10; then " \
+ "run bootcmd_mmc0; " \
"run bootcmd_usb0;" \
"fi;\0"
#else
Reviewed-by: Neil Armstrong
}
- kernel_addr_r = genimg_get_kernel_addr(kernel_addr);
- buf = map_sysmem(kernel_addr_r, 0);
/* Try bootm for legacy and FIT format image */
if (genimg_get_format(buf) != IMAGE_FORMAT_INVALID &&
IS_ENABLED(CONFIG_CMD_BOOTM))
Reviewed-by: Neil Armstrong
-by: Marek Vasut
---
Cc: Neil Armstrong
Cc: Peter Hoyes
Cc: Quentin Schulz
Cc: Ramon Fried
Cc: Simon Glass
Cc: Tom Rini
---
PW link for replacement patch:
https://patchwork.ozlabs.org/project/uboot/patch/20221214064518.753432-1-ma...@denx.de/
---
boot/pxe_utils.c | 8 +++-
drivers/
eviewed-by: Neil Armstrong
{
REBOOT_REASON_WATCHDOG_REBOOT = 13,
};
+/**
+ * meson_sm_get_reboot_reason - get reboot reason
+ */
int meson_sm_get_reboot_reason(void);
#endif /* __MESON_SM_H__ */
Reviewed-by: Neil Armstrong
+
+obj-y += sm.o
diff --git a/cmd/meson/sm.c b/cmd/meson/sm.c
new file mode 100644
index 000..c2b57707258
--- /dev/null
+++ b/cmd/meson/sm.c
@@ -0,0 +1,156 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2016 Beniamino Galvani
+ *
+ * Author: Beniamino Galvani
+ * Author:
address\n"
- "sm efusewrite- write into efuse from memory
address"
+ "sm efusewrite- write into efuse from memory
address\n"
+ "sm efusedump - dump efuse data range to console"
);
Reviewed-by: Neil Armstrong
Le 22/12/2022 à 13:57, Alexey Romanov via groups.io a écrit :
Please add a short description of the change in the commit message.
With this added:
Reviewed-by: Neil Armstrong
Signed-off-by: Alexey Romanov
---
doc/usage/cmd/sm.rst | 44
1 file
Le 22/12/2022 à 13:57, Alexey Romanov via groups.io a écrit :
Same here, add a short description.
With that:
Reviewed-by: Neil Armstrong
Signed-off-by: Alexey Romanov
---
doc/usage/cmd/sm.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/usage/cmd/sm.rst b/doc/usage/cmd
On 10/01/2023 12:01, Mattijs Korpershoek wrote:
On Wed, Dec 14, 2022 at 15:49, neil.armstr...@linaro.org wrote:
Hi,
On 14/12/2022 15:45, Mattijs Korpershoek wrote:
Hi Neil,
I'll run some tests on other G12 boards but so far this looks very good, thanks
!
I got my hands on an odroid-c
Hi,
On Thu, 22 Dec 2022 12:33:58 +0300, Vyacheslav Bocharov wrote:
> The new JetHub D1+ has a microSD slot. Add rescue boot from microSD
>
>
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic
(u-boot-amlogic-test)
[1/1] board: amlogic: jethub j100: add rescue boot from
Hi,
On Tue, 10 Jan 2023 13:56:45 +0300, Alexey Romanov wrote:
> Keeping the commands code in an arch/ is not correct. This patchset
> moves the meson smc commands from arch/arm/mach-meson to cmd/meson
> folder and also adds a new 'efusedump' command with which user can
> print efuse memory.
>
> A
Hi,
On Wed, 23 Nov 2022 16:42:48 +0100, Mattijs Korpershoek wrote:
> While working on some USB bugs on the VIM3L board, we stumbled upon the fact
> that mach-meson still uses legacy board_usb_*() functions instead of using DM
> [1]
>
> This series aim to switch the g12a based boards to use CONFI
asut
To: Vyacheslav Bocharov
Cc: u-boot-amlo...@groups.io
Cc: u-boot@lists.denx.de
Cc: Mattijs Korpershoek
Signed-off-by: Neil Armstrong
---
Neil Armstrong (2):
usb: dwc3-meson-gxl: force mode on child add/removal
ARM: meson: switch AXG & GX dwc2 otg to DM
arch/arm/mach-meson
for Mattijs for the original work at [1].
[1]
https://lore.kernel.org/all/20221024-meson-dm-usb-v1-1-2ab077a50...@baylibre.com/
Signed-off-by: Neil Armstrong
---
drivers/usb/dwc3/dwc3-meson-gxl.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/usb/dwc3/dwc3
_GADGET.
Note: Only configs having both CONFIG_USB_DWC3_MESON_GXL=y *and*
USB_GADGET_DWC2_OTG=y have been updated.
Thanks for the original work from Mattijs at [1]
[1]
https://lore.kernel.org/all/20221024-meson-dm-usb-v1-2-2ab077a50...@baylibre.com/
Signed-off-by: Neil Armstrong
---
arch/
DM_USB_GADGET $(grep -l CONFIG_USB_GADGET $(grep -l MESON configs/*))
Fixes: b96640cbfb ("ARM: meson: g12a: switch dwc2 otg to DM")
Fixes: e327e2affd ("ARM: meson: switch AXG & GX dwc2 otg to DM")
Signed-off-by: Neil Armstrong
---
configs/bananapi-m2-pro_defconfig | 1 +
configs/ba
Hi,
On Wed, 06 Dec 2023 10:04:21 +0100, Neil Armstrong wrote:
> Since commit b96640cbfb ("ARM: meson: g12a: switch dwc2 otg to DM")
> and commit e327e2affd ("ARM: meson: switch AXG & GX dwc2 otg to DM")
> Amlogic boards now requires DM_USB_GADGET to have USB G
+0100)
- Add missing DM_USB_GADGET to amlogic boards
Neil Armstrong (1):
configs: meson: enable missing DM_USB_GADGET
configs/bananapi-m2-pro_defconfig | 1
On 11/12/2023 09:59, Jagan Teki wrote:
From: Jagan Teki
DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY.
Extend the vendor phy handling by adding platform phy hooks.
Signed-off-by: Jagan Teki
---
drivers/video/dw_hdmi.c | 29 +++-
drivers
Linux v6.4 uses a new MDIO mux driver for GXL boards, let's port the driver
to U-Boot and sync the GXBB/GXL/GXM DT to make use of this driver.
Signed-off-by: Neil Armstrong
---
Neil Armstrong (2):
net: Add Amlogic GXL MDIO Mux driver
ARM: dts: sync Amlogic GX DT to Linux v6.4
Signed-off-by: Neil Armstrong
---
drivers/net/Kconfig | 7 ++
drivers/net/Makefile | 1 +
drivers/net/mdio_mux_meson_gxl.c | 138 +++
3 files changed, 146 insertions(+)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index
Sync Amlogic GXBB, GXL & GXM DTs from Linux v6.4, and also
switch to GXL MDIO MUX driver to adapt to DT change,
Most of the changes are only cosmetic or doesn't concern U-Boot,
the most important change for U-Boot is the GXL mdio mux compatible
switch to amlogic,gxl-mdio-mux.
Signed-off
Hi Igor, Sean,
On 09/11/2023 11:55, Igor Prusov wrote:
Currently clock providers may override default implementation of
soc_clk_dump function to replace clk dump command output. This causes
confusing behaviour when u-boot is built with one of such drivers
enabled but still has clocks defined usi
Hi,
On 30/11/2023 13:27, Arseniy Krasnov wrote:
Can you add a reference to the Linux patches that you submitted so
we know it will be safe to sync the DT from Linux when they are merged ?
Thanks,
Neil
Signed-off-by: Arseniy Krasnov
---
arch/arm/dts/meson-axg.dtsi | 35 +
Amlogic SoCs embeds an hardware clock measure block, port it
from Linux and implement it as a UCLK_CLK with only the dump
op and fail-only xlate.
Signed-off-by: Neil Armstrong
---
Changes in v2:
- remove common.h and include time.h instead
- Link to v1:
https://lore.kernel.org/r/20231113-uboot
Linux v6.4 uses a new MDIO mux driver for GXL boards, let's port the driver
to U-Boot and sync the GXBB/GXL/GXM DT to make use of this driver.
Signed-off-by: Neil Armstrong
---
Changes in v2:
- Fixed copyright line in mdio mux driver
- Link to v1:
https://lore.kernel.org/r/20231212-u-boo
Signed-off-by: Neil Armstrong
---
drivers/net/Kconfig | 7 ++
drivers/net/Makefile | 1 +
drivers/net/mdio_mux_meson_gxl.c | 138 +++
3 files changed, 146 insertions(+)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index
Sync Amlogic GXBB, GXL & GXM DTs from Linux v6.4, and also
switch to GXL MDIO MUX driver to adapt to DT change,
Most of the changes are only cosmetic or doesn't concern U-Boot,
the most important change for U-Boot is the GXL mdio mux compatible
switch to amlogic,gxl-mdio-mux.
Signed-off
4] https://lists.denx.de/pipermail/u-boot/2021-July/453848.html
[5] https://lists.denx.de/pipermail/u-boot/2021-August/458569.html
[6] https://lists.denx.de/pipermail/u-boot/2023-November/536768.html
[7] https://lists.denx.de/pipermail/u-boot/2023-May/518140.html
[8] https://lists.denx.de/pipermail/u-boot/2023-Ma
Hi,
On 14/12/2023 14:50, Sumit Garg wrote:
Prerquisite
s/Prerquisite/Prerequisite/
---
This patch series requires devicetree-rebasing git repo to be added as a
subtree to the main U-boot repo via:
$ git subtree add --prefix devicetree-rebasing \
git://git.kernel.org/pub/scm
On 14/12/2023 21:15, Tom Rini wrote:
On Thu, Dec 14, 2023 at 01:48:42PM -0600, Rob Herring wrote:
On Thu, Dec 14, 2023 at 12:23 PM Tom Rini wrote:
On Thu, Dec 14, 2023 at 03:53:11PM +0100, neil.armstr...@linaro.org wrote:
Hi,
On 14/12/2023 14:50, Sumit Garg wrote:
Prerquisite
s/Prerquisi
Hi Sean,
On 15/12/2023 18:52, Sean Anderson wrote:
On 12/12/23 09:12, Neil Armstrong wrote:
Amlogic SoCs embeds an hardware clock measure block, port it
from Linux and implement it as a UCLK_CLK with only the dump
op and fail-only xlate.
Please include a short blurb describing the hardware
n Anderson
Signed-off-by: Neil Armstrong
---
Changes in v3:
- Fixed/extended Kconfig and commit message following Sean's advices
- Link to v2:
https://lore.kernel.org/r/20231212-uboot-meson-clk-msr-v2-1-1cd0addf4...@linaro.org
Changes in v2:
- remove common.h and include time.h instead
- Lin
On 17/12/2023 19:41, Tom Rini wrote:
On Sat, Dec 16, 2023 at 11:46:18AM -0700, Simon Glass wrote:
Hi Tom,
On Thu, 14 Dec 2023 at 06:11, Tom Rini wrote:
On Wed, Dec 13, 2023 at 08:19:11PM -0700, Simon Glass wrote:
[snip]
The new DT nodes / SMBIOS binding [1] allows for the correct
informati
Hi,
On 18/12/2023 16:01, Simon Glass wrote:
Hi Neil,
On Mon, 18 Dec 2023 at 02:54, wrote:
On 17/12/2023 19:41, Tom Rini wrote:
On Sat, Dec 16, 2023 at 11:46:18AM -0700, Simon Glass wrote:
Hi Tom,
On Thu, 14 Dec 2023 at 06:11, Tom Rini wrote:
[..]
And my point with the above is that
On 18/12/2023 20:10, Jagan Teki wrote:
From: Jagan Teki
DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY.
Extend the vendor phy handling by adding platform phy hooks.
Signed-off-by: Jagan Teki
---
Changes for v2:
- fix meson cfg
drivers/video/dw_hdmi.c | 29 +
Hi,
On Wed, 13 Dec 2023 10:30:11 +0100, Neil Armstrong wrote:
> Linux v6.4 uses a new MDIO mux driver for GXL boards, let's port the driver
> to U-Boot and sync the GXBB/GXL/GXM DT to make use of this driver.
>
>
Thanks, Applied to https://source.denx.de/u-boot/custodians/u
changes up to 4d4fbf04158a5b2d4fff5a35ea0a2d6c18d250cb:
ARM: dts: sync Amlogic GX DT to Linux v6.4 (2023-12-19 11:24:38 +0100)
- Add support for new GXL MDIO mux, with driver and Linux DT sync from v6.4
---
mlogic/meson-gxbb-wetek-play2.dtb
+
include $(srctree)/scripts/Makefile.dts
targets += $(dtb-y)
diff --git a/dts/arch/arm64/amlogic b/dts/arch/arm64/amlogic
new file mode 12
index 000..73f7c3e7bd0
--- /dev/null
+++ b/dts/arch/arm64/amlogic
@@ -0,0 +1 @@
+../../../devicetree-rebasi
os: Simplify reporting of unknown values
smbios: Fallback to the default DT if sysinfo nodes are missing
lib/smbios.c | 109 +++
1 file changed, 92 insertions(+), 17 deletions(-)
--
2.40.1
I did it already offline, but:
Reviewed-by: Neil Ar
return dwc3_generic_remove(dev, &priv->gen_priv);
}
Reviewed-by: Neil Armstrong
= <0x1>;
- bus-width = <0x4>;
- clock = <&clkc 1>;
- clock-frequency = <2>;
-};
Reviewed-by: Neil Armstrong
a = {
static const struct udevice_id gcc_apq8096_of_match[] = {
{
- .compatible = "qcom,gcc-apq8096",
+ .compatible = "qcom,gcc-msm8996",
.data = (ulong)&apq8096_clk_data,
},
{ }
Reviewed-by: Neil Armstrong
On 19/12/2023 17:04, Caleb Connolly wrote:
Use the modern helpers to fetch the clock and use the correct property
("clocks" instead of "clock")
Signed-off-by: Caleb Connolly
---
arch/arm/dts/dragonboard410c.dts | 3 ++-
arch/arm/dts/dragonboard820c.dts | 3 ++-
drivers/serial/serial_msm.c
= qcom_gpio_set_value,
.get_function = qcom_gpio_get_function,
+ .xlate = qcom_gpio_xlate,
};
static int qcom_gpio_probe(struct udevice *dev)
Reviewed-by: Neil Armstrong
On 19/12/2023 17:04, Caleb Connolly wrote:
Some platforms hard reset when attempting to configure PMIC GPIOs. Add
support for quirks specified in match data with a single quirk to skip
this configuration. We rely on the GPIO already be configured correctly,
which is always the case for volume up
@@ -0,0 +1,7 @@
+# CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set
+CONFIG_TEXT_BASE=0x0
+# CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR is not set
+# CONFIG_REMAKE_ELF is not set
+CONFIG_POSITION_INDEPENDENT=y
+CONFIG_INIT_SP_RELATIVE=y
+CONFIG_SYS_INIT_SP_BSS_OFFSET=524288
Reviewed-by: Neil Armstrong
153
+#define GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK154
+#define GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_LPM_CLK155
+#define GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK 156
+#define GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK 157
+#define GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK 158
+#define GCC_CODEC_DIGCODEC_CLK 159
+#define GCC_MSS_Q6_BIMC_AXI_CLK160
+
+/* Indexes for GDSCs */
+#define BIMC_GDSC 0
+#define VENUS_GDSC 1
+#define MDSS_GDSC 2
+#define JPEG_GDSC 3
+#define VFE_GDSC 4
+#define OXILI_GDSC 5
+
+#endif
Reviewed-by: Neil Armstrong
sc.h
rename to board/qualcomm/dragonboard410c/misc.h
index c60e3e472470..fe44caf51b18 100644
--- a/arch/arm/mach-snapdragon/include/mach/misc.h
+++ b/board/qualcomm/dragonboard410c/misc.h
@@ -9,5 +9,6 @@
u32 msm_board_serial(void);
void msm_generate_mac_addr(u8 *mac);
+int msm_fixup_memory(void *blob);
#endif
With this fixed:
Reviewed-by: Neil Armstrong
ISCARD/ : { *(.dynamic*) }
- /DISCARD/ : { *(.plt*) }
- /DISCARD/ : { *(.interp*) }
- /DISCARD/ : { *(.gnu*) }
-}
Easy code removal!
Reviewed-by: Neil Armstrong
IGS_QCS404EVB_H
-
-#include
-
-#define CFG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 }
-
-#define CFG_EXTRA_ENV_SETTINGS \
- "bootm_size=0x500\0" \
- "bootm_low=0x8000\0" \
- "bootcmd=bootm $prevbl_initrd_start_addr\0"
-
-#endif
diff --git a/include/configs/sdm845.h b/include/configs/sdm845.h
deleted file mode 100644
index 5ad8569b2152..
--- a/include/configs/sdm845.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Configuration file for boards, based on Qualcomm SDM845 chip
- *
- * (C) Copyright 2021 Dzmitry Sankouski
- */
-
-#ifndef __CONFIGS_SDM845_H
-#define __CONFIGS_SDM845_H
-
-#include
-
-#define CFG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 }
-
-#define CFG_EXTRA_ENV_SETTINGS \
- "bootm_size=0x400\0" \
- "bootm_low=0x8000\0" \
- "stdin=serial,button-kbd\0" \
- "stdout=serial,vidconsole\0" \
- "stderr=serial,vidconsole\0" \
- "preboot=source $prevbl_initrd_start_addr:prebootscript\0" \
- "bootcmd=source $prevbl_initrd_start_addr:bootscript\0"
-
-/* Size of malloc() pool */
-
-#endif
Nice cleanup, the dynamic memory layout code is neat!
It's looks good overall:
Reviewed-by: Neil Armstrong
}
+ }
+
+ /* Now build the full path name */
+ snprintf(dt_path, sizeof(dt_path), "qcom/%s-%s.dtb",
+env_get("soc"), env_get("board"));
+ env_set("fdtfile", dt_path);
+}
+
void __weak qcom_late_init(void)
{
}
@@ -142,6 +242,7 @@ int board_late_init(void)
if (status)
log_warning("%s: Failed to set run time variables\n", __func__);
+ configure_env();
qcom_late_init();
return 0;
Nice, hope it will still fit for all future boards!
Reviewed-by: Neil Armstrong
tb --ramdisk db845c.itb \
- --output boot.img --pagesize 4096 --base 0x8000
-
-- Flash boot.img using db845c fastboot method:
-
- .. code-block:: bash
-
- sudo fastboot flash boot boot.img
-
-More information can be found on the `DragonBoard 845c page`_.
-
-.. _Samsung S9 page: https://en.wikipedia.org/wiki/Samsung_Galaxy_S9
-.. _DragonBoard 845c page: https://www.96boards.org/product/rb3-platform/
Overall looks good, the debug hints are nice!
Reviewed-by: Neil Armstrong
insertions(+)
With the commit id:
Reviewed-by: Neil Armstrong
+++
arch/arm/dts/pmi8998.dtsi| 98 +
arch/arm/dts/sdm845-wcd9340.dtsi | 86 ++
3 files changed, 314 insertions(+)
Same as patch 19, with the commit id:
Reviewed-by: Neil Armstrong
(+), 256 deletions(-)
Same as patch 19, with the commit id:
Reviewed-by: Neil Armstrong
-bindings/sound/qcom,lpass.h | 46 +++
7 files changed, 572 insertions(+)
Same as patch 19, with the commit id:
Reviewed-by: Neil Armstrong
On 19/12/2023 17:04, Caleb Connolly wrote:
Import the supporting pm8916.dtsi and msm8916-pm8916.dtsi files from
upstream in preparation for switching boards over.
Same as patch 19, with the commit id:
Reviewed-by: Neil Armstrong
changed, 3472 insertions(+), 216 deletions(-)
Same as patch 19, with the commit id:
Reviewed-by: Neil Armstrong
+
.../dt-bindings/interconnect/qcom,msm8996-cbf.h| 12 +
include/dt-bindings/interconnect/qcom,msm8996.h| 163 ++
include/dt-bindings/sound/qcom,wcd9335.h | 15 +
5 files changed, 845 insertions(+)
Same as patch 19, with the commit id:
Reviewed-by: Neil Armstrong
101 - 200 of 1715 matches
Mail list logo