[PATCH V2 1/2] arm: mach-imx: move snvs module

2024-11-08 Thread Ian Ray
Commit 723f8359c1 ("imx: mx7: snvs: Add an SNVS init routine") noted that the init_snvs() call likely applies to other i.MX processors, and this has been found to be true for i.MX8MP. Move snvs module for future re-use. Signed-off-by: Ian Ray --- arch/arm/mach-imx/Makefile |

[PATCH V2 2/2] arm: mach-imx: imx8m: re-use SNVS init routine

2024-11-08 Thread Ian Ray
snvs: Add an SNVS init routine") to also be used on i.MX8M SoCs, and was testeed on i.MX8MP. Signed-off-by: Ian Ray --- arch/arm/mach-imx/Makefile| 2 +- arch/arm/mach-imx/imx8m/soc.c | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/Makefile b/ar

Re: [PATCH 2/2] arm: mach-imx: imx8m: re-use SNVS init routine

2024-11-08 Thread Ian Ray
On Fri, Nov 08, 2024 at 10:50:38AM -0300, Fabio Estevam wrote: > On Fri, Nov 8, 2024 at 8:11???AM Ian Ray wrote: > > > > Allow unpriv access to SNVS LP for imx8m and imx8mp. > > Please expand the commit log and include the rationale/usecase. > > Explain why you need t

[PATCH 2/2] arm: mach-imx: imx8m: re-use SNVS init routine

2024-11-08 Thread Ian Ray
Allow unpriv access to SNVS LP for imx8m and imx8mp. Signed-off-by: Ian Ray --- arch/arm/mach-imx/Makefile| 2 +- arch/arm/mach-imx/imx8m/soc.c | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 0de207c068

[PATCH 1/2] arm: mach-imx: move snvs module

2024-11-08 Thread Ian Ray
Move snvs module for future re-use. Signed-off-by: Ian Ray --- arch/arm/mach-imx/Makefile | 2 ++ arch/arm/mach-imx/mx7/Makefile | 2 +- arch/arm/mach-imx/{mx7 => }/snvs.c | 0 arch/arm/mach-imx/snvs.h | 6 ++ 4 files changed, 9 insertions(+), 1 deletion(-) ren

Re: [PATCH 093/149] board: msc: Remove and add needed includes

2024-05-02 Thread Ian Ray
ndor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini Reviewed-by: Ian Ray > --- > Cc: Martyn Welch > Cc: Ian Ray > --- > board/msc/sm2s_imx8mp/sm2s_imx8mp.c | 1 - > board/msc/sm2s_imx8mp/spl.c | 2 +- > 2 files ch

Re: [PATCHv2 066/149] board: ge: Remove and add needed includes

2024-05-02 Thread Ian Ray
ndor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini Reviewed-by: Ian Ray > --- > Changes in v2: > - Remove "common.h" include as well. > > Cc: "Huan 'Kitty' Wang" > Cc: Ian Ray > Cc: Mar

Re: EXT: [PATCH 5/5] msc_sm2s_imx8mp: Fix CONFIG_DEFAULT_FDT_FILE

2024-02-15 Thread Ian Ray
On Tue, Feb 13, 2024 at 08:43:42AM -0300, Fabio Estevam wrote: > > From: Fabio Estevam > > There is no imx8mp-msc-sm2s.dtb file in upstream Linux. > > Change it to imx8mp-msc-sm2s-ep1.dtb. > > Signed-off-by: Fabio Estevam Reviewed-by: Ian Ray > --- > configs

Re: EXT: [PATCH 3/5] imx8mp-msc-sm2s: Add mmc aliases

2024-02-15 Thread Ian Ray
On Tue, Feb 13, 2024 at 08:43:40AM -0300, Fabio Estevam wrote: > > From: Fabio Estevam > > Add mmc alias so that the eMMC is mmc0 and the SD card > is mmc1 to have a well defined device numbering scheme. > > Signed-off-by: Fabio Estevam Reviewed-by: Ian Ray > --- &g

Re: EXT: [PATCH 4/5] msc_sm2s_imx8mp: Add redundant environment support

2024-02-15 Thread Ian Ray
On Tue, Feb 13, 2024 at 08:43:41AM -0300, Fabio Estevam wrote: > > From: Fabio Estevam > > Redundant environment support is required for software updates. > > Add support for it. > > Signed-off-by: Fabio Estevam Reviewed-by: Ian Ray > --- > configs

Re: EXT: [PATCH 1/5] msc_sm2s_imx8mp: Convert to DM_SERIAL

