[PATCH] board: freescale: Update MAINTAINERS List

2022-05-21 Thread Wasim Khan
From: Wasim Khan Update MAINTAINERS List for LS2088ARDB and LS2088AQDS platforms Signed-off-by: Wasim Khan --- board/freescale/ls2080aqds/MAINTAINERS | 1 + board/freescale/ls2080ardb/MAINTAINERS | 2 ++ 2 files changed, 3 insertions(+) diff --git a/board/freescale/ls2080aqds/MAINTAINERS b

RE: [PATCH] armv8: fsl-layerscape: use previous aligned address for gic_lpi_base

2022-02-21 Thread Wasim Khan (OSS)
Hi Marc, Zhiqiang > -Original Message- > From: Marc Zyngier > Sent: Monday, February 21, 2022 4:23 PM > To: Michael Walle > Cc: Wasim Khan (OSS) ; s...@chromium.org; > Priyanka Jain ; tred...@nvidia.com; > twar...@nvidia.com; Varun Sethi ; u- > b...@lists.denx.d

[PATCH] armv8: fsl-layerscape: use previous aligned address for gic_lpi_base

2022-02-21 Thread Wasim Khan
From: Wasim Khan Memory after gd->arch.resv_ram is reserved for MC block. Use ALIGN_DOWN to avoid updating MC block for unaligned address. Signed-off-by: Wasim Khan --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/

RE: [PATCH] board/freescale/vid : move platform specific definitions

2021-09-24 Thread Wasim Khan (OSS)
Hi Tom, > -Original Message- > From: U-Boot On Behalf Of Tom Rini > Sent: Friday, September 24, 2021 5:24 PM > To: Wasim Khan (OSS) > Cc: Priyanka Jain ; Varun Sethi ; u- > b...@lists.denx.de > Subject: Re: [PATCH] board/freescale/vid : move platform specific de

RE: [PATCH] board/freescale/vid : move platform specific definitions

2021-09-24 Thread Wasim Khan (OSS)
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Tuesday, September 21, 2021 8:14 PM > To: Wasim Khan (OSS) > Cc: Priyanka Jain ; Varun Sethi ; u- > b...@lists.denx.de; Wasim Khan > Subject: Re: [PATCH] board/freescale/vid : move platform specific definition

[PATCH] board/freescale/vid : move platform specific definitions

2021-09-21 Thread Wasim Khan
From: Wasim Khan VID is a common driver. Move platform specific definitions to platform specific header files Signed-off-by: Wasim Khan --- board/freescale/common/vid.h | 10 -- include/configs/lx2160a_common.h | 7 +++ 2 files changed, 7 insertions(+), 10 deletions(-) diff

[PATCH v2] board: freescale: lx216x : increase fdt blob size

2021-09-20 Thread Wasim Khan
From: Wasim Khan Increase fdt blob size for lx2160 and lx2162 series to fix below errors/warnings during device tree fixup. Unable to update property /soc/spi@210:status, err=FDT_ERR_NOSPACE Unable to update property /soc/spi@211:status, err=FDT_ERR_NOSPACE Unable to update property

RE: [PATCH] configs: lx2162a: Enable CONFIG_SPI_FLASH_MT35XU for lx2162a-qds

2021-09-17 Thread Wasim Khan
qds > > LX2162A-QDS has micron mt35xu512aba flash which requires flag > CONFIG_SPI_FLASH_MT35XU on to probe flash successfully. > > Signed-off-by: Kuldeep Singh Reviewed-by: Wasim Khan Tested-by: Wasim Khan

[PATCH] board: freescale: lx216x : increase fdt blob size

2021-09-17 Thread Wasim Khan
From: Wasim Khan Increase fdt blob size for lx2160 and lx2162 series to fix below errors/warnings during device tree fixup. Unable to update property /soc/spi@210:status, err=FDT_ERR_NOSPACE Unable to update property /soc/spi@211:status, err=FDT_ERR_NOSPACE Unable to update property

[PATCH v2] armv8: fsl : create bootcmd and mcinitcmd as per boot source

2021-08-02 Thread Wasim Khan
From: Wasim Khan NXP platforms expect custom bootcmd and mcinitcmd to be updated as per boot source with default environment. Check env variable fsl_bootcmd_mcinitcmd_set to prepare bootcmd and mcinitcmd Fixes: cbf77d201870 (armv8: fsl-layerscape: Fix automatic setting of bootmcd with TF

[PATCH] armv8: fsl : create bootcmd and mcinitcmd as per boot source

2021-07-08 Thread Wasim Khan
From: Wasim Khan NXP platforms expect custom bootcmd and mcinitcmd to be updated as per boot source with default environment. Check env variable fsl_bootcmd_mcinitcmd_set to prepare bootcmd and mcinitcmd Fixes cbf77d2018 Suggested-by: Alban Bedel Signed-off-by: Wasim Khan --- arch/arm/cpu

RE: [PATCH] armv8: fsl : fix bootcmd and mcinitcmd default value

2021-07-08 Thread Wasim Khan
Hi Alban, > -Original Message- > From: U-Boot On Behalf Of Bedel, Alban > Sent: Wednesday, June 30, 2021 7:08 PM > To: Priyanka Jain ; Varun Sethi ; > Wasim Khan (OSS) > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH] armv8: fsl : fix bootcmd and mcinitcmd defa

