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)
21 lines
635 B
Plaintext
21 lines
635 B
Plaintext
Fujitsu MB86S7x GPIO Controller
|
|
-------------------------------
|
|
|
|
Required properties:
|
|
- compatible: Should be "fujitsu,mb86s70-gpio"
|
|
- reg: Base address and length of register space
|
|
- clocks: Specify the clock
|
|
- gpio-controller: Marks the device node as a gpio controller.
|
|
- #gpio-cells: Should be <2>. The first cell is the pin number and the
|
|
second cell is used to specify optional parameters:
|
|
- bit 0 specifies polarity (0 for normal, 1 for inverted).
|
|
|
|
Examples:
|
|
gpio0: gpio@31000000 {
|
|
compatible = "fujitsu,mb86s70-gpio";
|
|
reg = <0 0x31000000 0x10000>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
clocks = <&clk 0 2 1>;
|
|
};
|