Commit graph

1044961 commits

Author SHA1 Message Date
Marijn Suijten
86f859fc4b leds: qcom-lpg: Add PM660L 2021-11-01 06:13:39 +02:00
Marijn Suijten
9a151a1e8d NILE/pm660l: LPG 2021-11-01 06:13:38 +02:00
Marijn Suijten
4419531c3d defconfig: Leds, QCOM_LPG, and all the led triggers! 2021-11-01 06:13:38 +02:00
Bjorn Andersson
4ddfcc0a10 arm64: dts: qcom: db820c: Add user LEDs
The db820c has 4 "user LEDs", all connected to the PMI8994. The first
three are connected to the three current sinks provided by the TRILED
and the fourth is connected to MPP2.

By utilizing the DTEST bus the MPP is fed the control signal from the
fourth LPG block, providing a consistent interface to the user.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-11-01 06:13:38 +02:00
Bjorn Andersson
2b7bfae14a arm64: dts: qcom: pmi8994: Define MPP block
The pmi8994 has 4 multi-purpose-pins, add these to the definition.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-11-01 06:13:38 +02:00
Bjorn Andersson
1bdbb50dd5 arm64: dts: qcom: sdm845: Enable user LEDs on DB845c
The DB845c has 4 "user LEDs", the last one is already supported as it's
just wired to a gpio. Now that the LPG binding is in place we can wire
up the other 3 LEDs as well.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-11-01 06:13:38 +02:00
Bjorn Andersson
3a24655b15 arm64: dts: qcom: Add LPG to pm8916, pm8994, pmi8994 and pmi8998
Add PWM/LPG nodes to the PMICs currently supported by the binding.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-11-01 06:13:38 +02:00
Bjorn Andersson
25281c8b70 leds: Add driver for Qualcomm LPG
The Light Pulse Generator (LPG) is a PWM-block found in a wide range of
PMICs from Qualcomm. It can operate on fixed parameters or based on a
lookup-table, altering the duty cycle over time - which provides the
means for e.g. hardware assisted transitions of LED brightness.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-11-01 06:13:38 +02:00
Bjorn Andersson
0b099e0d7e dt-bindings: leds: Add Qualcomm Light Pulse Generator binding
This adds the binding document describing the three hardware blocks
related to the Light Pulse Generator found in a wide range of Qualcomm
PMICs.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-11-01 06:13:38 +02:00
Marijn Suijten
e6dc461e83 leds: ledtrig-pattern: Use last_repeat when applying hw pattern
`last_repeat` holds the actual value requested by the user whereas
`repeat` is a software iteration variable that is unused in hardware
patterns.

Furthermore `last_repeat` is the field returned to the user when reading
the `repeat` sysfs property.  This field is initialized to `-1` which is
- together with `1` - the only valid value in the upcoming Qualcomm LPG
driver.  It is thus unexpected when `repeat` with an initialization
value of `0` is passed into the the driver, when the sysfs property
clearly presents a value of `-1`.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
2021-11-01 06:13:38 +02:00
Marijn Suijten
b2a234e861 FIXUP: simple-panel: add missing connector_type! 2021-11-01 06:13:38 +02:00
Marijn Suijten
4121e0bc1c android-recommended lies: AIO is needed for adb :| 2021-11-01 06:13:38 +02:00
Marijn Suijten
645c2d229c PANEL INNOLUX FIXUP!: Use set_tear_on for VBLANK instead of magic const 2021-11-01 06:13:38 +02:00
Marijn Suijten
3b2ed60056 gpu go 700mhz 2021-11-01 06:13:38 +02:00
Marijn Suijten
3f134d4eab sdm630: Add missing zap-shader! 2021-11-01 06:13:38 +02:00
Marijn Suijten
ad3c1d83ab nile: Turn on pm660l_wled to not -EPROBE_DEFER the panel 2021-11-01 06:13:38 +02:00
Marijn Suijten
80d6ecc10a defconfig: Disco panel! 2021-11-01 06:13:38 +02:00
Marijn Suijten
345e2402f9 DISCO PANELS?!?!? 2021-11-01 06:13:38 +02:00
Marijn Suijten
9deca0ad10 PANELS TODO FINISHME: use dev_err_probe in _probe! 2021-11-01 06:13:38 +02:00
Konrad Dybcio
7ed205734a arm64: dts: qcom: sdm63*-xperia: Add display panels
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
2021-11-01 06:13:37 +02:00
Marijn Suijten
e5b76990e8 arm64: defconfig: Disable legacy USB networking in favour of configfs
Otherwise adb cannot get itself up
2021-11-01 06:13:37 +02:00
Marijn Suijten
84f338c4d3 630: Also system part, root fstab not found 2021-11-01 06:13:37 +02:00
Marijn Suijten
c6fea63d41 bye slotselect 2021-11-01 06:13:37 +02:00
Marijn Suijten
4835b657d6 defconfig: a508 zap, a530 firmware 2021-11-01 06:13:37 +02:00
Marijn Suijten
d492687bfa Adreno firmware in .c file; vendor DT 2021-11-01 06:13:37 +02:00
Marijn Suijten
0b8a882b92 bye framebuffer and sdhc_2 2021-11-01 06:13:37 +02:00
Marijn Suijten
be3b2acd0d defconfig: Interconnect 2021-11-01 06:13:37 +02:00
Marijn Suijten
93af1dbe3e nile: Enable gpucc 2021-11-01 06:13:37 +02:00
Marijn Suijten
f5bd27247f defconfig; MMCC and GPUCC 660 2021-11-01 06:13:37 +02:00
Marijn Suijten
8f263ba951 Android defconfig
cat
    ../../configs/r/android-5.4/android-{base,recommended,recommended-arm64}.config
    >> arch/arm64/configs/defconfig