RE: [PATCH] armv8: fsl : fix bootcmd and mcinitcmd default value

2021-06-30 Thread Wasim Khan (OSS)
> -Original Message- > From: Bedel, Alban > Sent: Wednesday, June 30, 2021 6:03 PM > To: Priyanka Jain ; Varun Sethi ; > Wasim Khan ; Wasim Khan (OSS) > > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH] armv8: fsl : fix bootcmd and mcinitcmd default value >

buildman error

2021-06-30 Thread Wasim Khan
Hi, I am using latest u-boot code and trying to run buildman with my local patch for lx2160 platform on master branch. Getting below error . u-boot$ ./tools/buildman/buildman --list-tool-chains aarch64 : /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc arm

[PATCH 3/3] board: freescale: LX2162AQDS: Add MAINTAINER

2021-06-28 Thread Wasim Khan
From: Wasim Khan Add "Wasim Khan " as MAINTAINER for LX2162AQDS board Signed-off-by: Wasim Khan --- Change in v2: Fix typo board/freescale/lx2160a/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/lx2160a/MAINTAINERS b/board/freescale/lx2160a/MAINTAI

[v2 PATCH 2/3] board: freescale: LX2160AQDS: Add MAINTAINER

2021-06-28 Thread Wasim Khan
From: Wasim Khan Add "Wasim Khan " as MAINTAINER for LX2160AQDS board Signed-off-by: Wasim Khan --- Change in v2: Fix typo board/freescale/lx2160a/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/lx2160a/MAINTAINERS b/board/freescale/lx2160a/MAINTAI

[v2 PATCH 1/3] board: freescale: LX2160ARDB: Add MAINTAINER

2021-06-28 Thread Wasim Khan
From: Wasim Khan Add "Wasim Khan " as MAINTAINER for LX2160ARDB board Signed-off-by: Wasim Khan --- Change in v2: Fix typo board/freescale/lx2160a/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/lx2160a/MAINTAINERS b/board/freescale/lx2160a/MAINTAI

[PATCH 3/3] board: freescale: LX2162AQDS: Add MAINTAINER

2021-06-28 Thread Wasim Khan
From: Wasim Khan Add "Wasim Khan " as MAINTAINER for LX2162AQDS board Signed-off-by: Wasim Khan --- board/freescale/lx2160a/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/lx2160a/MAINTAINERS b/board/freescale/lx2160a/MAINTAINERS index fca828148e..

[PATCH 2/3] board: freescale: LX2160AQDS: Add MAINTAINER

2021-06-28 Thread Wasim Khan
From: Wasim Khan Add "Wasim Khan " as MAINTAINER for LX2160AQDS board Signed-off-by: Wasim Khan --- board/freescale/lx2160a/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/lx2160a/MAINTAINERS b/board/freescale/lx2160a/MAINTAINERS index fd33c51ac7..

[PATCH 1/3] board: freescale: LX2160ARDB: Add MAINTAINER

2021-06-28 Thread Wasim Khan
From: Wasim Khan Add "Wasim Khan " as MAINTAINER for LX2160ARDB board Signed-off-by: Wasim Khan --- board/freescale/lx2160a/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/lx2160a/MAINTAINERS b/board/freescale/lx2160a/MAINTAINERS index cc69de2970..

RE: [PATCH] armv8: fsl : fix bootcmd and mcinitcmd default value

2021-06-25 Thread Wasim Khan
Hi Alban, > -Original Message- > From: Bedel, Alban > Sent: Wednesday, June 23, 2021 6:38 PM > To: Priyanka Jain ; Varun Sethi ; > Wasim Khan (OSS) > Cc: u-boot@lists.denx.de; Wasim Khan > Subject: Re: [PATCH] armv8: fsl : fix bootcmd and mcinitcmd default value &g

[PATCH v2] armv8: lx2160ardb: Add thermal node fixup for revc board

2021-06-17 Thread Wasim Khan
From: Wasim Khan lx2160ardb Rev-C board has i2c node for thermal monitors connected to different chip offset. Add device tree fixup to use lx2160ardb dts and apply thernal node fixups for lx2160ardb Rev-C board. Signed-off-by: Wasim Khan --- Changes in v2: - Fix compilation warnings

