From: ping.bai@nxp.com (Bai Ping)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/2] Doc: dt: binding: imx: update pinctrl doc for imx6sll
Date: Thu, 8 Mar 2018 17:58:02 +0800 [thread overview]
Message-ID: <1520503083-22819-1-git-send-email-ping.bai@nxp.com> (raw)
Add pinctrl binding doc update for imx6sll.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
---
changes v2-v3:
- add generic config binding
change v3->v4:
- add SION bit define
- fix typo
- move the pin header file to dts patch.
---
.../bindings/pinctrl/fsl,imx6sll-pinctrl.txt | 71 ++++++++++++++++++++++
1 file changed, 71 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt
diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt
new file mode 100644
index 0000000..b830a86
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt
@@ -0,0 +1,71 @@
+* Freescale i.MX6 SLL IOMUX Controller
+
+Please refer to the pinctrl-bindings.txt in this directory for generic pinctrl binding.
+
+=== Pin Controller Node ===
+
+Required properties:
+- compatible: "fsl,imx6sll-iomuxc"
+- reg: Should contain the base physical address and size of the iomuxc registers.
+
+
+=== Pin Configuration Node ===
+- pinmux: One integers array, represents a group of pins mux setting.
+ The format is pinmux = <PIN_FUNC_ID>, PIN_FUNC_ID is a pin working on
+ a specific function. which can be found in imx6sll-pinfunc.h under device
+ tree source folder. Please also refer to i.MX6SLL Reference Manual for detailed
+ CONFIG settings.
+
+Optional Properties:
+- drive-strength Integer. Controls Drive Strength
+ 0: HI-Z
+ 1: 260 ohm at 3.3v, 150 ohm at 1.8v
+ 2: 130 ohm at 3.3v, 75 ohm at 1.8v
+ 3: 86 ohm at 3.3v, 50 ohm at 1.8v
+ 4: 65 ohm at 3.3v, 37 ohm at 1.8v
+ 5: 52 ohm at 3.3v, 30 ohm at 1.8v
+ 6: 43 ohm at 3.3v, 25 ohm at 1.8v
+ 7: 37 ohm at 3.3v, 21 ohm at 1.8v
+- drive-open-drain Bool. Enable Pin Open-drian
+- slew-rate: Integer. Controls Slew Rate
+ 0: slow
+ 1: fast
+- fsl,pin-speed: Integer, Controls the pin speed
+ 0: reserverd
+ 1: low(50 MHz)
+ 2: medium(100 MHz)
+ 3: maximum(200 MHz)
+
+- bias-pull-down: Integer. Pull down on pin
+ 0: 100K ohm pull down
+- bias-pull-up: Integer. Pull up on pin
+ 1: 47K ohm pull up
+ 2: 100K ohm pull up
+ 3: 22K ohm pull up
+- input-schmitt-enable: bool, Schmitt trigger input enable
+- input-enable bool, Software input on enbale
+- fsl,low-voltage-enable: Integer. low voltage enable
+ 0: High voltage
+ 1: Low voltage
+Examples:
+#include "imx6sll-pinfunc.h"
+
+/* Pin Controller Node */
+
+iomuxc: iomuxc at 020e0000 {
+ compatible = "fsl,imx6sll-iomuxc";
+ reg = <0x020e0000 0x4000>;
+
+ /* Pin configuration Node */
+ pinctrl_uart1: uart1grp {
+ pinmux = <
+ MX6SLL_PAD_UART1_TXD__UART1_DCE_TX
+ MX6SLL_PAD_UART1_RXD__UART1_DCE_RX
+ >;
+ slew-rate = <0x1>;
+ drive-strength = <0x6>;
+ fsl,pin-speed = <0x2>;
+ bias-pull-up = <0x2>;
+ input-schmitt-enable;
+ };
+};
--
1.9.1
next reply other threads:[~2018-03-08 9:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-08 9:58 Bai Ping [this message]
2018-03-08 9:58 ` [PATCH v4 2/2] driver: pinctrl: imx: Add pinctrl driver support for imx6sll Bai Ping
2018-03-09 3:46 ` [PATCH v4 1/2] Doc: dt: binding: imx: update pinctrl doc " Shawn Guo
2018-03-09 3:51 ` Shawn Guo
2018-03-09 5:07 ` Jacky Bai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1520503083-22819-1-git-send-email-ping.bai@nxp.com \
--to=ping.bai@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).