RE: [EXT] [PATCH 0/2] enable flexspi support on imx8mp

2021-03-16 Thread Kuldeep Singh
Hi Heiko, > -Original Message- > From: Heiko Schocher > Sent: Tuesday, March 16, 2021 10:34 AM > To: linux-...@vger.kernel.org > Cc: Heiko Schocher ; linux-arm-ker...@lists.infradead.org; > Ashish Kumar ; Kuldeep Singh > ; Mark Brown ; Rob Herring > ; Shawn Guo ;

RE: [EXT] Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-16 Thread Kuldeep Singh
Hi Vladimir, > -Original Message- > From: Vladimir Oltean > Sent: Tuesday, March 16, 2021 2:25 AM > To: Kuldeep Singh > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; Mark Brown ; Rob Herring > > Subject: [EXT] Re:

RE: [EXT] Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-15 Thread Kuldeep Singh
> -Original Message- > From: Pratyush Yadav > Sent: Tuesday, March 16, 2021 12:01 AM > To: Kuldeep Singh > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; Mark Brown ; Rob Herring > ; Vladimir Oltean ; linux- >

[PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-15 Thread Kuldeep Singh
Convert the Freescale DSPI binding to DT schema format using json-schema. Signed-off-by: Kuldeep Singh --- Hi Rob, This patch is checked with following commands with no warnings observed. make distclean; make allmodconfig; make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings

[PATCH] dt-bindings: spi: Convert Freescale QSPI binding to json schema

2021-03-11 Thread Kuldeep Singh
Convert the Freescale QSPI binding to DT schema format using json-schema. Signed-off-by: Kuldeep Singh --- .../bindings/spi/fsl,spi-fsl-qspi.yaml| 96 +++ .../devicetree/bindings/spi/spi-fsl-qspi.txt | 66 - MAINTAINERS | 1

[RESEND] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-10 Thread Kuldeep Singh
Convert the NXP FlexSPI binding to DT schema format using json-schema. Signed-off-by: Kuldeep Singh --- .../bindings/spi/nxp,spi-nxp-fspi.yaml| 85 +++ .../devicetree/bindings/spi/spi-nxp-fspi.txt | 43 -- MAINTAINERS | 2 +- 3

RE: [EXT] Re: [PATCH] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-10 Thread Kuldeep Singh
> -Original Message- > From: Mark Brown > Sent: Tuesday, March 9, 2021 11:02 PM > To: Kuldeep Singh > Cc: Rob Herring ; linux-...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar > > Subject: Re: [EXT] Re: [PATCH] dt-bi

RE: [EXT] Re: [PATCH] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-09 Thread Kuldeep Singh
Hi Mark, > -Original Message- > From: Mark Brown > Sent: Tuesday, March 9, 2021 6:06 PM > To: Kuldeep Singh > Cc: Rob Herring ; linux-...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar > > Subject: [EXT] Re: [PATCH] d

RE: [PATCH] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-09 Thread Kuldeep Singh
+ Mark (Forgot to add him previously) > -Original Message- > From: Kuldeep Singh > Sent: Tuesday, March 9, 2021 4:05 PM > To: Rob Herring ; linux-...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: Ashish Kumar ; Kuldeep Singh >

[PATCH 2/2] arm64: dts: imx8mn: Reorder flexspi clock-names entry

2021-03-09 Thread Kuldeep Singh
Reorder flexspi clock-names entry to make it compliant with bindings. Signed-off-by: Kuldeep Singh --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale

[PATCH 1/2] arm64: dts: imx8mm: Reorder flexspi clock-names entry

2021-03-09 Thread Kuldeep Singh
Reorder flexspi clock-names entry to make it compliant with bindings. Signed-off-by: Kuldeep Singh --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale

[PATCH 0/2] Resolve NXP flexspi bindings compatibility warnings

2021-03-09 Thread Kuldeep Singh
@30bb: clock-names:1: 'fspi' was expected From schema: /opt/samba/nxf51654/spi/Documentation/devicetree/bindings/spi/nxp,spi-nxp-fspi.yaml Resolving above error may require reordering of flexspi clock-names entry. Kuldeep Singh (2): arm64: dts: imx8mm: Reorder flexspi clock-names entry

[PATCH] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-09 Thread Kuldeep Singh
Convert the NXP FlexSPI binding to DT schema format using json-schema. Signed-off-by: Kuldeep Singh --- .../bindings/spi/nxp,spi-nxp-fspi.yaml| 85 +++ .../devicetree/bindings/spi/spi-nxp-fspi.txt | 43 -- MAINTAINERS | 2 +- 3

RE: [EXT] [PATCH v2 2/4] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

2021-03-08 Thread Kuldeep Singh
> Hi! > > On 09.03.21 06:56, Kuldeep Singh wrote: > > Hi Heiko, > > > >> -Original Message- > >> From: Heiko Schocher > >> Sent: Tuesday, March 9, 2021 11:01 AM > >> To: linux-arm-ker...@lists.infradead.org > >>

RE: [EXT] [PATCH v2 2/4] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

2021-03-08 Thread Kuldeep Singh
Hi Heiko, > -Original Message- > From: Heiko Schocher > Sent: Tuesday, March 9, 2021 11:01 AM > To: linux-arm-ker...@lists.infradead.org > Cc: Heiko Schocher ; Ashish Kumar ; > Mark Brown ; Rob Herring ; Yogesh > Gaur ; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org;

RE: [EXT] Re: [PATCH] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-05 Thread Kuldeep Singh
> -Original Message- > From: Rob Herring > Sent: Monday, March 1, 2021 8:14 PM > To: Kuldeep Singh > Cc: devicet...@vger.kernel.org; Rob Herring ; Mark Brown > ; Ashish Kumar ; linux- > ker...@vger.kernel.org; linux-...@vger.kernel.org > Subject: [EXT] Re:

[Patch v2 0/4] NXP Flexspi driver patches

2021-03-02 Thread Kuldeep Singh
driver support Kuldeep Singh (3): spi: spi-nxp-fspi: Add support for IP read only dt-bindings: spi: spi-nxp-fspi: Add imx8dxl support spi: spi-nxp-fspi: Implement errata workaround for LS1028A .../devicetree/bindings/spi/spi-nxp-fspi.txt | 1 + drivers/spi/spi-nxp-fspi.c

[Patch v2 4/4] spi: spi-nxp-fspi: Implement errata workaround for LS1028A

2021-03-02 Thread Kuldeep Singh
use IP bus to read entire flash contents and disable AHB path when platform frequency is 300Mhz. Signed-off-by: Kuldeep Singh --- v2: No update drivers/spi/spi-nxp-fspi.c | 79 +++--- 1 file changed, 73 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-

[Patch v2 3/4] spi: spi-nxp-fspi: Add imx8dxl driver support

2021-03-02 Thread Kuldeep Singh
From: Han Xu Add driver support for imx8dxl which support read through IP bus only and disable AHB bus due to an IC errata. Use the pre-defined quirk FSPI_QUIRK_USE_IP_ONLY directly in device-type data to disable AHB read. Signed-off-by: Han Xu Signed-off-by: Kuldeep Singh --- v2: No update

[Patch v2 2/4] dt-bindings: spi: spi-nxp-fspi: Add imx8dxl support

2021-03-02 Thread Kuldeep Singh
Add support for nxp,imx8dxl-fspi, do the bindings document. Signed-off-by: Kuldeep Singh --- v2: New patch. Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt b/Documentation

[Patch v2 1/4] spi: spi-nxp-fspi: Add support for IP read only

2021-03-02 Thread Kuldeep Singh
Add support for disabling AHB bus and read entire flash contents via IP bus only. Please note, this enables IP bus read using a quirk which can be enabled directly in device-type data or in existence of an errata where AHB bus may need to be disabled. Signed-off-by: Kuldeep Singh --- v2

RE: [EXT] Re: [PATCH 2/3] spi: spi-nxp-fspi: Add driver support for imx8dxl

2021-03-02 Thread Kuldeep Singh
> > I have converted bindings to yaml version in the patch and also added > imx8dxl compatible along-with the conversion. Please see the difference in > compatible entries from txt to yaml conversion[1]. > > Kindly let me know do I need to submit different patch for adding new > compatible or ok

RE: [EXT] Re: [PATCH 2/3] spi: spi-nxp-fspi: Add driver support for imx8dxl

2021-03-01 Thread Kuldeep Singh
Hi Mark, > -Original Message- > From: Mark Brown > Sent: Monday, March 1, 2021 6:56 PM > To: Kuldeep Singh > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar > ; Han Xu > Subject: [EXT] Re: [PATCH 2/3] spi: spi-nxp-fspi: Add driver s

[PATCH 1/3] spi: spi-nxp-fspi: Add support for IP read only

2021-03-01 Thread Kuldeep Singh
Add support for disabling AHB bus and read entire flash contents via IP only. Please note, this enables IP bus read using a quirk which can be enabled directly in device-type data or in existence of an errata where AHB bus may need to be disabled. Signed-off-by: Kuldeep Singh --- drivers/spi

[PATCH 3/3] spi: spi-nxp-fspi: Implement errata workaround for LS1028A

2021-03-01 Thread Kuldeep Singh
use IP bus to read entire flash contents and disable AHB path when platform frequency is 300Mhz. Signed-off-by: Kuldeep Singh --- drivers/spi/spi-nxp-fspi.c | 79 +++--- 1 file changed, 73 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-nxp-fspi.c b/d

[PATCH 2/3] spi: spi-nxp-fspi: Add driver support for imx8dxl

2021-03-01 Thread Kuldeep Singh
From: Han Xu Add driver support for imx8dxl which support read through IP bus only and disable AHB bus due to an IC errata. Use the pre-defined quirk FSPI_QUIRK_USE_IP_ONLY directly in device-type data to disable AHB read. Signed-off-by: Han Xu Signed-off-by: Kuldeep Singh --- Hi Mark

[PATCH 0/3] NXP Flexspi driver patches

2021-03-01 Thread Kuldeep Singh
/1614593046-23832-1-git-send-email-kuldeep.si...@nxp.com/ Patch1: Enables IP read in flexspi Patch2: Add imx8dxl support Patch3: Errata workaround for LS1028A Han Xu (1): spi: spi-nxp-fspi: Add driver support for imx8dxl Kuldeep Singh (2): spi: spi-nxp-fspi: Add support for IP read only spi: spi-nxp

[PATCH] dt-bindings: spi: Convert NXP flexspi to json schema

2021-03-01 Thread Kuldeep Singh
Convert the NXP FlexSPI binding to DT schema format using json-schema. Also, update MAINTAINERS to reflect the change. Signed-off-by: Kuldeep Singh --- .../bindings/spi/nxp,spi-nxp-fspi.yaml| 101 ++ .../devicetree/bindings/spi/spi-nxp-fspi.txt | 42

[Patch v2 2/3] arm64: dtsi: ls1028a: Update flexcan properties

2021-01-21 Thread Kuldeep Singh
LS1028A has a single peripheral clock (i.e platform clock) source connected to both "ipg" and "per" and therefore, remove "sysclk" as clock source from device-tree. Signed-off-by: Kuldeep Singh --- Hi Shawn, I would like to mention the motivation behind compatible string cha

[Patch v2 3/3] arm64: dts: ls1028a: Enable flexcan support for LS1028A-RDB/QDS

2021-01-21 Thread Kuldeep Singh
LS1028A-RDB/QDS provides support for flexcan. Add the properties. Signed-off-by: Kuldeep Singh --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 8 arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 16 2 files changed, 24 insertions(+) diff --git a/arch/arm64

[Patch v2 1/3] arm64: dts: lx2160a: Add flexcan support

2021-01-21 Thread Kuldeep Singh
LX2160A supports two flexcan controllers. Add the support. Enable support further for LX2160A-RDB/QDS. Signed-off-by: Kuldeep Singh --- arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 8 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++ arch/arm64/boot/dts

[Patch v2 0/3] Enable flexcan support in LS1028A/LX2160A

2021-01-21 Thread Kuldeep Singh
v1: -Use clockgen constants instead of numeric numbers Kuldeep Singh (3): arm64: dts: lx2160a: Add flexcan support arm64: dtsi: ls1028a: Update flexcan properties arm64: dts: ls1028a: Enable flexcan support for LS1028A-RDB/QDS arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 8

RE: [EXT] Re: [PATCH 1/3] arm64: dts: lx2160a: Add flexcan support

2021-01-17 Thread Kuldeep Singh
Hi Shawn, > > + can0: can@218 { > > + compatible = "fsl,lx2160ar1-flexcan"; > > + reg = <0x0 0x218 0x0 0x1>; > > + interrupts = ; > > + clocks = < 4 7>, <>; > > Can defines in

[PATCH 2/3] arm64: dtsi: ls1028a: Update flexcan properties

2021-01-10 Thread Kuldeep Singh
LS1028A has a single peripheral clock (i.e platform clock) source connected to both "ipg" and "per" and therefore, remove "sysclk" as clock source from device-tree. Signed-off-by: Kuldeep Singh --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 8 1 file ch

[PATCH 1/3] arm64: dts: lx2160a: Add flexcan support

2021-01-10 Thread Kuldeep Singh
LX2160A supports two flexcan controllers. Add the support. Enable support further for LX2160A-RDB/QDS. Signed-off-by: Kuldeep Singh --- arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 8 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 arch/arm64/boot/dts

[PATCH 0/3] Enable flexcan support in LS1028A/LX2160A

2021-01-10 Thread Kuldeep Singh
This patch set adds device-tree support for LX2160A-RDB/QDS. Also, update flexcan entry for LS1028A and enable support further for LS1028A-RDB/QDS. Patch1: Add dtsi and dts properties for LX2160A Patch2: Update dtsi properties for LS1028A Patch3: Add dts properties for LS1028A. Kuldeep Singh (3

[PATCH 3/3] arm64: dts: ls1028a: Enable flexcan support for LS1028A-RDB/QDS

2021-01-10 Thread Kuldeep Singh
LS1028A-RDB/QDS provides support for flexcan. Add the properties. Signed-off-by: Kuldeep Singh --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 8 arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 16 2 files changed, 24 insertions(+) diff --git a/arch/arm64

[PATCH] spi: spi-fsl-qspi: Introduce variable to fix different invalid master Id

2019-10-01 Thread Kuldeep Singh
Different platforms have different Master with different SourceID on AHB bus. The 0X0E Master ID is used by cluster 3 in case of LS2088A. So, patch introduce an invalid master id variable to fix invalid mastered on different platforms. Signed-off-by: Suresh Gupta Signed-off-by: Kuldeep Singh