[PATCH] armv8: fsl : fix bootcmd and mcinitcmd default value

2021-06-16 Thread Wasim Khan
From: Wasim Khan NXP platforms expect bootcmd and mcinitcmd to be updated as per boot source. commit cbf77d201870f2d12227e2d95718a416b16ec98b breaks this behaviour. Revert commit cbf77d201870f2d12227e2d95718a416b16ec98b Signed-off-by: Wasim Khan --- arch/arm/cpu/armv8/fsl-layerscape/soc.c

RE: [PATCH] armv8: lx2160ardb: Add thermal node fixup for revc board

2021-05-05 Thread Wasim Khan (OSS)
Hi Priyanka, These changes have been tested and validated . If no comments, please merge them . Ethernet changes for RevC boards has dependency on this patch. Regards, Wasim > -Original Message- > From: Wasim Khan > Sent: Saturday, April 17, 2021 11:34 PM > To: Priyanka

[PATCH] armv8: lx2160ardb: Add thermal node fixup for revc board

2021-04-17 Thread Wasim Khan
From: Wasim Khan lx2160ardb Rev-C board has i2c node for thermal monitors connected to different chip offset. Add device tree fixup to use lx2160ardb dts and apply thernal node fixups for lx2160ardb Rev-C board. Signed-off-by: Wasim Khan --- board/freescale/lx2160a/lx2160a.c | 119

RE: [PATCH v2 4/4] sandbox: enable IRQ using select for sandbox architecture

2021-04-16 Thread Wasim Khan (OSS)
Hi Tom, > -Original Message- > From: Simon Glass > Sent: Tuesday, March 30, 2021 10:27 PM > To: Wasim Khan (OSS) > Cc: Bin Meng ; Mario Six ; Bharat > Gooty ; Rayagonda Kokatanur > ; Tero Kristo ; Varun > Sethi ; U-Boot Mailing List ; Wasim > Khan > Subje

RE: [PATCHv3] arm64: gic-v3-its: Clear the Pending table before enabling LPIs

2021-03-30 Thread Wasim Khan
f the Pending table during the enablement, then set the > GICR_PENDBASER.PTZ flag. > > Signed-off-by: Hou Zhiqiang > --- > V3: > - Fix a mistake code delete in v2. > Reviewed-by: Wasim Khan

[PATCH v2 4/4] sandbox: enable IRQ using select for sandbox architecture

2021-03-08 Thread Wasim Khan
From: Wasim Khan Enable IRQ using select for sandbox architecture. Signed-off-by: Wasim Khan Reviewed-by: Simon Glass --- Changes in v2: - no change arch/Kconfig | 1 + configs/sandbox64_defconfig| 1 - configs/sandbox_defconfig | 1 - configs

[PATCH v2 3/4] arch: Kconfig: enable IRQ using select for x86 architecture

2021-03-08 Thread Wasim Khan
From: Wasim Khan use 'select' to enable IRQ as it does not have architecture specific dependency. Signed-off-by: Wasim Khan Reviewed-by: Hou Zhiqiang Reviewed-by: Simon Glass --- Changes in v2: - no change arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 1/4] misc: make CONFIG_IRQ selectable for all platforms

2021-03-08 Thread Wasim Khan
From: Wasim Khan UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ selectable for all platforms. Signed-off-by: Wasim Khan Tested-by: Vladimir Oltean Reviewed-by: Simon Glass --- Changes in v2: - Corrected typo in commit description drivers/misc/Kconfig | 5 ++--- 1 file changed, 2

[PATCH v2 2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

2021-03-08 Thread Wasim Khan
From: Wasim Khan GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when GIC_V3_ITS is enabled. Signed-off-by: Wasim Khan Reviewed-by: Hou Zhiqiang Reviewed-by: Simon Glass --- Changes in v2: - no change arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5] arm: fsl: common: Improve NXP VID driver PMBus support

2021-02-08 Thread Wasim Khan
onsistency with the existing code. Signed-off-by: Stephen Carlson Signed-off-by: Wasim Khan Tested-by: Wasim Khan --- Changes in v5: - fix compilation issues on ls2080a_emu and ls2080a_simu - fix compilation issues on powerpc platforms Changes in v4: - Included upstream commit ada19fd2 - c

RE: [PATCH v4] arm: fsl: common: Improve NXP VID driver PMBus support

2021-02-05 Thread Wasim Khan (OSS)
> -Original Message- > From: U-Boot On Behalf Of Wasim Khan (OSS) > Sent: Friday, February 5, 2021 2:52 PM > To: Priyanka Jain ; Wasim Khan (OSS) > ; Stephen Carlson ; > Varun Sethi ; Thirupathaiah Annapureddy > > Cc: u-boot@lists.denx.de; Stephen Carlson ; >

