zephyr/drivers
Armando Visconti 9ea4cb96cd drivers/sensor/st: Fix wrong data byte swap for be
A 16-bit value built using byte shifts and ORs from a given
couple of lsb and msb bytes will result to be the same on both
little-endian and big-endian architectures, e.g.

    uint8_t lsb, msb;
    int16_t val;

    /* val is the same number on both le and be archs, but has
       different layout in memory */
    val = (msb << 8) | lsb;

All the xyz_raw_get() APIs of stmemsc sensor module build the sensor
data using the above method and DO NOT hence require (it actually leads
to wrong values on big-endian machines) to use any le/be swap routines,
such as sys_le16_to_cpu().

Fix #75758

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2024-08-27 07:07:52 -04:00
..
adc drivers: adc: nrf: Update adc driver to support nRF9280 2024-08-22 14:24:38 -04:00
audio
auxdisplay
bbram
bluetooth drivers: bluetooth: hci: Remove prompt on non user selectable symbols 2024-08-26 11:04:45 -04:00
cache drivers: cache: nrf: enable CACHE_NRF_PATCH_LINEADDR for nRF92 2024-08-22 14:24:38 -04:00
can drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
charger
clock_control drivers: clock_control: Add initial SiM3U1xx support 2024-08-26 18:51:36 +02:00
console drivers: console: rtt_console: use Segger recommended write API 2024-08-12 10:14:34 +02:00
coredump
counter drivers: counter: mcux_lptmr: Updated lptmr to support multi instance. 2024-08-27 12:46:11 +02:00
crypto
dac
dai drivers: dai: esai: don't reset ESAI on init 2024-08-22 09:10:18 +02:00
disk disk: sdmmc: power off card in DISK_IOCTL_CTRL_DEINIT 2024-08-20 19:42:37 -04:00
display drivers: display: use zephyr reset api for diyplay 2024-08-20 14:50:57 -04:00
dma drivers: dma: dma_nxp_sof_host_dma: do cache WB after HOST_TO_MEMORY copy 2024-08-26 17:06:20 +02:00
dp
edac
eeprom drivers/eeprom/eeprom_simulator: Remove reference to native_posix 2024-08-16 09:20:58 +01:00
entropy drivers: entropy: Initial support for trng driver of RA8 2024-08-22 14:24:57 -04:00
espi style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
ethernet drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
firmware firmware: scmi: add support for pinctrl protocol 2024-08-19 10:05:16 -04:00
flash drivers: flash: Add Si32 support 2024-08-26 18:51:36 +02:00
fpga drivers: fpga: add driver for renesas slg471X5 2024-08-26 17:06:14 +02:00
fuel_gauge
gnss gnss: rename u-blox M10 driver to M8 2024-08-26 17:27:12 -04:00
gpio drivers: gpio: renesas_ra_ioport: simplify pin configuration logic 2024-08-26 17:23:31 -04:00
haptics drivers: haptics: drv2605: Hard codes open loop mode for LRA mode 2024-08-20 14:52:32 -04:00
hwinfo drivers: hwinfo: stm32u0: Clear standby and stop flags 2024-08-26 11:28:04 -04:00
hwspinlock style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
i2c i2c: nrfx_twi: fix RTIO utility functions 2024-08-23 08:02:45 -04:00
i2s style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
i3c i3c: drivers: check for reserved addresses for i2c scan 2024-08-07 07:13:42 -04:00
ieee802154
input input: kbd: add power management support to all keyboard scan drivers 2024-08-26 14:45:21 -04:00
interrupt_controller drivers: interrupt_controller: nuclei_eclic: always use clic common entry 2024-08-26 17:05:53 +02:00
ipm drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
kscan
led drivers: led: lp5569: run clang-format 2024-08-23 15:49:43 +01:00
led_strip
lora lora: driver: sx12xx: fix driver recv func when RX error occurs 2024-08-05 18:37:11 -04:00
mbox style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
mdio drivers: mdio: shell: add support for stm32 mdio 2024-08-21 08:58:29 +02:00
memc soc: nxp: Move flexspi log level change to driver 2024-08-22 09:14:24 +02:00
mfd
mipi_dbi mipi_dbi: stm32: use proper type for timeout argument 2024-08-27 12:45:48 +02:00
mipi_dsi
misc
mm
modem drivers: modem: cellular: hl7800 fix enter cmux 2024-08-14 15:51:04 -05:00
mspi drivers: update AMBIQ drivers to use proper base address 2024-08-11 19:18:09 -05:00
net
pcie
peci
pinctrl drivers: pinctrl_imx: support i.MX93 M33 core 2024-08-22 09:15:16 +02:00
pm_cpu_ops
power_domain
ps2 style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
ptp_clock
pwm drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
regulator style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
reset
retained_mem drivers: retained_mem: nrf: implement using nrfx_ram_ctrl helper 2024-08-14 12:35:17 -04:00
rtc drivers: rtc: off-by-one error in RV-8263-C8 driver 2024-08-22 14:21:41 -04:00
sdhc drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
sensor drivers/sensor/st: Fix wrong data byte swap for be 2024-08-27 07:07:52 -04:00
serial serial: bluetooth: Print warning once when ring buffer is full 2024-08-26 17:24:47 -04:00
sip_svc
smbus
spi drivers: spi: esp32c2: esp8684: Add support 2024-08-26 17:06:02 +02:00
stepper stepper: driver: introduce gpio driver 2024-08-27 12:43:39 +02:00
syscon
tee
timer drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
usb drivers: udc_dwc2: Allow not-multiple-of-4 mps in DMA mode 2024-08-27 12:45:42 +02:00
usb_c drivers: usb_c: numaker: support Nuvoton's M2L31 series 2024-08-01 12:38:53 +02:00
video drivers: video: ov2640: Add 240x240 video format 2024-08-26 17:06:28 +02:00
virtualization
w1
watchdog drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
wifi wifi: esp32c2: Add support 2024-08-26 14:44:37 -04:00
xen style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
CMakeLists.txt stepper motor controller: introduce api 2024-08-27 12:43:39 +02:00
Kconfig stepper motor controller: introduce api 2024-08-27 12:43:39 +02:00