zephyr/drivers/pinctrl
Gerard Marull-Paretas 223cc3c6bd drivers: pinctrl: nrf: add support for disconnecting a pin
It was not possible to disconnect a pin using the nRF pinctrl driver.
That is, it was not possible to set PSEL to 0xFFFFFFFF (indicating pin
is not connected). This can be useful in certain scenarios, e.g. a
bootloader configures all signals of a certain peripheral but
application then needs to disconnect certain signals.

A new DT macro has been introduced to accomplish this:
NRF_PSEL_DISCONNECT. It can be used like this to explicitely disconnect
a peripheral signal:

```
&pinctrl {
	uart0_default: uart0_default {
		group1 {
			psels = <NRF_PSEL(UART_TX, 0, 1)>,
				<NRF_PSEL_DISCONNECTED(UART_RX)>;
		};
	};
};
```

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-25 14:38:26 -07:00
..
CMakeLists.txt
Kconfig
Kconfig.b91
Kconfig.cc13xx_cc26xx
Kconfig.esp32
Kconfig.gd32
Kconfig.imx
Kconfig.it8xxx2
Kconfig.kinetis
Kconfig.lpc_iocon
Kconfig.npcx
Kconfig.nrf
Kconfig.rcar
Kconfig.rpi_pico
Kconfig.rv32m1
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.stm32 drivers: pinctrl: stm32: Kconfig: add missing dependency 2022-08-08 14:17:45 +02:00
Kconfig.xec
Kconfig.xlnx
common.c
pfc_rcar.c
pinctrl_b91.c
pinctrl_cc13xx_cc26xx.c
pinctrl_esp32.c
pinctrl_gd32_af.c
pinctrl_gd32_afio.c
pinctrl_imx.c
pinctrl_ite_it8xxx2.c
pinctrl_kinetis.c
pinctrl_lpc_iocon.c
pinctrl_mchp_xec.c mec15xx: pinctrl for both mec15xx and mec17xx 2022-08-01 10:28:23 +02:00
pinctrl_npcx.c
pinctrl_nrf.c drivers: pinctrl: nrf: add support for disconnecting a pin 2022-08-25 14:38:26 -07:00
pinctrl_rpi_pico.c
pinctrl_rv32m1.c
pinctrl_sam.c
pinctrl_sam0.c
pinctrl_sifive.c
pinctrl_stm32.c devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
pinctrl_xlnx_zynq.c devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00