RE: [PATCH v4] arm: fsl: common: Improve NXP VID driver PMBus support

2021-02-05 Thread Wasim Khan (OSS)
Hi Priyanka, > -Original Message- > From: Priyanka Jain > Sent: Friday, February 5, 2021 2:15 PM > To: Wasim Khan (OSS) ; Stephen Carlson > ; Varun Sethi ; Thirupathaiah > Annapureddy > Cc: u-boot@lists.denx.de; Stephen Carlson ; > Wasim Khan ; Poonam Aggrwal

[PATCH v2] cmd: fdt: skip board specific fixup using env variable

2021-02-04 Thread Wasim Khan
From: Wasim Khan Sometimes it is useful to boot OS with already fixed-up device tree. Check for env variable 'skip_board_fixup' before calling ft_board_setup(). Current behaviour is unchanged, additionally user can set skip_board_fixup to 1 to skip the fixup. Signed-off-by: Wasim Khan

RE: [PATCH] cmd: fdt: skip board specific fixup using env variable

2021-02-04 Thread Wasim Khan (OSS)
Hi Tom, > -Original Message- > From: U-Boot On Behalf Of Tom Rini > Sent: Saturday, January 30, 2021 12:53 AM > To: Wasim Khan (OSS) > Cc: s...@chromium.org; t-kri...@ti.com; Varun Sethi ; u- > b...@lists.denx.de > Subject: Re: [PATCH] cmd: fdt: skip board spe

[PATCH v4] arm: fsl: common: Improve NXP VID driver PMBus support

2021-02-04 Thread Wasim Khan
onsistency with the existing code. Signed-off-by: Stephen Carlson Signed-off-by: Wasim Khan Tested-by: Wasim Khan --- Changes in v4: - Included upstream commit ada19fd2 - compilation fix for platforms using IR36021 - read_voltage() fix for devices using INA220 - compilation fix for ls1088

RE: [PATCHv2] pci: layerscape: Remove the shadow SVR definitions

2021-01-28 Thread Wasim Khan
> -Original Message- > From: Z.q. Hou > Sent: Friday, January 29, 2021 10:17 AM > To: u-boot@lists.denx.de; Priyanka Jain > Cc: Wasim Khan ; Z.q. Hou > Subject: [PATCHv2] pci: layerscape: Remove the shadow SVR definitions > > From: Hou Zhiqiang >

RE: [PATCH] pci: kconfig: layerscape: Change LX2162A PCIe node compatible string

2021-01-28 Thread Wasim Khan
> -Original Message- > From: Z.q. Hou > Sent: Friday, January 29, 2021 10:52 AM > To: u-boot@lists.denx.de; Priyanka Jain ; Wasim Khan > > Cc: Z.q. Hou > Subject: [PATCH] pci: kconfig: layerscape: Change LX2162A PCIe node > compatible string > > Fr

RE: [PATCH] cmd: fdt: skip board specific fixup using env variable

2021-01-28 Thread Wasim Khan (OSS)
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 27, 2021 7:41 PM > To: Wasim Khan (OSS) > Cc: s...@chromium.org; t-kri...@ti.com; Varun Sethi ; u- > b...@lists.denx.de; Wasim Khan > Subject: Re: [PATCH] cmd: fdt: skip board specific fix

