Maxime Ripard | d3e19cf | 2018-09-18 10:35:24 +0300 | [diff] [blame] | 1 | # |
| 2 | # W1 subsystem configuration |
| 3 | # |
| 4 | |
| 5 | menu "1-Wire support" |
| 6 | |
| 7 | config W1 |
| 8 | bool "Enable 1-wire controllers support" |
| 9 | default no |
| 10 | depends on DM |
| 11 | help |
| 12 | Support for the Dallas 1-Wire bus. |
| 13 | |
| 14 | if W1 |
| 15 | |
Maxime Ripard | 73aea28 | 2018-09-18 10:35:25 +0300 | [diff] [blame] | 16 | config W1_GPIO |
| 17 | bool "Enable 1-wire GPIO bitbanging" |
| 18 | default no |
| 19 | depends on DM_GPIO |
| 20 | help |
| 21 | Emulate a 1-wire bus using a GPIO. |
| 22 | |
Martin Fuzzey | a2e99a7 | 2018-10-24 10:21:18 +0200 | [diff] [blame] | 23 | config W1_MXC |
| 24 | bool "Enable 1-wire controller on i.MX processors" |
| 25 | default no |
| 26 | depends on ARCH_MX25 || ARCH_MX31 || ARCH_MX5 |
| 27 | help |
| 28 | Support the one wire controller found in some members of the NXP |
| 29 | i.MX SoC family. |
| 30 | There are currently two silicon variants: |
| 31 | V1: i.MX21, i.MX27, i.MX31, i.MX51 |
| 32 | V2: i.MX25, i.MX35, i.MX50, i.MX53 |
| 33 | Newer i.MX SoCs such as the i.MX6 do not have one wire controllers. |
| 34 | |
| 35 | The driver supports both silicon variants. |
| 36 | |
Maxime Ripard | d3e19cf | 2018-09-18 10:35:24 +0300 | [diff] [blame] | 37 | endif |
| 38 | |
| 39 | endmenu |