Add support for the AE822FA0E5597BS0 SoC from the Ensemble
E8 series. The SoC contains two Cortex-M55 CPU clusters:
RTSS-HP (Real Time SubSystem - High performance), RTSS-HE
(Real Time SubSystem - High Efficiency) and a Cortex-A32
CPU cluster: APSS (Application Processor SubSystem). Support
for all three clusters has been added.
Signed-off-by: Silesh C V <silesh@alifsemi.com>
The nxp_ke17z.dtsi, nxp_ke17z512.dtsi, and nxp_ke1xz64.dtsi overlays
each remove the parent nxp_ke1xz.dtsi's flash-controller node with
`/delete-node/ ftfe;` inside the soc {} scope. A `/delete-node/`
directive inside a node body can only reference a child by its node
name (name[@address]); the label form is silently ignored, so the
parent's flash-controller@40020000 was never actually removed.
Replace `/delete-node/ ftfe;` with the full-form
`/delete-node/ flash-controller@40020000;` in all three overlays so
the parent node is actually removed before the replacement is added.
Signed-off-by: Wei Feng <wei.feng_5@nxp.com>
Add AES and SHA-256 crypto drivers for Realtek Bee SoCs. The AES
supports 128-bit and 256-bit keys with ECB, CBC, CFB, OFB, and CTR
modes.
The SHA-256 driver supports one-shot hash operations. Add devicetree
bindings and disabled nodes for RTL8752H and RTL87x2G, so boards can
enable the accelerators explicitly.
Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
Add a native_sim driver to read a Linux host temperature using the
Zephyr sensor API.
Signed-off-by: Bayrem Gharsellaoui <bayrem.gharsellaoui@gmail.com>
Enable CONFIG_SMP with support for up to 4 CPUs, and select
CONFIG_PM_CPU_OPS to bring up secondary cores.
Add per-CPU nodes for cpu1-cpu3 in the bcm2711 devicetree, and
mark all four CPUs with enable-method = "spin-table" and their
respective cpu-release-addr values, matching the boot protocol
implemented by the new PM_CPU_OPS_SPIN_TABLE driver.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Add a new pm_cpu_ops backend implementing the ARM64 spin-table
boot protocol for bringing up secondary CPUs, as an alternative
to PSCI on platforms that don't support it.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
The Solomon Systech SSD1683 is a Gen2 SSD16xx EPD controller (functionally
equivalent to the SSD1619A, 400 sources x 300 gates). It uses the same
command set as the already-supported SSD1680/SSD1681, and loads its refresh
waveforms from OTP, so support is a new devicetree binding plus a quirks
entry with the correct maximum resolution.
Used by e.g. the WeAct Studio 4.2" and GoodDisplay GDEY042T81 400x300
mono panels.
Signed-off-by: Marcus Voß <meav33@gmail.com>
- Adds the "zephyr,memory-region" compatible property
to the SRAMX node on LPC55S6x.
This exposes the RAM block as named memory region
so it can be referenced from linker sections and application code.
- Fixes the inability to relocate code to SRAMX on LPCXpresso55s69.
- Moves the SRAMX memory-region definition
from nxp_lpc55S0x_ns.dtsi to _common.
- It follows the memory-region approach used
by nxp_lpc55S1x/2x/3x_common.dtsi
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
Replace the placeholder sai nodes, which carried a compatible with
no binding or driver, with real nxp,mcux-i2s nodes: MC_CGM clocks,
eDMA channels and requests (SAI0 on DMAMUX0, SAI1 on DMAMUX1), and
the bus clock as bit clock source since this SoC has no audio PLL
or MCLK routing. For the same reason, default I2S_HAS_PLL_SETTING
to n so the driver derives the bit clock from the module clock.
The nodes stay disabled; the existing delete-node entries of the
smaller derivatives are unaffected.
Verified with tests/drivers/i2s/i2s_speed on frdm_mcxe31b.
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Deconfigure: i2s_configure() with frame_clk_freq == 0 is defined by the
API as a request to deconfigure the stream, but the driver rejected it
with -EINVAL. Release the queued buffers and move the stream to
NOT_READY. The state check is now made on the stream being configured
instead of on both directions at once, so one direction can be
configured while the other one is running, and config_get() returns
NULL for an unconfigured stream as the API requires.
Restart: reset the FIFO pointers via the FR bit before enabling DMA
requests, so words left over from a previous run are not replayed.
Bit clock source: the SAI_Get*Config helpers overwrite bclkSource with
the master clock divider, leaving SoCs without an internal divider or
MCLK routing with no bit clock at all. Add an nxp,bclk-source binding
property (TCR2/RCR2 MSEL value) applied after those calls; it defaults
to the master clock divider so existing users are unaffected.
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Add a driver for the Analog Devices MAX30009 bioimpedance analog
front-end. The device is supported over both SPI and I2C.
This base commit provides the core acquisition-path driver:
- Full BioZ acquisition-path configuration from devicetree (clock/PLL,
drive, receive channel, digital filters, thresholds, mux, DC leads and
lead bias), with a dt-bindings header of MAX30009_DT_* constants for
the enumerated properties.
- Runtime attribute access (attr_set / attr_get) for the meaningful BioZ
parameters via a descriptor table, cycling the PLL where the datasheet
requires the acquisition path to be quiesced.
- Power management (suspend / resume) following the datasheet's
bandgap / PLL / channel enable sequence.
Trigger and RTIO streaming support are added in follow-up commits; the
full Kconfig describing those options is included here so the driver's
configuration surface is complete.
Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
The echo-timeout defines the maximum range of the ultrasonic sensor and
was hardcoded to 10ms (~1.5m).
This commit creates a dts property for the timeout,
so users can configure the maximum range per sensor instance.
The default setting of the property is 10ms for compatibility.
Signed-off-by: Nils Harder <harder@metratec.com>
remove st,stm32-ethernet-common.yaml and put the
common properties into st,stm32-ethernet.yaml, as
every other binding for the stm32 ethernet driver
also requires that "st,stm32-ethernet" is also used as
compatible, so the common properties can be put into
that binding.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
The binding files in mmc directory were nothing specifc but
for SDHC host controllers. Let's move them to sdhc directory.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Add a devicetree property to configure the WM8904 input PGA
source channel.
The selected channel is used when configuring the analog input path.
For the 32-pin QFN package, only input channels 1 and 2 are valid
because the IN3L/IN3R pins are not exposed. The driver currently
supports single-ended input mode only
Signed-off-by: Mario Paja <mariopaja@hotmail.com>
We update the PCR hardware nodes for all XEC parts with new
properties of the updated clock control driver.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
We updated the XEC clock control driver to support MEC174x/5x
and move away from hard to maintain CMSIS register structures.
Addition device tree properties were added for tuning the driver's
XTAL configuration sequence. Note: MEC15xx does not have the
clock monitor hardware for checking XTAL health and no way to
fallback if the XTAL fails.
Many MEC15xx/MEC172x legacy Zephyr drivers are using XEC specific
clock control driver PCR sleep and reset APIs. Until all old
drivers are converted to use the same functionality from the MEC SoC
layer we must keep these APIs. We converted them to call the SoC
layer. Once all drivers have been converted we can removed these
custom APIs from the clock control driver.
The domain clock-cells parameter was renamed to clkid matching usage
in the DW I2C driver and many other clock control drivers.
We changed domain to clkid in the only two drivers remaining that
use it, interrupt-controller and crypto.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
We added some new properties to the clock control driver to parameterize
the configuration process for external XTAL. There are delays and
timeouts during when powering up a crystal. The newer chips have
a clock monitor to check the health of the crystal which also requires
many parameters.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
We add a YAML binding for Micrcohip XEC hibernation timer to
define the GIRQ and PCR properties of the hardware. The clock
control driver requires using a hibernation timer during its
intialization. We are updated clock control to use a phandle
to the hibernation timer. This requires the hibernation timer
have YAML bindings for non-standard properities.
Signed-off-by: Scott Worley <scott.worley@microchip.com>
This commit seperates pinctrl blocks for mdio node and ethernet node,
also add clock source for ethernet node.
Signed-off-by: Nhat Ta <nhat-minh.ta.yn@bp.renesas.com>
Correct the reg properties of nodes sai1_a and sai1_b that should define
the full address value since the empty ranges property in their parent
node.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Adds a hwinfo driver for the NXP LPC55xx Power Management
Controller (PMC).
Instantiates the pmc node on the LPC55S0x/S1x/S2x/S3x/S6x SoCs.
The driver implements hwinfo_get_reset_cause(),
hwinfo_clear_reset_cause() and hwinfo_get_supported_reset_cause().
Tested on LPCXpresso55S06/16/28/36/69
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
Use decimal values instead of hexadecimal values in quadspi node
interrupts properties for consistency in the DTSI file where all other
NVIC interrupts IDs are defined using decimal values.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Make interrupts DT properties for DMA nodes more consistent in ST
SoCs DTSI files using diamond delimiters instead of a space char
separated single list. This better reflects to fact the related
drivers rely on NVIC #interrupt-cells property to retrieve the
interrupt references.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add DT definitions for tachometer channels (tach1, tach2, and tach3)
on RTS5912 to support fan speed measurement.
Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
LPTMR0 is routed to the WUU on the MCXN and MCXA parts (it already
carries a wakeup-ctrls entry) but was never declared a wakeup source.
wakeup-source is the intrinsic declaration that a device is a wakeup
source; the counter driver reads it to decide whether an alarm may arm
the WUU, so an LPTMR that wakes the SoC must carry it.
Add wakeup-source to lptmr0 on every MCXN/MCXA SoC that routes it
through the WUU (MCXA153, MCXA156, MCXA344, MCXA5x, MCXAxx6, MCXN23x
and MCXNx4x).
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Add a power domain driver for the BCM283X SoC family, enabling VideoCore
firmware-based power management via the mailbox property channel.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Add the disabled can@2000aa00 controller node for the BL61x SoC, to be
enabled per-board. The node uses the bflb,bl61x-can binding and CLIC
interrupt 46.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Add a classic CAN 2.0 controller driver for the Bouffalo Lab BL61x
(BL616/BL618) SoCs. The ISO11898 peripheral is an NXP SJA1000 compatible
PeliCAN core with 8-bit registers on a 32-bit word stride, so it is
implemented as a thin front-end over the shared CAN_SJA1000 driver.
The controller is clocked from the UART peripheral clock domain (halved
for the SJA1000 internal bit-timing divider) and its TX/RX signals reach
GPIO pads through the UART signal multiplexer, configured via pinctrl.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Add Ethernet driver for the Broadcom GENET MAC controller
found on the BCM2711 SoC, targeting the rpi_4b board.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Add MDIO driver for the Broadcom GENET MDIO controller,
used to access the PHY attached to the BCM2711 GENET MAC.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Add support for the GNSS receiver integrated in the
Ericsson F5521gw (HP HS2340) WWAN module.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
add support for the esp32 in the generic
dwc_mac driver.
esp32 specific code is based
the init of the original esp32 eth driver in zephyr.
The esp32 uses HW version 3.70.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
The XEC SMB-I2C block samples SCL/SDA asynchronously even when its PCR
SLEEP_EN is asserted and auto clock-stretches SCL on a START until the
clocks recover.
Add an opt-in wakeup-source boolean to the binding and arm the block's
START-bit wake (WAKE_STATUS bit 0 / WAKE_ENABLE bit 0 at offsets 0x60
and 0x64) plus the GIRQ22 source bit during PM_DEVICE_ACTION_SUSPEND
when the property is set and a target is attached.
Signed-off-by: Manimaran A <manimaran.a@microchip.com>
Extend generic is31fl319x driver to support is31fl3193 variant.
Similar to 3194 but with slight differences on register and
features.
Reword error message.
Update example in binding of is31fl3194 as well for required
current-limit attribute.
Assisted-by: Claude:claude-sonnet-4.6 Claude-Code
Signed-off-by: Nathan Olff <nathan@kickmaker.net>
Add CAN driver support for Realtek Bee series SoCs,
including RTL87x2G.
This driver supports:
- Classic CAN 2.0A/B
- Standard and Extended identifiers
- Remote and data frames
- Transmission and Reception
Unsupport features:
- CAN FD mode
- Manual recovery
Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>