]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/vc4: Turn the V3D clock on at runtime.
authorEric Anholt <eric@anholt.net>
Fri, 28 Apr 2017 22:42:21 +0000 (15:42 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 8 May 2017 19:24:06 +0000 (12:24 -0700)
commitb72a2816e3711474f7a85dee0565dd68eeea2f58
tree0586887620cb1b521553f1388cd6f3f0fa38e12f
parent52b18e3a5a4db51e3b30bdb0ed4295595523105a
drm/vc4: Turn the V3D clock on at runtime.

For the Raspberry Pi's bindings, the power domain also implicitly
turns on the clock and deasserts reset, but for the new Cygnus port we
start representing the clock in the devicetree.

v2: Document the clock-names property, check for -ENOENT for no clock
    in DT.
v3: Drop NULL checks around clk calls which embed NULL checks.
v4: Drop clk-names (feedback by Rob Herring)

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Rob Herring <robh@kernel.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170428224223.21904-1-eric@anholt.net
Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_v3d.c