diff options
author | Clément Péron <peron.clem@gmail.com> | 2019-05-21 18:10:57 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-05-22 14:23:29 -0500 |
commit | b681af0bc1cc520c35f2ef109aa6a2db46d0ecb5 (patch) | |
tree | 72f497e97b2d75e37195573f13732493b6c73542 /drivers/gpu/drm/panfrost/panfrost_device.h | |
parent | d4db6c089099d38166752c93d9d165fb7526f1e5 (diff) | |
download | lwn-b681af0bc1cc520c35f2ef109aa6a2db46d0ecb5.tar.gz lwn-b681af0bc1cc520c35f2ef109aa6a2db46d0ecb5.zip |
drm: panfrost: add optional bus_clock
Allwinner H6 has an ARM Mali-T720 MP2 which required a bus_clock.
Add an optional bus_clock at the init of the panfrost driver.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190521161102.29620-2-peron.clem@gmail.com
Diffstat (limited to 'drivers/gpu/drm/panfrost/panfrost_device.h')
-rw-r--r-- | drivers/gpu/drm/panfrost/panfrost_device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panfrost/panfrost_device.h b/drivers/gpu/drm/panfrost/panfrost_device.h index 56f452dfb490..8074f221034b 100644 --- a/drivers/gpu/drm/panfrost/panfrost_device.h +++ b/drivers/gpu/drm/panfrost/panfrost_device.h @@ -66,6 +66,7 @@ struct panfrost_device { void __iomem *iomem; struct clk *clock; + struct clk *bus_clock; struct regulator *regulator; struct reset_control *rstc; |