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(-)
--
Best regards,
Grygorii, Ukraine