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

dt-bindings: usb: max33359: add max77759-tcpci flavor

Maxim's MAX77759 is a companion PMIC for USB Type-C applications. It
comprises the following in one package:
* top (including GPIO)
* charger
* fuel gauge
* TCPCi

While in the same package, TCPCi and Fuel Gauge have separate I2C
addresses, interrupt lines and interrupt status registers and can be
treated independently.

While the TCPCi part appears identical to max33359 on the surface, it
should still have a dedicated compatible, though, as it is a different
implementation. 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, maxim,max77759-tcpci, to allow for
potential differences in the future.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241203-dtbinding-max77759-v3-1-e1a1d86aca8e@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

André Draszik and committed by
Greg Kroah-Hartman
89da9eba 990c2a26

+6 -2
+6 -2
Documentation/devicetree/bindings/usb/maxim,max33359.yaml
··· 13 13 14 14 properties: 15 15 compatible: 16 - enum: 17 - - maxim,max33359 16 + oneOf: 17 + - enum: 18 + - maxim,max33359 19 + - items: 20 + - const: maxim,max77759-tcpci 21 + - const: maxim,max33359 18 22 19 23 reg: 20 24 maxItems: 1