Skip to content

Commit de18fdf

Browse files
danieldegrassecarlescufi
authored andcommitted
boards: remove pinmux configuration for kinetis boards using adc12
Remove pinmux configuration for kinetis boards using adc12, as pinctrl is supported by driver Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent a9587de commit de18fdf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

boards/arm/twr_ke18f/pinmux.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ static int twr_ke18f_pinmux_init(const struct device *dev)
3939
__ASSERT_NO_MSG(device_is_ready(porte));
4040
#endif
4141

42-
#if DT_NODE_HAS_STATUS(DT_NODELABEL(adc0), okay) && CONFIG_ADC
43-
/* Thermistor A, B */
44-
pinmux_pin_set(porta, 0, PORT_PCR_MUX(kPORT_PinDisabledOrAnalog));
45-
pinmux_pin_set(porta, 1, PORT_PCR_MUX(kPORT_PinDisabledOrAnalog));
46-
#endif
47-
4842
#if (DT_NODE_HAS_STATUS(DT_NODELABEL(adc0), okay) && CONFIG_ADC) || \
4943
(DT_NODE_HAS_STATUS(DT_NODELABEL(cmp2), okay) && CONFIG_MCUX_ACMP)
5044
/* Potentiometer */

0 commit comments

Comments
 (0)