Some configurations of the DesignWare IP support concurrent XIP
(memory mapping) as part of the IP. The driver currently supports
concurrent XIP using a software workaround and this HW feature is not
yet supported by the driver. However, if concurrent XIP is supported as
well as write XIP not being supported, this will introduce a new
register called XIPSER which this commit adds support for.
Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
Some configurations of the designware IP support write access but not
all. Therefore, this is a configurable devicetree option to enable or
disable support for the mem-map (memory mapped) write registers. Otherwise,
devices that don't support this will come into a bus fault.
signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
Update devicetree binding examples to allocate all Bosch M_CAN RX FIFO
elements to RX FIFO0.
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
Uses generic nomenclature for TDK ntcg series NTC thermistors, which use a
naming scheme that indicates their resistance (R25) and beta (B25/85)
values. Compensation tables are identical for parts with the same
resistance and beta values.
Signed-off-by: Dan Mangum <georgedanielmangum@gmail.com>
The M5Stack PaperColor is an ESP32-S3R8 based development board with a
4-inch Spectra 6 e-paper display.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-4.7
Implement the M5PM1 watchdog as a Zephyr watchdog controller child
of the MFD device.
The driver supports a single reset-only timeout channel with one-second
granularity (1 to 255 s).
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-4.7
Expose the M5PM1 switchable power rails as fixed-voltage regulator devices
child of the MFD device. The driver supports enabling and disabling the 3.3
V DCDC, 3.3 V LDO, and 5 V boost outputs via the PMIC power config
register.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-4.7
Expose the M5PM1 GPIO bank as a Zephyr GPIO controller child of the MFD
device. The driver supports five pins with input/output configuration,
pull-up/pull-down, and open-drain outputs; pin interrupts are not
supported.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-4.7
Expose the M5PM1 on-chip ADC as a Zephyr ADC controller child of the MFD
device.
The driver supports rail monitoring channels (VREF, VBAT, VIN, 5VOUT),
GPIO1/GPIO2 inputs via the ADC mux, and an internal temperature channel
at 12-bit resolution.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-4.7
The M5PM1 is a small companion microcontroller used on M5Stack boards to
provide power management (battery charging, switchable rails), a small
bank of GPIOs, and an on-chip ADC.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-4.7
Adds devicetree bindings for the Infineon HPPASS Analog Subsystem MFD
parent. Also adds bindings for the HPPASS Autonomous Controller state
table entries. Adds dt-bindings header file for HPPASS trigger sources
and AC condition/action codes.
infineon,hppass-analog MFD parent covers subsystem base address,
HPPASS interrupt, startup initialization timing, and trigger I/O
routing.
infineon,hppass-ac-state defines bindings for one STT (state-transition
table) row. Two options are provided, a basic default STT that handles
HPPASS initialization, and an advanced mode that allows a user to supply
a custom STT tailored for the application.
Adds hppass_analog0 to device tree for both psc3.dtsi and psc3_s.dtsi.
Assisted-by: Github Copilot:claude-opus-4.7
Signed-off-by: John Batch <john.batch@infineon.com>
Add the driver itself and Kconfig/CMakeLists/dts/bindings related to it.
Other files and libraries needed are in Silabs' dedicated folder
hal_silabs (modules/hal/silabs).
Co-Authored-by: David Boullie <David.Boullie@silabs.com>
Co-Authored-by: Sree Sreerajatha <sree.sreerajatha@silabs.com>
Signed-off-by: David Boullie <David.Boullie@silabs.com>
is_sg_enabled, sg_velocity_check_interval_ms and
sg_threshold_velocity should not be dts properties as they
are not actuallly hardware configurations.
dropping the check for is_sg_enabled in init routines, since
the configuration happens at runtime now.
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
replace BUILD_ASSERT for fifo-watermark with min/max in bindings
replace all enums with min/max with their corresponding ranges
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
use min/max for fifo-watermark in bosch,bmi08x-gyro.yaml
and bosch,bmi08x-accel.yaml
drop BUILD_ASSERT in bmi08x_gyro.c
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
use min/max for proximity-pulse-count, proximity-high-threshold
proximity-low-threshold, proximity-led-drive-strength,
proximity-interrupt-filter and wait-time-factor
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
Add nordic-tz-secure and nordic-tz-nonsecure nodes describing the
TrustZone-M partition layout. They reference the existing partition
leaves by phandle; the leaves are unchanged.
Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
Add nordic-tz-secure and nordic-tz-nonsecure nodes describing the
NS-build flash footprint. They reference the existing partition
leaves by phandle; the leaves are unchanged.
Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
Add nordic-tz-secure and nordic-tz-nonsecure nodes describing the
NS-build flash footprint. They reference the existing partition
leaves by phandle; the leaves are unchanged.
Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
Add nordic-tz-secure and nordic-tz-nonsecure nodes describing the
NS-build flash footprint. They reference the existing partition
leaves by phandle; the leaves are unchanged.
Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
Add nordic-tz-secure and nordic-tz-nonsecure nodes describing the
NS-build flash footprint. They reference the existing partition
leaves by phandle; the leaves are unchanged.
Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
Add nordic-tz-secure and nordic-tz-nonsecure nodes describing the
NS-build flash footprint. They reference the existing partition
leaves by phandle; the leaves are unchanged.
Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
Add nordic,tz-secure and nordic,tz-nonsecure. Each describes a
security state's flash footprint via code-partitions and
data-partitions phandle lists pointing at zephyr,mapped-partition
leaves.
Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
The qspi flash controller uses the Serial Memory Interface (SMIF) to
interact with an external memory. This is done through dedicated
data pins which reside in the SMIF HW block. These were not exposed
up until now in the Infineon devices because the extended boot takes
care of initializing the pins properly when booting from external flash.
However this might not always be the case so expose the pin info and
configuration. Additionally, correct the flash controller address to
match the SMIF CORE base address corresponding to the SMIF instance
in use.
Assisted-by: Claude:claude-opus-4.7
Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
Document SF32LB52x slew-rate pinctrl support. The public property
uses 0 for slow slew rate and 1 for fast slew rate, with slow as the
default.
Also document that PA39-PA42 do not support slew-rate because bit 8
is MODE on those pads.
Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>