sunxi: video: Add simplefb support

Add simplefb support, note this depends on the kernel having support for
the clocks property which has recently been added to the simplefb devicetree
binding.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
[hdegoede@redhat.com: Use pre-populated simplefb node under /chosen as
 disussed on the devicetree list]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>.
This commit is contained in:
Luc Verhaegen
2014-08-13 07:55:07 +02:00
committed by Hans de Goede
parent 11b8dfa718
commit 2d7a084ba0
4 changed files with 61 additions and 0 deletions

View File

@@ -182,4 +182,6 @@ struct sunxi_hdmi_reg {
#define SUNXI_HDMI_PLL_DBG0_PLL3 (0 << 21)
#define SUNXI_HDMI_PLL_DBG0_PLL7 (1 << 21)
int sunxi_simplefb_setup(void *blob);
#endif /* _SUNXI_DISPLAY_H */