Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: pci: fix irq handling in pci-msm-msi.c #1

Open
wants to merge 216 commits into
base: lineage-17.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
2ea184c
techpack: audio: import Xiaomi changes
Demon000 Jun 18, 2019
4f5c010
Set correct techpack header install directory
Rashed97 Jul 2, 2019
88d7b0c
techpack: audio: remove Android.mk files
Demon000 Jul 28, 2019
277bbae
greybus: remove Android.mk file
Demon000 Jul 28, 2019
423b263
net: ipv4: disable modules which are enabled by default
Demon000 Jun 9, 2019
2a54305
net: disable bridge netfilter module
Demon000 Jul 27, 2019
c7d7f67
media: rc: disable geni ir module
Demon000 Jul 27, 2019
0f45fa1
media: gspca: disable gspca module
Demon000 Jul 27, 2019
6c318dd
video: backlight: disable modules enabled by default
Demon000 Jul 27, 2019
94d3ef8
cpuidle: Do not select menu and ladder governors
mkshahc Jan 4, 2017
492f2e1
techpack: audio: Remove build timestamp injection
kdrag0n Jul 31, 2019
558a82b
mfd: import Xiaomi speaker id driver
Demon000 Jul 27, 2019
d11545d
drm: msm: extend qcom drm notifier
Demon000 Dec 2, 2019
c675682
input: touchscreen: import FingerTipS 521 driver
Demon000 Jun 9, 2019
0845c7f
fts_521: remove backlight notifier callback
Demon000 Jul 8, 2019
c5f3db7
fts_521: use qcom drm notifier
Demon000 Dec 2, 2019
563633f
fts_521: run fod store mode handler inside event queue
Demon000 Feb 15, 2020
d7677b1
fts_521: rip out Xiaomi touchscreen wrapper code
Demon000 Dec 19, 2019
2952da3
fts_521: remove usages of lpm_disable_for_input
Demon000 Dec 19, 2019
849b84b
input: include fingerprint directory
Demon000 Dec 2, 2019
2ba220f
input: fingerprint: import Goodix fingerprint driver
Demon000 Dec 2, 2019
fdfbc9f
goodix_ta: use qcom drm notifier
Demon000 Dec 2, 2019
0cb0415
thermal: core: custom thermal limits handling
Demon000 Dec 2, 2019
fada43f
thermal: core: use qcom drm notifier
Demon000 Dec 2, 2019
4cb7712
media: rc: import Xiaomi changes over IR driver
Demon000 Jun 12, 2019
b2a7845
leds: qti-tri-led: import Xiaomi changes
Demon000 Dec 2, 2019
d0407b8
power: qcom: import Xiaomi changes
Demon000 Dec 2, 2019
f75ade4
msm: camera: import Xiaomi changes
Demon000 Dec 9, 2019
654a946
msm: camera: isp: Use boot clock for recording start time
moetayuko Mar 6, 2018
b2640d1
power: msm: set custom restart reasons
Demon000 Jun 9, 2019
f2929e8
input: event-codes: define AI_KEY for the AI button
Demon000 Jun 9, 2019
504637e
input: event-codes: define BTN_INFO for touchscreen drivers
Demon000 Jun 12, 2019
dc553bc
sensors: ssc: try loading another slpi firmware
Demon000 Jun 9, 2019
74e44d7
scsi: ufs: add WAIT_AFTER_REF_CLK_UNGATE quirk to Sandisk devices
Demon000 Jun 9, 2019
fc25ab9
scsi: ufs: adjust WAIT_AFTER_REF_CLK_UNGATE sleep times
Demon000 Jun 9, 2019
4398c72
scsi: ufs: increase power control timeout
Demon000 Jun 9, 2019
2024cba
scsi: ufs: increase query timeout
Demon000 Dec 1, 2019
f574b43
nfc: nq-nci: disable hardware checks
Demon000 Jun 9, 2019
05ac983
nfc: nq-nci: mark IRQ as TRIGGER_RISING
Demon000 Jun 9, 2019
41fd3cd
nfc: nq-nci: check availability of pin voting clk
Demon000 Jun 12, 2019
a002222
pinctrl: msm: prevent access to GPIOs used by trustzone
Demon000 Jun 9, 2019
5ef67db
of: batterydata: use generic node if no node is found
Demon000 Jun 9, 2019
d41ac16
haptics: qti: remove flag for calibration after each 8 periods
Demon000 Jun 9, 2019
017681e
usb: gadget: do not override non-NULL serial number
Demon000 Jun 9, 2019
43cc59a
spi: gen-qcom: increase transfer timeout
Demon000 Jun 9, 2019
4d77e22
sound: soc: pcm: support host-less 24bit formats
Demon000 Dec 1, 2019
1a6ab30
gpio: keys: add support for level trigger keys
Demon000 Dec 2, 2019
5b28ad0
gpio: keys: do not simulate wakeup key press for AI key
Demon000 Dec 2, 2019
d98f0fd
sde: rotator: make debugging configurable
Demon000 Dec 2, 2019
b36bf85
iio: adc5: update channels configuration
Demon000 Dec 2, 2019
7187a0d
msm: kgsl: silence debugfs WARN
Demon000 Dec 2, 2019
0b8d445
drm: msm: handle ss dcs type
Demon000 Jul 7, 2019
557b397
drm: msm: modify lp11 mode logic
Demon000 Jul 7, 2019
50dcfe5
drm: msm: implement aod mode
Demon000 Jul 8, 2019
6d630a0
drm: msm: add fod hbm node
Demon000 Jul 10, 2019
91d11fd
drm: msm: use display fod hbm mode
Demon000 Feb 17, 2020
8c04d6a
drm: msm: remove dimming handling
Demon000 Feb 17, 2020
7018fea
drm: msm: disable doze on screen off
Demon000 Jan 6, 2020
6622918
drm: msm: allow brightness updates during fod hbm
Demon000 Feb 20, 2020
8fe7fe8
socinfo: add support for cepheus
Demon000 Jul 28, 2019
ed30482
ARM64: add Xiaomi board selection
bgcngm Sep 8, 2018
e355cf2
Revert "ARM: dts: msm: Add odm partition for sm8150"
Demon000 Oct 5, 2019
927fc44
Revert "ARM64: dts: sm8150: update firmware config"
Demon000 Oct 11, 2019
3225d16
ARM64: dts: import Xiaomi changes
Demon000 Jun 12, 2019
5c82838
ARM64: dts: move fod hbm commands to their proper place
Demon000 Feb 18, 2020
717135e
ARM64: dts: disable dc dimming during fod hbm commands
Demon000 Feb 18, 2020
fdc64e6
ARM64: dts: enable panel-allow-phy-poweroff
celtare21 Dec 23, 2019
d6d0373
ARM64: dts: disable click count dumping
Demon000 Dec 19, 2019
c6bbf97
ARM64: dts: cleanup
Demon000 Dec 28, 2019
37b21d4
ARM64: dts: disable lcdb regulator control
Demon000 Feb 25, 2020
a7898db
ARM64: dts: further cleanup
Demon000 Feb 25, 2020
43bf923
ARM64: dts: disable pcie
Demon000 Feb 25, 2020
1f9c9c8
ARM64: dts: disable second gpu thermal zone
Demon000 Feb 25, 2020
43b72d6
ARM64: dts: add back drivers controlling gpio states
Demon000 Feb 26, 2020
f3c63b7
ARM64: configs: add cepheus defconfig
Demon000 Jun 12, 2019
173f356
ARM64: configs: enable power efficient workqueues
Demon000 Jul 10, 2019
ea53f4c
ARM64: configs: enable jump label optimization
Demon000 Jul 10, 2019
74db3ed
ARM64: configs: enable suspend skip sync
Demon000 Jul 10, 2019
86ec269
ARM64: configs: Disable SEEMP
kerneltoast May 17, 2019
de03c49
ARM64: configs: Disable module signature
luca020400 Jul 12, 2019
bc2bbd4
ARM64: configs: enable qcacld-3.0
Demon000 Jul 21, 2019
4b81f30
ARM64: configs: Disable redundant Spectre variant 2 mitigations
kdrag0n Aug 1, 2019
6391320
ARM64: configs: update cepheus defconfig
Demon000 Oct 30, 2019
49f1cba
ARM64: configs: disable slave charger support
Demon000 Dec 19, 2019
1743df7
ARM64: configs: enable proper charging pump driver
Demon000 Dec 19, 2019
0c104dc
ARM64: configs: disable qrtr fifo
Demon000 Dec 19, 2019
b7b1bc3
ARM64: configs: disable ipa3 regdump
Demon000 Dec 19, 2019
fe6a266
ARM64: configs: remove unused us proximity config
Demon000 Dec 19, 2019
5964da6
ARM64: configs: disable rmnet ctl driver
Demon000 Dec 19, 2019
4963fbe
ARM64: configs: disable secure touch
Demon000 Feb 15, 2020
7620340
ARM64: configs: disable support for qualcomm fingerprint sensor
Demon000 Jan 5, 2020
18f58f6
ARM64: configs: disable unused cpu governors
Demon000 Dec 19, 2019
62cbc38
ARM64: configs: disable some debug options
Demon000 Jan 5, 2020
d47cf77
ARM64: configs: enable BBR and set as default
Demon000 Feb 19, 2020
d3f2f07
qcacld-3.0: default_config: tone down debugging
arter97 Feb 23, 2019
b18a440
qcacld-3.0: Nuke as much debug bloat as possible
kerneltoast May 5, 2019
26f25fb
qcacld-3.0: disable bunch of more debug configs
arter97 Jul 6, 2019
26904c5
qcacld-3.0: check if auth_tag_len exceeds sizeof(hash)
arter97 Jul 6, 2019
b1dad60
qcacld-3.0: nuke rx_wakelock code entirely
arter97 Mar 7, 2019
b5dfebb
qcacld-3.0: discard wlan_boot sysfs code on !CONFIG_MODULES
arter97 Jan 21, 2019
0794cd0
qcacld-3.0: defer hdd initialization and rely on userspace writing to…
arter97 Jan 21, 2019
626dd25
Revert "qcacld-3.0: Enable SAE and GCMP by default"
kerneltoast Jan 20, 2020
73ae26a
Add toggle for disabling newly added USB devices
thestinger May 16, 2017
3a82b68
scsi: ufs: Remove 10 ms CPU idle latency unvote timeout
kerneltoast May 7, 2019
a485c31
scsi: ufs: Only apply pm_qos to the CPU servicing UFS interrupts
kerneltoast May 28, 2019
230cae0
qos: Don't disable interrupts while holding pm_qos_lock
kerneltoast May 17, 2019
daafde2
qos: Execute notifier callbacks atomically
kerneltoast May 17, 2019
66f1b75
kernel: Don't allow IRQ affinity masks to have more than one CPU
kerneltoast May 26, 2019
020448e
ARM: dts: sm8150: Set GPU idle timeout to 64 ms
kdrag0n Aug 28, 2019
b3e3756
msm: kgsl: adreno: Properly set GPU timeout
celtare21 Jan 10, 2019
fefc044
msm: kgsl: Wake GPU upon receiving an ioctl rather than upon touch input
kerneltoast Jul 20, 2019
f2bcac2
msm: kgsl: do not wake up GPU on ioctl
Demon000 Aug 15, 2019
7872434
drivers: msm: Don't copy fence names by default
YaroST12 Jun 10, 2019
fd599dd
msm: kgsl: Don't try to wait for fences that have been signaled
kerneltoast Jun 16, 2019
8f239dd
drm/msm/sde: Wait for ctl_start asynchronously on cmd mode panels
kerneltoast Mar 27, 2019
57dc10e
cpuidle: lpm-levels: Allow exit latencies equal to target latencies
kerneltoast May 2, 2019
1eb05be
msm: kgsl: Relax CPU latency requirements to save power
kerneltoast May 5, 2019
8cb90c6
ARM64: dts: remove pm qos active latency override
Demon000 Aug 15, 2019
9c8e7a9
drm/msm/sde: use first vblank event to trigger early wakeup
May 3, 2019
f67fbbf
drivers: i2c: support per-device async suspend
eliptus-google Jun 11, 2019
b83e555
soc:qcom:icnss Async suspend/resume callbacks.
Jun 14, 2019
a4a01f7
scsi:ufs Async suspend/resume callbacks.
Jun 12, 2019
e7f2ac4
msm:sde:rotator Async suspend/resume callbacks.
Jun 14, 2019
70ea045
drm/msm: move msm_drm_register to async probe
Rickyiu May 24, 2019
9ccacf5
ion/msm: move msm_ion_init to async probe
Rickyiu May 27, 2019
b62abe0
soc/qcom: move icnss_initialize to async probe
Rickyiu May 27, 2019
5bc57a3
msm: kgsl: move kgsl_3d_init to async probe
Rickyiu May 24, 2019
f4ff505
i2c-qcom-geni: move geni_i2c_driver_init to async probe
Rickyiu May 24, 2019
70d1d53
soc: qcom: smp2p: Remove IRQF_NO_SUSPEND
May 16, 2019
e612b4f
rpmsg: glink: Remove IRQF_NO_SUSPEND
Jun 3, 2019
e170224
mailbox: msm_qmp: Remove IRQF_NO_SUSPEND
May 20, 2019
80dc030
drivers: thermal: Ignore spurious BCL interrupts whenever BCL is in p…
Mar 5, 2019
7470e81
cpufreq: record CPUFREQ stat for fast switch path
Aug 19, 2019
428b2ff
soc: qcom: smp2p_sleepstate: Add suspend delay
Jun 3, 2019
c0955aa
rcu: fix a performance regression
YaroST12 Dec 11, 2019
765d98b
blkdev: switch to SSD mode, disable IO stats and entropy gathering
YaroST12 Dec 28, 2019
09f3104
fs: default to noatime
arter97 Jan 18, 2014
190bd5a
msm: camera: Fix memory leak
Demon000 Jan 3, 2020
4d63369
msm: msm_bus: remove tracer
arter97 May 16, 2019
09b91b9
msm-tsens: ifdef IPC logging related code
YaroST12 Jun 21, 2019
460834b
pci-msm: ifdef IPC logging related code
YaroST12 Jun 21, 2019
138282f
msm: sps: ifdef IPC logging related code
YaroST12 Jun 21, 2019
fcc9860
binder: set binder_debug_mask=0 to suppress logging
Aug 12, 2016
0959509
Revert "Perf: arm64: Add Snapshot of perf tracepoints"
celtare21 Dec 23, 2019
9a286f7
qcom: hyp_core_ctl: add a missing header
YaroST12 Dec 5, 2019
95127d1
msm: vidc: Disable msm_vidc_fw_debug_mode
celtare21 Dec 23, 2019
8095dd7
msm_geni_serial: reduce wakelock timeout from ISR to 100ms
arter97 Mar 12, 2019
eb58642
msm_geni_serial: make ioctl always exclusive
arter97 Mar 12, 2019
bd3f83a
msm_geni_serial: skip flushing tx upon shutdown
arter97 Mar 14, 2019
4c07f3d
ext4: Allocate allocation-context on the stack
kerneltoast Jul 13, 2019
ae06f25
mm/slab_common: Align all caches' objects to hardware cachelines
kerneltoast Jun 27, 2019
cc09f5c
scatterlist: Don't allocate sg lists using __get_free_page
kerneltoast Jul 12, 2019
39b5236
kobject_uevent: Allocate environment buffer on the stack
kerneltoast Jul 13, 2019
98b4c9b
dmaengine: Fix memory leak in dma_async_device_register
kerneltoast Jun 30, 2019
3cadb8c
media: v4l2-ioctl: Use a larger on-stack video copy buffer
kerneltoast Jun 24, 2019
17a3433
binfmt_elf: Don't allocate memory dynamically in load_elf_binary
kerneltoast Jul 2, 2019
c5f4f22
msm: kgsl: Don't allocate memory dynamically for temp command buffers
kerneltoast Jun 17, 2019
8359e66
msm: kgsl: Don't allocate memory dynamically for drawobj sync structs
kerneltoast Jun 16, 2019
8447e12
ALSA: control_compat: Don't dynamically allocate single-use structs
kerneltoast Jul 4, 2019
205e7f9
ALSA: control: Don't dynamically allocate a single struct instance
kerneltoast Jun 25, 2019
f643511
ANDROID: sdcardfs: Alloc memory only when needed in __sdcardfs_lookup()
kerneltoast Jan 14, 2020
3078250
techpack: audio: tas2557: correct calibration file path
Demon000 Mar 12, 2020
4cf35c7
techpack: audio: correct pseudoport index
Demon000 Mar 12, 2020
483f359
techpack: audio: wcd9335: check amic2 for mic bias
Demon000 Mar 12, 2020
3724708
power: qcom: fixup Xiaomi changes import
Demon000 Mar 12, 2020
f8a60d5
ARM64: dts: disable phy regulator if datarate is below 1200000000bps
Demon000 Mar 12, 2020
e6b98fd
Makefile.lib: Stop calling size_append
wloot Feb 27, 2020
bfecf0a
sched/walt: Avoid walt irq work in offlined cpu
sixtaku Aug 13, 2019
42f930b
cpufreq: schedutil: Queue sugov irq work on policy online cpu
sixtaku Aug 13, 2019
2ec01f3
scsi: ufs: Ensure clocks are ON while running power change procedure
Oct 29, 2019
ab9917d
ARM64: configs: disable MMC support
Demon000 Mar 15, 2020
df32bb0
ARM64: configs: remove most module drivers
Demon000 Mar 15, 2020
35dfff5
Revert "drm: msm: allow brightness updates during fod hbm"
Demon000 Apr 5, 2020
9d341bc
Revert "drm: msm: disable doze on screen off"
Demon000 Apr 5, 2020
cd87c5c
Revert "drm: msm: remove dimming handling"
Demon000 Apr 5, 2020
4585ad8
Revert "drm: msm: use display fod hbm mode"
Demon000 Apr 5, 2020
bddf212
Revert "drm: msm: add fod hbm node"
Demon000 Apr 5, 2020
a44df20
Revert "drm: msm: implement aod mode"
Demon000 Apr 5, 2020
c78994b
dsi: display: create empty attributes group
Demon000 Apr 5, 2020
08a6d18
dsi: display: implement doze mode
Demon000 Apr 5, 2020
1900857
dsi: display: implement fod hbm mode
Demon000 Apr 5, 2020
d609d58
power: qcom: remove unused variable
Demon000 Apr 6, 2020
cb97931
dsi: display: expose backlight level
Demon000 Apr 7, 2020
0981463
ARM64: dts: define doze lpm and hpm backlight levels
Demon000 Apr 7, 2020
fa70491
fts_521: refactor FOD reporting
Demon000 Apr 19, 2020
839b37c
cpufreq: stats: replace the global lock with atomic
Mar 19, 2019
a0fd023
fts_521: disable touch count dump
Demon000 Apr 21, 2020
9f50f3e
fts_521: fix disabling touch count dumping
Demon000 Apr 21, 2020
0ddd07a
Revert "binfmt_elf: Don't allocate memory dynamically in load_elf_bin…
Demon000 Apr 22, 2020
909104a
binfmt_elf: Don't allocate memory dynamically in load_elf_binary
kerneltoast Jul 31, 2019
0d8469e
locking/atomics, asm-generic/bitops/atomic.h: Rewrite using atomic_*(…
wildea01 Jun 19, 2018
205c68e
qos: Remove remaining instances of disabling IRQs for pm_qos_lock
kerneltoast Apr 22, 2020
50ab184
thermal: cpu_cooling: simplify cpu_limits_set_level
YaroST12 Apr 20, 2020
efcf92a
msm: gsi: Fix GSIDBG formatting error
Oct 24, 2019
5d895cd
msm: cleanup: union gsi_channel_scratch
Aug 30, 2019
fa9f3e0
msm: cleanup: union gsi_wdi_channel_scratch3_reg
Aug 31, 2019
4566613
msm: cleanup: union gsi_evt_scratch
Aug 31, 2019
214d2a3
msm: cleanup: struct gsi_mhi_channel_scratch
Aug 31, 2019
eb518a5
Revert "msm: ipa: QMI update for firwall config"
SENSEIIIII Feb 18, 2020
68d8af3
msm: ipa3: remove duplicate qmi request
Mar 11, 2020
f09cfb2
msm: ipa3: increase rmnet_ipa timeout value
Mar 11, 2020
02e3171
msm: ipa3: Send actual DL flt rule to Q6
Aug 20, 2019
f8a80d7
crypto: msm: fix -Wbool-operation
nickdesaulniers Feb 20, 2020
e4dbc5c
BACKPORT: leds: class: ensure workqueue is initialized before setting…
holio0 Feb 24, 2020
f65b23d
led-class: Fix a led-class de-init bug
holio0 Feb 25, 2020
e367301
ARM64: configs: avoid strack frame too large warnings
Demon000 Apr 23, 2020
0ef369e
arm64: Allow IPI_WAKEUP to be used outside of the ACPI parking protocol
kerneltoast Apr 23, 2020
056a055
cpuidle: Optimize pm_qos notifier callback and IPI semantics
kerneltoast May 1, 2020
4e80ec2
drm/msm: minimize qos remap updates
adriansm Oct 18, 2019
2bd6858
arm64: lib: memory utilities optimization
Apr 21, 2015
1c03f1a
arm64: lib: use C string functions with KASAN enabled
aryabinin Oct 26, 2018
6cf69d0
arm64: Use optimized memcmp
Aug 14, 2017
9716ead
ARM64: dts: pcie: increase required bus BW for PCIe
Sep 19, 2019
a7acd23
rpmsg: glink: Specify source in IRQ name
krossmo Aug 24, 2019
7af2668
cpuidle: lpm_levels: Don't print parent clocks during suspend
May 14, 2019
2f5389a
drivers: pci: fix irq handling in pci-msm-msi.c
May 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion AndroidKernel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ KERNEL_HEADER_ARCH := $(TARGET_KERNEL_HEADER_ARCH)
endif

ifeq ($(shell echo $(KERNEL_DEFCONFIG) | grep vendor),)
KERNEL_DEFCONFIG := vendor/$(KERNEL_DEFCONFIG)
KERNEL_DEFCONFIG := $(KERNEL_DEFCONFIG)
endif

KERNEL_HEADER_DEFCONFIG := $(strip $(KERNEL_HEADER_DEFCONFIG))
Expand Down
32 changes: 0 additions & 32 deletions Documentation/devicetree/bindings/arm/msm/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,38 +53,6 @@ Example:
};
};

