From d9ec6ca71f0bbdff8392d364fddeb813f014c37f Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Tue, 2 Jul 2019 15:45:56 -0700 Subject: [PATCH] bindings: usb: Add bindings for USB PHY on QTI emulation platform Add dt-bindings describing the USB PHY used on Qualcomm Technologies, Inc. emulation platforms. Change-Id: Idaddd753086fa547b9a38fa8c484f7df20c12458 --- bindings/usb/qcom,usb-emu-phy.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 bindings/usb/qcom,usb-emu-phy.txt diff --git a/bindings/usb/qcom,usb-emu-phy.txt b/bindings/usb/qcom,usb-emu-phy.txt new file mode 100644 index 00000000..67049a1d --- /dev/null +++ b/bindings/usb/qcom,usb-emu-phy.txt @@ -0,0 +1,30 @@ +Qualcomm Technologies, Inc. emulation USB PHY + +Required properties: +- compatible: should contain "qcom,usb-emu-phy" +- reg: offset and length of the register set in the memory map +- qcom,emu-init-seq: emulation initialization sequence of value,reg pairs + +Optional properties: +- reg: Additional register names supported are + "qscratch_base" + +Example PHY device node: + + usb_emu_phy@a720000 { + compatible = "qcom,usb-emu-phy"; + reg = <0x0a720000 0x9500>, + <0x0a6f8800 0x100>; + reg-names = "base", "qscratch_base"; + + qcom,emu-init-seq = <0xfff0 0x4 + 0xfff3 0x4 + 0xfff0 0x4 + 0x100000 0x20 + 0x0 0x20 + 0x1a0 0x20 + 0x100000 0x3c + 0x0 0x3c + 0x10060 0x3c + 0x0 0x4>; + };