The packet length from the sensor header was passed to uart_fifo_read()
without checking it against the receive buffer, letting a declared body
larger than the buffer overflow the caller's stack packet.
Signed-off-by: Flavio Ceolin <flavio@hubble.com>
RT266x uses a single combined IOMUXC PIO register per pad, with the
mux-mode and pad configuration in the same register. Add an
SOC_SERIES_IMXRT266X path that combines both into one write so the pad
config does not clobber the mux-mode, and translates the driver-private
input-enable flag to the hardware IBENA bit.
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Add a GPIO driver for the NXP i.MX GPIO controller used on RT266x, with
the new compatible nxp,imx-gpio-v2.
The driver (gpio_mcux_gpio.c) handles:
- Combined IOMUXC PIO pad register, where mux selector and pad
attributes (pull enable/select, input buffer, open-drain) share one
read-modify-write register. The driver sets the attribute bits and
delegates the mux write to pinctrl_configure_pins().
- Optional LPCG clock gate at init. Instances without a gate (always-
on power domains) simply omit the clocks property.
- Per-pin TrustZone access control via PCNS, granting non-secure access
before configuring each pin.
- Dual-channel interrupt routing: GICLR/GICHR direct each pin's
interrupt to one of the two NVIC lines, selected by irq-output-select.
The binding nxp,imx-gpio-v2 follows the same property set as other NXP
IOMUXC-based GPIO bindings: pinmux phandle list, optional clocks, and
irq-output-select.
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Let an LPUART instance describe its own clock source. When the node names
a "source" clocks entry, apply it with clock_control_configure() before
the peripheral clock is ungated, so the root's mux and dividers come from
devicetree rather than from a board C file. The cells are opaque here and
are interpreted by the clock controller.
Fetch that entry by name rather than by index. The families sharing this
driver spell their other clocks entries differently, and most of their
nodes carry no clock-names at all, so a node that already names its
entries can append "source" without disturbing them while the gate entry
stays at index 0 for every node that names nothing.
An instance that names no "source" entry behaves as before.
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Add a clock controller for the i.MX CGU rev3 hardware. It programs each
clock root's mux and dividers from devicetree at init and reports rates
through the clock-control API.
One device is instantiated per nxp,imx-ccm-rev3 node, with the root list
built from that node's own children, so an SoC whose CCM is a single
block and one that splits it per subsystem take the same code path. A
root's HAL identifier comes from its nxp,root-id property rather than
being derived from its reg, so no per-SoC numbering rule lives here.
A root marked nxp,preconfigured is skipped in the init loop: the SoC
bring-up programs it earlier in boot, so re-programming it here would
duplicate that work and, for a root feeding the running CPU or a live
bus, re-write a clock the core is running from.
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Add the pin controller for the MT8188, with the full pin table and the
devicetree macros that turn a pinmux property into a pin and function pair.
The register window is mapped with device_map() at PRE_KERNEL_1 priority 0
rather than reached through its physical address. There is no struct
device to hang DEVICE_MMIO off, because pinctrl_configure_pins() is called
from other drivers' init before any pin controller device would exist, but
the window still has to be mapped rather than assumed; a static
mmu_regions.c entry would do the same job less portably and only on arm64.
The cluster directory goes on the include path here because the pinctrl
framework includes pinctrl_soc.h, which this commit adds.
Co-authored-by: Felix Freimann <felix.freimann@mediatek.com>
Signed-off-by: Aary Patil <aary.patil@mediatek.com>
Add the UART driver for MediaTek MT8188, giving the Genio boards a
console. Register access is split into a shared core and a small
per-SoC instantiation layer, so other MediaTek SoCs can reuse the core.
The driver is instantiated for every enabled node rather than a fixed
instance, and takes its gate clock from the infra-ao controller.
Co-authored-by: Felix Freimann <felix.freimann@mediatek.com>
Signed-off-by: Aary Patil <aary.patil@mediatek.com>
Add the gate clock controller for the MT8188 infra always-on subsystem,
which the UARTs and the other infra peripherals depend on.
Register access is split into a shared core and a per-controller gate
table, so further MediaTek clock controllers can reuse the core.
A BUILD_ASSERT ties the gate table to CLK_INFRA_AO_NR_CLK. The table is
indexed by the CLK_INFRA_AO_* identifiers, so a mismatch between the two
would otherwise silently operate the wrong gate.
Co-authored-by: Felix Freimann <felix.freimann@mediatek.com>
Co-authored-by: Andrew Perepech <andrew.perepech@mediatek.com>
Signed-off-by: Aary Patil <aary.patil@mediatek.com>
Both drivers depended on the SoC family symbol, which now also covers
the Arm cpuclusters on the same dies, so they were offered where the
hardware they drive does not exist.
Both are already devicetree driven: the interrupt controller iterates
mediatek,adsp_intc instances, and the timer reads its registers and its
interrupt out of the ostimer nodes. Depend on the nodes instead, which
is what the Kconfig style guide asks for and what leaves the drivers
independent of how the SoC tree is arranged.
The timer names the 64-bit node because that is the one with a binding;
both ostimer nodes are present on every audio DSP board.
Signed-off-by: Aary Patil <aary.patil@mediatek.com>
soc.yml names this family mt8xxx, so the hardware model v2 symbol for it is
SOC_FAMILY_MT8XXX. The tree used SOC_FAMILY_MTK, which names no family
present in soc.yml, and never set the SOC_FAMILY string at all.
Rename the symbol and add the missing default. No functional change: the
only references are inside soc/mediatek and the two audio DSP driver
Kconfig files.
Signed-off-by: Aary Patil <aary.patil@mediatek.com>
vif_lock was initialised in nrf_wifi_if_start_zep() while that same
function held it. k_mutex_init() clears the owner and lock count and
re-initialises the wait queue, so the lock was silently dropped
mid-function and any thread pending on it was left unwakeable. It was
also the only initialiser, so the first lock on boot ran on a mutex
that had never been set up. Initialise it once in
nrf_wifi_if_init_zep(), which runs from net_if_init() before any
net_if_up().
Fix three wrong goto targets while at it. nrf_wifi_if_start_zep()
unlocked from checks that run before the lock is taken, and
nrf_wifi_if_stop_zep() did the same when k_mutex_lock() failed; the
promiscuous-mode branches of nrf_wifi_if_set_config_zep() skipped the
unlock entirely.
Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
Assisted-by: Cursor:Opus-5
The callback was assigned under CONFIG_NRF70_SYSTEM_MODE while the
nrf_wifi module both declares and dispatches it under NRF70_STA_MODE ||
NRF70_RAW_DATA_RX.
Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
A station went operational on carrier ON, which is at association, so
the IP stack transmitted during the 4-way handshake and the TX path had
to drop those frames. Wait for the controlled port instead; EAPOL is
unaffected as it flows out-of-band through nrf_wifi_wpa_tx_control_port().
Injection has neither an association nor a controlled port, so keep the
interface operational for it, gated on the carrier to match the
CARR_STATE_ON check in nrf_wifi_if_send(). Read txinjection_mode from
the FMAC VIF context, since a driver-side copy would go stale across
down/up and MODE_SET_DONE.
Move the decision into nrf_wifi_iface_operational() and let callers just
request a re-evaluation. Start and stop clear the per-session state,
because net_if_up() and net_if_down() leave the dormant flag as they
found it.
Take vif_lock for the oper-state decision. The handler reads
txinjection_mode through rpu_ctx, and nrf_wifi_fmac_dev_rem_zep() frees
that context before clearing the pointer, so a handler in flight could
dereference freed memory. nrf_wifi_if_stop_zep() frees under vif_lock,
so holding it for the read serialises the two.
Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
Assisted-by: Cursor:Opus-5
In `AWAIT_REGISTERED` and `REGISTERED`, ignore script results from
non-periodic scripts. These can be triggered through functions like
`modem_cellular_get_signal`.
This prevents the periodic script timing being influenced by unrelated
API calls and `MODEM_COMMS_CHECK_RESULT` events being output for
non-periodic script runs.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Transition the event pipe to a `msgq`, adding an optional pointer to
the event metadata. The pointer is then available in the event handlers
as `data->event_ptr`. Use this in `modem_cellular_chat_callback_handler`
so that script result handling can know which script it was that
succeeded or failed.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Added a TX done interrupt check so that device SUSPEND has the
opportunity to run again once the UART has completed its
transmission. Otherwise the scheduler does not run pm_state_set
again, and the app would stay in runtime-idle mode.
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
Added pm_action suspend/resume/turn_on routine for UART
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
dma_tx.buf_len doubles as the transfer-in-progress flag that uart_tx()
tests to reject an overlapping transfer, but it was only cleared on the
successful DMA completion. An abort, a TX timeout or a DMA error left it
set, so every later uart_tx() returned -EBUSY for good. Clear it on each
path that ends a transfer.
dma_rx.buf_len has the same role and the same gap: rx_enable() left it
set when the DMA configuration failed, and the mid-stream rearm in the
RX callback discarded its return value, leaving RX dead with the runtime
PM reference still held and no event delivered to the application.
Release both buffers and end the session on those paths as well.
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
ifx_cat1_uart_async_tx() overwrote the transfer descriptor and
reconfigured the DMA channel even when a previous transfer was still
in flight, corrupting the running transfer. Return -EBUSY while
buf_len is non-zero so a second uart_tx() is rejected while a transfer
is ongoing, as the UART async API requires.
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
ifx_cat1_uart_set_baud() reprogrammed the peripheral clock divider
while it was still enabled, so a new baud rate could be applied to a
running divider. Disable the divider, set the new value, then
re-enable it; a failed set leaves the register unchanged, so the
re-enable restores the previous rate.
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
The pressure compensation computed X2 as B1 * B6^2 / 2^27 because the
divisor constant was 0x8000000 instead of 0x10000000. The datasheet
specifies X2 = (B1 * (B6 * B6 / 2^12)) / 2^16, i.e. B1 * B6^2 / 2^28,
so reported pressure was too low by up to ~10 hPa at temperature
extremes.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:fable-5
To support external USB hubs, we need to distinguish
data not only by endpoint number, but also by device
address. For this purpose additional members were
added to the channel data structure, that now holds
the information and do not interfere, when several
devices has the same endpoint number.
Signed-off-by: Roman Leonov <jam_roma@yahoo.com>
Interrupt transfer is a periodic transfer which USB host
needs periodically to poll at a fixed interval.
ch_handle_in_interrupt() handles the IN interrupt during the
channel IRQ handling.
ch_schedule_interrupt and ch_start_interrupt() to schedule the
frame for periodic transfer and start it, using the enqueued
xfer.
validate_interrupt_xfer() to verify the correctness of the
enqueued xfer to provide the better debug options.
Signed-off-by: Roman Leonov <jam_roma@yahoo.com>
The SQE-exhaustion error path cleared data->stream.iodev_sqe before
passing it to rtio_iodev_sqe_err(), so the pending submission was always
completed with a NULL pointer. Cache the pointer in a local first, as the
two neighbouring error paths already do.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:fable-5
The millimetre conversion evaluated 2^31 / (2^shift * 1e6) as an integer
division before applying it, truncating the scale factor to 0 for shift
>= 12 and to a ~4.6% low value otherwise. Fold the 2^31/2^shift into a
single left shift applied before the 1e6 divide.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:fable-5
The streaming path only read the RESOLUTION X/Y LOWER registers, leaving
the high bytes of the packed 16-bit resolution values in the RTIO
mempool buffer uninitialized, which made the decoder compute a bogus CPI
and shift. Read all four registers, as the one-shot path already does,
so the resolution comes from the sensor itself.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:fable-5
The stream completion callback armed the data-ready backup timer before
flushing the bus CQEs, then errored the SQE without clearing
data->stream.iodev_sqe, so the timer later dereferenced an SQE already
returned to the RTIO pool. Arm the timer only after the error check, use
handle_result_on_error() on the failure path, and stop the timer there.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:fable-5
paa3905_stream_submit() and pat9136_stream_submit() switched on
read_config->channels[i].chan_type while comparing SENSOR_TRIG_*
values and reading triggers[i].opt. channels and triggers alias the
same union but have different strides unless enums are 2 bytes wide,
so any entry past index 0 decoded garbage and the stream was rejected
with -ENOTSUP. Switch on read_config->triggers[i].trigger instead.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:fable-5
The MAXUSB HAL kills every pending request on a bus reset without
running its completion callback, and udc_setup_received() clears the
busy flag for the control pair only. A bulk endpoint that was
mid-transfer therefore stays busy for good, and udc_event_xfer_out()
returns before arming it without a word: the endpoint never delivers
again until the part is reset.
Clear it where the transfer is abandoned - in ep_dequeue, as every other
UDC driver does, and in ep_disable, whose MXC_USB_ResetEp() drops the
transfer too.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
WIFI_NM_WPA_SUPPLICANT_WEP is deprecated and insecure, and selecting it
from the driver forces it on for every application, failing twister
now that deprecated Kconfig symbols are treated as errors. Drop the
select; applications needing WEP can still enable it.
Assisted-by: Claude:opus-5.5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
i3c_bus_init() temporarily raises the Open-Drain SCL high period
so I3C Basic targets disable their I2C spike filter. Restoring
the configured value before ENTDAA caused some targets to miss
dynamic address assignment. Restore it after DAA instead.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
TIMINGR0 is read-only while the I3C peripheral is enabled. Disable the
peripheral before updating the clock waveform and restore its previous
state afterward.
This allows i3c_bus_init() to apply the required Open-Drain SCL high
period before broadcast commands. Remove the no-longer-needed
od-thigh-min-ns workaround from the X-NUCLEO-IKS4A1 sample overlays.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
The STM32 I3C peripheral exposes one SCLH_I3C timing field that is
shared by both Open-Drain and Push-Pull high phases.
Update the STM32 timing path to derive the programmed SCL high period
from the strictest controller requirement by taking the maximum of:
- scl_od_min.high_ns
- scl_pp_min.high_ns
- the hardware minimum
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
CONFIG_UDC_DRIVER_LOG_LEVEL only exists when CONFIG_LOG is enabled, so
using it in a plain C condition breaks any build that compiles this
driver without logging.
Assisted-by: Claude:claude-fable-5
Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
This change enhances USB_HostHelperGetPeripheralInformation()
so the MCUX USB host driver can correctly report hub-related
topology data, including the parent hub address, port number,
nearest high speed hub, HS hub port, hub think time and level.
The goal is to ensure proper device identification and routing,
especially when full speed or low speed devices are connected
behind multi level or high speed hubs.
Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
Dynamically allocating fifo sizes leads to very complex code that yields
subpar results. DWC2 controller has very specific requirements related
to configured FIFO sizes that significantly increase the complexity:
* each fifo has specific upper bound on both size and starting
location (fixed for each silicon)
* assigned locations must be contiguous
* assigned locations cannot be changed on-the-fly
Zephyr tried to dynamically assign fifos using simple but essentially
broken algorithm that:
* assumed 1-to-1 endpoint number to TxFIFO mapping
DWC2 controller can be configured with non-contiguous IN endpoint
numbers, but TxFIFOs are always contiguous.
* allocated minimum required space for each endpoint
There is no benefit in using less SPRAM than hardware has available,
but using only 128 locations per bulk endpoint significantly limits
maximum transfer rate when using DMA. At least 256 locations allows
DMA to load next packet data before previous packet is transmitted
on the bus. Actual performance degradation depends on clock rates
and latencies. MSC on nRF54H20 using bulk endpoints with only 128
locations can achieve no more than 15.6 MB/s throughput, while with
256 locations speeds up to 36.9 MB/s are possible (running otherwise
identical software).
* used one-size-fits-all defaults for RxFIFO
Remedied with some upper limits calculated at runtime, but the limit
was not taking into account complete configuration.
* was unable to effectively handle multiple alternate settings
This did lead to set interface failures where e.g. HID interface
with wMaxPacketSize > 64 was not using the highest numbered IN
endpoint within active configuration.
Instead of trying to come up with bandaid for each issue that would
significantly complicate the code, just shift the responsibility towards
firmware developer. While for many typical applications board defaults
are perfectly fine, the application developer may want to come up with
specific devicetree overrides best suited for their use case.
Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
Add an init-only display bridge driver for the Analog Devices ADV7535.
Configure the bridge over I2C, program its video timings, and attach it
to a Zephyr MIPI DSI host. The DSI link is described by the auxiliary
adi,adv7535-dsi node pointed at by dsi-device: the host device, the
virtual channel and the lane and pixel format settings all come from
there. Support four-lane RGB888 16:9 video modes.
Add Kconfig and CMake integration and instantiate the driver in the
display build-all test.
Assisted-by: Claude:claude-opus-5.5
Signed-off-by: Paolo Wattebled <paolo.wattebled@savoirfairelinux.com>
Signed-off-by: Jerome LAMY <jerome.lamy@savoirfairelinux.com>
Passing a wait of K_NO_WAIT to the pwm_capture_cycles() function causes
the k_sem_take function to return -EBUSY unless the capture has
completed. This condition is not tested for and causes the function
to ignore the error case and allow the function to use capture status
and data values that have not been initialized, reporting success
whenever the data happens to be zero. The capture is also left armed
with a pointer to the stack frame being unwound.
A single capture cannot complete without waiting, so change the
pwm_capture_cycles() function to reject a K_NO_WAIT timeout with -EINVAL
before configuring a capture. Update the API documentation to reflect
this behavior.
Assisted-by: Copilot:claude-opus-5
Signed-off-by: John Batch <john.batch@infineon.com>
The driver did not support consecutive read or write transactions from
different buffers without a STOP and START being injected onto the bus.
When this happens during a write transaction, the target device interprets
the first byte(s) of the second transaction is interpreted as an address,
storing the rest of the data at the wrong location.
Implement the I2C state machine such that the bus is held for
consecutive same-direction messages, appending each buffer without
re-addressing and ending a run when I2C_MSG_STOP, I2C_MSG_RESTART,
or a direction changes are requested.
I2C Read transactions now use the hardware RX FIFO, reducing interrupt
overhead for read transactions on this platform.
Assisted-by: Copilot:claude-opus-5
Signed-off-by: John Batch <john.batch@infineon.com>
uart_mchp_init() assumes the SERCOM it is handed has never been used.
It issues no software reset and makes no check, and then writes the
character size, parity, stop bits, clock source and baud rate straight
into registers the SERCOM write-protects while CTRLA.ENABLE is set.
From a cold reset that assumption holds. Under a bootloader it does not:
MCUboot drives its own console out of this same SERCOM and hands it over
still enabled, so none of the configuration above takes effect and the
application's console never comes up. On a PIC32CM5112GC00100 the image
chainloaded by MCUboot faults during this device's init, which is
visible over SWD as the console device being the one entry in
device_states that never reaches initialized.
The fix is the sequence the datasheet prescribes: when the peripheral is
found enabled, clear ENABLE, wait for synchronization, assert
CTRLA.SWRST and wait again. On a cold boot the branch is not taken, so
nothing changes for the case that already worked.
This is the same defect as the DPLL patch beside it, in another driver -
init code that reads its own state rather than the hardware's and so
only works on the first boot after reset.
Signed-off-by: Arkadiusz Grzelka <devitwise@gmail.com>
Add AES support for STM32 SocS based on STM32 HAL2
(CONFIG_STM32_HAL2=y). This change covers only AES ciphering,
not AEAD modes.
Update manifest to upgrade hal_stm32 module for enabling by default
AES modes in the AES HAL driver and to allow it to compile when
DMA support is disabled.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add some helper macros and typedefs and move some sequences location
in the source file to better add support for STM32 SoCs based on
STM32 HAL2 (CONFIG_STM32_HAL2).
No functional changes.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Map the vendor MESH_EVENT_LAYER_CHANGE event to a new
ESP_WIFI_MESH_EVENT_LAYER_CHANGE notification so the application
learns when this node's tree depth changes, not just on
attach/detach. The mesh samples log the new layer.
Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Humphrey Chiramba <humphrey@plentify.co.za>
apollox_blue.h declares bt_apollo_vnd_setup() with a struct
bt_hci_lockstep parameter but does not include the header that defines
the type, relying on its includers to have done so. Include it, and
document the parameter. Both includers already include it first, so
nothing changes for them.
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
A failed open() stops the RX thread and takes the controller down, but
leaves transport_open set and the session counter unchanged, so a send
that is waiting for the SPI semaphore, or sleeping between its attempts,
goes on to talk to a controller that is down, or to the one a later
open() brings up. End the session in the failed-open unwind the way
close() does. The semaphore take gets an explicit void cast: the
semaphore is never reset, so the take cannot fail, and there is nothing
the unwind could do about it if it did.
Build-tested on apollo4p_blue_kxr_evb. Not run on hardware.
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
bt_apollo_controller_init() resets the controller through its reset
line and loads it over the raw SPI path, outside the lockstep helper,
so the helper's command allowance does not follow. After a close(), the
helper is left in whatever state the last command left it, and the
freshly started controller allows one command again without announcing
it. Restore the helper's initial allowance with bt_hci_lockstep_reset()
before the vendor setup sends its first command.
Build-tested on apollo4p_blue_kxr_evb. Not run on hardware.
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
After an I2C software reset the FXAS21002 NACKs bus transactions
until its boot sequence finishes. The datasheet states that the
digital interface is accessible 50 ms after VDD/VDDIO power-up or
reset. Sleep that interval before polling CTRL_REG1 so initialization
does not fail while the device is still booting.
Signed-off-by: Sudarshan Iyengar <sudarshan.iyengar@alifsemi.com>
Add initial ADC driver support for Texas Instruments ADS1262
and ADS1263 devices.
The driver supports ADC1 32-bit conversions with DRDY-based conversion
completion, runtime single-ended and differential input configuration,
programmable PGA gain from 1 to 32, an internal 2.5-V reference, and an
optional hardware reset GPIO.
Signed-off-by: Dharanipathi Parthiban <dharanipathi@sacrasys.com>