odm:
-----------------

odm partition specification.

Required properties:

-compatible: "android, odm"
-dev: block device corresponding to odm partition
-type: file system type of odm partition
-mnt_flags: mount flags
-fsmgr_flags: fsmgr flags

Example:

firmware: firmware {
android {
compatible = "android,firmware";
fstab {
compatible = "android,fstab";
odm {
compatible = "android,odm";
dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/odm";
type = "ext4";
mnt_flags = "ro,barrier=1,discard";
fsmgr_flags = "wait,slotselect";
status = "ok";
};
};
};
};

system:
-----------------

Expand Down
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/i2c/i2c.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ wants to support one of the below features, it should adapt the bindings below.
- wakeup-source
device can be used as a wakeup source.

- async-suspend
device supports async suspend/resume.

- reg
I2C slave addresses

Expand Down
24 changes: 24 additions & 0 deletions Documentation/devicetree/bindings/media/spi-ir.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Device tree bindings for IR LED connected through SPI bus which is used as
remote controller.

The IR LED switch is connected to the MOSI line of the SPI device and the data
are delivered thourgh that.

Required properties:
- compatible: should be "ir-spi"

Optional properties:
- irled,switch: specifies the gpio switch which enables the irled

Example:

irled@0 {
compatible = "ir-spi";
reg = <0x0>;
spi-max-frequency = <5000000>;
irled,switch = <&gpr3 3 0>;

controller-data {
samsung,spi-feedback-delay = <0>;
};
};
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ headers_install: __headers
$(error Headers not exportable for the $(SRCARCH) architecture))
$(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include
$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst)
$(Q)$(MAKE) $(hdr-inst)=techpack
$(Q)$(MAKE) $(hdr-inst)=techpack/audio/include/uapi dst=techpack/audio/include