2024-02-15 Thread Ian Ray
On Tue, Feb 13, 2024 at 08:43:38AM -0300, Fabio Estevam wrote: > > From: Fabio Estevam > > The conversion to DM_SERIAL is mandatory, so do the conversion. > > Signed-off-by: Fabio Estevam Reviewed-by: Ian Ray > --- > arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi |

Re: EXT: [PATCH 2/5] msc_sm2s_imx8mp: Make Ethernet functional

2024-02-15 Thread Ian Ray
ed by the CONFIG_DM_PCA953X > driver. > > Select the CONFIG_DM_PCA953X option so that the Ethernet PHYs can > go through a proper reset making Ethernet to be functional. > > Signed-off-by: Fabio Estevam Reviewed-by: Ian Ray > --- > configs/msc_sm2s_imx8mp_defconfi

[PATCH] MAINTAINERS: Update after GEHC spin-off

2024-02-13 Thread Ian Ray
Update our email addresses, from @ge.com to @gehealthcare.com, after GE HealthCare was spun-off from GE. Remove Antti, who no longer works on the project. Signed-off-by: Ian Ray --- MAINTAINERS | 2 +- board/ge/b1x5v2/MAINTAINERS | 4 ++-- board/ge/bx50v3/MAINTAINERS | 2

[PATCH] configs: ge_bx50v3: remove CONFIG_PCIE_IMX_POWER_GPIO

2022-04-14 Thread Ian Ray
This GPIO is actually an input "Q7_3V3_PCIE_WAKE#_IN" not an output, so remove the misleaading and incorrect definition. Cc: Tim Harvey (re: pci: imx: use vpcie-supply if defined by device-tree) Signed-off-by: Ian Ray --- include/configs/ge_bx50v3.h | 1 - 1 file changed, 1 deletio

Re: EXT: [PATCH] pci: imx: use vpcie-supply if defined by device-tree

2022-04-14 Thread Ian Ray
in it's pcie node in the dt thus removing > CONFIG_PCIE_IMX_POWER_GPIO globally can't be done until that board adds > vpcie-supply. The use of CONFIG_PCIE_IMX_POWER_GPIO by ge_bx50v3 appears to be a mistake. That GPIO is actually an input "Q7_3V3_PCIE_WAKE#_IN". Thank you for the rep

Re: EXT: Re: [PATCH] configs: Move some usb config in defconfig

2021-10-04 Thread Ian Ray
| 4 > > configs/stih410-b2260_defconfig | 4 > > include/configs/dh_imx6.h | 2 -- > > include/configs/kp_imx6q_tpc.h | 2 -- > > include/configs/mx53ppd.h | 4 > > include/configs/stih410-b2260.h | 5 - > > 8 files changed, 12 insertions(+), 13 deletions(-) > > Reviewed-by: Mark Kettenis > Reviewed-by: Ian Ray

Re: EXT: Re: [RFC 1/2] net: net_up, net_down

2021-05-05 Thread Ian Ray
On Wed, May 05, 2021 at 05:02:21AM +0300, Ramon Fried wrote: > > On Mon, May 3, 2021 at 2:55 PM Ian Ray wrote: > > > > Calls made to eth_halt() by network operations (ping, nfs, tftp, etc.) > > break netconsole if it is already running. > > > > * Maintain th

[RFC 2/2] netconsole and networking co-existence

2021-05-03 Thread Ian Ray
. This is needed in order to avoid overwriting the ICMP ECHO REQUEST if a ping is started while netconsole is active. Signed-off-by: Ian Ray --- drivers/net/netconsole.c | 19 +++ include/net.h| 5 + net/arp.c| 7 +-- net/arp.h

[RFC 0/2] netconsole and networking co-existence

2021-05-03 Thread Ian Ray
P 192.168.120.49. > 192.168.120.1.: UDP, length 7 "Abort" 14:36:04.159672 IP 192.168.120.49. > 192.168.120.1.: UDP, length 45 "ping failed; host 192.168.120.2 is not alive" 14:36:04.159878 IP 192.168.120.49. > 192.168.120.1.: UDP, length 3 "=> &q

[RFC 1/2] net: net_up, net_down

2021-05-03 Thread Ian Ray
net_down() in net.c, ping.c, tftp.c, and netconsole.c. Signed-off-by: Ian Ray --- drivers/net/netconsole.c | 26 +++-- include/net.h| 23 ++- net/net.c| 75 +--- net/ping.c | 1 - net/tftp.c

[U-Boot, 10/13] board: ge: bx50v3: use DM for uart

