Skip to content
Snippets Groups Projects
Commit 8ad48f65 authored by Guido Gunther's avatar Guido Gunther :zzz: Committed by Angus Ainslie (Purism)
Browse files

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: default avatarGuido Günther <guido.gunther@puri.sm>
parent 19712d5c
No related branches found
No related tags found
6 merge requests!101Adjust the pin control register values of each SDA and SCL pin,!82USB: Add USB_QUIRK_RESET_RESUME quirk for Microchip USB2642,!71Make I2C1 operate at 387kHz,!66Purism redpine driver,!54Drop capacity,!44WIP power: bq25890_charger: Indicate charging state
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment