powerpc/mpc5xxx: Switch mpc5xxx_get_bus_frequency() to use fwnode
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 7 May 2022 10:01:45 +0000 (13:01 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 22 Jun 2022 02:51:49 +0000 (12:51 +1000)
commitde06fba62af64144aca6f8a8bedbc848d2e5b440
treeb110371cfff241ab816f9357eb6d820279dc00f0
parent6d056b7254f9954522b7bb9947c8779a013d189f
powerpc/mpc5xxx: Switch mpc5xxx_get_bus_frequency() to use fwnode

Switch mpc5xxx_get_bus_frequency() to use fwnode in order to help
cleaning up other parts of the kernel from OF specific code.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # for i2c-mpc
Acked-by: Wolfram Sang <wsa@kernel.org> # for the I2C part
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> # for mscan/mpc5xxx_can
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220507100147.5802-2-andriy.shevchenko@linux.intel.com
arch/powerpc/include/asm/mpc5xxx.h
arch/powerpc/platforms/52xx/mpc52xx_gpt.c
arch/powerpc/sysdev/mpc5xxx_clocks.c
drivers/ata/pata_mpc52xx.c
drivers/i2c/busses/i2c-mpc.c
drivers/net/can/mscan/mpc5xxx_can.c
drivers/net/ethernet/freescale/fec_mpc52xx.c
drivers/net/ethernet/freescale/fec_mpc52xx_phy.c
drivers/net/ethernet/freescale/fs_enet/mii-fec.c
drivers/spi/spi-mpc52xx.c
drivers/tty/serial/mpc52xx_uart.c