Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: usb: tps6598x: Add tps25750

TPS25750 is USB TypeC PD controller which is a subset of TPS6598x.

Signed-off-by: Abdel Alkuor <abdelalkuor@geotab.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231003155842.57313-2-alkuor@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Abdel Alkuor and committed by
Greg Kroah-Hartman
6060d554 14485de4

+80 -1
+80 -1
Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
··· 20 20 enum: 21 21 - ti,tps6598x 22 22 - apple,cd321x 23 + - ti,tps25750 24 + 23 25 reg: 24 - maxItems: 1 26 + minItems: 1 27 + items: 28 + - description: main PD controller address 29 + - description: | 30 + I2C slave address field in PBMs input data 31 + which is used as the device address when writing the 32 + patch for TPS25750. 33 + The patch address can be any value except 0x00, 0x20, 34 + 0x21, 0x22, and 0x23 35 + 36 + reg-names: 37 + items: 38 + - const: main 39 + - const: patch-address 25 40 26 41 wakeup-source: true 27 42 ··· 47 32 items: 48 33 - const: irq 49 34 35 + firmware-name: 36 + description: | 37 + Should contain the name of the default patch binary 38 + file located on the firmware search path which is 39 + used to switch the controller into APP mode. 40 + This is used when tps25750 doesn't have an EEPROM 41 + connected to it. 42 + maxItems: 1 43 + 50 44 required: 51 45 - compatible 52 46 - reg 47 + 48 + allOf: 49 + - if: 50 + properties: 51 + compatible: 52 + contains: 53 + const: ti,tps25750 54 + then: 55 + properties: 56 + reg: 57 + maxItems: 2 58 + 59 + connector: 60 + required: 61 + - data-role 62 + 63 + required: 64 + - connector 65 + - reg-names 66 + else: 67 + properties: 68 + reg: 69 + maxItems: 1 53 70 54 71 additionalProperties: true 55 72 ··· 109 62 label = "USB-C"; 110 63 port { 111 64 typec_ep: endpoint { 65 + remote-endpoint = <&otg_ep>; 66 + }; 67 + }; 68 + }; 69 + }; 70 + }; 71 + 72 + - | 73 + #include <dt-bindings/interrupt-controller/irq.h> 74 + i2c { 75 + #address-cells = <1>; 76 + #size-cells = <0>; 77 + 78 + typec@21 { 79 + compatible = "ti,tps25750"; 80 + reg = <0x21>, <0x0f>; 81 + reg-names = "main", "patch-address"; 82 + 83 + interrupt-parent = <&msmgpio>; 84 + interrupts = <100 IRQ_TYPE_LEVEL_LOW>; 85 + interrupt-names = "irq"; 86 + firmware-name = "tps25750.bin"; 87 + 88 + pinctrl-names = "default"; 89 + pinctrl-0 = <&typec_pins>; 90 + 91 + typec_con0: connector { 92 + compatible = "usb-c-connector"; 93 + label = "USB-C"; 94 + data-role = "dual"; 95 + port { 96 + typec_ep0: endpoint { 112 97 remote-endpoint = <&otg_ep>; 113 98 }; 114 99 };