zephyr/dts/bindings
Marcin Niestroj f72ef5c237 drivers: usb: stm32: fix support of STM32U5 OTG_HS with embedded PHY
Introduce new binding "st,stm32u5-otghs-phy" for OTG_HS PHY. This allows to
configure clock source and handle STM32U5 specific OTG_HS PHY behavior in
driver implementation in a more readable way.

Move OTG_HS PHY clock selection (previously <&rcc STM32_SRC_HSI48
ICKLK_SEL(0)>) from OTG_HS node to OTG_HS PHY node.

Rename USBPHYC_SEL -> OTGHS_SEL which matches the definition in the stm32u5
CCIPR2 register (RM0456 Rev 5, Section 11.8.47).

Support enabling OTG_HS PHY clock, which is bit 15 (OTGHSPHYEN) in
RCC_AHB2ENR1. Change OTG_HS clock to be bit 14 (OTGEN).

Calculate in runtime OTG_HS PHY clock source frequency. Try to match that
to supported (16, 19.2, 20, 24, 26, 32 MHz) frequencies and select proper
option with HAL_SYSCFG_SetOTGPHYReferenceClockSelection() API (instead of
hardcoded 16 MHz selection).

Co-authored-by: Adrian Chadd <adrian.chadd@meta.com>
Signed-off-by: Adrian Chadd <adrian.chadd@meta.com>
Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-12-11 08:00:03 +01:00
..
acpi
adc dts: bindings: rename nxp,kinetis-adc12 compatible 2024-12-03 19:55:50 +01:00
alh
arc
arm dts: bindings: arm: nordic: tddconf: Add etrbuffer 2024-11-26 14:45:22 +00:00
audio drivers: audio: Add the wm8904 driver 2024-08-29 15:53:26 +02:00
auxdisplay drivers: auxdisplay: hd44780: add rs-line-delay dt parameter 2024-11-28 20:51:39 +01:00
base linker: devicetree_regions: Add support memory region flag setting 2024-12-05 06:39:46 -05:00
battery battery: support additional properties 2024-08-29 16:12:36 -04:00
bluetooth drivers: bluetooth: hci: add hardware reset for da1453x 2024-11-28 12:52:01 +01:00
cache
can drivers: can: initial support for Renesas RA CANFD 2024-10-25 08:55:17 +02:00
charger charger: bq25180: set a default constant-charge-voltage-max-microvolt 2024-09-10 14:41:47 +01:00
clock drivers: clock: stm32: support STM32_CLOCK_DIV() 2024-12-11 08:00:03 +01:00
comparator drivers: comparator: add fake comparator 2024-10-10 20:24:52 -04:00
coredump
counter dts: bindings: timer: move a few counter bindings to correct location 2024-11-19 17:50:04 -05:00
cpu dts: add the ch32v003 dtsi 2024-11-26 14:41:46 +00:00
crypto dts: bindings: crypto: Add initial Si32 binding 2024-10-24 17:52:05 +02:00
dac dts: bindings: dac: ad559x: add double range option 2024-11-25 12:17:00 +01:00
dai
debug dts: bindings: debug: Add binding for ARM STMESP 2024-09-06 11:31:27 -04:00
dfpmcch
dfpmccu
disk
display drivers: display: Add ssd1322 driver 2024-10-18 09:18:21 +02:00
dma dts: nxp,mcux-edma: Convert compats to prop 2024-11-19 09:52:57 -05:00
dsa
edac
espi drivers: espi: npcx: support espi taf rpmc request 2024-10-17 09:44:39 +02:00
ethernet drivers: ethernet: add support for microchip lan9250 2024-12-10 11:10:34 +01:00
firmware firmware: scmi: add support for pinctrl protocol 2024-08-19 10:05:16 -04:00
flash_controller dts: arm: adi: Add binding file for MAX32xxx flash driver 2024-10-22 20:39:41 +02:00
fpga drivers: fpga: separate drivers of iCE40 for SPI and GPIO bitbang 2024-11-28 15:39:33 +00:00
fs fs: littlefs: get block_cycles value from dts 2024-10-07 18:43:05 +02:00
fuel-gauge fuel_gauge: composite analog fuel gauge 2024-08-29 16:12:36 -04:00
gnss gnss: rename u-blox M10 driver to M8 2024-08-26 17:27:12 -04:00
gpio drivers: gpio: add RP1 GPIO driver 2024-12-06 12:14:37 +01:00
haptics drivers: haptics: drv2605: Introduces overdrive clamp prop 2024-08-20 14:52:32 -04:00
hda
hdlc_rcp_if drivers: openthread: nxp: Add a HDLC RCP communication 2024-11-27 10:37:21 -05:00
hwinfo Documentation: Update documenation for Infineon boards 2024-11-14 20:36:38 -06:00
hwspinlock
i2c dts: bindings: rename nxp,imx-lpi2c compatible 2024-12-04 14:15:52 -05:00
i2s drivers: i2s: esp32s3/esp32c3 2024-08-29 18:06:23 +02:00
i3c dts: i3c: npcx: add target mode property and port configuration 2024-11-25 17:43:41 +01:00
ieee802154
iio/afe sensor: voltage_divider: delay sampling after power-on 2024-10-17 15:38:52 -04:00
input drivers: input: it8801: Add I2C-based keyboard matrix scan controller 2024-12-03 19:56:50 +01:00
interrupt-controller drivers: add the pfic interrupt controller 2024-11-26 14:41:46 +00:00
ipc boards: nordic: ipc: added dcache alignement 2024-10-24 03:45:35 +01:00
ipm drivers: ipm: Add IPM over MBOX driver 2024-09-26 09:17:48 -05:00
kscan
led dts: bindings: lp5562: Add enable-gpios property 2024-09-13 13:43:33 +02:00
led_strip drivers: ws2812_gpio: Make timing configurable and less hardware dependend 2024-09-06 11:31:00 -04:00
lora dts: lora: add board support for reyax lora module 2024-06-14 17:12:49 -04:00
mbox drivers: mbox: add IVSHMEM based mbox driver 2024-11-16 15:05:34 -05:00
mdio drivers: mdio: Initial support for renesas RA mdio driver 2024-12-05 07:45:19 +01:00
memory-controllers dts: bindings: memc: stm32: correct the SDRAM base address description 2024-12-11 07:59:17 +01:00
memory-window
mfd boards: shields: Add support for Adafruit AW9523 board 2024-12-05 07:44:58 +01:00
mhu
mipi-dbi drivers: mipi_dbi_spi: add 16-bit transfer to C4 2024-12-09 15:12:21 +01:00
mipi-dsi
misc dts: nordic: 54l: Add PPIB device tree nodes and bindings 2024-11-19 09:53:10 -05:00
mm
mmc
mmu_mpu dts: bindings: add nxp,sysmpu binding 2024-12-06 22:23:06 +01:00
modem dts: bindings: Add binding for Telit ME310G1 2024-10-17 09:46:09 +02:00
mspi samples: tests: dts: mspi: update ambiq specific MSPI dts 2024-06-18 19:55:35 -04:00
mtd drivers: flash: spi_nor: add option for 4byte opcodes 2024-11-18 13:18:08 -05:00
net/wireless dts: nordic: Add Channel Sounding support to nrf-radio 2024-09-26 03:32:03 -04:00
options
ospi
pcie
peci
phy drivers: usb: stm32: fix support of STM32U5 OTG_HS with embedded PHY 2024-12-11 08:00:03 +01:00
pinctrl drivers: pinctrl: silabs: Add pinctrl driver for digital bus 2024-11-27 22:51:55 -05:00
pm_cpu_ops
power dts: bindings: power: add nordic,nrf-global-pd 2024-11-01 12:10:12 -05:00
power-domain pm: s/power-domain/power-domains and add power-domain-names 2024-10-18 17:45:21 +01:00
ppc drivers: usb_c: numaker: support Nuvoton's M2L31 series 2024-08-01 12:38:53 +02:00
ps2
pwm drivers: pwm: it8801: Add I2C-based PWM device driver 2024-12-03 19:56:50 +01:00
qspi bindings: qspi: stm32 qspi supporting Dual Flash Mode 2024-06-06 15:22:06 -05:00
regulator drivers: regulator: npm2100: Add driver for npm2100 pmic 2024-12-04 14:19:53 -05:00
reserved-memory dts: bindings: Update Nordic owned memory bindings 2024-10-15 04:11:21 -04:00
reset dts: bindings: Add bindings for NXP LPC resets 2024-05-21 16:49:42 -04:00
retained_mem
retention
riscv dts: nordic: Remove cpu property from VPR nodes 2024-08-07 19:01:55 -04:00
rng drivers: entropy: Add support for SCE7 to entropy driver 2024-12-09 03:54:50 +01:00
rtc drivers: rtc: Added IRTC Driver Support. 2024-10-26 03:58:48 +01:00
sd drivers: disk: mmc_subsys: remove CONFIG_MMC_VOLUME_NAME 2024-11-05 15:25:10 -06:00
sdhc drivers: sdhc: imx_usdhc: assume card is present if no detection method 2024-08-22 14:19:37 -04:00
sensor drivers: sensors: ti_hdc20xx: Remove ti,hdc20xx compatible 2024-12-09 22:06:52 +00:00
serial drivers: add the ch32v00x usart driver 2024-11-26 14:41:46 +00:00
shi
sip_svc
smbus
sound
spi dts: bindings: rename nxp,kinetis-dspi compatible 2024-12-06 22:22:51 +01:00
sram
stepper drivers: stepper: step_dir: rename direction_gpios to dir_gpios 2024-12-11 07:58:34 +01:00
syscon
tach
tcpc drivers: usb_c: numaker: update UTCPD.VBSCALE register field 2024-11-16 15:08:18 -05:00
test tests: lib: devicetree: Add tests for endpoint DT macros 2024-12-06 22:23:31 +01:00
timer drivers: timer: ambiq: add clock source selection for stimer 2024-12-03 04:01:45 +01:00
timestamp
usb dt-bindings: apollo4p: add ambiq usb binding 2024-11-16 15:07:29 -05:00
usb-c usbc: add support for vbus measurement using TCPCI compliant device 2024-09-23 10:03:19 +02:00
video drivers: video: add emulated Imager driver and RX driver 2024-12-05 20:00:21 -05:00
virtualization
w1 drivers: w1: Add MAX32xxx 1-Wire driver 2024-10-18 14:16:14 +02:00
watchdog drivers: watchdog: npm2100: Add driver for npm2100 pmic 2024-12-04 14:19:53 -05:00
wifi dts: bindings: wifi: Support SPI for Infineon AIROC driver 2024-12-10 16:23:36 +01:00
xen
xspi
vendor-prefixes.txt dts: bindings: vendor-prefixes.txt 2024-12-04 09:23:33 +01:00