- Oct 29, 2019
-
-
The switch to per-process address spaces erroneously dropped the check which validated that the command buffer is mapped through the linear apperture as required by the hardware. This turned a system misconfiguration with a helpful error message into a very hard to debug issue. Reinstate the check at the appropriate location. Fixes: 17e4660a (drm/etnaviv: implement per-process address spaces on MMUv2) Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
This reverts commit 9f61faa653cb78df9ee4547c7c617e59097c242a. Causes boot hang at [ 1.302069] loop: module loaded [ 1.306953] libphy: Fixed MDIO Bus: probed [ 1.313435] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0 [ 1.319991] i2c /dev entries driver [ 1.328004] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 1.338525] sdhci: Secure Digital Host Controller Interface driver [ 1.344741] sdhci: Copyright(c) Pierre Ossman [ 1.349163] sdhci-pltfm: SDHCI platform and OF driver helper ...hang...
-
Guido Gunther authored
Needed for cpu idle Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Needed for the phone latest. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Otherwise cpufreq fails to probe due to pmic driver probing bugs fixed in linux-next. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Otherwise it breaks mipi Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
This reverts commit 87b1baf32040f405618902d31106296813c78811. Fixes vt switching but makes the blank/unblank shift reappear.
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
This allows to run without modules for the moment and have a working display. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
magnetometer The LSM9DS1 uses a high level interrupt. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
use vselect to set the io voltage to 1.8V Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
reinsterted By adding broken-cd to the usdhc2 stanza the Redpine card can be detected when the HKS is turned of and on. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Instead of just raising irq0 for all the cores, we mask the irq0 for all the non-target cores, this way waking up only the core we want. All of this is done now in TF-A. Also, since this new workaround doesn't need the IOMUX_GPR1 register here in kernel, the IOMUX_GPR reg entry inside the gic dts node can be removed. In order for this to work, the following commit is needed in TF-A: 0e91ff59720d0756 ("MLK-21399 plat: imx8mq: gpc: Workaround for ERR11171") Signed-off-by:
Abel Vesa <abel.vesa@nxp.com> Reviewed-by:
Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by:
Angus Ainslie <angus@akkea.ca>
-
This reverts commit 617f7964.
-
Guido Gunther authored
Use overcurrent protection and limit brightness. This should go into DT. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Early during boot access imx8mq's i2c returns timeout, later on it works so defer probing a bit until we found the real reason. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
The current setup of LM3692X_BOOST_CTRL use flags from LM3692X_BRT_CTRL. Use flagx from LM3692X_BOOST_CTRL but leave the resulting value unchanged. Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Guido Gunther authored
Use LM3692X_RAMP_EN instead of LM3692X_PWM_HYSTER_4LSB since the later is a flag for the PWM register. Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Guido Gunther authored
Instead use devm_regulator_get_optional since the regulator is optional and check for errors. Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Guido Gunther authored
The driver currently reports successful intialization on every failure as long as it's able to power off the regulator. Don't check the return value of regulator_disable to avoid that. Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Guido Gunther authored
This gives a way better idea what is going on. Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Guido Gunther authored
The TPS65132B5 needs DSI_BIAS_EN for I²C to work but having it ENP/ENN enabled via the avdd/avee dt nodes would not work since those regulators won't be enabled before I²C is set up - which makes sense from a driver point of view. So to ensure DSI_BIAS_EN is always enabled before the driver is probed squash it in as a gpio enabled regulator between reg_vsys_3v4 and the TPS65132B5 which is how this gpio works after all. Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
Add #cooling-cells for when the gpu acts as a cooling device. Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Add the missing call to kref_init() before using the refcount.
-
Guido Gunther authored
This allows it to be used as backlight devices e.g. linked to a drm panel. todo: conditionalize on BACKLIGHT_CLASS_DEVICE Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Guido Gunther authored
-
Guido Gunther authored
The panel uses a Focaltech FT8006P chip and can be found in the Librem5. TODO: - add binding docs Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
The devkit and phone are sufficiently similar that we only need one config compile in thermal enable the focaltech touchscreen driver arm64: config: librem5: build more USB drivers arm64: config: librem5: enable dynamic debug config: librem5: enable clock_thermal config: librem5: enable fuel gauge Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca> Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
Drop -phone from names Add rfkill for wifi, bluetooth, wwan and gps aarch64: dts: librem5: backlight, dcs and panel updates dts: librem5: Fix hp detect dts: librem5: Enable pullups for buttons dts: librem5: Enable audio codec WIFI3V3_EN and BT_REG_ON should be on by default In GPIO_CONTROL mode poll the sdio bus Fix up some of the gpio control. Add the pinmuxes for the rfkill-gpio drivers. Add some USB options to try and get the hub working. Add broken-cd for the wifi M.2 card to poll for power changes. dts: librem5: drop duplicate pinctrl_charger dts: librem5: fuel gauge dts: librem5: Drop active-low from leds dts: librem5: enable modem by default Temperature and hysteresis were picked after the CPU. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca> Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
This gets rid of the warning about a debug kernel Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Read the version number from the flash module Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Refer to line 2308 in https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/tree/scan.c Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
refer to Librem5/linux-emcraft#3 for discussions of this issue. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
-
Guido Gunther authored
Use the current battery voltage and an ocv table to provide battery capacity information. Signed-off-by:
Guido Günther <agx@sigxcpu.org>
-
Add a simple-battery with default power capacity Discharge curve comes from the panasonic NCR18650B datasheet https://www.batteryspace.com/prod-specs/NCR18650B.pdf Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-