Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
4fec899
sdm660_defconfig
minlexx Aug 4, 2022
54f327b
[UPSTREAM] arm64: dts: qcom: sdm630: Add support for modem remoteproc
minlexx Jul 19, 2023
780d3a9
[UPSTREAM] arm64: dts: qcom: sdm630: align USB DWC3 clocks with bindings
krzk Jul 23, 2023
9c9e666
[UPSTREAM] arm64: dts: qcom: Use QCOM_SCM_VMID defines for qcom,vmid
lweiss-fairphone Aug 18, 2023
e592ca7
[FOR UPSTREAM] arm64: dts: qcom: sdm630: Add modem metadata mem
minlexx Oct 22, 2023
c17ff50
[FOR UPSTREAM] arm64: dts: qcom: sdm630: Add support for WCN3990 Wi-Fi
minlexx Jun 21, 2023
6d46a58
[FOR UPSTREAM] arm64: dts: qcom: sdm660-lavender: Enable radio interf…
minlexx Jun 21, 2023
1414d4a
[FOR_UPSTREAM] arm64: dts: qcom: sdm630: remove refs to nonexistent c…
minlexx Nov 14, 2023
655799b
iommu/arm-smmu-qcom: Skip the TTBR1 quirk for MSM8998 and SDM630
kholk Aug 10, 2021
ebbe958
iommu/arm-smmu-qcom: Add MSM8998 and SDM660 mss compatibles for identity
kholk Aug 10, 2021
38afb1d
iommu/arm-smmu-qcom: Allow choosing a custom bypass emulation context
kholk Aug 4, 2021
a254591
iommu/arm-smmu: Allow skipping context bank disable at reset time
kholk Aug 6, 2021
bcff077
iommu/arm-smmu-qcom: Avoid disabling secured context banks
kholk Aug 6, 2021
3abf50d
iommu/arm-smmu-qcom: Don't modify sACR on hypervisor secured iommus
kholk Aug 6, 2021
9afc7b7
arm64: dts: sdm630: Override bypass emulation context for lpass, anoc2
kholk Aug 4, 2021
a5861c8
arm64: dts: qcom: sdm630: Disallow disabling secured iommu context banks
kholk Aug 4, 2021
e906939
Input: Add Novatek NT36xxx touchscreen driver
kholk Oct 28, 2020
25d746c
dt-bindings: touchscreen: Add binding for Novatek NT36xxx series driver
kholk Oct 28, 2020
3ce3354
drm/panel-simple: Add NT36672_TXD FHD+ IPS LCD Panel
iAboothahir Mar 26, 2022
f3a9b32
ath10k: Fake MSA ready event after event server arrival
JamiKettunen Mar 26, 2022
25dc531
gpu go 700mhz
MarijnS95 Oct 18, 2020
3bcdcd7
arm64: dts: qcom: Add initial support for asus-x00td
iAboothahir Mar 27, 2022
d92d78a
arm64: dts: qcom: sdm660: Add initial support for xiaomi-clover
nergzd723 Mar 2, 2021
42a967d
arm64: dts: qcom: Introduce SDM660 Xiaomi Mi 8 Lite (platina)
kholk Aug 5, 2021
21861f7
arm64: dts: qcom: sdm660-platina: Add several more features
MollySophia Jan 17, 2022
9d9ada0
arm64: dts: qcom: sdm660-xiaomi-lavender: Add Touchscreen
Danct12 Apr 25, 2022
cbae988
drm/panel: nt36672a: add xiaomi-tulip panel support
M0Rf30 Jul 15, 2023
f01da8b
arm64: dts: qcom: add device-tree for Redmi Note 6 Pro (tulip)
M0Rf30 Nov 26, 2022
b419f83
drm/panel: Add support for xiaomi-jasmine nt36672 panel
buddyjojo Nov 26, 2022
3e9f8d7
arm64: dts: qcom: sdm660: Add device tree for Xiaomi Mi A2 (jasmine)
buddyjojo Nov 26, 2022
c556327
drm/panel Add support for Focaltech FT8716u panel
ElectrodeYT Mar 5, 2023
3f87227
arm64: dts: qcom: sdm630: Add initial device tree for nokia-pl2
ElectrodeYT Mar 5, 2023
f346cbd
power: supply: introduce pmi8998 fuel guage driver
Dec 25, 2020
c447ddb
power: supply: add battery charging status feature
Dec 31, 2020
45c318a
fg: clean and read charge full and max voltage from dts
Jan 1, 2021
770d1d1
power: pmi8998_fg: Remove some trailing spaces and tabs
Tooniis Mar 6, 2021
c42b3b9
power: pmi8998_fg: Rename to qcom_fg and add support for PMI8994/6
Tooniis Mar 5, 2021
30e73cf
power: supply: qcom_fg: Report online property
JamiKettunen Apr 25, 2021
c4b95a7
input: add Qualcomm SPMI haptics driver
kcxt Dec 10, 2021
f1c8c9d
dt-bindings: input: add Qualcomm SPMI haptics driver
kcxt Dec 10, 2021
10baed9
drm/msm: add missing a508/512 MODULE_FIRMWARE declarations
iAboothahir Oct 7, 2022
7c84286
arm64: dts: qcom: pm660: add charger node
iAboothahir Oct 8, 2022
1022605
arm64: dts: qcom: pm660: Add fuel gauge The device use a fuel guage g…
iAboothahir Oct 8, 2022
8e3fc7e
arm64: dts: qcom: pm660: add rradc node
iAboothahir Oct 11, 2022
91d2366
arm64: dts: qcom: asus-x00td: Add simple-battery
iAboothahir Oct 24, 2022
d61a522
arm64: dts: qcom: asus-x00td: enable SMB2
iAboothahir Oct 24, 2022
af34bac
arm64: dts: qcom: asus-x00td: enable Fuel Gauge
iAboothahir Oct 24, 2022
1b512ca
arm64: dts: qcom: asus-x00td: enable rradc node
iAboothahir Oct 24, 2022
bd366c6
arm64: dts: qcom: pm660: fix interrupts flag
iAboothahir Dec 3, 2022
54917b3
arm64: dts: qcom: pm660: fix pm660_fg-interrupts flag
iAboothahir Dec 3, 2022
2ca7fcb
arm64: dts: qcom: xiaomi-tulip: enable touchscreen input and bluetooth
M0Rf30 Nov 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ properties:
- samsung,sofef00
# Shangai Top Display Optoelectronics 7" TL070WSH30 1024x600 TFT LCD panel
- tdo,tl070wsh30
# Asus Zenfone Max Pro M1 (x00td) nt36672_1080p_video_txd FHD+ IPS LCD Panel
- asus,nt36672-txd

