cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

typec-tcpci.txt (1320B)


      1TCPCI(Typec port cotroller interface) binding
      2---------------------------------------------
      3
      4Required properties:
      5- compatible:       should be set one of following:
      6		    - "nxp,ptn5110" for NXP USB PD TCPC PHY IC ptn5110.
      7
      8- reg:              the i2c slave address of typec port controller device.
      9- interrupt-parent: the phandle to the interrupt controller which provides
     10                    the interrupt.
     11- interrupts:       interrupt specification for tcpci alert.
     12
     13Required sub-node:
     14- connector: The "usb-c-connector" attached to the tcpci chip, the bindings
     15  of connector node are specified in
     16  Documentation/devicetree/bindings/connector/usb-connector.yaml
     17
     18Example:
     19
     20ptn5110@50 {
     21	compatible = "nxp,ptn5110";
     22	reg = <0x50>;
     23	interrupt-parent = <&gpio3>;
     24	interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
     25
     26	usb_con: connector {
     27		compatible = "usb-c-connector";
     28		label = "USB-C";
     29		data-role = "dual";
     30		power-role = "dual";
     31		try-power-role = "sink";
     32		source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
     33		sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
     34			     PDO_VAR(5000, 12000, 2000)>;
     35		op-sink-microwatt = <10000000>;
     36
     37		ports {
     38			#address-cells = <1>;
     39			#size-cells = <0>;
     40
     41			port@1 {
     42				reg = <1>;
     43				usb_con_ss: endpoint {
     44					remote-endpoint = <&usb3_data_ss>;
     45				};
     46			};
     47		};
     48	};
     49};