MIPS: malta: Use img-ascii-lcd driver for LCD display

Remove the Malta display platform code in favour of probing the
img-ascii-lcd driver via device tree. This reduces the amount of
platform code & the img-ascii-lcd driver offers us advantages in terms
of code sharing with other boards & functionality such as changing the
displayed message via sysfs. Defconfigs are untouched because the driver
already defaults y on when CONFIG_MIPS_MALTA=y.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21182/
Cc: linux-mips@linux-mips.org
This commit is contained in:
Paul Burton
2018-11-20 23:59:56 +00:00
parent 3cd6408328
commit 0b0037490f
6 changed files with 5 additions and 64 deletions

View File

@@ -87,6 +87,11 @@
reg = <0x1f000000 0x1000>;
native-endian;
lcd@410 {
compatible = "mti,malta-lcd";
offset = <0x410>;
};
reboot {
compatible = "syscon-reboot";
regmap = <&fpga_regs>;