On Thu, Aug 28, 2014 at 10:37 AM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > On Thu, Aug 28, 2014 at 4:33 PM, jonsm...@gmail.com <jonsm...@gmail.com> > wrote: >> On Thu, Aug 28, 2014 at 10:20 AM, Geert Uytterhoeven >> <ge...@linux-m68k.org> wrote: >>> On Thu, Aug 28, 2014 at 3:22 PM, jonsm...@gmail.com <jonsm...@gmail.com> >>> wrote: >>>>> 2) We don't want to hardcode these clocks into the kernel (sunxi) clk >>>>> driver, instead the bootloader should tell the kernel about these clocks. >>>>> >>>>> So the only point of discussion left seems to be how to do 2... >>>> >>>> Wouldn't it be a lot simpler just to use existing fbdev (not KMS) and >>>> whip together a device specific driver that claims the proper >>>> resources? And just implement the minimal about of fbdev possible? >>>> fbdev already is a driver library. >>> >>> Like... drivers/video/fbdev/offb.c? >> >> I'd probably reclassify drivers/video/fbdev/simplefb.c as a skeleton >> and use it as a template for making device specific versions of it. >> >> I don't see why there is so much resistance to just making device >> specific fb drivers. Whenever the KMS driver gets written just >> disable the device specific fb driver in the build. > > I explicitly named offb, because it already supports living with the > video mode initialized by Open Firmware, which is passed to the kernel > in a device tree.
Not sure how that works. It from a PowerMac arch/powerpc/platforms/powermac/bootx_init.c arch/powerpc/kernel/prom_init.c > > -- > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- > ge...@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like > that. > -- Linus Torvalds -- Jon Smirl jonsm...@gmail.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.