[PATCH 3/5] mtd: pxa3xx_nand: port to use driver model

2020-10-28 Thread Baruch Siach
From: Shmuel Hazan Use the generic DT code to find the device compatible property for us. This makes the driver look more like other current drivers. It also make it easier to add support for other variants like Armada 8K in a future commit. Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Sia

[PATCH 3/5] mtd: pxa3xx_nand: port to use driver model

2020-09-15 Thread Baruch Siach
From: Shmuel Hazan Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/Kconfig | 2 + drivers/mtd/nand/raw/pxa3xx_nand.c | 114 + 2 files changed, 54 insertions(+), 62 deletions(-) diff --git a/drivers/mtd/nand/raw/Kconfig b/dri