Re: [PATCH v3] dt-bindings: Add a clocks property to the simple-framebuffer binding
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2014-10-03 16:04:11
Also in:
linux-arm-kernel, linux-devicetree
Hi Rob, On Fri, Oct 3, 2014 at 5:57 PM, Rob Herring [off-list ref] wrote:
On Fri, Oct 3, 2014 at 9:05 AM, Hans de Goede [off-list ref] wrote:quoted
A simple-framebuffer node represents a framebuffer setup by the firmware / bootloader. Such a framebuffer may have a number of clocks in use, add a property to communicate this to the OS. Signed-off-by: Hans de Goede <redacted> Reviewed-by: Mike Turquette <redacted> -- Changes in v2: -Added Reviewed-by: Mike Turquette [off-list ref] Changes in v3: -Updated description to make clear simplefb deals with more then just memoryNAK. "Fixing" the description is not what I meant and does not address my concerns. Currently, simplefb is configuration data. It is auxiliary data about how a chunk of memory is used. Using it or not has no side effects on the hardware setup, but you are changing that aspect. You are mixing in a hardware description that is simply inaccurate. The kernel has made the decision to turn off "unused" clocks. If its determination of what is unused is wrong, then it is not a problem to fix in DT.
The kernel has made that decision because the driver hadn't told the
kernel that those clocks had to be enabled.
The only way for the driver to know which clocks to enable is by adding
them to the description in DT.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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