Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e64b8d2 authored by Hanumant Singh's avatar Hanumant Singh
Browse files

dt: pinctrl: msm: Add example of pintype gpio controller



Add example of TLMM pintype supporting a gpio controller.

Change-Id: I2cdffb1f2a7efcbcd1651ae8b054a6ce845cca73
Signed-off-by: default avatarHanumant Singh <hanumant@codeaurora.org>
parent 568a7d3d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -27,6 +27,8 @@ semantics.
   Optional: A pintype may support gpio operations. In that case, a pintype
   node can have an additional child node representing a gpio controller.
   - #gpio-controller: Can be used as a gpio controller
   - #gpio-cells: Should be two. The first cell is the pin number and the
			second cell is used to specify optional parameters

- Pin groups as child nodes: The pin mux (selecting pin function
  mode) and pin config (pull up/down, driver strength, direction) settings are
@@ -95,6 +97,11 @@ semantics.
			qcom,pin-type-gp;
			qcom,num-pins = <117>;
			#qcom,pin-cells = <1>;
			/* Supports Gpio controller */
			msm_gpio: msm_gpio {
				#gpio-controller;
				#gpio-cells = <2>;
			};
		};
		/* Sdc pin type */
		sdc: sdc {