reg:
maxItems: 1
Expand Down
123 changes: 123 additions & 0 deletions Documentation/devicetree/bindings/input/qcom,spmi-haptics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright 2020 Unisoc Inc.
%YAML 1.2
---
$id: http://devicetree.org/schemas/input/qcom,spmi-haptics.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Technologies Inc PMI8998 spmi haptics

maintainers:
- Caleb Connolly <caleb@connolly.tech>

description: |
Qualcomm SPMI haptics is a peripheral on some QTI PMICs. It supports linear resonant
actuators and eccentric rotating mass type haptics commonly found in mobile devices.
It supports multiple sources of wave data such as an internal buffer, direct play
(from kernel or userspace) as well as an audio output mode.

properties:
compatible:
items:
- enum:
- qcom,pmi8998-haptics
- qcom,pmi8996-haptics
- qcom,pmi8941-haptics

reg:
maxItems: 1

interrupts:
items:
- description: short circuit interrupt
- description: play interrupt

interrupt-names:
items:
- const: short
- const: play

qcom,actuator-type:
description: |
The type of actuator attached to the hardware.
Allowed values are,
0 - HAP_TYPE_LRA
1 - HAP_TYPE_ERM
$ref: /schemas/types.yaml#/definitions/uint32
enum: [ 0, 1 ]
default: 0

