Re: [PATCH 1/3] i2c: powermac: convert of_node usage to fwnode

2025-05-20 Thread Andi Shyti
Hi Wolfram, On Tue, May 20, 2025 at 11:15:21AM +0200, Wolfram Sang wrote: > > > I took this patch in i2c/i2c-host. Please let me know if you want > > me to take also the others. > > To avoid the dependency with your PR, is it okay if you drop it and I > take this patch via my tree? yes, sure! I

Re: [PATCH 1/3] i2c: powermac: convert of_node usage to fwnode

2025-05-20 Thread Wolfram Sang
> I took this patch in i2c/i2c-host. Please let me know if you want > me to take also the others. To avoid the dependency with your PR, is it okay if you drop it and I take this patch via my tree? signature.asc Description: PGP signature

Re: [PATCH 1/3] i2c: powermac: convert of_node usage to fwnode

2025-05-19 Thread Andi Shyti
Hi Wolfram, On Mon, May 19, 2025 at 01:13:12PM +0200, Wolfram Sang wrote: > 'of_node' in i2c_boardinfo is deprecated in favor of 'fwnode'. The I2C > core handles them equally, so simply convert this driver to fwnode. > > Signed-off-by: Wolfram Sang I took this patch in i2c/i2c-host. Please let

Re: [PATCH 1/3] i2c: powermac: convert of_node usage to fwnode

2025-05-19 Thread Wolfram Sang
> > - info.of_node = of_node_get(node); > > + info.fwnode = of_fwnode_handle(of_node_get(node)); > > What puzzles me here is that of_node_get(). We already do the same in the I²C > core, does it really need the second bump of the reference counting? I'd think so. i2c_board_in

[PATCH 1/3] i2c: powermac: convert of_node usage to fwnode

2025-05-19 Thread Wolfram Sang
'of_node' in i2c_boardinfo is deprecated in favor of 'fwnode'. The I2C core handles them equally, so simply convert this driver to fwnode. Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-powermac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-

Re: [PATCH 1/3] i2c: powermac: convert of_node usage to fwnode

2025-05-19 Thread Andy Shevchenko
On Mon, May 19, 2025 at 01:13:12PM +0200, Wolfram Sang wrote: > 'of_node' in i2c_boardinfo is deprecated in favor of 'fwnode'. The I2C > core handles them equally, so simply convert this driver to fwnode. ... > - info.of_node = of_node_get(node); > + info.fwnode = of_fwnod