Commit 8ad48f65 authored by Guido Gunther's avatar Guido Gunther Committed by Angus Ainslie (Purism)

dcss: HACK: Hardcode B0 silicon revision and drop busfreq

According to 4.18 we have B0. Need to check what to do about busfreq
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 19712d5c
......@@ -18,7 +18,6 @@
#include <linux/of.h>
#include <linux/delay.h>
#include <linux/seq_file.h>
#include <soc/imx8/soc.h>
#include "dcss-prv.h"
#include <video/imx-dcss.h>
......@@ -117,7 +116,7 @@ int dcss_blkctl_init(struct dcss_soc *dcss, unsigned long blkctl_base)
if (!disp_dev || !strncmp(disp_dev, "hdmi_disp", 9))
blkctl->hdmi_output = true;
if (imx8_get_soc_revision() == B0_SILICON_ID)
//if (imx8_get_soc_revision() == B0_SILICON_ID)
blkctl->clk_setting = HDMI_MIPI_CLK_SEL;
dcss_blkctl_cfg(dcss);
......
......@@ -18,7 +18,6 @@
#include <linux/of_graph.h>
#include <linux/clk.h>
#include <linux/pm_runtime.h>
#include <linux/busfreq-imx.h>
#include <linux/pm_qos.h>
#include <video/imx-dcss.h>
......@@ -404,11 +403,13 @@ static void dcss_debugfs_init(struct dcss_soc *dcss)
static void dcss_bus_freq(struct dcss_soc *dcss, bool en)
{
#ifdef HAVE_NXP_BUSFREQ
if (en && !dcss->bus_freq_req)
request_bus_freq(BUS_FREQ_HIGH);
if (!en && dcss->bus_freq_req)
release_bus_freq(BUS_FREQ_HIGH);
#endif
dcss->bus_freq_req = en;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment