summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pinctrl
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl')
-rw-r--r--Documentation/devicetree/bindings/pinctrl/fsl,s32v234-siul2.txt19
-rw-r--r--Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt7
2 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,s32v234-siul2.txt b/Documentation/devicetree/bindings/pinctrl/fsl,s32v234-siul2.txt
new file mode 100644
index 000000000000..676357664a8c
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/fsl,s32v234-siul2.txt
@@ -0,0 +1,19 @@
+* Freescale SIUL2 iomux controller
+
+See chapter 20 ("System Integration Unit Lite2 (SIUL2)") in the reference
+manual[1].
+
+Based on fsl,imx-pincontrol implementation.
+
+Required properties:
+- compatible: "fsl,s32v234-siul2"
+- fsl,pins: two integers array, represents a group of pins mux and config
+ setting. The format is fsl,pins = <PIN_FUNC_ID CONFIG>
+ PIN_FUNC_ID - id of MSCR to be modified
+ CONFIG - configuration to be written in the MSCR/IMCR register
+
+ Even though IMCR register should be used as input register, it can be
+ set and addressed in the same way as MSCR, only instead of passing the
+ IMCR index, IMCR_IDX + 512 is passed[1].
+
+[1] https://www.nxp.com/webapp/Download?colCode=S32V234RM
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
index 9dae60acf950..20f7da0984df 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
@@ -71,6 +71,13 @@ pinctrl-names: The list of names to assign states. List entry 0 defines the
name for integer state ID 0, list entry 1 for state ID 1, and
so on.
+pinctrl-assert-gpios:
+ List of phandles, each pointing at a GPIO which is used by some
+ board design to steer pins between two peripherals on the board.
+ It plays like a board level pin multiplexer to choose different
+ functions for given pins by pulling up/down the GPIOs. See
+ bindings/gpio/gpio.txt for details of how to specify GPIO.
+
For example:
/* For a client device requiring named states */