Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Move the fixed SYS_CLOCK_HW_CYCLES_PER_SEC values of the SoC and board
Kconfig files into the timebase-frequency property of the cpus node,
which the kernel uses as default for SYS_CLOCK_HW_CYCLES_PER_SEC.
The value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is unchanged for every
board target, checked by comparing the generated .config of all board
targets before and after the change.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Add driver for the TI TPS6287x family of Step-Down Converters
Assisted-by: Claude:claude-sonnet-5 coccinelle
Signed-off-by: Stefan Schmidt <kontakt@stefanschmidt-embedded.de>
Enable the IEEE 802.15.4 radio on the BL70x (BL702) series: add the
ieee802154 devicetree node, compile the RF/platform shim, link the
lmac154/RF blobs, and place the timing-critical lmac154 .tcm_code in ITCM
(otherwise those input sections become orphans at an unloaded address).
Provide CONFIG_BT_HCI_DRIVER_LOG_LEVEL for 802.15.4-only builds so the
shared BLE/802.15.4 platform shim compiles without Bluetooth enabled.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Enable the IEEE 802.15.4 radio on the BL70xL (BL702L) series: add the
ieee802154 devicetree node, compile the RF/platform shim, place the
timing-critical lmac154 code in ITCM, and link the lmac154/RF blobs.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Enable the IEEE 802.15.4 radio on the BL61x (BL616) series: add the
ieee802154 devicetree node, RF/PHY init via the shared wl_api blobs, the
TCM code section, and link the lmac154 blob. The GLB reset / memcpy shims
required by the BL616 blobs live with the other HAL shims.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Add an IEEE 802.15.4 radio driver for Bouffalo Lab SoCs built on the
vendor lmac154 MAC layer. Supports the Zephyr radio API (TX/RX, CCA,
address filtering, energy scan, ACK handling) for use with the OpenThread
L2, covering the BL61x, BL70x and BL70xL series.
Signed-off-by: William Markezana <william.markezana@gmail.com>
stm32_clock.h is used only for STM32MP1 (MP15x) SoCs. Rename it
accordingly for consistency among the several stm32*_clock.h
DT bindings header files.
Update stm32_clock_control.h header file and stm32mp157.dtsi SoC file
to include the renamed header file.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
These parts are documented by the MCX A16xx, MCXA17xx and MCXA27xx
reference manual (MCXAP144M180FS6RM) under their earlier names: its
SYSCON base 4009_1000h with MRCC inside it and DAC0 base 400B_4000h
match this devicetree and the MCXA346 device header, down to DAC0_IRQn
67.
Deep Power Down power gates the whole CORE domain, and the
suspend-to-RAM resume path re-runs SystemInit() and
board_early_init_hook() but not driver init, so a peripheral in that
domain comes back with its registers at their reset values and no
driver is told: RM Rev. 1 Table 99 (p.790) has Deep Power Down as
"Core, peripherals, and SRAM not retained". Add a core-domain node so
the affected drivers get PM_DEVICE_ACTION_TURN_OFF and TURN_ON around
the state, and put the DAC node in it. While &deeppowerdown is
disabled, PM_STATE_FROM_DT skips it, the domain's state list is empty
and the domain does nothing.
Section 24.5 (p.973) has 12bit DAC0 Analog as On/Off in Deep Sleep and
Off in Power Down: the analog block stays powered only if the SPC
low-power configuration asks for it, and Zephyr enables the analog
modules for active mode only. Per section 48.3.5 (p.2072) the DAC
converts in a low-power mode only in FIFO, Swing Back or Periodic
Trigger mode driven by a hardware trigger, and this driver runs the DAC
in buffer mode. List all three states as disabling.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Deep Power Down power gates the whole CORE domain, and the
suspend-to-RAM resume path re-runs SystemInit() and
board_early_init_hook() but not driver init, so a peripheral in that
domain comes back with its registers at their reset values and no
driver is told: RM Rev. 1 Draft F Table 370 (p.1223) has Deep Power
Down as "Core, peripherals, and SRAM not retained". Add a core-domain
node so the affected drivers get PM_DEVICE_ACTION_TURN_OFF and TURN_ON
around the state, and put the DAC nodes in it. While &deeppowerdown is
disabled, PM_STATE_FROM_DT skips it, the domain's state list is empty
and the domain does nothing.
Section 30.6 (p.1375) has 12bit DAC0~1 Analog as On/Off in Deep Sleep
and Off in Power Down: the analog block stays powered only if the SPC
low-power configuration asks for it, and Zephyr enables the analog
modules for active mode only. Per section 57.3.5 the DAC converts in a
low-power mode only in FIFO, Swing Back or Periodic Trigger mode driven
by a hardware trigger, and this driver runs the DAC in buffer mode.
List all three states as disabling.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Deep Power Down power gates the whole CORE domain, and the
suspend-to-RAM resume path re-runs SystemInit() and
board_early_init_hook() but not driver init, so a peripheral in that
domain comes back with its registers at their reset values and no
driver is told: RM Rev. 7 Table 90 (p.684) has Deep Power Down as
"Core, peripherals, and SRAM not retained". Add a core-domain node so
the affected drivers get PM_DEVICE_ACTION_TURN_OFF and TURN_ON around
the state, and put the DAC node in it. While &deeppowerdown is
disabled, PM_STATE_FROM_DT skips it, the domain's state list is empty
and the domain does nothing.
Section 23.5 (p.829) has DAC0 as Optional in Sleep and Deep Sleep and
Static in Power Down: the analog block stays powered only if the SPC
low-power configuration asks for it, and Zephyr enables the analog
modules for active mode only. Per section 44.3.5 (p.1804) the DAC
converts in a low-power mode only in FIFO, Swing Back or Periodic
Trigger mode driven by a hardware trigger, and this driver runs the DAC
in buffer mode. List all three states as disabling.
Default CONFIG_POWER_DOMAIN on with device PM, since a devicetree that
references a domain whose device object was never built does not link.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Deep Power Down power gates the whole CORE domain, and the
suspend-to-RAM resume path re-runs SystemInit() and
board_early_init_hook() but not driver init, so a peripheral in that
domain comes back with its registers at their reset values and no
driver is told. Add a core-domain node so the affected drivers get
PM_DEVICE_ACTION_TURN_OFF and TURN_ON around the state, and put the
DAC nodes in it. While &deeppowerdown is disabled, PM_STATE_FROM_DT
skips it, the domain's state list is empty and the domain does nothing.
RM Rev. 6_RC2 Table 336 (p.1323) has DAC0/1 Analog as On/Off in Deep
Sleep and in Power Down: the analog block stays powered only if the SPC
low-power configuration asks for it, and Zephyr enables the analog
modules for active mode only. Per section 42.3.5 (p.1558) the DAC
converts in a low-power mode only in FIFO, Swing Back or Periodic
Trigger mode driven by a hardware trigger, and this driver runs the DAC
in buffer mode. List all three states as disabling.
Default CONFIG_POWER_DOMAIN on with device PM, since a devicetree that
references a domain whose device object was never built does not link.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Add a performance-states node describing the Cortex-A55 P-states used by
the CPU frequency scaling subsystem. The states are listed in decreasing
performance order as the subsystem requires, each with a load threshold
and an ARM_PLL output frequency.
The i.MX91 Cortex-A55 runs up to 1.4 GHz, so only the 1400 MHz and 900 MHz
rates of the shared i.MX9 ARM_PLL table are used.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Chenhui Zhao <chenhui.zhao@nxp.com>
Add a performance-states node describing the Cortex-A55 P-states used by
the CPU frequency scaling subsystem. The states are listed in decreasing
performance order as the subsystem requires, each with a load threshold
and an ARM_PLL output frequency.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Chenhui Zhao <chenhui.zhao@nxp.com>
Add the nxp,imx9-pstate binding for the performance states of the i.MX9
Cortex-A cores. The binding is shared by the family (i.MX91, i.MX93,
i.MX95, i.MX943 and derivatives): it extends the generic zephyr,pstate
binding with a required clock-frequency property naming the core clock
frequency to apply.
The set of accepted frequencies is left to the SoC P-state driver rather
than fixed by the binding, because each SoC implements its own rate table
and rejects an unlisted value at build time.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Chenhui Zhao <chenhui.zhao@nxp.com>
Describe the i.MX9 ARM PLL, which clocks the Cortex-A cores, and the
operating points it may be programmed to. Each child node carries the
dividers and the frequency they produce, so the set of usable core
frequencies is data rather than a table in the clock driver.
The divider set is common to every instance of this fractional-N PLL, so
rdiv, mfi, mfn, mfd and odiv go in a shared include that the other
instances can reuse. RDIV and ODIV are documented as the raw register
fields, where 0 and 1 select divide by 1 and divide by 2 respectively,
and MFD is documented as never zero because the reference manual does not
allow writing 0 to it.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Chenhui Zhao <chenhui.zhao@nxp.com>
Add a new display driver and devicetree binding for the Philips PCD8544
LCD controller used on the Nokia 5110 display. The driver continues on
the MIPI DBI SPI framework which the original author chose to use.
Tested on a custom board wired to a Nokia 5110 module, using a sample
application for a custom board. Tests also added under
tests/drivers/build_all/display.
Signed-off-by: Eyitope Adelowo <adeyitope.io@gmail.com>
Signed-off-by: Quentin Lacombe <quentlace2g@gmail.com>
Assisted-by: Claude:claude-sonnet-5
Add vendor prefix for Koninklijke Philips N.V., used by the PCD8544
display controller binding.
Signed-off-by: Eyitope Adelowo <adeyitope.io@gmail.com>
The RA8x2 devices carry a three channel Pulse Density Modulation
Interface at 0x40256000, clocked by PDMIFCLK, which the clock generator
takes from the MOCO. Describe a node per channel and give the pin
control header the interface's peripheral selector.
Assisted-by: Claude:opus-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Drive the RA Pulse Density Modulation Interface as a DMIC device through
the FSP r_pdm module, one node per PDM-IF channel. The microphone clock
divider and the sinc filter's decimation and output range are worked out
from the requested rate, and the filter coefficients are left at the
values the hardware manual gives as the registers' reset state.
The interface delivers twenty- or sixteen-bit samples in thirty-two-bit
words, so the driver sign extends and packs them into the width the
stream asked for while the interface fills the other half of its buffer.
Assisted-by: Claude:opus-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add the SoC-side glue for the BL602 wifi4 firmware blob: AON RF
power-on, PHY power tables fed from devicetree, the firmware scheduler
task with the wifi_main bring-up wrap, MAC HW DMA-dead recovery, the
WIFI_RAM linker sections, and the IPC glue the wifi4 driver core hooks
into (shared-environment seeding, the E2A mailbox ISR, firmware quirk
workarounds and the TX path with the txl_cntrl_push redirect the blob
needs to put frames on air).
The bl60x_em_8kb_wifi.dtsi snippet enables the WiFi MAC alongside the
8 KB BLE exchange memory: EM keeps the top 8 KB of RAM and WIFI_RAM
covers the 32 KB below it at the vendor ram_wifi origin (0x42042000),
with all_ram/sram0 scaled down so the linker enforces the boundary.
Signed-off-by: William Markezana <william.markezana@gmail.com>
The SiFive E24 implements the A extension but only supports atomic
operations in its tightly-integrated memories; an AMO issued to OCRAM
bus-faults. Drop "a" from riscv,isa-extensions so RISCV_ISA_EXT_A is
not enabled from devicetree and the toolchain links the AMO-free
multilib (the kernel already uses ATOMIC_OPERATIONS_C on this SoC).
This replaces the RISCV_ISA_EXT_A override previously carried in
soc/bflb/bl60x/Kconfig.defconfig.
Signed-off-by: William Markezana <william.markezana@gmail.com>
The I3C device API embeds the I2C one, but the NPCX, Renesas RA and
IT51xxx target drivers, and the test driver, leave it empty, and the
IT51xxx controller driver implements transfer without the mandatory
configure operation, so the I2C API calls a NULL callback on those
devices. Their bindings still declared the i2c class, through
i3c-controller.yaml or directly.
Declare only i3c in the base binding and in the IT51xxx target
binding, and add i2c to the bindings of the controllers whose drivers
implement the I2C API.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
Add a cpuapp partition layout, selected with WITH_FLPR_PARTITIONS,
that leaves the top 116 KiB of MRAM for the FLPR image. Storage is
increased from 36 KiB to 40 KiB to keep the image slots 4 KiB
aligned.
Also fix the FLPR code partition compatible to
zephyr,mapped-partition
Signed-off-by: Dhanoo Surasarang <dhanoo.surasarang@nordicsemi.no>
Add the TIM12 timer node with its PWM child, disabled by default. On the
STM32MP257F-DK, PB11 is the CAM_EN pin of the CN8 camera connector and
can alternatively be muxed as TIM12_CH2 to provide a master clock to
sensors that need one.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Jerome LAMY <jerome.lamy@savoirfairelinux.com>