zephyr/drivers/sensor/nxp/qdec_mcux
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felix Wang e51dc855d4 drivers: sensor: nxp: qdec_mcux: migrate to mux subsystem
Drop the direct MCUX_XBARA HAL coupling in the QDEC driver in
favour of the new generic mux subsystem: the driver now selects
CONFIG_MUX, defines mux states from a "mux-states" devicetree
property and applies them at init time via mux_state_apply(),
which makes it agnostic to the underlying mux hardware.

Update the nxp,mcux-qdec binding to include mux-consumer.yaml,
augment the i.MX RT10xx XBAR nodes with CCM clock phandles plus
the new #mux-control-cells / #mux-state-cells declarations, and
migrate the MIMXRT1050-EVK QDEC overlay to the mux-states syntax.

Add the matching XBAR clock support to the i.MX CCM clock driver
(IMX_CCM_XBAR1_CLK / IMX_CCM_XBAR2_CLK gate/ungate, guarded by
CONFIG_MUX_NXP_XBAR) so the XBAR controllers referenced by those
nodes can be clocked.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-08-03 15:00:55 -04:00
..
CMakeLists.txt
Kconfig drivers: sensor: nxp: qdec_mcux: migrate to mux subsystem 2026-08-03 15:00:55 -04:00
qdec_mcux.c drivers: sensor: nxp: qdec_mcux: migrate to mux subsystem 2026-08-03 15:00:55 -04:00