2020-01-31 Thread Ian Ray
From: Robert Beckett Remove legacy uart pad and iomux code Enable DM serial and mxc uart Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 24 configs/ge_bx50v3_defconfig | 3 +++ include/configs/ge_bx50v3.h | 10 ++ 3 files changed, 5 insertions

[U-Boot, 13/13] board: ge: bx50v3, imx53ppd: configure CONFIG_SYS_BOOTMAPSZ

2020-01-31 Thread Ian Ray
Configure `CONFIG_SYS_BOOTMAPSZ' per guidance on u-boot@lists.denx.de. Signed-off-by: Ian Ray --- include/configs/ge_bx50v3.h | 3 ++- include/configs/mx53ppd.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx5

[U-Boot, 08/13] board: ge: bx50v3: Enable DM PWM for backlight

2020-01-31 Thread Ian Ray
From: Robert Beckett Add backlight and panel devicetree definitions Use UCLASS_PANEL to enable backlight via display enable handler Remove old explicit gpio code for handling backlight Use cls command to initiate display in HW agnostic manner Enable DM regulator and pwm Signed-off-by: Robert Bec

[U-Boot, 12/13] board: ge: bx50v3, mx53ppd: fix firstboot detection

2020-01-31 Thread Ian Ray
From: Robert Beckett Use `test' command to test for file existence instead of relying on the old functionality of the `ext2load' command (which now reports an error when attempting to load a zero length file). Signed-off-by: Robert Beckett Signed-off-by: Ian Ray --- include/configs

[U-Boot, 03/13] board: ge: bx50v3, imx53ppd: use DM I2C

2020-01-31 Thread Ian Ray
: Robert Beckett Signed-off-by: Ian Ray --- Note: this is a squash of a few commits due to dropping of i2c compat api --- arch/arm/dts/imx53-ppd-uboot.dtsi | 20 +++ arch/arm/dts/imx53-ppd.dts| 2 +- board/ge/bx50v3/Kconfig | 2 - board/ge/bx50v3/bx50v3.c | 114

[U-Boot, 09/13] board: ge: mx53ppd: Use DM for ethernet

2020-01-31 Thread Ian Ray
From: Robert Beckett Remove legacy iomux setup for fec. Enable phylib and DM fec. Use Kconfig for enabling fec. Signed-off-by: Robert Beckett --- board/ge/mx53ppd/mx53ppd.c | 26 -- configs/mx53ppd_defconfig | 3 +++ include/configs/mx53ppd.h | 8 3 files c

[U-Boot, 06/13] board: ge: mx53ppd: enable DM_VIDEO

2020-01-31 Thread Ian Ray
dputs. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd-uboot.dtsi | 5 ++ board/ge/mx53ppd/Makefile | 2 +- board/ge/mx53ppd/mx53ppd.c| 3 - board/ge/mx53ppd/mx53ppd_video.c | 126 +- board/ge/mx53ppd/ppd_g

[U-Boot, 07/13] board: ge: bx50v3: override panel

2020-01-31 Thread Ian Ray
Override the panel compatible string for LCD in U-Boot. Include U-Boot device tree overrides in device-specific device trees so that the panel compatible string is used. Fixes: 8c26739859c6 ("board: ge: bx50v3: sync devicetrees from Linux") Signed-off-by: Ian Ray --- arch/arm/dts/im

[U-Boot, 01/13] misc: i2c_eeprom: set offset len and chip addr offset mask

2020-01-31 Thread Ian Ray
From: Robert Beckett Set the correct offset length and chip address offset mask for each device to allow correct access to total capacity of the devices. Signed-off-by: Robert Beckett --- drivers/misc/i2c_eeprom.c | 35 +++ 1 file changed, 35 insertions(+) diff

[U-Boot, 02/13] board: ge: bx50v3, imx53ppd: add eeprom partitions

2020-01-31 Thread Ian Ray
From: Robert Beckett Add eeprom partitions to device tree. Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd-uboot.dtsi| 16 arch/arm/dts/imx53-ppd.dts | 3 ++- arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 16 arch/arm/dts/imx6q-bx50v3.dtsi

[U-Boot, 00/13] board: ge: complete DM conversion

2020-01-31 Thread Ian Ray
feature is used in the second and third patches. The bulk of the work is for converting i2c board code to DM driver accesses for the various drivers. Ian Ray (4): board: ge: mx53ppd: enable DM_VIDEO board: ge: bx50v3: override panel board: ge: mx53ppd: use DM for uart board: ge: bx50v3

[U-Boot, 11/13] board: ge: mx53ppd: use DM for uart