qcom,wave-shape:
description: |
Selects the wave shape to use.
Allowed values are,
0 - HAP_WAVE_SINE
1 - HAP_WAVE_SQUARE
$ref: /schemas/types.yaml#/definitions/uint32
enum: [ 0, 1 ]
default: 0

qcom,play-mode:
description: |
Selects the play mode to use.
Allowed values are,
0 - HAP_PLAY_DIRECT
1 - HAP_PLAY_BUFFER
2 - HAP_PLAY_AUDIO
3 - HAP_PLAY_PWM
$ref: /schemas/types.yaml#/definitions/uint32
enum: [ 0, 1, 2, 3 ]
default: 2

qcom,wave-play-rate-us:
description: |
Wave sample durection in microseconds, 1/f where f
is the resonant frequency of the actuator.
$ref: /schemas/types.yaml#/definitions/uint32
minimum: 0
maximum: 20475

qcom,brake-pattern:
minItems: 4
maxItems: 4
description: |
The brake pattern are the strengths of the pattern
used to brake the haptics. Allowed values are,
0 - 0V
1 - Vmax/4
2 - Vmax/2
3 - Vmax
$ref: /schemas/types.yaml#/definitions/uint32-array
default: [0x3, 0x3, 0x2, 0x1]

required:
- compatible
- reg
- interrupts
- qcom,wave-play-rate-us

additionalProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/qcom,spmi-haptics.h>

spmi {
#address-cells = <1>;
#size-cells = <0>;
pmi8998_haptics: haptics@c000 {
compatible = "qcom,pmi8998-haptics";
reg = <0xc000>;

interrupts = <0x3 0xc0 0x0 IRQ_TYPE_EDGE_BOTH>,
<0x3 0xc0 0x1 IRQ_TYPE_EDGE_BOTH>;
interrupt-names = "short", "play";

qcom,wave-shape = <HAP_WAVE_SINE>;
qcom,play-mode = <HAP_PLAY_BUFFER>;
qcom,brake-pattern = <0x3 0x3 0x2 0x1>;

status = "disabled";
};
};
59 changes: 59 additions & 0 deletions Documentation/devicetree/bindings/input/touchscreen/nt36xxx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/input/touchscreen/nt36xxx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Novatek NT36xxx series touchscreen controller Bindings

maintainers:
- AngeloGioacchino Del Regno <kholk11@gmail.com>

allOf:
- $ref: touchscreen.yaml#

properties:
compatible:
const: novatek,nt36525

reg:
maxItems: 1

interrupts:
maxItems: 1

reset-gpios:
maxItems: 1

vdd-supply:
description: Power supply regulator for VDD pin

vio-supply:
description: Power supply regulator on VDD-IO pin

unevaluatedProperties: false

required:
- compatible
- reg
- interrupts

examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>

i2c {
#address-cells = <1>;
#size-cells = <0>;

touchscreen@62 {
compatible = "novatek,nt36525";
reg = <0x62>;
interrupt-parent = <&tlmm>;
interrupts = <45 IRQ_TYPE_EDGE_RISING>;
reset-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>;
};
};

...
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,20 @@ dtb-$(CONFIG_ARCH_QCOM) += sc8280xp-crd.dtb
dtb-$(CONFIG_ARCH_QCOM) += sc8280xp-lenovo-thinkpad-x13s.dtb
dtb-$(CONFIG_ARCH_QCOM) += sda660-inforce-ifc6560.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm450-motorola-ali.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-nokia-pl2.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-ganges-kirin.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-discovery.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-pioneer.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-voyager.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm632-fairphone-fp3.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm632-motorola-ocean.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm636-asus-x00td.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm636-sony-xperia-ganges-mermaid.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm636-xiaomi-tulip.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-clover.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-jasmine.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-lavender.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-platina.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm670-google-sargo.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r1.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r2.dtb
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
no-map;