2021-11-01 06:13:37 +02:00
Marijn Suijten
328f064e3a 660 defconfig
[Fixed up for 5.15 by Jami]
2021-11-01 06:13:37 +02:00
Konrad Dybcio
f71ea3441b arm64: dts: qcom: sdm630: Enable SMMUs
Now that the quirks are in, SMMUs are fine to enable.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:37 +02:00
Konrad Dybcio
1e696c47d1 remoteproc: Add support for SDM630/636/660 MSS remoteproc
This adds support for sdm630/636/660 modem subsystem
remote processor.

Currently an issue persists, where the remote processor will
restart itself every 40 seconds, but it seems to work otherwise.

Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
2021-11-01 06:13:37 +02:00
AngeloGioacchino Del Regno
0fde91e372 drm/msm/mdp5: Fix SDM630/660 MDP5 configuration
SDM630 has two usable layer mixers (LM0, LM2) and pingpongs (PP0, PP2),
with writeback located on LM2, has no RGB pipe and does not support
source split.

SDM660 has four usable layer mixers (LM0, LM1, LM2, LM5) and
three pingpongs (PP0, PP1, PP4), with writeback located on LM2,
has no RGB pipes and does support source split; also, the HDMI
is on INTF0.

As cherry on top, let's also write the correct flush_hw_mask for
both MDP configurations to stop flushing useless and unused pipes
for performance purposes.

Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
2021-11-01 06:13:37 +02:00
Konrad Dybcio
e7523b153d drm/panel-simple: Add nt36672a Tianma FHD+ panel
This adds support for nt36672a Tianma FHD+ (2520x1080)
video mode panel as found on Sony Xperia 10 Plus (mermaid)
devices.

Due to the nature of phone manufacturing, it is impossible
to retrieve the actual panel name, hence the replacement
one, detailing the device it's used on.

Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
2021-11-01 06:13:37 +02:00
Konrad Dybcio
b4e0021277 drm/panel-simple: Add nt36672a Truly FHD+ panel
This adds support for nt36672a Truly FHD+ (2520x1080)
video mode panel as found on Sony Xperia 10 (kirin)
devices.

Due to the nature of phone manufacturing, it is impossible
to retrieve the actual panel name, hence the replacement
one, detailing the device it's used on.

Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
2021-11-01 06:13:37 +02:00
Konrad Dybcio
914ee6b355 dt-bindings: display: panel: Document Sony Voyager TD4328 Tianma display panel
Add bindings for the newly added panel.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:37 +02:00
Konrad Dybcio
8796032540 drm/panel: Add support for Sony TD4328 Tianma FHD+ panel
This commit adds support for Sony TD4328 Truly
Full HD Plus command mode DSI panel, as found in Sony
Xperia XA2 Plus smartphones.

Due to the nature of phone manufacturing, it is impossible
to retrieve the actual panel name, hence the replacement
one, detailing the device it's used on.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:37 +02:00
Konrad Dybcio
f286ad3039 dt-bindings: display: panel: Document Sony Discovery TD4322 Innolux display panel
Add bindings for the newly added panel.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:36 +02:00
Konrad Dybcio
c783b6740a drm/panel: Add support for Sony TD4322 Innolux FHD panel
This commit adds support for Sony TD4322 Innolux
Full HD command mode DSI panel, as found in Sony
Xperia XA2 Ultra smartphones.

Due to the nature of phone manufacturing, it is impossible
to retrieve the actual panel name, hence the replacement
one, detailing the device it's used on.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:36 +02:00
Konrad Dybcio
ffdad2e91a dt-bindings: display: panel: Document Sony Pioneer TD4322 Truly display panel
Add bindings for the newly added panel.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:36 +02:00
Konrad Dybcio
95faea9235 drm/panel: Add support for Sony TD4322 Truly FHD panel
This commit adds support for Sony TD4322 Truly
Full HD command mode DSI panel, as found in Sony
Xperia XA2 smartphones.

