MIPS: lantiq: Convert the fpi bus driver to a platform_driver
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Aug 2017 22:18:15 +0000 (00:18 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Sep 2017 19:19:02 +0000 (21:19 +0200)
commitc20b3b8019823ad8a77c968a702115f735b64a79
treeb6c83375d27c4dacaa0335940ce551b987c9345a
parentc5aba1cdd3d31cbf3c8e9d571c9a4db952117970
MIPS: lantiq: Convert the fpi bus driver to a platform_driver

Instead of hacking the configuration of the FPI bus into the arch code
add an own bus driver for this internal bus. The FPI bus is the main
bus of the SoC. This bus driver makes sure the bus is configured
correctly before the child drivers are getting initialized. This driver
will probably also be used on different SoCs later.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: john@phrozen.org
Cc: p.zabel@pengutronix.de
Cc: kishon@ti.com
Cc: mark.rutland@arm.com
Cc: linux-mips@linux-mips.org
Cc: linux-mtd@lists.infradead.org
Cc: linux-watchdog@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-spi@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17122/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Documentation/devicetree/bindings/mips/lantiq/fpi-bus.txt [new file with mode: 0644]
MAINTAINERS
arch/mips/lantiq/xway/reset.c
arch/mips/lantiq/xway/sysctrl.c
drivers/soc/Makefile
drivers/soc/lantiq/Makefile [new file with mode: 0644]
drivers/soc/lantiq/fpi-bus.c [new file with mode: 0644]