On 30/04/2024 15:35, Tom Rini wrote:
Remove from all mach-meson files and when needed add missing
include files directly.
Signed-off-by: Tom Rini
---
Cc: Neil Armstrong
Cc: u-boot-amlo...@groups.io
---
arch/arm/mach-meson/board-a1.c | 2 +-
arch/arm/mach-meson/board-axg.c| 1
On 26/04/2024 10:40, Arseniy Krasnov wrote:
Hi,
On 26.04.2024 11:21, Neil Armstrong wrote:
Hi,
On 25/04/2024 19:50, Arseniy Krasnov wrote:
nfc: Synced from Linux commit 7ca2ef33179f ("Linux 6.6-rc1")
nand_all_pins: Synced from Linux commit be18d53c32b2 ("Linux 6.7-rc3")
Hi,
On 25/04/2024 19:50, Arseniy Krasnov wrote:
nfc: Synced from Linux commit 7ca2ef33179f ("Linux 6.6-rc1")
nand_all_pins: Synced from Linux commit be18d53c32b2 ("Linux 6.7-rc3")
No need to sync DT anymore, this is handled by OF_UPSTREAM and for next release
it's already aligned with v6.9
orted from Linux.
Only FIFO mode is implemented, neither SE DMA nor GPI DMA are implemented.
Signed-off-by: Neil Armstrong
---
drivers/i2c/Kconfig| 10 +
drivers/i2c/Makefile | 1 +
drivers/i2c/geni_i2c.c | 575 +
include/soc/qcom
Enable the GENI I2C driver in the default Qualcomm defconfig.
Reviewed-by: Caleb Connolly
Signed-off-by: Neil Armstrong
---
configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 1abb57345ff..8d440b23625 100644
orted from Linux.
Only FIFO mode is implemented, neither SE DMA nor GPI DMA are implemented.
Finally enable the driver in the default Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
Changes in v2:
- Fixed commit msg, removed useless debug, switched to dev_err() in probe
- Fixed some possi
On 19/04/2024 13:47, Caleb Connolly wrote:
Hi Neil,
On 18/04/2024 23:47, Neil Armstrong wrote:
Add Support for the Qualcomm Generic Interface (GENI) I2C interface
found on newer Qualcomm SoCs.
\o/
The Generic Interface (GENI) is a firmware based Qualcomm Universal
Peripherals (QUP) Serial
G_OF_UPSTREAM_BUILD_VENDOR),y)
+ifeq ($(CONFIG_ARM64),y)
+dt_dir := $(srctree)/dts/upstream/src/arm64
+else
+dt_dir := $(srctree)/dts/upstream/src/$(ARCH)
+endif
+
+dtb-vendor_dts := $(patsubst %.dts,%.dtb,$(wildcard $(dt_dir)/$(subst
",,$(CONFIG_OF_UPSTREAM_VENDOR))/*.dts))
+
+dtb-y += $(subst
-bindings/usb/pd.h | 88 ---
13 files changed, 1193 deletions(-)
Reviewed-by: Neil Armstrong
TTON_CMD=y
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_BOOTSTD_FULL=y
Reviewed-by: Neil Armstrong
-
arch/arm/dts/sdm845.dtsi| 5752 ---
18 files changed, 19183 deletions(-)
Reviewed-by: Neil Armstrong
+-
configs/qcom_defconfig| 2 +-
5 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index c0d2b5138fca..d0a4a28b401d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -605,12 +605,8 @@ M: Neil Armstrong
R:Sumit Garg
L:u-boot-q
Enable the GENI I2C driver in the default Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 1abb57345ff..8d440b23625 100644
--- a/configs/qcom_defconfig
+++ b
orted from Linux.
Only FIFO mode is implemented, nor SE DMA nor GPI DMA is implemented.
Signed-off-by: Neil Armstrong
---
drivers/i2c/Kconfig| 10 +
drivers/i2c/Makefile | 1 +
drivers/i2c/geni_i2c.c | 576 +
include/soc/qcom/geni-
orted from Linux.
Only FIFO mode is implemented, nor SE DMA nor GPI DMA is implemented.
Finally enable the driver in the default Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
Neil Armstrong (2):
i2c: Add support for Qualcomm Generic Interface (GENI) I2C controller
configs: qcom
riv, pin_selector));
+ setbits_le32(priv->base + GPIO_CONFIG_REG(priv, pin_selector),
+TLMM_GPIO_OE_MASK);
+ break;
default:
return 0;
}
Reviewed-by: Neil Armstrong
On 11/04/2024 15:59, Sumit Garg wrote:
On Tue, 9 Apr 2024 at 23:33, Caleb Connolly wrote:
The V4 and V5 controllers have quite varied register layouts. Inherit
the register offsets and naming from the Linux driver. More version
specific offsets can be inherited from Linux as needed.
Fixes:
ot a DesignWare USB3 DRD Core\n");
ret = -ENODEV;
goto err0;
}
Reviewed-by: Neil Armstrong
Tested-by: Neil Armstrong # on SM8550
, 396 insertions(+)
---
change-id: 20240408-b4-qcom-rbx-soc-44ee99c8b799
base-commit: 4ba549b0a4e67c563785ab144edf47e108b34822
// Caleb (they/them)
Reviewed-by: Neil Armstrong
Enable the Qualcomm Synopsys eUSB2 PHY driver in Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 1abb57345ff..b0ae5eb4df3 100644
--- a/configs/qcom_defconfig
Add a driver for the new Synopsys eUSB2 PHY found in the SM8550
and SM8650 SoCs.
Signed-off-by: Neil Armstrong
---
drivers/phy/qcom/Kconfig | 8 +
drivers/phy/qcom/Makefile | 1 +
drivers/phy/qcom/phy-qcom-snps-eusb2.c | 366 +
3
Add support for the new Qualcomm Synopsys eUSB2 PHY found in the
SM8550 and SM8650 SoCs.
Finally enable the driver in the Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
Changes in v2:
- fixed driver build failure due to missin }
- Link to v1:
https://lore.kernel.org/r/20240405-topic
Finally add the entries for the qcom,pmk8350-pwrkey and qcom,pmk8350-resin
found on PMICs used with SM8350 and later SoCs.
Signed-off-by: Neil Armstrong
---
drivers/button/button-qcom-pmic.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/button/button-qcom-pmic.c
Move node name checks to a proper data struct with all information
for the supported subnodes.
Replace the key offset defines with the Linux driver ones.
Signed-off-by: Neil Armstrong
---
drivers/button/button-qcom-pmic.c | 84 ++-
1 file changed, 56
Add support for PM8550 GPIO controller variant, keep read-only
until the GPIO and Pinctrl setup is fixed for new PMICs.
Signed-off-by: Neil Armstrong
---
drivers/gpio/qcom_pmic_gpio.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio
First add PMIC gpio variant on pm8550-gpio, then rework the
qcom-pmic button driver to support data structs for each PMIC
variant and finally add the data for the pmk8350 button configs.
Signed-off-by: Neil Armstrong
---
Changes in v2:
- added missing qcom,pmk8350-pon compatible
- Link to v1
On 10/04/2024 11:27, Sumit Garg wrote:
On Wed, 10 Apr 2024 at 14:46, Neil Armstrong wrote:
On 10/04/2024 11:13, Sumit Garg wrote:
Hi Neil,
On Thu, 4 Apr 2024 at 22:16, Neil Armstrong wrote:
Add the GCC and TCSRCC clock driver for the SM8550 SoC.
The GCC driver uses the clk-qcom
On 10/04/2024 11:13, Sumit Garg wrote:
Hi Neil,
On Thu, 4 Apr 2024 at 22:16, Neil Armstrong wrote:
Add the GCC and TCSRCC clock driver for the SM8550 SoC.
The GCC driver uses the clk-qcom infrastructure to support GDSCs,
Resets and gates. While the TCSRCC is a simpler clock driver which
selector - 150]);
+ else
+ snprintf(pin_name, MAX_PIN_NAME_LEN, "gpio%u", selector);
+
return pin_name;
}
static unsigned int sdm845_get_function_mux(__maybe_unused unsigned int pin,
At some point we should add the pinconf settings for SDC and UFS, but for now
it's ok!
Reviewed-by: Neil Armstrong
atible = "qcom,sdhci-msm-v4", .data = (ulong)_sdhc_mci_var },
Reviewed-by: Neil Armstrong
index = 0;
+ priv->base = dev_read_addr_index_ptr(dev, 1);
+
+ if (!host->ioaddr)
return -EINVAL;
+ if (!var_info->mci_removed && !priv->base) {
+ printf("msm_sdhci: MCI base address not found\n");
+ return -EINVAL;
+ }
+
return 0;
}
static int msm_sdc_bind(struct udevice *dev)
Reviewed-by: Neil Armstrong
re_major, core_minor);
+
/*
* Support for some capabilities is not advertised by newer
* controller versions and must be explicitly enabled.
*/
Reviewed-by: Neil Armstrong
Hi,
On 09/04/2024 20:03, Caleb Connolly wrote:
We currently default to the lowest rate but this actually doesn't work
on most platforms. Default to the HS400 speed instead which is most
common on Qualcomm platforms.
Signed-off-by: Caleb Connolly
---
drivers/mmc/msm_sdhci.c | 2 +-
1 file
On 09/04/2024 17:02, Caleb Connolly wrote:
Add the newly created u-boot-qcom mailing list to keep track of Qualcomm
patches.
Additionally, link to the U-Boot Snapdragon custodian tree.
Signed-off-by: Caleb Connolly
---
Cc: Neil Armstrong
Cc: Sumit Garg
Cc: u-boot@lists.denx.de
On 08/04/2024 15:07, Caleb Connolly wrote:
This SoC features a pinctrl block with north, south, and west tiles
accessible to the AP.
Signed-off-by: Caleb Connolly
---
drivers/pinctrl/qcom/Kconfig | 7 +++
drivers/pinctrl/qcom/Makefile | 1 +
On 05/04/2024 10:27, Neil Armstrong wrote:
Finally add the entries for the qcom,pmk8350-pwrkey and qcom,pmk8350-resin
found on PMICs used with SM8350 and later SoCs.
Signed-off-by: Neil Armstrong
---
drivers/button/button-qcom-pmic.c | 14 ++
1 file changed, 14 insertions
On 05/04/2024 10:35, Neil Armstrong wrote:
Add a driver for the new Synopsys eUSB2 PHY found in the SM8550
and SM8650 SoCs.
Signed-off-by: Neil Armstrong
---
drivers/phy/qcom/Kconfig | 8 +
drivers/phy/qcom/Makefile | 1 +
drivers/phy/qcom/phy-qcom-snps-eusb2
Enable the Qualcomm Synopsys eUSB2 PHY driver in Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 1abb57345ff..b0ae5eb4df3 100644
--- a/configs/qcom_defconfig
Add a driver for the new Synopsys eUSB2 PHY found in the SM8550
and SM8650 SoCs.
Signed-off-by: Neil Armstrong
---
drivers/phy/qcom/Kconfig | 8 +
drivers/phy/qcom/Makefile | 1 +
drivers/phy/qcom/phy-qcom-snps-eusb2.c | 365 +
3
Add support for the new Qualcomm Synopsys eUSB2 PHY found in the
SM8550 and SM8650 SoCs.
Finally enable the driver in the Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
Neil Armstrong (2):
phy: qcom: add Synopsys eUSB2 PHY driver
qcom_defconfig: enable the Qualcomm Synopsys
Finally add the entries for the qcom,pmk8350-pwrkey and qcom,pmk8350-resin
found on PMICs used with SM8350 and later SoCs.
Signed-off-by: Neil Armstrong
---
drivers/button/button-qcom-pmic.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/button/button-qcom-pmic.c
b
Move node name checks to a proper data struct with all information
for the supported subnodes.
Replace the key offset defines with the Linux driver ones.
Signed-off-by: Neil Armstrong
---
drivers/button/button-qcom-pmic.c | 84 ++-
1 file changed, 56
Add support for PM8550 GPIO controller variant, keep read-only
until the GPIO and Pinctrl setup is fixed for new PMICs.
Signed-off-by: Neil Armstrong
---
drivers/gpio/qcom_pmic_gpio.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio
First add PMIC gpio variant on pm8550-gpio, then rework the
qcom-pmic button driver to support data structs for each PMIC
variant and finally add the data for the pmk8350 button configs.
Signed-off-by: Neil Armstrong
---
Neil Armstrong (3):
gpio: qcom_pmic_gpio: add support for pm8550-gpio
Add the defines and support for SPMI arbiters version 7,
which can handle up to 1024 peripherals, and can also drive
a secondary bus which is not implemented yet.
Signed-off-by: Neil Armstrong
---
drivers/spmi/spmi-msm.c | 33 +
1 file changed, 29 insertions
and introduce the SPMI_CHANNEL_READ_ONLY flag to
mark a peripheral as read-only.
Signed-off-by: Neil Armstrong
---
drivers/spmi/spmi-msm.c | 33 +
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c
index
Since version 2, the cmd format has changed, takes helpers
from Linux driver and use a switch/case to handle all
versions in msm_spmi_write/read() command.
Signed-off-by: Neil Armstrong
---
drivers/spmi/spmi-msm.c | 75 -
1 file changed, 55
Properly use ch_offset in msm_spmi_write() reg access.
Fixes: f5a2d6b4b03 ("spmi: msm: add arbiter version 5 support")
Signed-off-by: Neil Armstrong
---
drivers/spmi/spmi-msm.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/spmi/sp
into the cnfg registers and
mark periperal as read-only when the owner id doesn't match
- finally add version 7 defines
SPMI Arbiter Version 7 is present on SM8450, SM8550 and SM8650 SoC.
Signed-off-by: Neil Armstrong
---
Neil Armstrong (4):
spmi: msm: fix version 5 support
spmi: msm
Add pinctrl driver for the TLMM block found in the SM8650 SoC.
This driver only handles the gpio and qup2_se7 pinmux, and makes sure
the pinconf applies on SDC2 pins.
Signed-off-by: Neil Armstrong
---
drivers/pinctrl/qcom/Kconfig | 7
drivers/pinctrl/qcom/Makefile | 1
Enable the SM8550 & SM8650 pinctrl drivers for Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
configs/qcom_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 222db6448ab..a92b6ef7911 100644
--- a/configs/qcom_defco
Add pinctrl driver for the TLMM block found in the SM8550 SoC.
This driver only handles the gpio and qup1_se7 pinmux, and makes sure
the pinconf applies on SDC2 pins.
Signed-off-by: Neil Armstrong
---
drivers/pinctrl/qcom/Kconfig | 7
drivers/pinctrl/qcom/Makefile | 1
Add pinctrl driver for the TLMM block found in the SM8550 & SM8650 SoCs.
This driver only handles the gpio and qup debug uart pinmux, and makes sure
the pinconf applies on SDC2 pins.
Finally enable both drivers in the Qualcomm defconfig
Signed-off-by: Neil Armstrong
---
Neil Armstron
sing upstream DT
----
Neil Armstrong (5):
configs: meson64: remove amlogic prefix in fdtfile when
CONFIG_OF_UPSTREAM is selected
dts: meson: Switch GXL, GXM & AXG to using upstream DT
dts: meson: Drop redundant GXL, GXM & AXG devicetre
Enable the SM8550 & SM8650 clock driver in the Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
configs/qcom_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 1abb57345ff..993c2d25f07 100644
--- a/configs/qcom_defco
UART, SDCard controller and USB.
The TCSRCC gates returns the XO frequency, which is used by the
Synopsys eUSB2 driver to determine the PHY configuration.
Signed-off-by: Neil Armstrong
---
drivers/clk/qcom/Kconfig| 8 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clock
UART, SDCard controller and USB.
The TCSRCC gates returns the XO frequency, which is used by the
Synopsys eUSB2 driver to determine the PHY configuration.
Signed-off-by: Neil Armstrong
---
drivers/clk/qcom/Kconfig| 8 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clock
ocks for Debug UART, SDCard controller and USB.
The TCSRCC gates returns the XO frequency, which is used by the
Synopsys eUSB2 driver to determine the PHY configuration.
In addition, the drivers are enabled in the Qualcomm defconfig.
Signed-off-by: Neil Armstrong
---
Neil Armstrong (3):
on.
+ *
https://lore.kernel.org/linux-arm-msm/20240320122515.3243711-1-caleb.conno...@linaro.org/
+ */
+_3p3v_dual {
+ regulator-always-on;
+};
Reviewed-by: Neil Armstrong
@@ -160,8 +161,9 @@ void __weak qcom_board_init(void)
}
int board_init(void)
{
+ regulators_enable_boot_on(false);
show_psci_version();
qcom_of_fixup_nodes();
qcom_board_init();
return 0;
Reviewed-by: Neil Armstrong
s(); \
func(__VA_ARGS__); \
@@ -119,5 +150,6 @@ static void fixup_usb_nodes(void)
void qcom_of_fixup_nodes(void)
{
time_call(fixup_usb_nodes);
+ time_call(fixup_power_domains);
}
Reviewed-by: Neil Armstrong
Also tested on SM8550 & SM8650, so:
Tested-by: Neil Armstrong
er: GPL-2.0
+
+#ifndef __QCOM_PRIV_H__
+#define __QCOM_PRIV_H__
+
+#if CONFIG_IS_ENABLED(OF_LIVE)
+/**
+ * qcom_of_fixup_nodes() - Fixup Qualcomm DT nodes
+ *
+ * Adjusts nodes in the live tree to improve compatibility with U-Boot.
+ */
+void qcom_of_fixup_nodes(void);
+#else
+static inline void qcom_of_fixup_nodes(void)
+{
+ log_debug("Unable to dynamically fixup USB nodes, please enable
CONFIG_OF_LIVE\n");
+}
+#endif /* OF_LIVE */
+
+#endif /* __QCOM_PRIV_H__ */
Reviewed-by: Neil Armstrong
Also tested on SM8550 & SM8650, so:
Tested-by: Neil Armstrong
Hi,
On Fri, 29 Mar 2024 18:51:47 +0100, Neil Armstrong wrote:
> Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
> DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
> including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory and
> dr
Hi,
On Tue, 19 Mar 2024 15:42:59 +0100, Neil Armstrong wrote:
> Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
> DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
> including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory and
> dr
-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 1 +
configs/bananapi-cm4-cm4io_defconfig | 2 +-
configs/bananapi-m2-pro_defconfig | 2 +-
configs/bananapi-m2s_defconfig| 2 +-
configs/bananapi-m5_defconfig | 2 +-
configs/beelink-gsking
-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig| 3 +++
configs/beelink-gt1-ultimate_defconfig | 2 +-
configs/jethub_j100_defconfig | 2 +-
configs/jethub_j80_defconfig | 2 +-
configs/khadas-vim2_defconfig | 2 +-
configs/khadas-vim_defconfig | 2
Remove amlogic/ path prefix in CFG_EXTRA_ENV_SETTINGS fdtfile when
using CONFIG_OF_UPSTREAM, otherwise amlogic/ is added twice.
Signed-off-by: Neil Armstrong
---
include/configs/meson64.h | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/include/configs/meson64.h b
/arm/dts directory for these boards.
Keep A1 DTs locally since the architecture is still young.
CI built & tested at:
https://gitlab.com/amlogic-foss/amlogic-u-boot-autotest/-/pipelines/1233461384
Signed-off-by: Neil Armstrong
---
Changes in v2:
- add change to remove prefix in fdt
"ramdisk_addr_r=" RAMDISK_ADDR_R "\0" \
- "fdtfile=amlogic/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
+ "fdtfile=" FDTFILE_NAME "\0" \
"dfu_alt_info=fitimage ram " KERNEL_ADDR_R " 0x400 \0" \
B
Hi Mattijs,
On 19/03/2024 15:42, Neil Armstrong wrote:
Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory and
drop redundant files from
t;fdtoverlay_addr_r=" FDTOVERLAY_ADDR_R "\0" \
"ramdisk_addr_r=" RAMDISK_ADDR_R "\0" \
- "fdtfile=amlogic/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
+ "fdtfile=" FDTFILE_NAME "\0" \
"dfu_alt_inf
On 26/03/2024 09:19, Viacheslav Bocharov wrote:
Fix linter errors
Fixes: 2fc5e3c1668cffdb4b894986e98c1ee10f6e9955
Signed-off-by: Viacheslav Bocharov
---
doc/board/amlogic/jethub-j100.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/board/amlogic/jethub-j100.rst
gic: add meson_generate_serial_ethaddr fallback to p200
Neil Armstrong (1):
board: amlogic: fix buffler overflow in seria, mac & usid read
...b-wetek-u-boot.dtsi => meson-gxbb-wetek-hub-u-boot.dtsi} | 0
arch/arm/dts/meson-gxbb-wetek-play2-u-boot.dtsi | 13 +
board/amlogi
On 27/02/2024 07:54, Viacheslav Bocharov wrote:
Improove documentation, add new revision.
Signed-off-by: Viacheslav Bocharov
---
doc/board/amlogic/jethub-j100.rst | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/doc/board/amlogic/jethub-j100.rst
Hi,
On Wed, 20 Mar 2024 09:46:11 +0100, Neil Armstrong wrote:
> While meson_sm_read_efuse() doesn't overflow, the string is not
> zero terminated and env_set*() will buffer overflow and add random
> characters to environment.
>
>
Thanks, Applied to https://source.denx.de/u-bo
Hi,
On Sun, 24 Mar 2024 15:19:03 +, Christian Hewitt wrote:
> In submitting the original patches for WeTek Hub/Play2 I appear to have
> squashed an experimental change to place the u-boot.dtsi file on the common
> board dtsi, but this was incorrect and results in broken Ethernet. Patch 1
>
Hi,
On Tue, 27 Feb 2024 09:54:03 +0300, Viacheslav Bocharov wrote:
> Update JetHub D1/D1+ board support files.
>
> Viacheslav Bocharov (3):
> board: amlogic: jethubj100: fix common config header
> board: amlogic: jethubj100: update MAINTAINERS
> board: amlogic: jethubj100: update docs
>
>
Hi Viacheslav,
On 19/03/2024 15:42, Neil Armstrong wrote:
Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory and
drop redundant files from
While meson_sm_read_efuse() doesn't overflow, the string is not
zero terminated and env_set*() will buffer overflow and add random
characters to environment.
Signed-off-by: Neil Armstrong
---
Changes in v2:
- Also fix mac_addr
- Link to v1:
https://lore.kernel.org/r/20240319-u-boot-fix-p200
On 20/03/2024 06:28, Dan Carpenter wrote:
On Tue, Mar 19, 2024 at 03:53:24PM +0100, Neil Armstrong wrote:
While meson_sm_read_efuse() doesn't overflow, the string is not
zero terminated and env_set() will buffer overflow and add random
characters to environment.
In the Linux kernel we would
While meson_sm_read_efuse() doesn't overflow, the string is not
zero terminated and env_set() will buffer overflow and add random
characters to environment.
Signed-off-by: Neil Armstrong
---
board/amlogic/jethub-j80/jethub-j80.c | 6 --
board/amlogic/p200/p200.c | 3 ++-
board
Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory.
Cc: Sumit Garg
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig
Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory.
Cc: Sumit Garg
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig
/arm/dts directory for these boards.
Keep A1 DTs locally since the architecture is still young.
CI built & tested at:
https://gitlab.com/amlogic-foss/amlogic-u-boot-autotest/-/pipelines/1219273552
Signed-off-by: Neil Armstrong
---
Neil Armstrong (4):
dts: meson: Switch GXL, GXM &
Hi,
On 16/03/2024 14:54, Christian Hewitt wrote:
Add CONFIG_SYS_BOARD="p200" to the Hub/Play2 board configs to ensure the
factory programmed MAC is correctly read from efuse.
Signed-off-by: Christian Hewitt
---
configs/wetek-hub_defconfig | 1 +
configs/wetek-play2_defconfig | 1 +
2
Hi,
On 16/03/2024 14:54, Christian Hewitt wrote:
Current code used for reading the factory programmed MAC from efuse on
p200 boards does not appear to work resulting in a random MAC being
generated. Update the p200 board data reusing the function from the VIM3
source.
I'm pretty sure this code
si
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2019 BayLibre, SAS.
+ * Author: Neil Armstrong
+ */
+
+#include "meson-gx-u-boot.dtsi"
+
+ {
+ snps,reset-gpio = < GPIOZ_14 0>;
+ snps,reset-delays-us = <0 1 100>;
+
On 15/03/2024 16:10, Caleb Connolly wrote:
Enable support for the DWC3 USB controller and required dependencies for
Qualcomm boards, specifically the DB845c:
* IOMMU / SMMU
* USB high-speed PHYs
* Mass storage and ACM gadgets
I don't see configs for ACM ?
Neil
Signed-off-by: Caleb Connolly
=y
CONFIG_CMD_LOG=y
+CONFIG_OF_LIVE=y
+# CONFIG_NET is not set
+# CONFIG_OFNODE_MULTI_TREE is not set
CONFIG_BUTTON_QCOM_PMIC=y
CONFIG_CLK=y
CONFIG_CLK_QCOM_QCS404=y
CONFIG_CLK_QCOM_SDM845=y
Reviewed-by: Neil Armstrong
_VAL(DEBUG_UART_BASE)
Reviewed-by: Neil Armstrong
,
.num_clks = ARRAY_SIZE(sdm845_clks),
+ .power_domains = sdm845_gdscs,
+ .num_power_domains = ARRAY_SIZE(sdm845_gdscs),
.enable = sdm845_clk_enable,
.set_rate = sdm845_clk_set_rate,
};
Reviewed-by: Neil Armstrong
@@ -29,8 +29,9 @@ Ashok Reddy Soma
Atish Patra
Bharat Kumar Gogada
Bharat Kumar Gogada
Bhargava Sreekantappa Gayathri
+Bhupesh Sharma
Bin Meng
Boris Brezillon
Boris Brezillon
Christian Kohn
Reviewed-by: Neil Armstrong
drivers/usb/gadget/storage_common.c | 12 +++--
include/usb_mass_storage.h | 1 -
8 files changed, 156 insertions(+), 55 deletions(-)
---
base-commit: e03a71b2cefd86ba58df166d4ea820a215ebb655
// Caleb (they/them)
LGTM
Reviewed-by: Neil Armstrong
arduous (as is the case with
Qualcomm).
To: Tom Rini
To: Neil Armstrong
To: Sumit Garg
To: Patrice Chotard
To: Patrick Delaunay
To: Jagan Teki
To: Simon Glass
To: Philipp Tomsich
To: Kever Yang
To: Lukasz Majewski
To: Sean Anderson
To: Sam Protsenko
To: Matthias Brugger
To: Peter
/meson-aiu.h | 18 ---
include/dt-bindings/sound/meson-g12a-toacodec.h| 10 --
include/dt-bindings/sound/meson-g12a-tohdmitx.h| 13 --
31 files changed, 2212 deletions(-)
Reviewed-by: Neil Armstrong
On 01/03/2024 14:30, Sumit Garg wrote:
On Fri, 1 Mar 2024 at 18:27, Tom Rini wrote:
On Thu, 22 Feb 2024 15:05:56 +0530, Sumit Garg wrote:
Changes in v6:
--
- v6_dt: https://github.com/b49020/u-boot/tree/v6_dt
- Patch #3: Incorporate fix for sandbox CI failure.
- Patch #6:
/MAINTAINERS | 2 +-
doc/board/amlogic/jethub-j100.rst | 9 ++---
include/configs/jethub.h | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)
base-commit: d49fa3defa50c6d3f04acbb52fd486c13c14ab6a
Reviewed-by: Neil Armstrong
From: Neil Armstrong
Please pull this simple config fixes for the Khadas VIM3 Android
setup to fix an Out Of Memory error for AVB.
Thanks,
Neil
The following changes since commit 5e4a0c7f4a2c9d4670b75a6a2056243b1a56512b:
Merge branch 'qcom-fixes-2024.04' of
https://gitlab.denx.de/u-boot
Hi,
On Fri, 09 Feb 2024 09:58:35 +0100, Mattijs Korpershoek wrote:
> When booting Android with AVB enabled, an OOM is observed:
>
> => avb init ${mmcdev}
> => avb verify _a
> ## Android Verified Boot 2.0 version 1.1.0
> read_is_device_unlocked not supported yet
> read_rollback_index
On 20/02/2024 06:56, Sumit Garg wrote:
On Fri, 16 Feb 2024 at 02:22, 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
1 - 100 of 1382 matches
Mail list logo