RE: [PATCH 2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

2021-01-27 Thread Wasim Khan
Vladimir, > -Original Message- > From: Vladimir Oltean > Sent: Wednesday, January 27, 2021 9:20 PM > To: Wasim Khan (OSS) > Cc: u-boot@lists.denx.de; s...@chromium.org; bmeng...@gmail.com; > mario@gdsys.cc; bharat.go...@broadcom.com; > rayagonda.kokata..

[PATCH] cmd: fdt: skip board specific fixup using env variable

2021-01-27 Thread Wasim Khan
From: Wasim Khan Sometimes it is useful to boot OS with already fixed-up device tree. Check for env variable 'skip_board_fixup' before calling ft_board_setup(). Current behaviour is unchanged, additionally user can set skip_board_fixup to 1 to skip the fixup. Signed-off-by: Wasim Khan

[PATCH v2] armv8: lx2: SVR_SOC_VER: Mask CAN_FD and security bit

2021-01-13 Thread Wasim Khan
From: Wasim Khan Multiple LX2(LX2160A/LX2162A SoC) personality variants exists based on CAN-FD and security bit in SVR. Currenly SVR_SOC_VER mask only security bit. Update SVR_SOC_VER to mask CAN_FD and security bit for LX2 products. Signed-off-by: Wasim Khan --- Changes in v2: - Updated

[PATCH 3/4] arch: Kconfig: enable IRQ using select for x86 architecture

2021-01-12 Thread Wasim Khan
From: Wasim Khan use 'select' to enable IRQ as it does not have architecture specific dependency. Signed-off-by: Wasim Khan --- arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index 3aa99e08fc..362b220948 100644 --- a/arch/Kconfig

[PATCH 4/4] sandbox: enable IRQ using select for sandbox architecture

2021-01-12 Thread Wasim Khan
From: Wasim Khan Enable IRQ using select for sandbox architecture. Signed-off-by: Wasim Khan --- arch/Kconfig | 1 + configs/sandbox64_defconfig| 1 - configs/sandbox_defconfig | 1 - configs/sandbox_flattree_defconfig | 1 - configs

[PATCH 2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

2021-01-12 Thread Wasim Khan
From: Wasim Khan GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when GIC_V3_ITS is enabled. Signed-off-by: Wasim Khan --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index fbe90875ae..f8b4d422d9 100644 --- a/arch

[PATCH 1/4] misc: make CONFIG_IRQ selectable for all platforms

2021-01-12 Thread Wasim Khan
From: Wasim Khan UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ selectable for all platfroms. Signed-off-by: Wasim Khan --- drivers/misc/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 29432ae7eb

[PATCH] armv8: update SVR_SOC_VER to mask CAN_FD and security bit for LX2 products

2021-01-08 Thread Wasim Khan
Multiple product varients exists based on CAN-FD and security bit in SVR. Currenly SVR_SOC_VER mask only security bit. Update SVR_SOC_VER to mask CAN_FD and security bit for LX2 products. Signed-off-by: Wasim Khan --- arch/arm/include/asm/arch-fsl-layerscape/soc.h | 7 +-- 1 file changed, 5

RE: [PATCH v3] arm: fsl: common: Improve NXP VID driver PMBus support

2020-12-13 Thread Wasim Khan
o maintain > consistency with the existing code. > > Signed-off-by: Stephen Carlson > Cc: Priyanka Jain Reviewed-by: Wasim Khan > --- > board/freescale/common/Kconfig| 27 +- > board/freescale/common/vid.c | 815 -- > board/frees

RE: [PATCH] armv8: lx2162aqds: disable non existing pcie controllers

2020-12-11 Thread Wasim Khan
> -Original Message- > From: Priyanka Jain > Sent: Friday, December 11, 2020 1:49 PM > To: Wasim Khan ; u-boot@lists.denx.de; Priyanka Jain > (OSS) ; Varun Sethi ; > Meenakshi Aggarwal > Cc: Wasim Khan > Subject: RE: [PATCH] armv8: lx2162aqds: disable non e

[PATCH v2] armv8: lx2162aqds: disable non existing pcie controllers

2020-12-11 Thread Wasim Khan
disable non existing pcie controllers on lx2162aqds Signed-off-by: Wasim Khan --- Changes in v2: - Rebased to u-boot-fsl-qoriq arch/arm/dts/fsl-lx2162a-qds.dts | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/arch/arm/dts/fsl-lx2162a-qds.dts b/arch

RE: [PATCH v2] arm: fsl: common: Improve NXP VID driver PMBus support

2020-12-07 Thread Wasim Khan
-Original Message- From: U-Boot On Behalf Of Priyanka Jain Sent: Monday, December 7, 2020 5:56 PM To: Stephen Carlson ; U-Boot Mailing List Subject: RE: [PATCH v2] arm: fsl: common: Improve NXP VID driver PMBus support >-Original Message- >From: Stephen Carlson >Sent:

[PATCH] armv8: lx2162aqds: disable non existing pcie controllers

2020-09-29 Thread Wasim Khan
disable non existing pcie controllers on lx2162aqds Signed-off-by: Wasim Khan --- Depends on https://patchwork.ozlabs.org/project/uboot/list/?series=199900 arch/arm/dts/fsl-lx2162a-qds.dts | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/dts

[PATCH v2 12/12] pci: ls_pcie_g4: Add size check for config resource

2020-09-28 Thread Wasim Khan
resource "config" is required to have minimum 4KB space to access all config space of PCI Express EP. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description - Fix CheckPatch issue - Change size check to 4KB to access PCIe config space Changes in V3: - No Change d

[PATCH v2 10/12] arm: dts: ls1028a: add label to pcie nodes in dts

2020-09-28 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description Changes in V3: - No Change arch/arm/dts/fsl-ls1028a.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/fsl

[PATCH v2 09/12] arm: dts: ls1043a: add label to pcie nodes in dts

2020-09-28 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description Changes in V3: - No Change arch/arm/dts/fsl-ls1043a.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts

[PATCH v2 07/12] arm: dts: ls1088a: add label to pcie nodes in dts

2020-09-28 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description Changes in V3: - No Change arch/arm/dts/fsl-ls1088a.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/fsl

[PATCH v2 08/12] arm: dts: ls1012a: add label to pcie nodes in dts

2020-09-28 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description Changes in V3: - No Change arch/arm/dts/fsl-ls1012a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/fsl

[PATCH v2 11/12] pci: layerscape: Add size check for config resource

2020-09-28 Thread Wasim Khan
resource "config" is required to have minimum 8KB space as per hardware documentation. Signed-off-by: Hou Zhiqiang Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description - Fix CheckPatch issue Changes in V3: - Fix compilation issue with ls102xa platforms d

[PATCH v2 05/12] arm: dts: ls1046a: add label to pcie nodes in dts

2020-09-28 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description Changes in V3: - No Change arch/arm/dts/fsl-ls1046a.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm

[PATCH v2 02/12] pci: layerscape: Print pcie controller number starting from 1

2020-09-28 Thread Wasim Khan
Print pcie controller number starting from 1 Signed-off-by: Wasim Khan --- Changes in V2: - No Change Changes in V3: - No Change drivers/pci/pcie_layerscape_ep.c | 4 +++- drivers/pci/pcie_layerscape_rc.c | 6 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/pci

[PATCH v2 06/12] arm: dts: ls2080a: add label to pcie nodes in dts

2020-09-28 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description Changes in V3: - No Change arch/arm/dts/fsl-ls2080a.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts

[PATCH v2 03/12] pci: ls_pcie_g4: Print pcie controller number starting from 1

2020-09-28 Thread Wasim Khan
Print pcie controller number starting from 1 Signed-off-by: Wasim Khan --- Changes in V2: - No Change Changes in V3: - No Change drivers/pci/pcie_layerscape_gen4.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/pci/pcie_layerscape_gen4.c b/drivers/pci

[PATCH v2 00/12] Add label to pcie nodes

2020-09-28 Thread Wasim Khan
CheckPatch issues - Change 1KB size check to 4KB size check for ls_pcie_g4. - Commit description updates Changes in V3: - fix compilation issue on ls102xa platforms Wasim Khan (12): configs: lx2160a: Enable CONFIG_PCIE_LAYERSCAPE_GEN4 pci: layerscape: Print pcie controller number starting from 1

[PATCH v2 01/12] configs: lx2160a: Enable CONFIG_PCIE_LAYERSCAPE_GEN4

2020-09-28 Thread Wasim Khan
LX2160A-Rev1 uses PCIe layerscape Gen4 controller. Enable CONFIG_PCIE_LAYERSCAPE_GEN4 for lx2160a. Signed-off-by: Wasim Khan --- Changes in V2: - Added as new commit in V2 Changes in V3: - No Change configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2160aqds_tfa_defconfig

[PATCH v2 04/12] arm: dts: lx2160a: add label to pcie nodes in dts

2020-09-28 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description Changes in V3: - No Change arch/arm/dts/fsl-lx2160a.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm

[PATCH v2] arm: dts: lx2160a: Add IO range

2020-09-02 Thread Wasim Khan
Add IO range property to fix below error on uboot PCI: Failed autoconfig bar 18 Signed-off-by: Wasim Khan --- Changes in v2: - Updated commit subject arch/arm/dts/fsl-lx2160a.dtsi | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl

[PATCH v2] configs: Enable NVME support for Layerscape platforms

2020-08-27 Thread Wasim Khan
Enable CONFIG_NVME and CONFIG_CMD_NVME for Layerscape platforms Signed-off-by: Wasim Khan --- Changes in v2: - Updated commit subject and description configs/ls1012afrdm_qspi_defconfig | 2 ++ configs/ls1012afrdm_tfa_defconfig| 2 ++ configs

[PATCH v2] board: freescale: emc2305: Pass chip_addr to set_fan_speed

2020-08-27 Thread Wasim Khan
emc2305 is a common driver. It should not use platform specific i2c address for slave device. Pass chip_addr as agrument to emc2305_init() and set_fan_speed() so that emc2305 driver can be used with different platforms. Signed-off-by: Wasim Khan --- Changes in v2: - Update commit subject board

[PATCH v2] board/freescale: emc2305: Pass chip_addr emc2305_init() and set_fan_speed()

2020-08-21 Thread Wasim Khan
emc2305 is a common driver. It should not use platform specific i2c address for slave device. Pass chip_addr as agrument to emc2305_init() and set_fan_speed() so that emc2305 driver can be used with different platforms. Signed-off-by: Wasim Khan --- Changes in V2: - Pass chip_addr

[PATCH] board/freescale/common: emc2305: Pass chip_addr to set_fan_speed()

2020-08-21 Thread Wasim Khan
emc2305 is a common driver. It should not use platform specific i2c address for slave device. Pass chip_addr as agrument to set_fan_speed() so that emc2305 driver can be used with different platforms. Signed-off-by: Wasim Khan --- board/freescale/common/emc2305.c | 9 - board/freescale

[PATCH] configs: Enable NVME support for NXP platforms

2020-08-21 Thread Wasim Khan
Enable CONFIG_NVME and CONFIG_CMD_NVME for NXP platforms Signed-off-by: Wasim Khan --- configs/ls1012afrdm_qspi_defconfig | 2 ++ configs/ls1012afrdm_tfa_defconfig| 2 ++ configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig | 2 ++ configs

[PATCH] arm: dts: lx2160a: Add IO range

2020-08-13 Thread Wasim Khan
Add IO range property to fix below error on uboot PCI: Failed autoconfig bar 18 Signed-off-by: Wasim Khan --- arch/arm/dts/fsl-lx2160a.dtsi | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch/arm/dts/fsl-lx2160a.dtsi

[PATCH 1/2] board/freescale/vid: rework of VID support

2020-08-12 Thread Wasim Khan
and dual channel setups. Signed-off-by: Dan Nica Signed-off-by: Heinz Wrobel Signed-off-by: Wasim Khan --- .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 19 +- board/freescale/common/vid.c | 662 +++-- board/freescale/common/vid.h

[PATCH 0/2] board/freescale/vid: rework of VID support

2020-08-12 Thread Wasim Khan
with single and dual channel setups. - Add support for LTC7132 Wasim Khan (2): board/freescale/vid: rework of VID support board/freescale/vid: Add support for LTC7132 voltage regulator .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 19 +- board/freescale/common/vid.c

[PATCH 2/2] board/freescale/vid: Add support for LTC7132 voltage regulator

2020-08-12 Thread Wasim Khan
Add support for LTC7132 voltage regulator Signed-off-by: Wasim Khan Reviewed-by: Heinz Wrobel --- board/freescale/common/vid.c | 121 --- board/freescale/common/vid.h | 32 ++-- 2 files changed, 85 insertions(+), 68 deletions(-) diff --git

[PATCH v2 12/12] pci: ls_pcie_g4: Add size check for config resource

2020-08-04 Thread Wasim Khan
resource "config" is required to have minimum 4KB space to access all config space of PCI Express EP. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description - Fix CheckPatch issue - Change size check to 4KB to access PCIe config space drivers/pci/pcie_layerscape_

[PATCH v2 11/12] pci: layerscape: Add size check for config resource

2020-08-04 Thread Wasim Khan
resource "config" is required to have minimum 8KB space as per hardware documentation. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description - Fix CheckPatch issue drivers/pci/pcie_layerscape_rc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-)

[PATCH v2 08/12] arm: dts: ls1012a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1012a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/fsl-ls1012a.dtsi b/arch/arm/dts/fsl

[PATCH v2 07/12] arm: dts: ls1088a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1088a.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts

[PATCH v2 05/12] arm: dts: ls1046a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1046a.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch

[PATCH v2 10/12] arm: dts: ls1028a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1028a.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts

[PATCH v2 09/12] arm: dts: ls1043a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1043a.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm

[PATCH v2 04/12] arm: dts: lx2160a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-lx2160a.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch

[PATCH v2 06/12] arm: dts: ls2080a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls2080a.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm

[PATCH v2 03/12] pci: ls_pcie_g4: Print pcie controller number starting from 1

2020-08-04 Thread Wasim Khan
Print pcie controller number starting from 1 Signed-off-by: Wasim Khan --- Changes in V2: - No Change drivers/pci/pcie_layerscape_gen4.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/pci/pcie_layerscape_gen4.c b/drivers/pci/pcie_layerscape_gen4.c

[PATCH v2 01/12] configs: lx2160a: Enable CONFIG_PCIE_LAYERSCAPE_GEN4

2020-08-04 Thread Wasim Khan
LX2160A-Rev1 uses PCIe layerscape Gen4 controller. Enable CONFIG_PCIE_LAYERSCAPE_GEN4 for lx2160a. Signed-off-by: Wasim Khan --- Changes in V2: - Added as new commit in V2 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2160aqds_tfa_defconfig | 1 + configs

[PATCH v2 02/12] pci: layerscape: Print pcie controller number starting from 1

2020-08-04 Thread Wasim Khan
Print pcie controller number starting from 1 Signed-off-by: Wasim Khan --- drivers/pci/pcie_layerscape_ep.c | 4 +++- drivers/pci/pcie_layerscape_rc.c | 6 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pcie_layerscape_ep.c b/drivers/pci/pcie_layerscape_ep.c

[PATCH v2 02/12] pci: layerscape: Print pcie controller number starting from 1

2020-08-04 Thread Wasim Khan
Print pcie controller number starting from 1 Signed-off-by: Wasim Khan --- Changes in V2: - No Change drivers/pci/pcie_layerscape_ep.c | 4 +++- drivers/pci/pcie_layerscape_rc.c | 6 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pcie_layerscape_ep.c b

[PATCH v2 00/12] Add label to pcie nodes

2020-08-04 Thread Wasim Khan
CheckPatch issues - Change 1KB size check to 4KB size check for ls_pcie_g4. - Commit description updates Wasim Khan (12): configs: lx2160a: Enable CONFIG_PCIE_LAYERSCAPE_GEN4 pci: layerscape: Print pcie controller number starting from 1 pci: ls_pcie_g4: Print pcie controller number starting from 1

[PATCH 12/12] pci: layerscape: indentation correction

2020-07-13 Thread Wasim Khan
correct the indentation. Signed-off-by: Wasim Khan --- drivers/pci/pcie_layerscape.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pcie_layerscape.c b/drivers/pci/pcie_layerscape.c index 8f64e53..60f5031 100644 --- a/drivers/pci/pcie_layerscape.c +++ b

[PATCH 11/12] pci: ls_pcie_g4: Add size check for config resource

2020-07-13 Thread Wasim Khan
resource "config" is required to have minimum 1KB space. Signed-off-by: Wasim Khan --- drivers/pci/pcie_layerscape_gen4.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pci/pcie_layerscape_gen4.c b/drivers/pci/pcie_layerscape_gen4.c index 0226bde..f9e3

[PATCH 10/12] pci: layerscape: Add size check for config resource

2020-07-13 Thread Wasim Khan
resource "config" is required to have minimum 8KB space. Signed-off-by: Wasim Khan --- drivers/pci/pcie_layerscape.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/pci/pcie_layerscape.c b/drivers/pci/pcie_layerscape.c index 2f17176..8f64

[PATCH 09/12] arm: dts: ls1028a: add label to pcie nodes in dts

2020-07-13 Thread Wasim Khan
add label to pcie nodes in dts Signed-off-by: Wasim Khan --- arch/arm/dts/fsl-ls1028a.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi index 9911690..ccf1a8d 100644 --- a/arch/arm/dts/fsl-ls1028a.dtsi

[PATCH 08/12] arm: dts: ls1043a: add label to pcie nodes in dts

2020-07-13 Thread Wasim Khan
add label to pcie nodes in dts Signed-off-by: Wasim Khan --- arch/arm/dts/fsl-ls1043a.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index f7db44c..8ca57ea 100644 --- a/arch/arm/dts/fsl-ls1043a.dtsi

[PATCH 07/12] arm: dts: ls1012a: add label to pcie nodes in dts

2020-07-13 Thread Wasim Khan
add label to pcie nodes in dts Signed-off-by: Wasim Khan --- arch/arm/dts/fsl-ls1012a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/fsl-ls1012a.dtsi b/arch/arm/dts/fsl-ls1012a.dtsi index 2d70c82..c401ba3 100644 --- a/arch/arm/dts/fsl-ls1012a.dtsi +++ b

[PATCH 06/12] arm: dts: ls1088a: add label to pcie nodes in dts

2020-07-13 Thread Wasim Khan
add label to pcie nodes in dts Signed-off-by: Wasim Khan --- arch/arm/dts/fsl-ls1088a.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi index bf303c6..8de7998 100644 --- a/arch/arm/dts/fsl-ls1088a.dtsi

[PATCH 04/12] arm: dts: ls1046a: add label to pcie nodes in dts

2020-07-13 Thread Wasim Khan
add label to pcie nodes in dts Signed-off-by: Wasim Khan --- arch/arm/dts/fsl-ls1046a.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi index 8673a5d..8a0c6fc 100644 --- a/arch/arm/dts/fsl-ls1046a.dtsi

[PATCH 05/12] arm: dts: ls2080a: add label to pcie nodes in dts

2020-07-13 Thread Wasim Khan
add label to pcie nodes in dts Signed-off-by: Wasim Khan --- arch/arm/dts/fsl-ls2080a.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index 90a0a3f..fae46c4 100644 --- a/arch/arm/dts/fsl

[PATCH 03/12] arm: dts: lx2160a: add label to pcie nodes in dts

2020-07-13 Thread Wasim Khan
add label to pcie nodes in dts Signed-off-by: Wasim Khan --- arch/arm/dts/fsl-lx2160a.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch/arm/dts/fsl-lx2160a.dtsi index c62960e..dcf0073 100644 --- a/arch/arm/dts/fsl

  1   2   >