boards: remove pinmux usage for acmp peripheral

Remove pinmux usage for acmp peripheral on kinetis boards, as mcux_acmp
driver supports pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2022-03-08 14:25:06 -06:00 committed by Carles Cufí
commit f1b3f00114
2 changed files with 1 additions and 6 deletions

View file

@ -39,12 +39,6 @@ static int twr_ke18f_pinmux_init(const struct device *dev)
__ASSERT_NO_MSG(device_is_ready(porte));
#endif
#if (DT_NODE_HAS_STATUS(DT_NODELABEL(adc0), okay) && CONFIG_ADC) || \
(DT_NODE_HAS_STATUS(DT_NODELABEL(cmp2), okay) && CONFIG_MCUX_ACMP)
/* Potentiometer */
pinmux_pin_set(portc, 14, PORT_PCR_MUX(kPORT_PinDisabledOrAnalog));
#endif
#if DT_NODE_HAS_STATUS(DT_NODELABEL(dac0), okay) && CONFIG_DAC
pinmux_pin_set(porte, 9, PORT_PCR_MUX(kPORT_PinDisabledOrAnalog));
#endif

View file

@ -17,4 +17,5 @@
&cmp2 {
status = "okay";
pinctrl-0 = <&cmp2_default>;
pinctrl-names = "default";
};