[PATCH 2/6] dt-bindings: usb: max33359: add max77759 flavor
André Draszik
andre.draszik at linaro.org
Wed Nov 27 03:01:40 PST 2024
On the surface, Maxim's max77759 appears identical to max33359. It
should still have a dedicated compatible, though, as it is a different
IC. This will allow for handling differences in case they are
discovered in the future.
max77759 is used on Google Pixel 6 and Pixel 6 Pro.
Add a dedicated compatible to allow for potential differences in the
future.
Signed-off-by: André Draszik <andre.draszik at linaro.org>
---
Documentation/devicetree/bindings/usb/maxim,max33359.yaml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/maxim,max33359.yaml b/Documentation/devicetree/bindings/usb/maxim,max33359.yaml
index 20b62228371b..e11ede3684d4 100644
--- a/Documentation/devicetree/bindings/usb/maxim,max33359.yaml
+++ b/Documentation/devicetree/bindings/usb/maxim,max33359.yaml
@@ -13,8 +13,12 @@ description: Maxim TCPCI Type-C PD controller
properties:
compatible:
- enum:
- - maxim,max33359
+ oneOf:
+ - enum:
+ - maxim,max33359
+ - items:
+ - const: maxim,max77759
+ - const: maxim,max33359
reg:
maxItems: 1
--
2.47.0.338.g60cca15819-goog
More information about the linux-arm-kernel
mailing list