Re: [PATCH 3/3] arm: dts: k3-j721e: Move to OF_UPSTREAM

2024-07-23 Thread Robert Nelson
4a33c4160e3cd git bisect good e9774afedd20bfe8a18b20a63010c1d18cd16cd7 git bisect good 54c93718b38c58160a018bb6a267a6b8b47469c4 git bisect good c9507f07a1d6c92bd1f73fd64384f8c5994be9c2 git bisect good 48639c705026b5556e60320aef01a94a9ee45be3 ``` The real fix is to convert beagleboneai64 to of_up

Re: [PATCH] board: beagle: convert to CONFIG_DM_I2C

2024-07-20 Thread Robert Nelson
uld pass a boot arg to the kernel to re-pinmux the proper device configuration.. We could either just drop this part, or convert to the u-boot expansion framework, which would use u-boot overlays.. Regards, -- Robert Nelson https://rcn-ee.com/

Re: [PATCH 1/5] arm: Remove omap4_panda board

2024-07-16 Thread Robert Nelson
On Mon, Jul 15, 2024 at 2:36 PM Tom Rini wrote: > > This board has not been converted to CONFIG_DM_I2C by the deadline. > Remove it. > > Signed-off-by: Tom Rini Acked-by: Robert Nelson It has to be done, has not been converted, if any active real users want to bring th

Re: [PATCH 5/5] arm: Remove omap3_beagle board

2024-07-16 Thread Robert Nelson
On Mon, Jul 15, 2024 at 2:36 PM Tom Rini wrote: > > This board has not been converted to CONFIG_DM_I2C by the deadline. > Remove it. > > Signed-off-by: Tom Rini Acked-by: Robert Nelson It has to be done, has not been converted, if any active real users want to bring th

Re: [PATCH v4 0/2] k3-am625-beagleplay: Add symlinks for tiboot3 and tispl

2024-06-28 Thread Robert Nelson
to reflect above change. > > > > Changes in v4: > > * Add the docs patch. > > > > Cc: Nishant Menon > > Cc: Robert Nelson > > > > Dhruva Gole (2): > > arm: dts: k3-am625-beagleplay: Add symlinks for tiboot3 and tispl > > doc: beagle

[PATCH] mvebu: armada-8k: respect CONFIG_DISTRO_DEFAULTS

2024-06-21 Thread Robert Marko
-off-by: Robert Marko --- include/configs/mvebu_armada-8k.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/mvebu_armada-8k.h b/include/configs/mvebu_armada-8k.h index 239a09763a..6fedbe9ee3 100644 --- a/include/configs/mvebu_armada-8k.h +++ b/include/configs

Re: [PATCH] board: beagle: beagleplay: enable OF_SYSTEM_SETUP

2024-06-20 Thread Robert Nelson
and break its boot. > > > > > > > > > > Enable OF_SYSTEM_SETUP to fixup the kernel's FDT to inform it of the > > > > > actual location of the firmware > > > > > > > > > > CC: Andrew Davis > > > > > CC: Nishanth Menon

Re: [PATCH] board: beagleplay: Fix the bootpart to pick from root partition

2024-06-17 Thread Robert Nelson
looking to make sure it works with TI's currently released sdk's. (So last year, and this quarter's releases..) Regards, -- Robert Nelson https://rcn-ee.com/

Re: [PATCH] board: beagleplay: Fix the bootpart to pick from root partition

2024-06-15 Thread Robert Nelson
On Fri, Jun 14, 2024 at 1:04 AM Dhruva Gole wrote: > > Robert, > > On Jun 13, 2024 at 16:51:24 -0500, Robert Nelson wrote: > > On Thu, Jun 13, 2024 at 4:47 PM Robert Nelson > > wrote: > > > > > > On Thu, Jun 13, 2024 at 3:06 AM Dhruva Gole wrote: >

Re: [PATCH] board: beagleplay: Fix the bootpart to pick from root partition

2024-06-15 Thread Robert Nelson
ript extlinux efi pxe > > Shouldn't the fix be to just drop 'script' from bootmeths. These TI > scripts needed to go away years ago. I agree! nuke the non bootmeth's. ;) Regards, -- Robert Nelson https://rcn-ee.com/

Re: [PATCH] board: beagleplay: Fix the bootpart to pick from root partition

2024-06-13 Thread Robert Nelson
On Thu, Jun 13, 2024 at 4:47 PM Robert Nelson wrote: > > On Thu, Jun 13, 2024 at 3:06 AM Dhruva Gole wrote: > > > > The Kernel Image and DTB files are supposed to be picked from the rootfs > > of the SD Card, this fails in legacy boot flow because bootpar

Re: [PATCH] board: beagleplay: Fix the bootpart to pick from root partition

2024-06-13 Thread Robert Nelson
Kernel Image and DTB's in the 1st fat partition.. Regards, -- Robert Nelson https://rcn-ee.com/

[PATCH v3 4/5] net: add Qualcomm ESS EDMA adapter

2024-06-03 Thread Robert Marko
This adds the driver for the ESS EDMA ethernet adapter found inside of Qualcomm IPQ40xx SoC series. This driver also integrates the built in modified QCA8337N switch support as they are tightly integrated. Co-Developed-by: Gabor Juhos Signed-off-by: Gabor Juhos Signed-off-by: Robert Marko

[PATCH v3 3/5] clock: qcom: ipq4019: add missing networking resets

2024-06-03 Thread Robert Marko
IPQ4019 has more networking related resets that will be required for future wired networking support, so lets add them. This syncs the driver with Linux. Signed-off-by: Robert Marko Reviewed-by: Caleb Connolly --- drivers/clk/qcom/clock-ipq4019.c | 6 ++ 1 file changed, 6 insertions

[PATCH v3 5/5] arm: dts: add IPQ4019 ESS EDMA U-Boot additions

2024-06-03 Thread Robert Marko
IPQ4019 ESS EDMA support is not yet in upstream Linux, so for now lets use the latest pending Linux DTS node for wired networking. Signed-off-by: Robert Marko --- Chanes in v2: * Use the latest pending Linux DT node for EDMA instead arch/arm/dts/qcom-ipq4019-u-boot.dtsi | 104

[PATCH v3 2/5] dt-bindings: clock: qcom: ipq4019: drop downstream file

2024-06-03 Thread Robert Marko
IPQ4019 clock dt-bindings are available in Linux upstream, and we can just use those instead of carrying a downstream file that matches the upstream one anyway. Signed-off-by: Robert Marko Reviewed-by: Sumit Garg --- Changes in v2: * Drop the downstream dt-bindings header as it matches

[PATCH v3 1/5] clock: qcom: ipq4019: add ESS clock

2024-06-03 Thread Robert Marko
ESS clock is the Ethernet Subsystem clock, so lets add it as its already configured by SBL1. Signed-off-by: Robert Marko Reviewed-by: Caleb Connolly --- drivers/clk/qcom/clock-ipq4019.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/qcom/clock-ipq4019.c b/drivers/clk/qcom

[PATCH] clock: qcom: ipq4019: add I2C clocks

2024-05-28 Thread Robert Marko
I2C clocks are not initialized by the SBL, so lets add support for clocks required by both of the QUP I2C controllers. BLSP1 AHB clock is already initialized by SBL, but QUP I2C driver is requesting it so we have to add it to the enable list. Based off QCS404 clock driver. Signed-off-by: Robert

[PATCH v2 4/5] net: add Qualcomm ESS EDMA adapter

2024-05-23 Thread Robert Marko
This adds the driver for the ESS EDMA ethernet adapter found inside of Qualcomm IPQ40xx SoC series. This driver also integrates the built in modified QCA8337N switch support as they are tightly integrated. Co-Developed-by: Gabor Juhos Signed-off-by: Gabor Juhos Signed-off-by: Robert Marko

[PATCH v2 5/5] arm: dts: add IPQ4019 ESS EDMA U-Boot additions

2024-05-23 Thread Robert Marko
IPQ4019 ESS EDMA support is not yet in upstream Linux, so for now lets use the latest pending Linux DTS node for wired networking. Signed-off-by: Robert Marko --- Chanes in v2: * Use the latest pending Linux DT node for EDMA instead arch/arm/dts/qcom-ipq4019-u-boot.dtsi | 104

[PATCH v2 2/5] dt-bindings: clock: qcom: ipq4019: drop downstream file

2024-05-23 Thread Robert Marko
IPQ4019 clock dt-bindings are available in Linux upstream, and we can just use those instead of carrying a downstream file that matches the upstream one anyway. Signed-off-by: Robert Marko --- Changes in v2: * Drop the downstream dt-bindings header as it matches the upstream Linux one include

[PATCH v2 3/5] clock: qcom: ipq4019: add missing networking resets

2024-05-23 Thread Robert Marko
IPQ4019 has more networking related resets that will be required for future wired networking support, so lets add them. This syncs the driver with Linux. Signed-off-by: Robert Marko Reviewed-by: Caleb Connolly --- drivers/clk/qcom/clock-ipq4019.c | 6 ++ 1 file changed, 6 insertions

[PATCH v2 1/5] clock: qcom: ipq4019: add ESS clock

2024-05-23 Thread Robert Marko
ESS clock is the Ethernet Subsystem clock, so lets add it as its already configured by SBL1. Signed-off-by: Robert Marko Reviewed-by: Caleb Connolly --- drivers/clk/qcom/clock-ipq4019.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/qcom/clock-ipq4019.c b/drivers/clk/qcom

Re: [PATCH 5/5] arm: dts: add IPQ4019 ESS EDMA U-Boot additions

2024-05-22 Thread Robert Marko
On Wed, May 22, 2024 at 6:21 PM Caleb Connolly wrote: > > Hi Robert, > > Thanks for the patches. > > On 22/05/2024 12:13, Robert Marko wrote: > > IPQ4019 ESS EDMA support is not yet in upstream Linux, and even when > > eventually it is merged the node will not be

Re: [PATCH 2/5] dt-bindings: clock: qcom: ipq4019: add missing networking resets

2024-05-22 Thread Robert Marko
On Wed, May 22, 2024 at 6:22 PM Caleb Connolly wrote: > > Hi Robert, > > On 22/05/2024 12:13, Robert Marko wrote: > > Add bindings for the missing networking resets found in IPQ4019 GCC. > > This syncs the bindigs with Linux. > > These bindings are already syn

[PATCH 5/5] arm: dts: add IPQ4019 ESS EDMA U-Boot additions

2024-05-22 Thread Robert Marko
IPQ4019 ESS EDMA support is not yet in upstream Linux, and even when eventually it is merged the node will not be compatible with U-Boot driver as the Linux driver properly models the internal switch. So, lets add the U-Boot additions DTSI for ESS EDMA for now. Signed-off-by: Robert Marko

[PATCH 4/5] net: add Qualcomm ESS EDMA adapter

2024-05-22 Thread Robert Marko
This adds the driver for the ESS EDMA ethernet adapter found inside of Qualcomm IPQ40xx SoC series. This driver also integrates the built in modified QCA8337N switch support as they are tightly integrated. Co-Developed-by: Gabor Juhos Signed-off-by: Gabor Juhos Signed-off-by: Robert Marko

[PATCH 3/5] clock: qcom: ipq4019: add missing networking resets

2024-05-22 Thread Robert Marko
IPQ4019 has more networking related resets that will be required for future wired networking support, so lets add them. This syncs the driver with Linux. Signed-off-by: Robert Marko --- drivers/clk/qcom/clock-ipq4019.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/qcom

[PATCH 2/5] dt-bindings: clock: qcom: ipq4019: add missing networking resets

2024-05-22 Thread Robert Marko
Add bindings for the missing networking resets found in IPQ4019 GCC. This syncs the bindigs with Linux. Signed-off-by: Robert Marko --- include/dt-bindings/clock/qcom,gcc-ipq4019.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/dt-bindings/clock/qcom,gcc-ipq4019.h b/include

[PATCH 1/5] clock: qcom: ipq4019: add ESS clock

2024-05-22 Thread Robert Marko
ESS clock is the Ethernet Subsystem clock, so lets add it as its already configured by SBL1. Signed-off-by: Robert Marko --- drivers/clk/qcom/clock-ipq4019.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/qcom/clock-ipq4019.c b/drivers/clk/qcom/clock-ipq4019.c index

[PATCH 2/2] net: phy: add Qualcomm QCA807x driver

2024-05-22 Thread Robert Marko
-by: Robert Marko --- drivers/net/phy/Kconfig | 6 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/qca807x.c | 211 ++ 3 files changed, 218 insertions(+) create mode 100644 drivers/net/phy/qca807x.c diff --git a/drivers/net/phy/Kconfig b/drivers/net

[PATCH 1/2] net: phy: add PSGMII (Penta SGMII) mode

2024-05-22 Thread Robert Marko
. It is commonly used by Qualcomm with their QCA807x PHY series and modern WiSoC-s. Add definitions for the PHY layer to allow to express this type of connection between the MAC and PHY. This is basically a direct port from Linux which already supports this mode. Signed-off-by: Robert Marko --- include

[PATCH v2 3/3] arm: dts: drop downstream IPQ4019 DTSI

2024-05-14 Thread Robert Marko
We want to use OF_UPSTREAM on IPQ40XX as its well supported upstream, so lets drop our downstream DTSI. Signed-off-by: Robert Marko Acked-by: Caleb Connolly --- arch/arm/dts/qcom-ipq4019.dtsi | 202 - 1 file changed, 202 deletions(-) delete mode 100644 arch/arm

[PATCH v2 1/3] mach-ipq40xx: add CPU specific code

2024-05-14 Thread Robert Marko
Provide basic DRAM info population from DT, cache setting and the board_init stub. Signed-off-by: Robert Marko Acked-by: Caleb Connolly --- Changes in v2: * Drop arch/arm/mach-ipq40xx/Makefile | 7 ++ arch/arm/mach-ipq40xx/cpu.c| 43 ++ 2 files

[PATCH v2 2/3] mach-ipq40xx: use OF_UPSTREAM

2024-05-14 Thread Robert Marko
Now that drivers are compatible enough with the upstream DTS, there is no reason to not use the upstream DTS, so imply OF_UPSTREAM by default. Signed-off-by: Robert Marko Acked-by: Caleb Connolly --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch

[PATCH v3] sysreset: add Qualcomm PSHOLD reset driver

2024-05-14 Thread Robert Marko
Number of Qualcomm ARMv7 SoC-s did not use PSCI but rather used PSHOLD (Qualcomm Power Supply Hold Reset) bit to trigger reset or poweroff. Qualcomm IPQ40XX is one of them, so provide a simple sysreset driver based on the upstream Linux one, it is DT compatible as well. Signed-off-by: Robert

[RFC PATCH 5/5] sysreset: call .on_reset for UCLASS_SPI_FLASH before reset request

2024-05-07 Thread Robert Marko
that this does not fix a case where you remove the power while U-Boot is still running and in that case it will still be stuck in 4-byte mode. Signed-off-by: Robert Marko --- drivers/sysreset/sysreset-uclass.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/sysreset/sysreset

[RFC PATCH 4/5] mtd: spi: sf: implement .on_reset method

2024-05-07 Thread Robert Marko
to be in 3-byte adressing mode and will just hang otherwise. Note that this does not fix a case where you remove the power while U-Boot is still running and in that case it will still be stuck in 4-byte mode. Signed-off-by: Robert Marko --- drivers/mtd/spi/sf_probe.c | 10 ++ 1 file changed, 10

[RFC PATCH 3/5] mtd: spi-nor: rename and export 4-byte adressing mode function

2024-05-07 Thread Robert Marko
Currently 4-byte adressing mode function is not exported, but since we plan to use it outside of the SPI NOR core we need to export it. While we are here, rename it to align the naming with the rest of exported functions. Signed-off-by: Robert Marko --- drivers/mtd/spi/spi-nor-core.c | 7

[RFC PATCH 1/5] dm: core: add on_reset method

2024-05-07 Thread Robert Marko
Currently, we dont have a specific method that is intented to be called right before calling board reset. Intention for this method is to be able to exit 4-byte adressing mode on SPI-NOR devices before reset. Signed-off-by: Robert Marko --- include/dm/device.h | 2 ++ 1 file changed, 2

[RFC PATCH 2/5] dm: core: introduce uclass_id_on_reset()

2024-05-07 Thread Robert Marko
Implement a helper to call .on_reset method for every device in a certain uclass. Intention is to use this helper for UCLASS_SPI_FLASH before board reset to exit 4-byte adressing mode. Signed-off-by: Robert Marko --- drivers/core/uclass.c | 13 + include/dm/uclass.h | 8

[RFC PATCH 0/5] Implement exiting 4-byte adressing mode before reset

2024-05-07 Thread Robert Marko
is still running and in that case it will still be stuck in 4-byte mode. Robert Marko (5): dm: core: add on_reset method dm: core: introduce uclass_id_on_reset() mtd: spi-nor: rename and export 4-byte adressing mode function mtd: spi: sf: implement .on_reset method sysreset: call .on_reset

Re: [PATCH 0/2] qcom: ehci: enable core + iface clocks

2024-05-02 Thread Robert Marko
for the patches. I have a feeling this might break IPQ4019, you > might need to stub the clks there (cc Robert). Hi, IPQ4019 does not use ehci-msm, but rather DWC3 so it should be fine. Regards, Robert > > Seems like the To: and Cc: addresses aren't all quite right still. > > > &g

[PATCH 2/2] mtd: spi-nor-core: add 4-byte OPCODE support for Winbond W25Q256JV

2024-04-25 Thread Robert Marko
pport for w25q256"). Signed-off-by: Robert Marko --- drivers/mtd/spi/spi-nor-core.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c index 7615ba602f..8882b045ce 100644 --- a/drivers/mtd/spi/spi-

[PATCH 1/2] mtd: spi-nor-core: allow overriding 4-byte OPCODE support

2024-04-25 Thread Robert Marko
with the same JEDEC ID by differences in SFDP tables, so in order to be able to apply a fixup after they are parsed lets add a feature flag that we can override. Signed-off-by: Robert Marko --- drivers/mtd/spi/spi-nor-core.c | 6 -- include/linux/mtd/spi-nor.h| 1 + 2 files changed, 5 insertions

[PATCH v2] sysreset: add Qualcomm PSHOLD reset driver

2024-04-24 Thread Robert Marko
Number of Qualcomm ARMv7 SoC-s did not use PSCI but rather used PSHOLD (Qualcomm Power Supply Hold Reset) bit to trigger reset or poweroff. Qualcomm IPQ40XX is one of them, so provide a simple sysreset driver based on the upstream Linux one, it is DT compatible as well. Signed-off-by: Robert

[PATCH 3/3] arm: dts: drop downstream IPQ4019 DTSI

2024-04-24 Thread Robert Marko
We want to use OF_UPSTREAM on IPQ40XX as its well supported upstream, so lets drop our downstream DTSI. Signed-off-by: Robert Marko --- arch/arm/dts/qcom-ipq4019.dtsi | 202 - 1 file changed, 202 deletions(-) delete mode 100644 arch/arm/dts/qcom-ipq4019.dtsi

[PATCH 2/3] mach-ipq40xx: use OF_UPSTREAM

2024-04-24 Thread Robert Marko
Now that drivers are compatible enough with the upstream DTS, there is no reason to not use the upstream DTS, so imply OF_UPSTREAM by default. Signed-off-by: Robert Marko --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

[PATCH 1/3] mach-ipq40xx: add CPU specific code

2024-04-24 Thread Robert Marko
Provide basic DRAM info population from DT, cache setting and the board_init stub. Signed-off-by: Robert Marko --- arch/arm/mach-ipq40xx/Makefile | 7 ++ arch/arm/mach-ipq40xx/cpu.c| 44 ++ 2 files changed, 51 insertions(+) create mode 100644 arch/arm

[PATCH 4/4] MAINTAINERS: IPQ40XX: add pinctrl driver

2024-04-24 Thread Robert Marko
Pinctrl drivers were moved to a dedicated directory but the entry was never updated, so add the pinctrl-ipq4019 driver entry. Signed-off-by: Robert Marko --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 207c8b763f..382376b8e3 100644

[PATCH 3/4] MAINTAINERS: IPQ40XX: add clock-ipq4019 instead of reset driver

2024-04-24 Thread Robert Marko
The reset handling was added to the clock drivers but the entry was never updated, so add the clock-ipq4019 driver instead. Signed-off-by: Robert Marko --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index fdce7c8334..207c8b763f

[PATCH 2/4] MAINTAINERS: IPQ40XX: update GCC dt-bindings

2024-04-24 Thread Robert Marko
The separate clock and reset dt-bindings for IPQ40XX were merged into one recently, but the entry was not updated so do it now. Signed-off-by: Robert Marko --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8691500d28

[PATCH 1/4] MAINTAINERS: IPQ40XX: remove Luka Kovacic as maintainer

2024-04-24 Thread Robert Marko
Luka Kovacic is no longer at Sartura, so remove him as one of IPQ40xx maintainers. Signed-off-by: Robert Marko --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index d0a4a28b40..8691500d28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -334,7 +334,6

[PATCH] sysreset: add Qualcomm PSHOLD reset driver

2024-04-23 Thread Robert Marko
Number of Qualcomm ARMv7 SoC-s did not use PSCI but rather used PSHOLD (Qualcomm Power Supply Hold Reset) bit to trigger reset or poweroff. Qualcomm IPQ40XX is one of them, so provide a simple sysreset driver based on the upstream Linux one, it is DT compatible as well. Signed-off-by: Robert

[PATCH] .gitignore: add LTO generated file

2024-04-23 Thread Robert Marko
Currently, keep-syms-lto.c is being generated if LTO is enabled but unlike keep-syms-lto.o it is not being ignored, so lets add keep-syms-lto.* to .gitignore. Signed-off-by: Robert Marko --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index be137040a2

[PATCH v2 5/5] pinctrl: qcom: ipq4019: support all pin functions

2024-04-22 Thread Robert Marko
SM8150 U-Boot pinctrl driver which also uses different function numbers pased on the exact pin number. Signed-off-by: Robert Marko --- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 306 +++-- 1 file changed, 293 insertions(+), 13 deletions(-) diff --git a/drivers/pinctrl/qcom

[PATCH v2 4/5] pinctrl: qcom: ipq4019: enable DM_FLAG_PRE_RELOC

2024-04-22 Thread Robert Marko
as pinctrl provider is not available. So, lets enable DM_FLAG_PRE_RELOC for IPQ4019 pinctrl to fix this. Signed-off-by: Robert Marko --- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/qcom/pinctrl-ipq4019.c b/drivers/pinctrl/qcom

[PATCH v2 3/5] pinctrl: qcom: ipq4019: adapt pin name lookup to upstream DTS

2024-04-22 Thread Robert Marko
We want to use OF_UPSTREAM on IPQ40XX as its well supported upstream, so as a preparation update pinctrl driver to look for the upstream pin format. Signed-off-by: Robert Marko Reviewed-by: Caleb Connolly --- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 2/5] mach-ipq40xx: import GPIO header from mach-snapgradon

2024-04-22 Thread Robert Marko
Pinctrl driver was refactored and moved, but the required header that it depends on was not included. Fixes: 24d2908e987a ("pinctrl: qcom: move ipq4019 driver from mach-ipq40xx") Signed-off-by: Robert Marko --- arch/arm/mach-ipq40xx/include/mach/gpio.h | 37 +++--

[PATCH v2 1/5] pinctrl: qcom: allow selecting with ARCH_IPQ40XX

2024-04-22 Thread Robert Marko
Signed-off-by: Robert Marko Reviewed-by: Caleb Connolly --- drivers/pinctrl/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 2fe6398147..bd2019c866 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pi

Re: [PATCH 2/3] mach-ipq40xx: import GPIO header from mach-snapgradon

2024-04-19 Thread Robert Marko
On Thu, Apr 18, 2024 at 1:02 PM Caleb Connolly wrote: > > Hi Robert, > > On 18/04/2024 10:14, Robert Marko wrote: > > Pinctrl driver was refactored and moved, but the required header that > > it depends on was not included. > > Thanks for these patches! > >

[PATCH] arm: mach-ipq40xx: dont select SMEM by default

2024-04-18 Thread Robert Marko
IPQ40xx SoC-s dont have proper SMEM support like more modern Qualcomm SoC-s so there is no point in selecting the required drivers. Signed-off-by: Robert Marko --- arch/arm/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 23ee25269a

[PATCH 3/3] pinctrl: qcom: ipq4019: adapt pin name lookup to upstream DTS

2024-04-18 Thread Robert Marko
We want to use OF_UPSTREAM on IPQ40XX as its well supported upstream, so as a preparation update pinctrl driver to look for the upstream pin format. Signed-off-by: Robert Marko --- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 2/3] mach-ipq40xx: import GPIO header from mach-snapgradon

2024-04-18 Thread Robert Marko
Pinctrl driver was refactored and moved, but the required header that it depends on was not included. Fixes: 24d2908e987a ("pinctrl: qcom: move ipq4019 driver from mach-ipq40xx") Signed-off-by: Robert Marko --- arch/arm/mach-ipq40xx/include/mach/gpio.h | 37 +++--

[PATCH 1/3] pinctrl: qcom: allow selecting with ARCH_IPQ40XX

2024-04-18 Thread Robert Marko
Signed-off-by: Robert Marko --- drivers/pinctrl/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 2fe6398147..bd2019c866 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@

Re: [PATCH 1/3] serial: allow selecting MSM debug UART with ARCH_IPQ40XX

2024-04-15 Thread Robert Marko
On Mon, Apr 15, 2024 at 1:21 PM Caleb Connolly wrote: > > Hi Robert, > > Happy to see someone working on those IPQ platforms. If it makes sense > to then I'd be happy to adopt them under ARCH_SNAPDRAGON at some point? > I'm not hugely familiar with the usecase here (but e

Re: [PATCH 3/3] serial: msm: calculate bit clock divider

2024-04-15 Thread Robert Marko
On Mon, Apr 15, 2024 at 4:18 PM Caleb Connolly wrote: > > > > On 15/04/2024 14:05, Robert Marko wrote: > > On Mon, Apr 15, 2024 at 2:44 PM Caleb Connolly > > wrote: > >> > >> The driver currently requires the bit clock divider be hardcoded in > >

Re: [PATCH 3/3] serial: msm: calculate bit clock divider

2024-04-15 Thread Robert Marko
l DM UART, but debug UART prints junk since .clk_rate = 7372800 is not correct for IPQ40xx. I would suggest using .clk_rate = CONFIG_VAL(DEBUG_UART_CLOCK) instead to populate the value per board, this also avoids per ARCH ifdefs. Regards, Robert > --- > Cc: Robert Marko > --- > doc/device-

[PATCH v2] usb: dwc3-generic: fix support without DM_REGULATOR

2024-04-15 Thread Robert Marko
dwc3_generic_host_probe() return the same error thus breaking probe. So, check whether return code is -ENOSYS before erroring out. Fixes: de451d5d5b6f ("usb: dwc3-generic: support external vbus regulator") Signed-off-by: Robert Marko --- Changes in v2: * Drop #ifdefs and check f

Re: [PATCH 3/3] serial: msm_serial: set .clk_bit_rate in debug UART

2024-04-15 Thread Robert Marko
On Mon, Apr 15, 2024 at 1:46 PM Caleb Connolly wrote: > > > > On 15/04/2024 11:49, Robert Marko wrote: > > Currently, .clk_bit_rate is not being set in init_serial_data for debug > > UART, but its then used uart_dm_init() and this breaks debug UART on > > IPQ4

Re: [PATCH] usb: dwc3-generic: fix support without DM_REGULATOR

2024-04-15 Thread Robert Marko
On Mon, Apr 15, 2024 at 12:57 PM Caleb Connolly wrote: > > > > On 15/04/2024 11:53, Robert Marko wrote: > > Recent addition of vbus-supply support has broke platform which dont use > > controllable regulators for USB. > > > > Issue is that even withou DM_REGUL

[PATCH] usb: dwc3-generic: fix support without DM_REGULATOR

2024-04-15 Thread Robert Marko
dwc3_generic_host_probe() return the same error thus breaking probe. Fixes: de451d5d5b6f ("usb: dwc3-generic: support external vbus regulator") Signed-off-by: Robert Marko --- drivers/usb/dwc3/dwc3-generic.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/dwc3/dwc3

[PATCH 3/3] serial: msm_serial: set .clk_bit_rate in debug UART

2024-04-15 Thread Robert Marko
default to the same value that regular DM UART will use. Signed-off-by: Robert Marko --- drivers/serial/serial_msm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_msm.c index 8044d38518..80069f5cfb 100644 --- a/drivers/serial

[PATCH 2/3] serial: msm_serial: remove .clk_rate from debug UART

2024-04-15 Thread Robert Marko
MSM serial in DEBUG UART mode is trying to set .clk_rate, but the msm_serial_data structure does not have such property at all, so lets remove it as otherwise it will fail compiling. Fixes: 90023bdfe979 ("serial: msm: add debug UART") Signed-off-by: Robert Marko --- drivers/serial/se

[PATCH 1/3] serial: allow selecting MSM debug UART with ARCH_IPQ40XX

2024-04-15 Thread Robert Marko
Currently, DEBUG_UART_MSM depends on ARCH_SNAPDRAGON only, but IPQ40XX devices also use the same UART HW so they can also use the debug UART. So, allow selecting DEBUG_UART_MSM when using ARCH_IPQ40XX as well. Signed-off-by: Robert Marko --- drivers/serial/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH 1/4] board: beagle: beagleplay: Enable 32k crystal

2024-02-12 Thread Robert Nelson
tion that needs to be done prior to DM managing the system > and all other muxes get set, do the same from R5 context. > > Signed-off-by: Nishanth Menon Tested-by: Robert Nelson Yay, WiFi (wl18xx) now works on the BeaglePay with these 4 patches on top of v2024.01-rc1 debian@BeaglePl

Re: [PATCH v3 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2024-01-10 Thread Robert Marko
On Tue, Jan 9, 2024 at 4:34 PM Stefan Roese wrote: > > Hi Robert, > > On 1/9/24 14:16, Robert Marko wrote: > > On Wed, Nov 29, 2023 at 11:11 AM Robert Marko > > wrote: > >> > >> Currently, Esspresobin FDT is being fixed up directly in ft_board_setup

Re: [PATCH v3 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2024-01-09 Thread Robert Marko
On Wed, Nov 29, 2023 at 11:11 AM Robert Marko wrote: > > Currently, Esspresobin FDT is being fixed up directly in ft_board_setup() > which makes it hard to add support for any other board to be fixed up. > > So, lets just move the FDT fixup code to a separate function and call it

[PATCH v3 3/3] arm: mvebu: eDPU: support new board revision

2023-11-29 Thread Robert Marko
. Signed-off-by: Robert Marko Reviewed-by: Stefan Roese --- Changes in v3: * Add check for DM_MDIO arch/arm/dts/armada-3720-eDPU-u-boot.dtsi | 13 ++- arch/arm/dts/armada-3720-eDPU.dts | 47 board/Marvell/mvebu_armada-37xx/board.c | 128 ++ configs

[PATCH v3 2/3] arm: mvebu: Espressobin: move network setup into a separate function

2023-11-29 Thread Robert Marko
-by: Robert Marko Reviewed-by: Stefan Roese --- Changes in v2: * Rebase on top of current master and resolve conflicts board/Marvell/mvebu_armada-37xx/board.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell

[PATCH v3 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2023-11-29 Thread Robert Marko
-by: Robert Marko Reviewed-by: Stefan Roese --- board/Marvell/mvebu_armada-37xx/board.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c index 04124d8014..1471caa9a6 100644 --- a/board

Re: [PATCH v2 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2023-11-29 Thread Robert Marko
On Tue, Nov 28, 2023 at 4:49 PM Stefan Roese wrote: > > Hi Robert, > > On 11/28/23 16:44, Stefan Roese wrote: > > Hi Robert, > > > > On 11/28/23 11:19, Robert Marko wrote: > >> On Fri, Oct 20, 2023 at 12:21 PM Robert Marko > >> wrote: > >

Re: [PATCH v2 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2023-11-28 Thread Robert Marko
On Fri, Oct 20, 2023 at 12:21 PM Robert Marko wrote: > > Currently, Esspresobin FDT is being fixed up directly in ft_board_setup() > which makes it hard to add support for any other board to be fixed up. > > So, lets just move the FDT fixup code to a separate function and call it

[PATCH] arm: vexpress64: juno: Allow boot from VirtIO

2023-11-23 Thread robert . catherall
From: Robert Catherall The AEM and Juno FVPs (Fixed Virtual Platforms) support a VirtIO disc interface. Adding VIRTIO to the list of boot devices allows these FastModel platforms to boot from 'disc' in the same way the hardware counterpart can boot from SATA or USB. This is a NOP

Re: [PATCH] arm: afs: Set the filesize env. var. on load

2023-11-23 Thread Robert Catherall
On 23/11/2023 17:15, robert.cather...@foss.arm.com wrote: From: Robert Catherall The `afs load` command copies data to RAM. Set the filesize environment variable to record how much data was 'loaded' Signed-off-by: Robert Catherall Apologies for the duplicate patch; I had issues

[PATCH] arm: afs: Set the filesize env. var. on load

2023-11-23 Thread robert . catherall
From: Robert Catherall The `afs load` command copies data to RAM. Set the filesize environment variable to record how much data was 'loaded' Signed-off-by: Robert Catherall --- cmd/armflash.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cmd/armflash.c b

[PATCH 1/1] arm: afs: Set the filesize env. var. on load

2023-11-23 Thread Robert Catherall
The `afs load` command copies data to RAM. Set the filesize environment variable to record how much data was 'loaded' Signed-off-by: Robert Catherall --- cmd/armflash.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cmd/armflash.c b/cmd/armflash.c index

Re: [PATCH 2/3] arm: mvebu: Espressobin: move network setup into a separate function

2023-10-20 Thread Robert Marko
On Fri, Oct 20, 2023 at 8:46 AM Stefan Roese wrote: > > Hi Robert, > > On 9/18/23 08:47, Stefan Roese wrote: > > On 9/14/23 12:16, Robert Marko wrote: > >> Currently, Esspresobin switch is being setup directly in > >> last_stage_init() > >> which mak

[PATCH v2 3/3] arm: mvebu: eDPU: support new board revision

2023-10-20 Thread Robert Marko
. Signed-off-by: Robert Marko Reviewed-by: Stefan Roese --- arch/arm/dts/armada-3720-eDPU-u-boot.dtsi | 13 ++- arch/arm/dts/armada-3720-eDPU.dts | 47 board/Marvell/mvebu_armada-37xx/board.c | 125 ++ configs/eDPU_defconfig| 1 + 4 files

[PATCH v2 2/3] arm: mvebu: Espressobin: move network setup into a separate function

2023-10-20 Thread Robert Marko
-by: Robert Marko Reviewed-by: Stefan Roese --- Changes in v2: * Rebase on top of current master and resolve conflicts board/Marvell/mvebu_armada-37xx/board.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell

[PATCH v2 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2023-10-20 Thread Robert Marko
-by: Robert Marko Reviewed-by: Stefan Roese --- board/Marvell/mvebu_armada-37xx/board.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c index 04124d8014..1471caa9a6 100644 --- a/board

Re: [PATCH] kbuild: use which $(DTC) as a dependency

2023-10-17 Thread Robert Marko
use command -v dtc instead as which is not part of POSIX? Regards, Robert which gives make a full path, so the dependency is satisfied. This was introduced by commit d50af66 kbuild: add dtc as dependency on .dtb files and we extend it so it calls which automatically (similar to scripts/dtc

[PATCH 3/3] arm: mvebu: eDPU: support new board revision

2023-09-14 Thread Robert Marko
. Signed-off-by: Robert Marko --- arch/arm/dts/armada-3720-eDPU-u-boot.dtsi | 13 ++- arch/arm/dts/armada-3720-eDPU.dts | 47 board/Marvell/mvebu_armada-37xx/board.c | 125 ++ configs/eDPU_defconfig| 2 + 4 files changed, 182 insertions(+), 5

[PATCH 2/3] arm: mvebu: Espressobin: move network setup into a separate function

2023-09-14 Thread Robert Marko
-by: Robert Marko --- board/Marvell/mvebu_armada-37xx/board.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c index da325e8c75..6527155c6e 100644 --- a/board/Marvell/mvebu_armada-37xx

[PATCH 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2023-09-14 Thread Robert Marko
-by: Robert Marko --- board/Marvell/mvebu_armada-37xx/board.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c index 3ab6e8873d..da325e8c75 100644 --- a/board/Marvell/mvebu_armada-37xx

Re: [PATCH] ARM: dts: am335x-pocketbeagle: choose tick-timer

2023-09-08 Thread Robert Nelson
CPU : AM335X-GP rev 2.1 > Model: TI AM335x PocketBeagle > DRAM: 512 MiB > Core: 154 devices, 16 uclasses, devicetree: separate > Could not initialize timer (err -19) > > resetting ... > > Suggested-by: Pierre Lebleu > Signed-off-by:

Re: [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation

2023-08-25 Thread Robert Nelson
minutes or so, it should shutdown with a new image in the eMMC.. Regards, -- Robert Nelson https://rcn-ee.com/

[PATCH 2/2] net: mv88e6xxx: add Clause 45 support

2023-08-08 Thread Robert Marko
and being able to actually read the register. Signed-off-by: Robert Marko --- drivers/net/mv88e6xxx.c | 69 +++-- 1 file changed, 67 insertions(+), 2 deletions(-) diff --git a/drivers/net/mv88e6xxx.c b/drivers/net/mv88e6xxx.c index deb72772d19..b9ee093c3af 100644

[PATCH 1/2] net: mv88e6xxx: use generic bitfield macros for MDIO

2023-08-08 Thread Robert Marko
Driver is currently defining the mask and bit shifting itself, there is no need for that as U-Boot has generic bitfield macros that help us achieve the same result but in a cleaner way. Signed-off-by: Robert Marko --- drivers/net/mv88e6xxx.c | 25 + 1 file changed, 13

AW: getting u-boot to work on raspi 3b (32bit)

2023-07-28 Thread Robert Wenisch
I missing something completely here? Have a nice weekend Robert PS: The problems with the serial port outputting garbage when scanning USB and starting the kernel still persist. I guess this doesn't work as intended? PPS: A ready to go distribution probably isn't going to help much as, figurin

  1   2   3   4   5   6   7   8   9   10   >