The IIC controller does not implement the recover_bus API. When a
peripheral holds SDA low, the bus becomes stuck and cannot be
recovered without intervention (such as a reset).
Add bus recovery support via GPIO bitbanging. When enabled via
`CONFIG_I2C_RENESAS_RA_BUS_RECOVERY`, the driver reconfigures
the SCL and SDA pins as GPIOs, clocks out 9 pulses on SCL to force
the peripheral to release SDA, then restores the pins to the hardware
I2C controller via pinctrl.
Add scl-gpios and sda-gpios devicetree properties to identify
the GPIO lines used for recovery.
Signed-off-by: Andres Hernandez <andres.a.h@outlook.com>
The LE910C1TX is an Ultra‑compact LTE Cat 1 module designed for IoT and
M2M applications, featuring integrated IP connectivity and the Telit
xE910 unified form factor.
The binding identifies the UART device, the power GPIO and the reset
GPIO lines.
Signed-off-by: Luca Impagliazzo <Luca.Impagliazzo@telit.com>
Add support for toggling a reset line during GPIO
initialization when a reset controller is available
in the device tree.
Signed-off-by: Muhammad Waleed Badar <muhammadx.waleedbadar@altera.com>
'sitronix,st7789v' panel controller driver is using ST7789V_PIXEL_FORMAT
Kconfig option to set pixel format, which is ignored in the device
initialization which instead uses DT colmod property to set the pixel
format.
Remove the Kconfig option and colmod DT property, and instead use the
standard pixel-format DT property to set the colmod register.
Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
Add device tree binding for ONFI-compatible NAND flash devices connected
to NXP FlexSPI controllers. The binding extends the base FlexSPI device
binding and includes soc-nv-flash.yaml to inherit the write-block-size
and erase-block-size properties. Device geometry (page size, pages per
block, total capacity) is probed at runtime from the ONFI parameter page.
Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
Add SPI peripheral nodes to the MSPM0 family dtsi to
enable spi support for the G and L series.
Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
Signed-off-by: Jackson Farley <j-farley@ti.com>
Add devicetree bindings for the TI MSPM0 SPI module.
Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
Signed-off-by: Jackson Farley <j-farley@ti.com>
Introduce a single "bflb,bt-hci" compatible for all Bouffalo Lab
on-chip BLE controllers, replacing the per-SoC "bflb,bl70x-bt-hci"
and "bflb,bl70xl-bt-hci" strings. Update both bl70x.dtsi and
bl70xl.dtsi to use the unified compatible.
Add the bt-hci node (disabled by default) to bl70xl.dtsi for
boards that enable BLE support.
Promote the retram node (HBN RAM at 0x40010000) to a proper
zephyr,memory-region so BLE vendor blob sections (.hbn_code,
.retention_noinit) can be placed there by the linker.
Signed-off-by: William Markezana <william.markezana@gmail.com>
The GPIO Ports E&G are available on STM32H5x3.
Having them in the device tree by default is nice.
Signed-off-by: Raghuveer Kasaraneni <raghu@kasara.net>
ESP32-C2 and ESP32-C3 implement the zifencei extension (fence.i)
but their device trees declared only "i", "m", "c", "zicsr".
Adding zifencei selects rv32im_zicsr_zifencei/ilp32, the atomic-free
multilib, fixing illegal instruction faults on picolibc paths that
touch stdio locking.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
RTS5912 supports the SWJ interface,
which configures related GPIOs during EC initialization.
Disable the SWJ interface to ensure the GPIOs
remain in the state defined in the device tree.
Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
OTP address was wrong (bad copy/paste from another series). This commit
sets it to the correct value.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Extends ADP5360 Regulator API support to the existing
ADP5360 Buck and Buck Boost Regulator.
Signed-off-by: Jan Carlo Roleda <jancarlo.roleda@analog.com>
Co-authored-by: Francis Roi Manabat <francisroi.manabat@analog.com>
Implements fuel gauge subsystem for ADP5360 MFD driver.
Signed-off-by: Jan Carlo Roleda <jancarlo.roleda@analog.com>
Co-authored-by: Francis Roi Manabat <francisroi.manabat@analog.com>
Adds Charger subsystem support for the ADP5360 MFD device.
Signed-off-by: Jan Carlo Roleda <jancarlo.roleda@analog.com>
Co-authored-by: Francis Roi Manabat <francisroi.manabat@analog.com>
Implements I2C communication used by drivers under this parent device,
interrupt support, supervisory data configuration,
and power management subsystem API.
Signed-off-by: Jan Carlo Roleda <jancarlo.roleda@analog.com>
Co-authored-by: Francis Roi Manabat <francisroi.manabat@analog.com>
Updated PCR and GIRQ properties to use new macros.
Updated symcr and romapi node for mec174x/5x/165xb
Signed-off-by: Manimaran A <manimaran.a@microchip.com>
RM0481 Rev 4 documents the Ethernet PTP timestamp clock as a dedicated
reference clock (`clk_ptp_ref_i`), not the `eth_hclk` bus clock.
Table 115 ("Kernel clock distribution overview", p. 470/3154) lists
`ETH (ptp)` on `pll1_q_ck`, and the IEEE 1588 section states that the
64-bit PTP time is updated from `clk_ptp_ref_i`.
Add an explicit `mac-clk-ptp` clock for STM32H5 sourced from
`STM32_SRC_PLL1_Q`, use that clock rate for PTP addend programming.
Because this change introduces source-clock configuration for STM32
Ethernet clocks, update the STM32H7 DWMAC path as well: use
`clock_control_configure()` for source clocks such as `eth-ker`, while
keeping `clock_control_on()` for gated clocks.
Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
Configure the NWP clock to 80 MHz by default, as this is
the default frequency used by the HAL.
Remove description of frequency options in the binding, since
these are tied to the software implementation and don't
neutrally describe the hardware.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Add FDCAN node for STM32C5 dtsi files.
FDCAN1 can be found on all STM32C5 except the STM32C5x1, and FDCAN2 is
present on STM32C532/42 and STM32C593/A3.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add input driver support for CRSF (Crossfire) receivers, originally
developed by Team BlackSheep (TBS) and used by ExpressLRS (ELRS) and
others.
The driver allows mapping up to 16 CRSF channels to Zephyr input events,
supporting both absolute axes (joysticks) and key events (switches), and
operates over a standard non-inverted UART interface.
Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
Add devicetree binding for the TE Connectivity (Measurement Specialties)
HTU21D humidity and temperature sensor. The HTU21D is register-compatible
with the Sensirion SHT21, so this binding simply includes sensirion,sht21.
Signed-off-by: William Markezana <william.markezana@gmail.com>
When present, configure the pin as input and use GPIO for card presence
instead of SDIF_DetectCardInsert(). Useful if the board uses a pin other
than SD0_CARD_DET_N for card detection.
On the LPC55S28 we needed it to work around an issue where configuring
PIO1_13 as SD0_CARD_DET_N stalled Flexcomm6 I2C transfers. The same pin
works when muxed as GPIO.
Signed-off-by: Fabian Otto <fabian.otto@rohde-schwarz.com>
- Added autanalog MFD support in PSE84 DTS files
- Refactored autanalog ADC in PSE84 to use a common
MFD for handling the global AC configuration
- Constructed AC to use phandle in the overlay
for a better the user experience.
- Added support for a basic and advanced mode
with custom AC
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
Add GPIO controller nodes and LPD/PMC banks for Versal.
There are a total of 174 channels in two controllers:
- PMC GPIO controller:
- Two banks (26 channels each) to PMC MIO
- Two banks (32 channels each) to PL EMIO
- LPD GPIO controller:
- One bank (26 channels) to LPD MIO
- One bank (32 channels) to PL EMIO
ref: https://docs.amd.com/r/en-US/am011-versal-acap-trm/GPIO-Controller
Signed-off-by: Takumi Ando <takumi@spacecubics.com>
Add counter RTC driver support for Realtek Bee series SoCs,
including RTL87x2G and RTL8752H.
This driver supports:
- Basic counter operations
- Alarm configuration and callbacks
Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
This change adds missing reset binding on lan9250.
Reset gpio was implemented in the driver but not defined in the
binding.
Signed-off-by: Mario Paja <mariopaja@hotmail.com>