-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kernel: Xiaomi kernel changes for Redmi POCO X3 Pro Android R
The Patch based on QualComm release TAG:LA.UM.9.1.r1-07000-SMxxx0.0-1 The kernel config file used is vayu_user_defconfig Change-Id: Id4ea3f2df79fb7224acbb82bf25afc5b3b9d0c38 Signed-off-by: bsp-open <bsp-open@xiaomi.com>
- Loading branch information
bsp-open
committed
Apr 8, 2021
1 parent
25decd3
commit 0c9888a
Showing
686 changed files
with
191,603 additions
and
11,338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>; | ||
}; | ||
}; |
8 changes: 8 additions & 0 deletions
8
Documentation/devicetree/bindings/trusty/trusty-fiq-debugger.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Trusty fiq debugger interface | ||
|
||
Provides a single fiq for the fiq debugger. | ||
|
||
Required properties: | ||
- compatible: compatible = "android,trusty-fiq-v1-*"; where * is a serial port. | ||
|
||
Must be a child of the node that provides fiq support ("android,trusty-fiq-v1"). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Trusty fiq interface | ||
|
||
Trusty provides fiq emulation. | ||
|
||
Required properties: | ||
- compatible: "android,trusty-fiq-v1" | ||
|
||
Must be a child of the node that provides the trusty std/fast call interface. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Trusty virq simulation interface | ||
|
||
Trusty is running in secure mode on the same (arm) cpu(s) as the current os. | ||
|
||
Required properties: | ||
- compatible: "nbl,hee-irqs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
Trusty irq interface | ||
|
||
Trusty requires non-secure irqs to be forwarded to the secure OS. | ||
|
||
Required properties: | ||
- compatible: "android,trusty-irq-v1" | ||
|
||
Optional properties: | ||
|
||
- interrupt-templates: is an optional property that works together | ||
with "interrupt-ranges" to specify secure side to kernel IRQs mapping. | ||
|
||
It is a list of entries, each one of which defines a group of interrupts | ||
having common properties, and has the following format: | ||
< phandle irq_id_pos [templ_data]> | ||
phandle - phandle of interrupt controller this template is for | ||
irq_id_pos - the position of irq id in interrupt specifier array | ||
for interrupt controller referenced by phandle. | ||
templ_data - is an array of u32 values (could be empty) in the same | ||
format as interrupt specifier for interrupt controller | ||
referenced by phandle but with omitted irq id field. | ||
|
||
- interrupt-ranges: list of entries that specifies secure side to kernel | ||
IRQs mapping. | ||
|
||
Each entry in the "interrupt-ranges" list has the following format: | ||
<beg end templ_idx> | ||
beg - first entry in this range | ||
end - last entry in this range | ||
templ_idx - index of entry in "interrupt-templates" property | ||
that must be used as a template for all interrupts | ||
in this range | ||
|
||
Example: | ||
{ | ||
gic: interrupt-controller@50041000 { | ||
compatible = "arm,gic-400"; | ||
#interrupt-cells = <3>; | ||
interrupt-controller; | ||
... | ||
}; | ||
... | ||
IPI: interrupt-controller { | ||
compatible = "android,CustomIPI"; | ||
#interrupt-cells = <1>; | ||
interrupt-controller; | ||
}; | ||
... | ||
trusty { | ||
compatible = "android,trusty-smc-v1"; | ||
ranges; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
|
||
irq { | ||
compatible = "android,trusty-irq-v1"; | ||
interrupt-templates = <&IPI 0>, | ||
<&gic 1 GIC_PPI 0>, | ||
<&gic 1 GIC_SPI 0>; | ||
interrupt-ranges = < 0 15 0>, | ||
<16 31 1>, | ||
<32 223 2>; | ||
}; | ||
} | ||
} | ||
|
||
Must be a child of the node that provides the trusty std/fast call interface. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Trusty log interface | ||
|
||
Trusty log is service to print logs from secure world.. | ||
|
||
Required properties: | ||
- compatible: "android,trusty-log-v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Trusty smc interface | ||
|
||
Trusty is running in secure mode on the same (arm) cpu(s) as the current os. | ||
|
||
Required properties: | ||
- compatible: "android,trusty-smc-v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Trusty virtio interface | ||
|
||
Trusty virtio is communication channel between secure and non-secure world.. | ||
|
||
Required properties: | ||
- compatible: "android,trusty-virtio-v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.