2020-01-31 Thread Ian Ray
Drop PPD_UART_PAD_CTRL since it matches defaults. Enable DM serial and MXC uart. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/mx53ppd/mx53ppd.c | 3 --- board/ge/mx53ppd/ppd_gpio.h | 6 -- configs/mx53ppd_defconfig | 3 +++ include/configs/mx53ppd.h | 9

[U-Boot, 05/13] board: ge: mx53ppd: add i2c eeprom bootcount storage

2020-01-31 Thread Ian Ray
From: Robert Beckett Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd-uboot.dtsi | 7 ++- configs/mx53ppd_

[U-Boot, 04/13] board: ge: bx50v3: add i2c eeprom bootcount storage

2020-01-31 Thread Ian Ray
From: Robert Beckett Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 7 ++- configs/ge_bx

[U-Boot] rtc: s35392a: encode command correctly

2020-01-14 Thread Ian Ray
The 3-bit "command", or register, is encoded within the device address. Configure the device accordingly, and pass command in DM I2C read/write calls correctly. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- Note: Split out of https://patchwork.ozlabs.org/cover/1182351/. --

[U-Boot, 0/3] power: pmic: add Dialog DA9063 PMIC and regulators

2020-01-14 Thread Ian Ray
Add a PMIC driver for DA9063 PMIC and associated registers. Allow pmic dump command to skip register holes. Note: This change is a prerequisite for enabling full DM support for ge_bx50v3_config. Note: Split out of https://patchwork.ozlabs.org/cover/1182351/. Feedback in https://patchwork.ozlabs.o

[U-Boot, 3/3] pmic: allow dump command for non contiguous register maps

2020-01-14 Thread Ian Ray
From: Martin Fuzzey Some PMICs (such as the DA9063) have non-contiguous register maps. Attempting to read the non implemented registers returns an error rather than a dummy value which causes 'pmic dump' to terminate prematurely. Fix this by allowing the PMIC driver to return -ENODATA for such r

[U-Boot, 1/3] power: pmic: add driver for Dialog DA9063 PMIC

2020-01-14 Thread Ian Ray
From: Martin Fuzzey This adds the basic register access operations and child regulator binding (if a regulator driver exists). Robert Beckett: simplify accesses by using bottom bit of address as offset overflow. This avoids the need to track which page we are on. Add an option CONFIG_SPL_DM_PMIC

[U-Boot, 2/3] power: regulator: add driver for Dialog DA9063 PMIC

2020-01-14 Thread Ian Ray
From: Martin Fuzzey Add a driver for the regulators in the the DA9063 PMIC. Robert Beckett: move regulator modes to header so board code can set modes. Correct mode mask used in ldo_set_mode. Add an option CONFIG_SPL_DM_REGULATOR_DA9063. Signed-off-by: Martin Fuzzey Signed-off-by: Robert Becke

[U-Boot] [PATCH 09/13] board: ge: bx50v3: Specific ARP timeout removed

2019-01-31 Thread Ian Ray
From: Joonas Aijala Specific ARP timeout sometimes causes ARP timeout during nfs loading of the fitImage. Signed-off-by: Joonas Aijala Signed-off-by: Ian Ray --- include/configs/ge_bx50v3.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/ge_bx50v3.h b/include/configs

[U-Boot] [PATCH 06/13] arm: imx: Add esdhc3/4 nodes to imx53.dtsi

2019-01-31 Thread Ian Ray
These nodes are required by mx53ppd when built with CONFIG_DM_MMC=y. They are copied from Linux 4.20.5. Signed-off-by: Ian Ray --- arch/arm/dts/imx53.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/dts/imx53.dtsi b/arch/arm/dts/imx53.dtsi index

[U-Boot] [PATCH 13/13] bootcount: i2c: Delay after writing

2019-01-31 Thread Ian Ray
EEPROM. Insert a delay after writing to work around this. Signed-off-by: Ian Ray --- drivers/bootcount/bootcount_i2c.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bootcount/bootcount_i2c.c b/drivers/bootcount/bootcount_i2c.c index ed22389..dd86426 100644 --- a/drivers/bootcount

[U-Boot] [PATCH 03/13] board: ge: bx50v3: Enable CONFIG_DM_GPIO

2019-01-31 Thread Ian Ray
Enable CONFIG_DM_GPIO as a pre-requisite for enabling CONFIG_DM_SPI. Add explicit gpio_requests. Signed-off-by: Ian Ray --- board/ge/bx50v3/bx50v3.c| 11 ++- configs/ge_bx50v3_defconfig | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/board/ge/bx50v3/bx50v3.c

[U-Boot] [PATCH 01/13] board: ge: bx50v3: Enable CONFIG_DM