qcom,client-id = <1>;
qcom,vmid = <15>;
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
};

/delete-node/ mba@91500000;
Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/qcom/msm8996.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interconnect/qcom,msm8996.h>
#include <dt-bindings/interconnect/qcom,msm8996-cbf.h>
#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/soc/qcom,apr.h>
Expand Down Expand Up @@ -538,7 +539,7 @@
no-map;

qcom,client-id = <1>;
qcom,vmid = <15>;
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
};

mpss_mem: mpss@88800000 {
Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/qcom/msm8998.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <dt-bindings/clock/qcom,gpucc-msm8998.h>
#include <dt-bindings/clock/qcom,mmcc-msm8998.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/gpio/gpio.h>

Expand Down Expand Up @@ -56,7 +57,7 @@
no-map;

qcom,client-id = <1>;
qcom,vmid = <15>;
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
};

spss_mem: memory@8ab00000 {
Expand Down
35 changes: 35 additions & 0 deletions arch/arm64/boot/dts/qcom/pm660.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,41 @@
interrupt-controller;
#interrupt-cells = <2>;
};

pm660_charger: charger@1000 {
compatible = "qcom,pm660-charger";
reg = <0x1000>;

interrupts = <0x0 0x13 0x4 IRQ_TYPE_EDGE_BOTH>,
<0x0 0x12 0x2 IRQ_TYPE_EDGE_BOTH>,
<0x0 0x16 0x1 IRQ_TYPE_EDGE_RISING>,
<0x0 0x13 0x6 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "usb-plugin", "bat-ov", "wdog-bark", "usbin-icl-change";

io-channels = <&pm660_rradc 3>,
<&pm660_rradc 4>;
io-channel-names = "usbin_i", "usbin_v";

status = "disabled";
};

pm660_fg: fuel-gauge@4000 {
compatible = "qcom,pmi8998-fg";
reg = <0x4000 0x1000>;

interrupts = <0x0 0x40 0x3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "soc-delta";

status = "disabled";
};

pm660_rradc: rradc@4500 {
compatible = "qcom,pm660-rradc";
reg = <0x4500>;
#io-channel-cells = <1>;

status = "disabled";
};
};

pmic@1 {
Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/qcom/sc7180.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,videocc-sc7180.h>
#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,osm-l3.h>
#include <dt-bindings/interconnect/qcom,sc7180.h>
Expand Down Expand Up @@ -687,7 +688,7 @@
no-map;

qcom,client-id = <1>;
qcom,vmid = <15>;
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
};
};

Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/qcom/sc7280.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,videocc-sc7280.h>
#include <dt-bindings/dma/qcom-gpi.h>
#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,osm-l3.h>
#include <dt-bindings/interconnect/qcom,sc7280.h>
Expand Down Expand Up @@ -156,7 +157,7 @@
no-map;

qcom,client-id = <1>;
qcom,vmid = <15>;
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
};
};

Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/dts-v1/;

#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/gpio-keys.h>
#include <dt-bindings/input/input.h>
Expand Down Expand Up @@ -130,7 +131,7 @@
no-map;

qcom,client-id = <1>;
qcom,vmid = <15>;
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
};

wlan_mem: wlan-region@8bc00000 {
Expand Down
3 changes: 2 additions & 1 deletion arch/arm64/boot/dts/qcom/sc8180x-primus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/dts-v1/;

#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/gpio-keys.h>
#include <dt-bindings/input/input.h>
Expand Down Expand Up @@ -135,7 +136,7 @@
no-map;

qcom,client-id = <1>;
qcom,vmid = <15>;
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
};

wlan_mem: wlan-region@8bc00000 {
Expand Down
Loading