Adds a display driver for the Himax HX8353E 132RGB×162 TFT LCD
controller, driven via MIPI DBI Type B (Intel 8080 parallel bus).
Features:
- Standard MIPI DCS init sequence (SLPOUT, MADCTL, COLMOD, DISPON)
- GRAM cleared to black before display-on to prevent pixel flash
- 20 ms post-DISPON backlight delay: one full frame scan (~16 ms) for
GRAM to paint plus ~4 ms LC layer settling, before enabling backlight
- Four display orientations via MADCTL
- Window caching to skip redundant CASET/PASET on consecutive writes
- RGB565X pixel format: 8-bit bus sends high byte first;
PIXEL_FORMAT_RGB_565X signals byte order to callers
- Optional GPIO backlight on/off
- Optional PWM brightness control via set_brightness()
Signed-off-by: Andrew Yong <me@ndoo.sg>
Add initial support for the Espressif ESP32-S3-BOX-3 development kit.
This commit introduces board definitions for both PRO CPU and APP CPU
variants, including DTS, pinctrl, Kconfig, defconfig, and
documentation.
Signed-off-by: Sidhartha Raghaw <sidhartha.raghaw@notionext.com>
Add the DFSDM peripheral to STM32L5xx series. The DFSDM presents 4
filters for all L5 variants and is basically the same device-tree as
STM32L4 series.
Signed-off-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com>
Utilize the RAM allocation for nrf7120 tf-m application. Move RAM
macros ram00_sram, ram01_sram, ram02_sram and ram03_sram under
cpuapp_sram for application to use the whole RAM space. Secure RAM
will use 128 Kb while NS ram use 888 Kb out from 1016 Kb from the
total memory size.
Note that ram02_sram and ram03_sram is under AMBIX03 bus and it will
take one more cycle for Appcore to access it from AMBIX00 -> AMBIX03.
Heap allocation of zephyr application normally allocate heap from the
end of address and grow downward. Application that requires lower
latency should prevent usage of RAM02, RAM03, they need
to define overlay file themselves.
Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
Include ethernet-controller.yaml so local-mac-address on wlan0 nodes is
available to DT_PROP() and DT_PROP_OR(). Without this, overlays set the
property in zephyr.dts but generated headers omit it and applications
fall back to a zero MAC when nRF70 OTP is not programmed.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Cursor:Auto
In Multi-LED mode, nothing prevents sending an incorrect slot to the chip.
One could unintentionally send a "reserved" slot code, which could result
in unexpected behavior. Values must be between 0 (time slot disabled)
and 3 (Green LED channel). For the MAX30102, the max value should be 2.
This fix limits the sensor binding using min/max properties and simplifies
the translate map generation by testing if the time slot is not disabled.
Signed-off-by: Alban Chauvel <a.chauvel@catie.fr>
When including the `st,stm32-dma.yaml` binding, filter out properties
that are only relevant for dma-v1 / dma-v2. Also update all DTSI files
that contained properties which no longer exist in `st,stm32u5-dma`.
Note that since the `st,stm32-dma` compatible is never used, it would be
wiser to simply move all these properties to the relevant bindings and
delete the base `st,stm32-dma` binding instead (no need for a common
file - once you get rid of the device-specific properties, there isn't
much left to share). However, this is a larger effort and needs careful
consideration so it is left as a future task.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
This change adds the 96MHz PLL frequency configuration required
when the usb interface is enabled. It also introduces a kconfig
option to enable sof calibration for improving usb clock accuracy.
Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
Add a native_sim file-backed I2S controller for RX, TX,
and loopback tests.
The driver reads and writes PCM data through host-libc
file I/O and supports configurable stream direction.
It exposes standard I2S trigger handling, provides
command-line overrides for the RX and TX file paths,
is documented in the native_sim board guide, and adds
I2S to the supported peripherals in native_sim.yaml.
Assisted-by: GitHub Copilot:GPT-5.4
Signed-off-by: Tomas Barak <tomas.barak@nxp.com>
- Implement ADS1118 ADC driver
- Add support for temperature sensor mode
- Add ADS1118 ADC configuration in Kconfig
Signed-off-by: Jean Yuan <jyuan@testo.net.cn>
Use the `clocks` phandle to obtain the UART peripheral clock instead
of `clock-frequency` property. Update the binding and BCM2711 DTS
accordingly and rename the driver configuration field from
`clocks` to `pclk`.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Due to top-level SAI nodes lacking the `ranges` property, the sub-blocks
were mapped in a separate address space despite really being MMIO. As a
result, the `DT_REG_ADDR()` value was not correct and the driver had to
compensate by performing arithmetic to obtain the right address.
Update the SAI binding to enable use of `ranges` property at top-level:
notably, `#size-cells = <1>` is needed (instead of `#size-cells = <0>`)
because `ranges` property have no effect if the length is not specified.
Also update DTSI files to follow the new pattern, and drop the manual
math from the driver: `DT_REG_ADDR()` now returns the proper address for
SAI sub-block nodes.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
The sub-blocks are the devices which are I2S controllers and implement
the I2S API; it's them that should derive from `i2s-controller.yaml` and
have `bus: i2s`, not the top-level node which is mostly an empty shell.
Update the "st,stm32-sai" binding to include only `base.yaml` for itself
and `i2s-controller.yaml` for the child-binding (= subblocks). Note that
property "compatible" must be blocked because it is marked as required
in `base.yaml` which is included by `i2s-controller.yaml`, but nodes
must not have this property if they want to inherit the child-binding.
Also update the STM32 DTSI files accordingly: since the subblocks are
now I2S controllers, they must now have `#address-cells = <1>` and
`#size-cells = <0>`.
While at it, also clean up the binding by include other base files
instead of redefining the type for various standard/common properties.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Add support for pinctrl to R-Car X5H SoC. Like for other Renesas SoCs,
a node approach is implemented (no grouping approach).
Pin configuration operations can optionally be performed through SCMI
(System Control and Management Interface).
Signed-off-by: Julien Panis <jpanis@baylibre.com>
Change #address-cells and #size-cells properties from required to
optional in i2s-controller.yaml. These properties are not needed when
the I2S controller node has no children.
This allows I2S nodes without children to omit these properties,
reducing unnecessary devicetree complexity.
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Add a separate sai3_2 node with compatible "nxp,mcux-i2s" for the SAI3
hardware block, alongside the existing sai3 dai node with compatible
"nxp,dai-sai".
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Add initial board support for the Armfly STM32H743XIH6 board.
This includes board metadata, devicetree, and documentation.
Add runner configuration for flashing and debugging.
Signed-off-by: Zhaoming Li <lizhaoming634@gmail.com>
Add a board variant for running the FVP_Base_RevC-2xAEMvA simulator
in AArch32 execution state, using the SOC_V8A_AARCH32 SoC variant
introduced earlier. The FVP is configured with cluster0.has_aarch64=0
to disable AArch64 capability at all exception levels, forcing the
cores to execute exclusively in the AArch32 state.
Also, add dts/arm/armv8-a.dtsi as a base dtsi for Armv8-A AArch32
platforms.
Signed-off-by: Silesh C V <silesh@alifsemi.com>
Add support for the Cortex-A32 processor. The Cortex-A32 processor
is built on the ARMv8-A architecture and supports only the AArch32
execution state.
Signed-off-by: Silesh C V <silesh@alifsemi.com>
Add hardware CRC32 peripheral node to the Ambiq Apollo510 device
tree include file. The node is disabled by default and placed in
the crypto power domain.
Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
Add devicetree binding for the Ambiq hardware CRC32 module.
The binding describes a hardware-based CRC32 calculation peripheral
and requires a reg property.
Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
Wires interrupt routing for the ElemRV-N board: configures the
PLIC with 7 interrupt sources (riscv,ndev = <7>), routes GPIO0 to
PLIC IRQ 1 (priority 1) and UART0 to PLIC IRQ 5 (priority 1) in
the platform DTSI.
Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
Adds a sifive,plic-1.0.0 PLIC node to the Nitrogen platform DTSI,
mapped at 0xf0800000 (64 MiB region), connected to
HLIC M-mode (IRQ 11) and S-mode (IRQ 9) external interrupt lines,
with up to 7 priority levels.
Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
Move RMII data plane pin selection to the pinctrl-0 property using
the RMII_* macros from the SoC pinctrl header. The pads use dedicated
EMAC IOMUX, so the driver reads the (slot, GPIO) pairs and routes them
directly instead of through pinctrl_apply_state(). Update the esp32
ethernet kit board to use the new rmii_default group.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
The NXP SCTimer's outInitState field defines the output levels applied at
initialization, before any PWM channel is configured. Needed for active
low loads to not flicker at startup
Signed-off-by: Johan Eklund <Johan@meck.se>
Nordic's nPM10 Series PMIC LED driver and Devicetree bindings.
LED driver outputs on nPM10 devices are multiplexed with GPIOs.
Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
On MCXW7x the clock controller does not auto-enable peripheral gates;
each driver enables its clock in init via device_is_ready() and
clock_control_on(), as already done by lpuart, lpi2c and gpio. Bring the
NXP CRC driver in line with that model: enable the CRC clock through the
clock-control framework when the node provides a "clocks" property
(guarded by COND_CODE_1, so MCXN/LPC parts without one are unchanged),
and add the clocks property to the MCXW70/MCXW71/MCXW72 CRC nodes.
The MCUX HAL CRC_Init() also ungates the clock, so the peripheral was
already functional; this expresses the clock dependency in devicetree
and lets the clock-control framework track it.
Tested with tests/subsys/crc on frdm_mcxw70 and frdm_mcxw71:
pass = 14, fail = 0.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
The CRC node for MCXW70AC was declared at offset 0x23000 (absolute
0x50023000), reusing the MCXW71/MCXW72 memory map. On MCXW70AC that
address belongs to the PKC peripheral; the CRC instance is actually at
0x50018000 (CRC_0). The node therefore pointed into the wrong
peripheral.
Because the base matches no entry in the HAL's CRC instance table,
CRC_GetInstance() returns an out-of-range index. With assertions enabled
this trips assert(instance < ARRAY_SIZE(s_crcBases)) and panics; with
assertions disabled it indexes past the instance tables and operates on
the wrong register region, which is the bus fault reported during
CRC_Init() once CRC hardware was enabled on the MCXW7x platforms.
Point the node at the correct CRC_0 base (0x50018000).
Validated on MCXW70AC hardware (FRDM-KW43) with tests/subsys/crc: the
suite panics at the first CRC operation before the fix and runs CRC
operations normally after it.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
The DMIC backend streams PCM samples from a host file via host-libc I/O
helpers, supports a command-line override for the input file path, is
documented in the native_sim board guide, and adds dmic to the supported
peripherals in native_sim.yaml.
Assisted-by: GitHub Copilot:GPT-5.4
Signed-off-by: Tomas Barak <tomas.barak@nxp.com>
Update common AIA coordinator shared by IMSIC and direct mode to
initialize based on which APLIC mode is configured in DT.
Signed-off-by: Omar Naffaa <onaffaa@qti.qualcomm.com>
Add devicetree support for AMD ACP 7.X audio DSP:
- dts/xtensa/amd/acp_7_x.dtsi: SoC-level dtsi defining the host
DMA controller, 4-instance SoundWire DMA controller, SoundWire
DAI nodes, and interrupt controller node with ACP 7.X specific
register base addresses and channel counts
- boards/amd/acp_7_x_adsp/acp_7_x_adsp.dts: board-level DTS that
includes the SoC dtsi and selects the active DMA and DAI nodes
for the acp_7_x_adsp board target
Signed-off-by: Sneha Voona <sneha.voona@amd.com>
Sanitize wakeup-line, de-assert-time and de-deassert-time DT properties
values for st,stm32-uart* compatible devices using min/max DT properties
instead of providing an informative only range description in the
related DT bindings YAML file.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Use min/max properties to define the valid ranges for applicable
DT properties st,timeout and st,deadtime for st,stl32-lptim and
st,stm32-timers compatible devices. This change ensures out-of-bounds
values are better reported with build error trace message compared
to previous informative only description in the YAML file.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Sanitize ifrgap, transwin, hbitclkdiv DT properties values for
st,stm32-ucpd compatible devices using min/max DT properties instead
of providing an informative only range description in the related
DT bindings YAML file.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>