| commit | cf94f6144d31f5de1bdb2d5ef40bb45bde031f29 | [log] [tgz] |
|---|---|---|
| author | Marcus Shawcroft <marcus.shawcroft@arm.com> | Tue Jan 24 10:56:39 2017 +0000 |
| committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | Wed Jan 25 08:47:22 2017 +0000 |
| tree | 04ce6468abcd2d71ec34788c188da4252ab2964d | |
| parent | 8324e938128c20b35856d80f8455aa4d7878ce3f [diff] |
gpio/stm32: Move from the OPEN_DRAIN interface to the DRIVE_STRENGTH interface The STM32 GPIO driver extended the generic GPIO driver interace with the concept of OPEN_DRAIN. There is previous discussion about representing such concepts in the GPIO interface in a more general fashion here: https://lists.zephyrproject.org/archives/list/devel@lists.zephyrproject.org/thread/6DCFUAKCOOOBHUO3ZK45ES6IQXOEOFWN/ The DRIVE STRENGTH interface supports the concepts of OPEN DRAIN and other variants supports by other vendors hardware. Adjust the STM32 GPIO driver to use the DRIVE STRENGTH interface. A following patch will address the simplication of gpio.h Change-Id: I56b0792ec2b21f1adc673dff019288dc8573d005 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>