[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210520202730.4444-2-dariobin@libero.it>
Date: Thu, 20 May 2021 22:27:28 +0200
From: Dario Binacchi <dariobin@...ero.it>
To: linux-kernel@...r.kernel.org
Cc: Dario Binacchi <dariobin@...ero.it>,
Tony Lindgren <tony@...mide.com>,
Drew Fustini <drew@...gleboard.org>,
Linus Walleij <linus.walleij@...aro.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
linux-gpio@...r.kernel.org
Subject: [PATCH v3 1/3] docs/pinctrl: update `pins' description under debugfs
Optionally the `pins' file created inside the `/sys/kernel/debug/pinctrl'
subdirectory of each pin controller device now allows you to set the
mux register of a pin.
Signed-off-by: Dario Binacchi <dariobin@...ero.it>
---
(no changes since v1)
Documentation/driver-api/pin-control.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/driver-api/pin-control.rst b/Documentation/driver-api/pin-control.rst
index e2474425fb0c..3d8192fa45a3 100644
--- a/Documentation/driver-api/pin-control.rst
+++ b/Documentation/driver-api/pin-control.rst
@@ -1447,6 +1447,9 @@ controller device containing these files:
- ``pins``: prints a line for each pin registered on the pin controller. The
pinctrl driver may add additional information such as register contents.
+ Optionally writes the mux register for the selected pin.
+ e.g. to write the value 0x73 in the mux register of pin 19:
+ echo 19 0x73 >/sys/kernel/debug/pinctrl/pins
- ``gpio-ranges``: print ranges that map gpio lines to pins on the controller
--
2.17.1
Powered by blists - more mailing lists