Re: [PATCH] mtd: nand: raw: convert nand_dt_init() to ofnode_xx() interface

2021-09-28 Thread Tom Rini
On Mon, Sep 13, 2021 at 04:25:53PM +0200, Patrice Chotard wrote: > nand_dt_init() is still using fdtdec_xx() interface. > If OF_LIVE flag is enabled, dt property can't be get anymore. > Updating all fdtdec_xx() interface to ofnode_xx() to solve this issue. > > For doing this, node parameter type

Re: [PATCH] mtd: nand: raw: convert nand_dt_init() to ofnode_xx() interface

2021-09-27 Thread Heiko Schocher
Hello Patrice, On 13.09.21 16:25, Patrice Chotard wrote: > nand_dt_init() is still using fdtdec_xx() interface. > If OF_LIVE flag is enabled, dt property can't be get anymore. > Updating all fdtdec_xx() interface to ofnode_xx() to solve this issue. > > For doing this, node parameter type must be

[PATCH] mtd: nand: raw: convert nand_dt_init() to ofnode_xx() interface

2021-09-13 Thread Patrice Chotard
nand_dt_init() is still using fdtdec_xx() interface. If OF_LIVE flag is enabled, dt property can't be get anymore. Updating all fdtdec_xx() interface to ofnode_xx() to solve this issue. For doing this, node parameter type must be ofnode. First idea was to convert "node" parameter to ofnode type i