2019-01-31 Thread Ian Ray
Add simplified, generalised, bx50v3 device tree and enable CONFIG_DM. Signed-off-by: Ian Ray --- arch/arm/dts/Makefile | 2 ++ arch/arm/dts/imx6q-bx50v3.dts | 15 +++ configs/ge_bx50v3_defconfig | 4 3 files changed, 21 insertions(+) create mode 100644 arch/arm/dts

[U-Boot] [PATCH 05/13] board: ge: ppd: Enable CONFIG_DM

2019-01-31 Thread Ian Ray
Add simplified, generalised, ppd device tree and enable CONFIG_DM. Signed-off-by: Ian Ray --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx53-ppd.dts | 14 ++ configs/mx53ppd_defconfig | 4 3 files changed, 19 insertions(+) create mode 100644 arch/arm/dts/imx53-ppd.dts

[U-Boot] [PATCH 10/13] board: ge: bx50v3: Network booting of fitImage with nfs rootfs

2019-01-31 Thread Ian Ray
From: Joonas Aijala New boot command introduced to automate network booting. Signed-off-by: Joonas Aijala Signed-off-by: Ian Ray --- include/configs/ge_bx50v3.h | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/include/configs/ge_bx50v3.h b

[U-Boot] [PATCH 08/13] board: ge: store version information in fdt

2019-01-31 Thread Ian Ray
Add board-specific FDT function to store U-Boot version in device tree. Signed-off-by: Ian Ray --- board/ge/bx50v3/bx50v3.c| 11 +++ board/ge/mx53ppd/mx53ppd.c | 11 +++ configs/ge_bx50v3_defconfig | 1 + configs/mx53ppd_defconfig | 1 + 4 files changed, 24 insertions

[U-Boot] [PATCH 02/13] board: ge: bx50v3: Enable CONFIG_DM_MMC

2019-01-31 Thread Ian Ray
Use MMC device model, and remove USDHC pin configuration code since the pinctrl driver is used. Signed-off-by: Ian Ray --- arch/arm/dts/imx6q-bx50v3.dts | 47 ++ board/ge/bx50v3/bx50v3.c | 113 -- configs/ge_bx50v3_defconfig | 4

[U-Boot] [PATCH 12/13] mx53ppd: fix unsupported set command

2019-01-31 Thread Ian Ray
Fix the NFS commands which used `set' to instead use `setenv'. Signed-off-by: Ian Ray --- include/configs/mx53ppd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h index efc2f31..e34693e 100644 --- a/inclu

[U-Boot] [PATCH 00/13] board: ge: initial dm support

2019-01-31 Thread Ian Ray
: 535d74a8ae8d194269cefdf59ae17a92cd6e75dc * However, note that patch _13_ requires: - https://patchwork.ozlabs.org/patch/947075/ - https://patchwork.ozlabs.org/patch/947076/ - https://patchwork.ozlabs.org/patch/947074/ Ian Ray (11): board: ge: bx50v3: Enable CONFIG_DM board: ge: bx50v3: Enable CONFIG_DM_MMC board: ge

[U-Boot] [PATCH 07/13] board: ge: ppd: Enable CONFIG_DM_MMC

2019-01-31 Thread Ian Ray
Use MMC device model, and remove USDHC pin configuration code since the pinctrl driver is used. Signed-off-by: Ian Ray --- arch/arm/dts/imx53-ppd.dts | 29 ++ board/ge/mx53ppd/mx53ppd.c | 73 -- configs/mx53ppd_defconfig | 4

[U-Boot] [PATCH 04/13] board: ge: bx50v3: Enable CONFIG_DM_SPI, CONFIG_DM_SPI_FLASH

2019-01-31 Thread Ian Ray
Use SPI flash device model, and remove SPI pin configuration code since the pinctrl driver is used. Signed-off-by: Ian Ray --- arch/arm/dts/imx6q-bx50v3.dts | 27 +++ board/ge/bx50v3/bx50v3.c | 25 - configs/ge_bx50v3_defconfig | 2 ++ 3

[U-Boot] [PATCH 11/13] mx53ppd: bring dock out of reset at boot

2019-01-31 Thread Ian Ray
Configure GPIO BUFFERED_HOST_CONTROLLED_RESET_TO_DOCKING_CONNECTOR_N to bring the dock out of reset at boot. Signed-off-by: Ian Ray --- board/ge/mx53ppd/ppd_gpio.h | 4 1 file changed, 4 insertions(+) diff --git a/board/ge/mx53ppd/ppd_gpio.h b/board/ge/mx53ppd/ppd_gpio.h index e3b84c7