Message ID | 20211221131757.2030-1-rogerq@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | memory: omap-gpmc: Add AM64 SoC support | expand |
On Tue, 21 Dec 2021 15:17:53 +0200, Roger Quadros wrote: > TI's AM64 SoC contains one GPMC module. Add driver support for it. > > cheers, > -roger > > Changelog: > v4 > - move compatible match table to header file so it can be used by > GPMC driver even when NAND driver is not enabled or as a module. > GPMC driver is always enabled as built-in. > - Select OMAP_GPMC driver from MTD_NAND_OMAP2 driver config as > OMAP_GPMC is not essential for ARCH_K3 boot. > > [...] Applied, thanks! [1/4] dt-bindings: memory-controllers: ti,gpmc: Add compatible for AM64 commit: 4892242784786f3cbaa3b79ea03f8b0c145f6cfd [2/4] memory: omap-gpmc: Add support for GPMC on AM64 SoC commit: 7e58accf4547b75070e5cc1e04f97e890d7f719a [3/4] memory: omap-gpmc: Use a compatible match table when checking for NAND controller commit: f2f8115fe8b390af27d013411045bd712a812103 [4/4] mtd: rawnand: omap2: Select GPMC device driver for ARCH_K3 commit: 5784260892e5b808e1317843f71d4b787ad1f4b7 Best regards,
Hello, Le 21/12/2021 à 14:17, Roger Quadros a écrit : > Hi, > > TI's AM64 SoC contains one GPMC module. Add driver support for it. What's the status of the GPMC interface on K3 architecture, especially for AM65, AM62 and other Jacinto 7 CPU devices ? TI currently don't recommend to use it for now even if there are still some GPMC use case with FPGA devices: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/994191/am6442-am64x-gpmc-support This patch series add omap-gpmc support for AM64 Soc but as of kernel 5.18-rc2, there is no devicetree using ti,am64-gpmc. This patch seems missing (at least): https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-5.10.y&id=55c102a75d399896c7396229cd687bf97afb5cf6 Thanks! Best regards, Romain > > cheers, > -roger > > Changelog: > v4 > - move compatible match table to header file so it can be used by > GPMC driver even when NAND driver is not enabled or as a module. > GPMC driver is always enabled as built-in. > - Select OMAP_GPMC driver from MTD_NAND_OMAP2 driver config as > OMAP_GPMC is not essential for ARCH_K3 boot. > > v3 > - use compatible match table for checking for NAND controller node in > GPMC driver. > > v2 > - update DT binding doc to make reg-names and power-domains property > required only for specific SoC. > > Roger Quadros (4): > dt-bindings: memory-controllers: ti,gpmc: Add compatible for AM64 > memory: omap-gpmc: Add support for GPMC on AM64 SoC > memory: omap-gpmc: Use a compatible match table when checking for NAND > controller > mtd: rawnand: omap2: Select GPMC device driver for ARCH_K3 > > .../bindings/memory-controllers/ti,gpmc.yaml | 23 +++++++++- > drivers/memory/omap-gpmc.c | 46 ++++++++++++++----- > drivers/mtd/nand/raw/Kconfig | 1 + > drivers/mtd/nand/raw/omap2.c | 5 +- > include/linux/platform_data/mtd-nand-omap2.h | 9 +++- > 5 files changed, 67 insertions(+), 17 deletions(-) >
On 15/04/2022 11:59, Romain Naour wrote: > Hello, > > Le 21/12/2021 à 14:17, Roger Quadros a écrit : >> Hi, >> >> TI's AM64 SoC contains one GPMC module. Add driver support for it. > > What's the status of the GPMC interface on K3 architecture, especially for AM65, > AM62 and other Jacinto 7 CPU devices ? > > TI currently don't recommend to use it for now even if there are still some GPMC > use case with FPGA devices: > > https://e2e.ti.com/support/processors-group/processors/f/processors-forum/994191/am6442-am64x-gpmc-support > > This patch series add omap-gpmc support for AM64 Soc but as of kernel 5.18-rc2, > there is no devicetree using ti,am64-gpmc. > > This patch seems missing (at least): > https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-5.10.y&id=55c102a75d399896c7396229cd687bf97afb5cf6 It's not how LKML development process works - driver changes has to be sent first and then DT changes as they accepted by different maintainers and through different trees. > > Thanks! > > Best regards, > Romain > >> >> cheers, >> -roger >> >> Changelog: >> v4 >> - move compatible match table to header file so it can be used by >> GPMC driver even when NAND driver is not enabled or as a module. >> GPMC driver is always enabled as built-in. >> - Select OMAP_GPMC driver from MTD_NAND_OMAP2 driver config as >> OMAP_GPMC is not essential for ARCH_K3 boot. >> >> v3 >> - use compatible match table for checking for NAND controller node in >> GPMC driver. >> >> v2 >> - update DT binding doc to make reg-names and power-domains property >> required only for specific SoC. >> >> Roger Quadros (4): >> dt-bindings: memory-controllers: ti,gpmc: Add compatible for AM64 >> memory: omap-gpmc: Add support for GPMC on AM64 SoC >> memory: omap-gpmc: Use a compatible match table when checking for NAND >> controller >> mtd: rawnand: omap2: Select GPMC device driver for ARCH_K3 >> >> .../bindings/memory-controllers/ti,gpmc.yaml | 23 +++++++++- >> drivers/memory/omap-gpmc.c | 46 ++++++++++++++----- >> drivers/mtd/nand/raw/Kconfig | 1 + >> drivers/mtd/nand/raw/omap2.c | 5 +- >> include/linux/platform_data/mtd-nand-omap2.h | 9 +++- >> 5 files changed, 67 insertions(+), 17 deletions(-) >> >
Hi, Le 15/04/2022 à 15:06, Grygorii Strashko a écrit : > > > On 15/04/2022 11:59, Romain Naour wrote: >> Hello, >> >> Le 21/12/2021 à 14:17, Roger Quadros a écrit : >>> Hi, >>> >>> TI's AM64 SoC contains one GPMC module. Add driver support for it. >> >> What's the status of the GPMC interface on K3 architecture, especially for AM65, >> AM62 and other Jacinto 7 CPU devices ? >> >> TI currently don't recommend to use it for now even if there are still some GPMC >> use case with FPGA devices: >> >> https://e2e.ti.com/support/processors-group/processors/f/processors-forum/994191/am6442-am64x-gpmc-support >> >> >> This patch series add omap-gpmc support for AM64 Soc but as of kernel 5.18-rc2, >> there is no devicetree using ti,am64-gpmc. >> >> This patch seems missing (at least): >> https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-5.10.y&id=55c102a75d399896c7396229cd687bf97afb5cf6 >> > > It's not how LKML development process works - driver changes has to be sent first > and then DT changes as they accepted by different maintainers and through > different trees. Ok, I understand. DT changes are still under review [1] and are not yet merged in 5.18-rc6. Sorry for the noise. [1] https://lkml.org/lkml/2022/2/4/320 Best regards, Romain > >> >> Thanks! >> >> Best regards, >> Romain >> >>> >>> cheers, >>> -roger >>> >>> Changelog: >>> v4 >>> - move compatible match table to header file so it can be used by >>> GPMC driver even when NAND driver is not enabled or as a module. >>> GPMC driver is always enabled as built-in. >>> - Select OMAP_GPMC driver from MTD_NAND_OMAP2 driver config as >>> OMAP_GPMC is not essential for ARCH_K3 boot. >>> >>> v3 >>> - use compatible match table for checking for NAND controller node in >>> GPMC driver. >>> >>> v2 >>> - update DT binding doc to make reg-names and power-domains property >>> required only for specific SoC. >>> >>> Roger Quadros (4): >>> dt-bindings: memory-controllers: ti,gpmc: Add compatible for AM64 >>> memory: omap-gpmc: Add support for GPMC on AM64 SoC >>> memory: omap-gpmc: Use a compatible match table when checking for NAND >>> controller >>> mtd: rawnand: omap2: Select GPMC device driver for ARCH_K3 >>> >>> .../bindings/memory-controllers/ti,gpmc.yaml | 23 +++++++++- >>> drivers/memory/omap-gpmc.c | 46 ++++++++++++++----- >>> drivers/mtd/nand/raw/Kconfig | 1 + >>> drivers/mtd/nand/raw/omap2.c | 5 +- >>> include/linux/platform_data/mtd-nand-omap2.h | 9 +++- >>> 5 files changed, 67 insertions(+), 17 deletions(-) >>> >> >