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: mfd: maxim,max77693: Add USB connector

Add micro-USB connector under "muic" node to properly represent the
hardware. Deprecate also the old "max77693-muic" in favor of generic
"muic" (this is max77693, so there is no need to state it in its child
nodes). This "muic" node is used only to instantiate MUIC driver by
compatible, thus actual Linux driver changes are needed. Extend the
example with this new code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://lore.kernel.org/r/20230723142842.98204-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
789c9ce9 da7ee30a

+48
+48
Documentation/devicetree/bindings/mfd/maxim,max77693.yaml
··· 41 41 max77693-muic: 42 42 type: object 43 43 additionalProperties: false 44 + deprecated: true 44 45 45 46 properties: 46 47 compatible: 47 48 const: maxim,max77693-muic 49 + 50 + required: 51 + - compatible 52 + 53 + muic: 54 + type: object 55 + additionalProperties: false 56 + 57 + properties: 58 + compatible: 59 + const: maxim,max77693-muic 60 + 61 + connector: 62 + $ref: /schemas/connector/usb-connector.yaml# 63 + unevaluatedProperties: false 48 64 49 65 required: 50 66 - compatible ··· 124 108 regulator-name = "CHARGER"; 125 109 regulator-min-microamp = <60000>; 126 110 regulator-max-microamp = <2580000>; 111 + }; 112 + }; 113 + 114 + muic { 115 + compatible = "maxim,max77693-muic"; 116 + 117 + connector { 118 + compatible = "samsung,usb-connector-11pin", 119 + "usb-b-connector"; 120 + label = "micro-USB"; 121 + type = "micro"; 122 + 123 + ports { 124 + #address-cells = <1>; 125 + #size-cells = <0>; 126 + 127 + port@0 { 128 + reg = <0>; 129 + 130 + muic_to_usb: endpoint { 131 + remote-endpoint = <&usb_to_muic>; 132 + }; 133 + }; 134 + 135 + port@3 { 136 + reg = <3>; 137 + 138 + muic_to_mhl: endpoint { 139 + remote-endpoint = <&mhl_to_muic>; 140 + }; 141 + }; 142 + }; 127 143 }; 128 144 }; 129 145