aboutsummaryrefslogtreecommitdiff
path: root/Bindings/gpio/gpio.txt
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2019-05-08 19:00:46 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2019-05-08 19:00:46 +0000
commit0db636cb5e9747c177d4fe9ae36c20987819a1b6 (patch)
treeb45f33ee0918192a1d0373c223d19aa906875c98 /Bindings/gpio/gpio.txt
parent2131505c51f1ac8ac0a6db71efcda1b4bd61084b (diff)
downloadsrc-0db636cb5e9747c177d4fe9ae36c20987819a1b6.tar.gz
src-0db636cb5e9747c177d4fe9ae36c20987819a1b6.zip
Notes
Diffstat (limited to 'Bindings/gpio/gpio.txt')
-rw-r--r--Bindings/gpio/gpio.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Bindings/gpio/gpio.txt b/Bindings/gpio/gpio.txt
index f0ba154b5723..a8895d339bfe 100644
--- a/Bindings/gpio/gpio.txt
+++ b/Bindings/gpio/gpio.txt
@@ -67,6 +67,18 @@ Optional standard bitfield specifiers for the last cell:
https://en.wikipedia.org/wiki/Open_collector
- Bit 3: 0 means the output should be maintained during sleep/low-power mode
1 means the output state can be lost during sleep/low-power mode
+- Bit 4: 0 means no pull-up resistor should be enabled
+ 1 means a pull-up resistor should be enabled
+ This setting only applies to hardware with a simple on/off
+ control for pull-up configuration. If the hardware has more
+ elaborate pull-up configuration, it should be represented
+ using a pin control binding.
+- Bit 5: 0 means no pull-down resistor should be enabled
+ 1 means a pull-down resistor should be enabled
+ This setting only applies to hardware with a simple on/off
+ control for pull-down configuration. If the hardware has more
+ elaborate pull-down configuration, it should be represented
+ using a pin control binding.
1.1) GPIO specifier best practices
----------------------------------