Due to the nature of phone manufacturing, it is impossible
to retrieve the actual panel name, hence the replacement
one, detailing the device it's used on.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:36 +02:00
Konrad Dybcio
95d7ebbcf1 drivers: interconnect: qcom: sdm660: Adjust to v5.10 changes
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:36 +02:00
Konrad Dybcio
ee785e6e99 drivers: interconnect: sdm660: MASTER_CRYPTO_C0 isn't AP-Owned
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
2021-11-01 06:13:36 +02:00
AngeloGioacchino Del Regno
3e6dad1592 arm64: dts: qcom: sdm630-nile: Configure WCN3990 Bluetooth
Add a node for WCN3990 HCIUART Bluetooth.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:36 +02:00
AngeloGioacchino Del Regno
6ee5bcdadf arm64: dts: qcom: sdm630-xperia-nile: Add all RPM and fixed regulators
Add all of the RPM PM660/PM660L regulators and the fixed ones,
defining the common electrical part of this platform.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-11-01 06:13:36 +02:00
Konrad Dybcio
ab59ed04c6 arm64: dts: qcom: sdm630: Fix intc reg indentation
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
2021-11-01 06:13:36 +02:00
Linus Torvalds
8bb7eca972 Linux 5.15 2021-10-31 13:53:10 -07:00
Linus Torvalds
75fcbd3860 perf tools fixes for v5.15: 5th batch
- Fix compilation of callchain related code on powerpc with gcc11+.
 
 - Fix PERF_SAMPLE_WEIGHT_STRUCT support in 'perf script'
 
 - Check session->header.env.arch before using it, fixing a segmentation fault.
 
 - Suppress 'rm dlfilter' build messages.
 
 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQR2GiIUctdOfX2qHhGyPKLppCJ+JwUCYX7NvgAKCRCyPKLppCJ+
 J0kmAQCAuh2Pt2eL+KUat/RgHXG+on5EkFfqlHVzebjmTv3/nwD/eyKF5AcgvTfb
 DGIntW5QskCeAal05g9Po1+xPdU2aQU=
 =3oio
 -----END PGP SIGNATURE-----

Merge tag 'perf-tools-fixes-for-v5.15-2021-10-31' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux

Pull perf tools fixes from Arnaldo Carvalho de Melo:

 - Fix compilation of callchain related code on powerpc with gcc11+

 - Fix PERF_SAMPLE_WEIGHT_STRUCT support in 'perf script'

 - Check session->header.env.arch before using it, fixing a segmentation
   fault

 - Suppress 'rm dlfilter' build messages

* tag 'perf-tools-fixes-for-v5.15-2021-10-31' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
  perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support
  perf callchain: Fix compilation on powerpc with gcc11+
  perf script: Check session->header.env.arch before using it
  perf build: Suppress 'rm dlfilter' build message
2021-10-31 11:24:06 -07:00
Linus Torvalds
ca5e83eddc * Fixes for s390 interrupt delivery
* Fixes for Xen emulator bugs showing up as debug kernel WARNs
 * Fix another issue with SEV/ES string I/O VMGEXITs
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmF6uGIUHHBib256aW5p
 QHJlZGhhdC5jb20ACgkQv/vSX3jHroNRagf/Srvk9lNcRh4cEzsczErKMyr3xOqA
 jgsTSqgl1ExJI9sBLMpVYBOFGILMaMSrhLPIltKPy0Bj/E+hw8WOQwPa44QjWlSD
 MAUxO1Nryt9Luc2L8uSd1c//g4fr4V1BhOaumk1lM14Q8EDfQBcDIMI2ZKueMU1+
 2Q+n8/AsG63jQIINwKNidof0dzRtbfcE30Wq/8QHttIPo5wt6l0YClOlOikqNY8N
 5+WSQFmuutHIXftq5Jb/Ldn/+HVukWZyZOEVwLnBpM9uBvIubNgcEakqvxsaVtAn
 FHdvnA+Bk99/Xuhl+wRLQo8ofzQIQ13RQv3HPArJAJv34oAJZx2rNObVlA==
 =6ofB
 -----END PGP SIGNATURE-----

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm fixes from Paolo Bonzini:

 - Fixes for s390 interrupt delivery

 - Fixes for Xen emulator bugs showing up as debug kernel WARNs

 - Fix another issue with SEV/ES string I/O VMGEXITs

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
  KVM: x86: Take srcu lock in post_kvm_run_save()
  KVM: SEV-ES: fix another issue with string I/O VMGEXITs
  KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block()
  KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock
  KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
  KVM: s390: clear kicked_mask before sleeping again
2021-10-31 11:19:02 -07:00