aboutsummaryrefslogtreecommitdiff
path: root/drivers/w1/Kconfig
diff options
context:
space:
mode:
authorMartin Fuzzey2018-10-24 10:21:18 +0200
committerStefano Babic2019-01-01 14:12:18 +0100
commita2e99a71b258d67f421ed84a83c866cb45578679 (patch)
tree21e459ac7d850c4de3b4716448f7528c261b558e /drivers/w1/Kconfig
parentda4918acb8585ba45b2dbadb2114e10d7557966f (diff)
w1: Add driver for i.MX bus master controller
Two variants of controllers are supported: V1 (bitwise only) found in i.MX21, i.MX27, i.MX31, i.MX51 V2 (byte operations) found in i.MX25, i.MX35, i.MX50, i.MX53 Only tested on i.MX53 hardware but in both modes (by modifying the device tree). Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
Diffstat (limited to 'drivers/w1/Kconfig')
-rw-r--r--drivers/w1/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig
index d6e045739d0..031bab25aea 100644
--- a/drivers/w1/Kconfig
+++ b/drivers/w1/Kconfig
@@ -20,6 +20,20 @@ config W1_GPIO
help
Emulate a 1-wire bus using a GPIO.
+config W1_MXC
+ bool "Enable 1-wire controller on i.MX processors"
+ default no
+ depends on ARCH_MX25 || ARCH_MX31 || ARCH_MX5
+ help
+ Support the one wire controller found in some members of the NXP
+ i.MX SoC family.
+ There are currently two silicon variants:
+ V1: i.MX21, i.MX27, i.MX31, i.MX51
+ V2: i.MX25, i.MX35, i.MX50, i.MX53
+ Newer i.MX SoCs such as the i.MX6 do not have one wire controllers.
+
+ The driver supports both silicon variants.
+
endif
endmenu