Re: [PATCH v2 0/1] add USB PHY node and USB OTG pinctrl support to S32G2/S32G3 SoCs
From: Enric Balletbo i Serra
Date: Tue Jun 09 2026 - 09:53:26 EST
Hi,
On Wed, May 20, 2026 at 5:10 PM Khristine Andreea Barbulescu
<khristineandreea.barbulescu@xxxxxxxxxxx> wrote:
>
> This patchset aims to add two changes to the S32G2/S32G3 dtsi support:
> - Add the usbphynop node for S32G SoC based boards
> - Add the usbotg pinctrl support for S32G SoC based boards
>
> v2 -> v1:
> - use hyphenated naming for USB OTG pin groups
> - replace deprecated 'fsl,usbphy' with 'phys'
> - move 'usbphynop' node to the SoC-level dtsi
>
> Khristine Andreea Barbulescu (1):
> arm64: dts: Add usbphynop and usbotg pinctrl for S32G platforms
>
> arch/arm64/boot/dts/freescale/s32g2.dtsi | 7 ++-
> arch/arm64/boot/dts/freescale/s32g3.dtsi | 7 ++-
> .../boot/dts/freescale/s32gxxxa-evb.dtsi | 46 ++++++++++++++++++-
> .../boot/dts/freescale/s32gxxxa-rdb.dtsi | 46 ++++++++++++++++++-
> 4 files changed, 102 insertions(+), 4 deletions(-)
>
> --
> 2.34.1
>
I tested the bindings on my S32G-VNP-RDB3 board by connecting
different devices (mass storage, mouse and
keyboard) in host mode and got them working, so
Tested-by: Enric Balletbo i Serra <eballetb@xxxxxxxxxx>
[ 32.957280] usbcore: registered new interface driver usbhid
[ 32.957285] usbhid: USB HID core driver
[ 39.683065] usb_phy_generic usbphynop: dummy supplies not allowed
for exclusive requests (id=vbus)
[ 39.945747] imx_usb 44064000.usb: No over current polarity defined
[ 39.999412] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002, bcdDevice= 7.01
[ 39.999422] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 39.999429] usb usb1: Product: EHCI Host Controller
[ 39.999435] usb usb1: Manufacturer: Linux 7.1.0-rc4+ ehci_hcd
[ 39.999440] usb usb1: SerialNumber: ci_hdrc.0
[ 40.575296] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 40.747558] usb 1-1: New USB device found, idVendor=0781,
idProduct=5567, bcdDevice= 1.00
[ 40.747578] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 40.747585] usb 1-1: Product: Cruzer Blade
[ 40.747591] usb 1-1: Manufacturer: SanDisk
[ 40.747596] usb 1-1: SerialNumber: 4C530001310712110235
# cat /sys/kernel/debug/ulpi/ci_hdrc.0.ulpi/regs
Vendor ID Low 24
Vendor ID High 04
Product ID Low 09
Product ID High 00
Function Control 40
Interface Control 08
OTG Control 27
USB Interrupt Enable Rising 1f
USB Interrupt Enable Falling 1f
USB Interrupt Status 04
USB Interrupt Latch 0c
Debug 00
Scratch Register 00
Carkit Control 00
Carkit Interrupt Delay 00
Carkit Interrupt Enable 00
Carkit Interrupt Status 00
Carkit Interrupt Latch 00
Carkit Pulse Control 00
Transmit Positive Width 00
Transmit Negative Width 00
Receive Polarity Recovery 00
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0781:5567 SanDisk Corp. Cruzer Blade
Cheers,
Enric