- 12 Feb, 2020 8 commits
-
-
Martin Kepplinger authored
-
Martin Kepplinger authored
-
Add the i.MX8MQ VPU module which comprises Hantro G1 and G2 video decoder cores and a reset/control block. Hook up the bus clock to the VPU power domain to enable handshakes, and configure the core clocks to 600 MHz and the bus clock to 800 MHz by default. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
This should enable MPEG-2 decoding on the Hantro G1 and JPEG encoding on the Hantro H1 on i.MX8MM. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
For now this just enables MPEG-2 decoding on the Hantro G1 on i.MX8MQ. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Add devicetree binding documentation for the Hantro G1/G2 VPU on i.MX8MQ and for the Hantro G1/G2/H1 VPU on i.MX8MM. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Setting the output format resets the capture queue, so we return -EBUSY while the capture queue has buffers allocated. If capture dimensions and pixel format don't change though, we can allow setting the output format without reallocating the capture queue. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
- 10 Feb, 2020 27 commits
-
-
Martin Kepplinger authored
my devkit would stop with the following, exactly at the same time: [ 35.104345] PM: Adding info for No Bus:lo [ 35.327694] PM: Removing info for No Bus:lo [ 40.025566] 1v8_p: disabling [ 40.028468] 2v8_p: disabling [ 40.031406] buck1: disabling I'm not sure why. Others don't see this happening. if only buck1 is set to always-on, I get: [ 42.071568] buck2: disabling [ 42.075038] buck3: disabling and with buck1, buck2 and buck3 always-on I still get stopped at [ 42.071604] buck5: disabling and so on with buck6 ldo5 ldo6 ldo7 always on: usb xhci dies otherwise
-
Martin Kepplinger authored
cherry-picked from 47f91181
-
Need to be able to enable the camera so use a named gpio-led instead of an unnamed gpio. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
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>
-
Martin Kepplinger authored
The IMU chip on the librem5-devkit is not mounted at the "natural" place that would match normal phone orientation (see the documentation for the details about what that is). Since the lsm9ds1 driver supports providing a mount matrix, we can describe the orientation on the board in the dts: Create a right-handed coordinate system (x * -1; see the datasheet for the axis) and rotate 180 degrees around the y axis because the device sits on the back side from the display. Signed-off-by:
Martin Kepplinger <martin.kepplinger@puri.sm> Reviewed-by:
Marco Felsch <m.felsch@pengutronix.de>
-
The poly fuses can handle 6V 4Amps so incease the kernel limts to 5V 3.5Amps. 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>
-
By adding broken-cd to the usdhc2 stanza the Redpine card can be detected when the HKS is turned off and on. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
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>
-
Specify which regulator is used for cpufreq DVFS. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Without a VBUS supply the dwc3 driver won't go into otg mode. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Describe the sgtl5000 of the librem 5 devkit in devicetree. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
enable the imx8mq sai2 audio interface for the librem 5 devkit. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Connect the WoWWAN signal to a gpio key to wake up the system from suspend. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Add the simcomm modem and the sai6 interface that connects it, as well as the sgtl5000 audio codec. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Add missing sai2 and sai6 audio interface pinctrl definitions for the Librem 5 devkit. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
Co-developed-by:
Signed-off-by: Guido Günther <agx@sigxcpu.org>
-
Martin Kepplinger authored
This almost stalls my system, so only print once. Appearently, there will be a proper fix for this, hence the "WIP".
-
This otherwise confuses mesa/drm which picks the wrong output.
-
-
Somewhat based on the defconfig from Boundary Devices BSP.
-
This is a work around to ensure smooth kernel upgrades with older flash-kernel. Helps https://source.puri.sm/Librem5/linux-next/issues/25 Signed-off-by:
Guido Günther <guido.gunther@puri.sm>
-
This message prints out on every dvfs transtion and fills the kernel log. Remove it. Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
This supports the Librem 5 and it's devkit Signed-off-by:
Angus Ainslie (Purism) <angus@akkea.ca>
-
-
Linus Torvalds authored
-
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuildLinus Torvalds authored
Pull more Kbuild updates from Masahiro Yamada: - fix randconfig to generate a sane .config - rename hostprogs-y / always to hostprogs / always-y, which are more natual syntax. - optimize scripts/kallsyms - fix yes2modconfig and mod2yesconfig - make multiple directory targets ('make foo/ bar/') work * tag 'kbuild-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: kbuild: make multiple directory targets work kconfig: Invalidate all symbols after changing to y or m. kallsyms: fix type of kallsyms_token_table[] scripts/kallsyms: change table to store (strcut sym_entry *) scripts/kallsyms: rename local variables in read_symbol() kbuild: rename hostprogs-y/always to hostprogs/always-y kbuild: fix the document to use extra-y for vmlinux.lds kconfig: fix broken dependency in randconfig-generated .config
-
- 09 Feb, 2020 5 commits
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefsLinus Torvalds authored
Pull new zonefs file system from Damien Le Moal: "Zonefs is a very simple file system exposing each zone of a zoned block device as a file. Unlike a regular file system with native zoned block device support (e.g. f2fs or the on-going btrfs effort), zonefs does not hide the sequential write constraint of zoned block devices to the user. As a result, zonefs is not a POSIX compliant file system. Its goal is to simplify the implementation of zoned block devices support in applications by replacing raw block device file accesses with a richer file based API, avoiding relying on direct block device file ioctls which may be more obscure to developers. One example of this approach is the implementation of LSM (log-structured merge) tree structures (such as used in RocksDB and LevelDB) on zoned block devices by allowing SSTables to be stored in a zone file similarly to a regular file system rather than as a range of sectors of a zoned device. The introduction of the higher level construct "one file is one zone" can help reducing the amount of changes needed in the application while at the same time allowing the use of zoned block devices with various programming languages other than C. Zonefs IO management implementation uses the new iomap generic code. Zonefs has been successfully tested using a functional test suite (available with zonefs userland format tool on github) and a prototype implementation of LevelDB on top of zonefs" * tag 'zonefs-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs: zonefs: Add documentation fs: New zonefs file system
-
Marc Zyngier authored
In order to allow the GICv4 code to link properly on 32bit ARM, make sure we don't use 64bit divisions when it isn't strictly necessary. Fixes: 4e6437f1 ("irqchip/gic-v4.1: Ensure L2 vPE table is allocated at RD level") Reported-by:
Stephen Rothwell <sfr@canb.auug.org.au> Cc: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by:
Marc Zyngier <maz@kernel.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
git://git.samba.org/sfrench/cifs-2.6Linus Torvalds authored
Pull cifs fixes from Steve French: "13 cifs/smb3 patches, most from testing at the SMB3 plugfest this week: - Important fix for multichannel and for modefromsid mounts. - Two reconnect fixes - Addition of SMB3 change notify support - Backup tools fix - A few additional minor debug improvements (tracepoints and additional logging found useful during testing this week)" * tag '5.6-rc-smb3-plugfest-patches' of git://git.samba.org/sfrench/cifs-2.6: smb3: Add defines for new information level, FileIdInformation smb3: print warning once if posix context returned on open smb3: add one more dynamic tracepoint missing from strict fsync path cifs: fix mode bits from dir listing when mounted with modefromsid cifs: fix channel signing cifs: add SMB3 change notification support cifs: make multichannel warning more visible cifs: fix soft mounts hanging in the reconnect code cifs: Add tracepoints for errors on flush or fsync cifs: log warning message (once) if out of disk space cifs: fail i/o on soft mounts if sessionsetup errors out smb3: fix problem with null cifs super block with previous patch SMB3: Backup intent flag missing from some more ops
-
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds authored
Pull vboxfs from Al Viro: "This is the VirtualBox guest shared folder support by Hans de Goede, with fixups for fs_parse folded in to avoid bisection hazards from those API changes..." * 'work.vboxsf' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fs: Add VirtualBox guest shared folder (vboxsf) support
-
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipLinus Torvalds authored
Pull x86 fixes from Thomas Gleixner: "A set of fixes for X86: - Ensure that the PIT is set up when the local APIC is disable or configured in legacy mode. This is caused by an ordering issue introduced in the recent changes which skip PIT initialization when the TSC and APIC frequencies are already known. - Handle malformed SRAT tables during early ACPI parsing which caused an infinite loop anda boot hang. - Fix a long standing race in the affinity setting code which affects PCI devices with non-maskable MSI interrupts. The problem is caused by the non-atomic writes of the MSI address (destination APIC id) and data (vector) fields which the device uses to construct the MSI message. The non-atomic writes are mandated by PCI. If both fields change and the device raises an interrupt after writing address and before writing data, then the MSI block constructs a inconsistent message which causes interrupts to be lost and subsequent malfunction of the device. The fix is to redirect the interrupt to the new vector on the current CPU first and then switch it over to the new target CPU. This allows to observe an eventually raised interrupt in the transitional stage (old CPU, new vector) to be observed in the APIC IRR and retriggered on the new target CPU and the new vector. The potential spurious interrupts caused by this are harmless and can in the worst case expose a buggy driver (all handlers have to be able to deal with spurious interrupts as they can and do happen for various reasons). - Add the missing suspend/resume mechanism for the HYPERV hypercall page which prevents resume hibernation on HYPERV guests. This change got lost before the merge window. - Mask the IOAPIC before disabling the local APIC to prevent potentially stale IOAPIC remote IRR bits which cause stale interrupt lines after resume" * tag 'x86-urgent-2020-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/apic: Mask IOAPIC entries when disabling the local APIC x86/hyperv: Suspend/resume the hypercall page for hibernation x86/apic/msi: Plug non-maskable MSI affinity race x86/boot: Handle malformed SRAT tables during early ACPI parsing x86/timer: Don't skip PIT setup when APIC is disabled or in legacy mode
-