PHONY += headers_check_all
headers_check_all: headers_install_all
Expand All @@ -1310,7 +1310,7 @@ PHONY += headers_check
headers_check: headers_install
$(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include HDRCHECK=1
$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst) HDRCHECK=1
$(Q)$(MAKE) $(hdr-inst)=techpack HDRCHECK=1
$(Q)$(MAKE) $(hdr-inst)=techpack/audio/include/uapi dst=techpack/audio/include HDRCHECK=1

# ---------------------------------------------------------------------------
# Kernel selftest
Expand Down
27 changes: 27 additions & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1465,3 +1465,30 @@ source "arch/arm64/crypto/Kconfig"
endif

source "lib/Kconfig"

menu "Xiaomi configuration options"

config MACH_XIAOMI
bool "Xiaomi device"
depends on ARCH_QCOM
help
Support for Xiaomi products

config MACH_XIAOMI_SM8150
bool "Xiaomi SM8150"
depends on ARCH_SM8150
select MACH_XIAOMI
help
Support for SM8150-based Xiaomi variants

menu "Xiaomi board selection"

config MACH_XIAOMI_CEPHEUS
bool "polaris board"
select MACH_XIAOMI_SM8150
help
Support for Xiaomi MI 9

endmenu

endmenu
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
ifeq ($(CONFIG_MACH_XIAOMI_SM8150),y)
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_SM8150) += \
cepheus-sm8150-overlay.dtbo

