File tree Expand file tree Collapse file tree 8 files changed +886
-0
lines changed
include/zephyr/drivers/psi5 Expand file tree Collapse file tree 8 files changed +886
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ add_subdirectory_ifdef(CONFIG_PINCTRL pinctrl)
7474add_subdirectory_ifdef(CONFIG_PM_CPU_OPS pm_cpu_ops)
7575add_subdirectory_ifdef(CONFIG_POWER_DOMAIN power_domain)
7676add_subdirectory_ifdef(CONFIG_PS2 ps2)
77+ add_subdirectory_ifdef(CONFIG_PSI5 psi5)
7778add_subdirectory_ifdef(CONFIG_PTP_CLOCK ptp_clock)
7879add_subdirectory_ifdef(CONFIG_PWM pwm)
7980add_subdirectory_ifdef(CONFIG_REGULATOR regulator)
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ source "drivers/pinctrl/Kconfig"
7171source "drivers/pm_cpu_ops/Kconfig"
7272source "drivers/power_domain/Kconfig"
7373source "drivers/ps2/Kconfig"
74+ source "drivers/psi5/Kconfig"
7475source "drivers/ptp_clock/Kconfig"
7576source "drivers/pwm/Kconfig"
7677source "drivers/regulator/Kconfig"
Original file line number Diff line number Diff line change 1+ # Copyright 2024 NXP
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ zephyr_syscall_header(${ZEPHYR_BASE} /include /zephyr/drivers/psi5/psi5.h)
5+
6+ zephyr_library()
7+
8+ zephyr_library_sources_ifdef(CONFIG_PSI5_NXP_S32 psi5_nxp_s32.c)
Original file line number Diff line number Diff line change 1+ # Copyright 2024 NXP
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ menuconfig PSI5
5+ bool "Peripheral Sensor Interface (PSI5) driver"
6+ help
7+ Enable PSI5 Driver Configuration
8+
9+ if PSI5
10+
11+ module = PSI5
12+ module-str = psi5
13+ source "subsys/logging/Kconfig.template.log_config"
14+
15+ config PSI5_INIT_PRIORITY
16+ int "PSI5 driver init priority"
17+ default KERNEL_INIT_PRIORITY_DEVICE
18+ help
19+ PSI5 driver device initialization priority.
20+
21+ source "drivers/psi5/Kconfig.nxp_s32"
22+
23+ endif # PSI5
Original file line number Diff line number Diff line change 1+ # Copyright 2024 NXP
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ config PSI5_NXP_S32
5+ bool "NXP S32 PSI5 driver"
6+ default y
7+ depends on DT_HAS_NXP_S32_PSI5_ENABLED
8+ help
9+ Enable support for NXP S32 PSI5 driver.
You can’t perform that action at this time.
0 commit comments