- Sep 16, 2019
-
-
Abel Vesa authored
i.MX8MQ is missing the wake_request signals from GIC to GPCv2. This indirectly breaks cpuidle support due to inability to wake target cores on IPIs. Here is the link to the errata (see e11171): https://www.nxp.com/docs/en/errata/IMX8MDQLQ_0N14W.pdf Now, in order to fix this, we can trigger IRQ 32 (hwirq 0) to all the cores by setting 12th bit in IOMUX_GPR1 register. In order to control the target cores only, that is, not waking up all the cores every time, we can unmask/mask the IRQ 32 in the first GPC IMR register. So basically we can leave the IOMUX_GPR1 12th bit always set and just play with the masking and unmasking the IRO 32 for each independent core. Since EL3 is the one that deals with powering down/up the cores, and since the cores wake up in EL3, EL3 should be the one to control the IMRs in this case. This implies we need to get into EL3 on every IPI to do the unmasking, leaving the masking to be done on the power-up sequence by the core itself. In order to be able to get into EL3 on each IPI, we 'hijack' the registered smp cross call handler, in this case the gic_raise_softirq which is registered by the irq-gic-v3 driver and register our own handler instead. This new handler is basically a wrapper over the hijacked handler plus the call into EL3. To get into EL3, we use a custom vendor SIP id added just for this purpose. All of this is conditional for i.MX8MQ only. Signed-off-by:
Abel Vesa <abel.vesa@nxp.com>
-
Angus Ainslie (Purism) authored
enable cpuidle Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
We need to rename the exported rsi_ functions so they don't conflict with the mainline driver. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
Spoof low power mode as it interferes with thoughput Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
To enable the diversity set the module parameter antenna_diversity=1 insmod rsi_91x.ko rsi_zone_enabled=1 dev_oper_mode=13 antenna_diversity=1 Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
add the redpine module driver to the build Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
Add the Redpine driver for RS9116 module Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
Specify which regulator is used for cpufreq DVFS. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Bob Ham authored
Add a VID:PID for the BroadModi BM818 M.2 card Co-developed-by:
<bob.ham@puri.sm> Signed-off-by:
<bob.ham@puri.sm> Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Angus Ainslie (Purism) authored
Without a VBUS supply the dwc3 driver won't go into otg mode. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Eric Kuzmenko authored
Due to current spikes during boot the USB-C VBUS can get drawn down too low causing the bq25890 to reset the board. Allow VBUS to drop a bit further to make allowance for thses spikes. Signed-off-by:
Eric Kuzmenko <eric.kuzmenko@puri.sm> Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Eric Kuzmenko authored
The bq25890 has low voltage protection on VIN. Allow the register to be set from the device tree. Signed-off-by:
Eric Kuzmenko <eric.kuzmenko@puri.sm> Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
This uses - our nwl mipi dsi controller driver - our mixel dphy driver - a forward port from NXPs dcss driver from our 4.18 tree (which we got from their 4.9/4.14 trees) - a forward port NXPs patches to the imx-display-subsystem driver from our 4.18 tree (which we got from their 4.9/4.14 trees)
-
Guido Gunther authored
ctxld fails during boot due to its irqsteer dependency. Make us undo less stuff so that probing again works later on (instead of hanging the boot). TODO: check if this works on 4.18 too Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
We're returning != 0 on error Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
See 463659a0 Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
According to 4.18 we have B0. Need to check what to do about busfreq Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Like in 1ef2917d Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
like in f53705fd Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
We don't have anything feeding these and they cause trouble when rebasing on linux-next so drop them. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
from NXPs kernel Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
We don't need it atm. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
This is just a hack until we have a proper solution. We don't want to allow userspace patch all kernel space. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
0x14000 and 0x14018 are SRC_ADDR and DEST_ADDR in the BLT engine. 0x15C00 are the TX_DESCRIPTOR addresses on Halti5 at least. This avoids the etnaviv_warn_if_non_sensitive warnings. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Otherwise we might end up with modules that can't be loaded: modprobe: ERROR: could not insert 'goodix': Unknown symbol in module, or unknown parameter (see dmesg) [ 15.190397] goodix: Unknown symbol touchscreen_report_pos (err -2) [ 15.221560] goodix: Unknown symbol touchscreen_parse_properties (err -2) [ 64.677545] goodix: Unknown symbol touchscreen_report_pos (err -2) [ 64.683767] goodix: Unknown symbol touchscreen_parse_properties (err -2) Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
The mainline ATF doesn't currently support the FSL_SIP_GET_SOC_INFO call nor does it have the code to identify different imx8mq SOC revisions so mimic what NXPs ATF does here. As a fallback use ATF so we can identify new revisions once it gains support or when using NXPs ATF. Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Guido Gunther authored
This adds initial support for the NWL MIPI DSI Host controller found on i.MX8 SoCs. It adds support for the i.MX8MQ but the same IP can be found on i.MX8QXP. It has been tested on the Librem 5 devkit using DCSS. Co-developed-by:
Robert Chiras <robert.chiras@nxp.com> Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-