File: gpio-msm.txt

package info (click to toggle)
u-boot 2016.11%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 104,408 kB
  • ctags: 428,706
  • sloc: ansic: 1,260,674; asm: 33,807; python: 10,106; perl: 8,014; makefile: 7,111; sh: 1,975; cpp: 1,829; yacc: 604; lex: 363; tcl: 28; sed: 24; awk: 6
file content (22 lines) | stat: -rw-r--r-- 688 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Qualcomm Snapdragon GPIO controller

Required properties:
- compatible : "qcom,msm8916-pinctrl" or "qcom,apq8016-pinctrl"
- reg : Physical base address and length of the controller's registers.
	This controller is called "Top Level Mode Multiplexing" in
	Qualcomm documentation.
- #gpio-cells : Should be one (pin number).
- gpio-controller : Marks the device node as a GPIO controller.
- gpio-count: Number of GPIO pins.
- gpio-bank-name: (optional) name of gpio bank. As default "soc" is used.

Example:

soc_gpios: pinctrl@1000000 {
	compatible = "qcom,msm8916-pinctrl";
	reg = <0x1000000 0x300000>;
	gpio-controller;
	gpio-count = <122>;
	gpio-bank-name="soc";
	#gpio-cells = <1>;
};