summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/driver/Kconfig b/src/driver/Kconfig
index 4c97d70..9fdc1b2 100644
--- a/src/driver/Kconfig
+++ b/src/driver/Kconfig
@@ -79,3 +79,28 @@ bool "Software I2C"
select meta_driver_i2c
endmenu
+
+choice driver_softi2c_pullup
+
+bool "SoftI2C Pull-Up Configuration"
+depends on driver_softi2c
+
+config driver_softi2c_pullup_none
+bool "No Pull-Up Handling"
+
+config driver_softi2c_pullup_dynamic_internal
+bool "Internal Dynamic Pull-Up"
+help
+ Internal Pull-Up, disabled when transmitting LOW
+
+config driver_softi2c_pullup_dynamic_external
+bool "GPIO Dynamic Pull-Up"
+help
+ Pull-Up resistors connected to GPIO, disabled when transmitting LOW
+
+config driver_softi2c_pullup_external
+bool "GPIO Static Pull-Up"
+help
+ Pull-Up resistors connected to GPIO, always on
+
+endchoice