cepheus-sm8150-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb sm8150p.dtb sm8150p-v2.dtb
endif
else
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb
Expand Down Expand Up @@ -311,6 +319,7 @@ dtb-$(CONFIG_ARCH_SDXPRAIRIE) += sdxprairie-rumi.dtb \
sa515m-ccard.dtb \
sa515m-ccard-pcie-ep.dtb \
sa515m-ccard-usb-ep.dtb
endif

ifeq ($(CONFIG_ARM64),y)
always := $(dtb-y)
Expand Down
155 changes: 155 additions & 0 deletions arch/arm64/boot/dts/qcom/batterydata-F1-atl-3300mah.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

qcom,scud {
qcom,profile-revision = <24>;
/* #3675702_Xiaomi_F1sun_3300mAh_averaged_MasterSlave_Oct22nd2018*/
qcom,fastchg-current-ma = <4800>;
qcom,jeita-fcc-ranges = <0 50 300000
51 100 1600000
101 150 3200000
151 450 4800000
451 580 1600000>;
qcom,jeita-fv-ranges = <0 50 4400000
51 100 4400000
101 150 4400000
151 450 4400000
451 580 4100000>;
qcom,step-chg-ranges = <3600000 4200000 3000000
4201000 4300000 3000000
4301000 4340000 2500000>;
qcom,dynamic-fv-ranges = <0 100 4400000
101 200 4380000
201 300 4360000
301 400 4340000
401 500 4340000>;
qcom,max-voltage-uv = <4400000>;
qcom,fg-cc-cv-threshold-mv = <4390>;
qcom,nom-batt-capacity-mah = <3300>;
qcom,batt-id-kohm = <68>;
qcom,battery-beta = <4250>;
qcom,therm-room-temp = <100000>;
qcom,battery-type = "f1_atl";
qcom,therm-coefficients = <0x2318 0xd0c 0xdaf7 0xc556 0x848d>;
qcom,therm-center-offset = <0x70>;
qcom,therm-pull-up = <100>;
qcom,rslow-normal-coeffs = <0x85 0x01 0x71 0x13>;
qcom,rslow-low-coeffs = <0xc6 0x15 0x65 0x02>;
qcom,checksum = <0xBE6A>;
qcom,gui-version = "PM855GUI - 1.0.0.10";
qcom,fg-profile-data = [
A9 1F 09 EA
30 D4 F1 DA
38 D5 00 00
5A BD 85 8A
FA 87 7F A4
75 92 06 81
1B FC 85 01
71 13 39 FC
86 01 CE 1F
32 0A 5D EB
DA ED B1 D4
2D 0A 69 D4
27 BD E8 1A
AB FB 8F BA
60 00 4E FC
47 FD 44 F4
33 33 30 10
35 0B 43 00
40 01 43 00
43 00 60 00
37 00 3C 00
46 00 40 00
39 00 76 00
5C 64 46 00
3F 00 3D 08
60 00 4C 00
49 00 57 10
4D 10 47 00
86 28 5E 48
4F 60 46 0D
4E 00 D8 F8
FE 1F 0C 0D
D4 FA 17 06
89 1C 32 0B
C5 0D 67 2A
18 17 85 42
1E 5D 45 02
6C 10 36 1F
09 04 31 0A
25 FD DD 1C
05 02 A3 05
BE 02 3F 17
1C 22 05 44
91 52 70 12
60 1F DE E5
4D CA E9 A4
E5 1C 7D C9
8C 05 08 BB
1C 17 D9 8B
BF 84 BF 93
83 A0 09 80
D3 03 01 05
21 FC 8D FA
00 F8 59 D5
FF EA F6 07
DD F3 10 CD
92 18 16 F0
2F D7 26 02
57 05 2B 02
CE 01 32 00
15 03 28 03
D9 05 44 07
43 02 94 04
55 03 8F 05
51 03 49 00
3A 00 42 00
43 64 48 00
4C 00 42 08
49 00 4A 00
49 00 3B 10
3A 10 3A 00
4A 20 4C 48
56 58 64 0E
42 00 4D 00
58 08 61 00
50 00 3F 00
3F 10 4F 10
4C 00 5B 20
6D 40 48 58
54 0F 59 00
50 00 31 08
D8 00 9F 20
C9 04 F1 0A
ED 0D D7 1C
19 23 F5 45
17 52 71 18
D6 03 FA 05
F6 02 73 12
3F 0A DC 1F
6D 05 A4 02
1C 06 C0 1C
0E 03 EC 05
44 02 7A 18
81 03 8E 04
5B 02 6A 00
2D 20 03 05
FC 02 C3 05
E3 1C 1C 02
BA 05 80 02
92 18 EF 02
90 05 CD 02
7C 00 3B 01
C0 00 FA 00
BB 0C 00 00
];
};
Loading