MIPS: qi_lb60: Migrate to devicetree
authorPaul Cercueil <paul@crapouillou.net>
Thu, 25 Jul 2019 22:02:06 +0000 (18:02 -0400)
committerPaul Burton <paul.burton@mips.com>
Tue, 30 Jul 2019 17:40:23 +0000 (10:40 -0700)
commit8ddebad15e9b0b8d5b9599618c0f7dca96222713
treecd6123fd69104918efdfbcb7c226d8948fef2936
parent36ba3eae036242fdc36eb8e89d5001a219a7fb1d
MIPS: qi_lb60: Migrate to devicetree

Move all the platform data to devicetree.

The only bit dropped is the PWM beeper, which requires the PWM driver
to be updated. I figured it's okay to remove it here since it's really
a non-critical device, and it'll be re-introduced soon enough.

The other change is the CS line of the SPI is now set as active low. The
SPI core would have forced "active low" anyway, unless the 'spi-cs-high'
property is set.

In the process of moving to devicetree, we also switched to new drivers:
- We use the simple-audio-card and simple-amplifier drivers instead of
  the custom ASoC code;
- We use the new Ingenic DRM driver coupled with the GiantPlus GPM940B0
  DRM panel driver instead of the old framebuffer driver;
- We use the new jz4780-dma driver instead of the old jz4740-dma one;
- We use the ingenic-nand and jz4740-ecc drivers instead of the old
  jz4740-nand driver;
- We use ingenic-battery instead of jz4740-battery;
- We use iio-hwmon instead of jz4740-hwmon;
- We use ingenic-iio instead of the old jz4740-adc MFD driver.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Artur Rojek <contact@artur-rojek.eu>
[paul.burton@mips.com:
    Drop the unused & undocumented ili8960 spi@0 node.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
arch/mips/boot/dts/ingenic/qi_lb60.dts
arch/mips/jz4740/Makefile
arch/mips/jz4740/board-qi_lb60.c [deleted file]