Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
25 lines
894 B
Plaintext
25 lines
894 B
Plaintext
* System Controller Registers R/W driver
|
|
|
|
System controller node represents a register region containing a set
|
|
of miscellaneous registers. The registers are not cohesive enough to
|
|
represent as any specific type of device. The typical use-case is for
|
|
some other node's driver, or platform-specific code, to acquire a
|
|
reference to the syscon node (e.g. by phandle, node path, or search
|
|
using a specific compatible value), interrogate the node (or associated
|
|
OS driver) to determine the location of the registers, and access the
|
|
registers directly.
|
|
|
|
Required properties:
|
|
- compatible: Should contain "syscon".
|
|
- reg: the register region can be accessed from syscon
|
|
|
|
Optional property:
|
|
- reg-io-width: the size (in bytes) of the IO accesses that should be
|
|
performed on the device.
|
|
|
|
Examples:
|
|
gpr: iomuxc-gpr@020e0000 {
|
|
compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
|
|
reg = <0x020e0000 0x38>;
|
|
};
|