mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 19:31:53 +00:00
6a8a0c1d87
SYSCON driver was designed for using memory areas (registers) that are used in several subsystems. There are systems (CPUs) which use bits in one register for various purposes and thus should be handled by various kernel subsystems. This driver allows you to use the individual SYSCON bits as GPIOs. ARM CLPS711X SYSFLG1 input lines has been added as first user of this driver. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
18 lines
511 B
Plaintext
18 lines
511 B
Plaintext
* ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs
|
|
|
|
Required properties:
|
|
- compatible: Should contain "cirrus,clps711x-mctrl-gpio".
|
|
- gpio-controller: Marks the device node as a gpio controller.
|
|
- #gpio-cells: Should be two. The first cell is the pin number and
|
|
the second cell is used to specify the gpio polarity:
|
|
0 = Active high,
|
|
1 = Active low.
|
|
|
|
Example:
|
|
sysgpio: sysgpio {
|
|
compatible = "cirrus,ep7312-mctrl-gpio",
|
|
"cirrus,clps711x-mctrl-gpio";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|