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,max77759: reference power-supply schema and add regulator property

Extend the max77759 binding to reference power-supply schema, so that
PMIC node can reference its supplier. Also, add regulator property to
control CHGIN (OTG) voltage.

Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260325-max77759-charger-v9-1-4486dd297adc@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Amit Sunil Dhamne and committed by
Greg Kroah-Hartman
1afaec82 698f54d4

+15 -1
+15 -1
Documentation/devicetree/bindings/mfd/maxim,max77759.yaml
··· 16 16 The MAX77759 includes Battery Charger, Fuel Gauge, temperature sensors, USB 17 17 Type-C Port Controller (TCPC), NVMEM, and a GPIO expander. 18 18 19 + allOf: 20 + - $ref: /schemas/power/supply/power-supply.yaml# 21 + 19 22 properties: 20 23 compatible: 21 24 const: maxim,max77759 ··· 40 37 nvmem-0: 41 38 $ref: /schemas/nvmem/maxim,max77759-nvmem.yaml 42 39 40 + chgin-otg-regulator: 41 + type: object 42 + description: Provides Boost for sourcing VBUS. 43 + $ref: /schemas/regulator/regulator.yaml# 44 + unevaluatedProperties: false 45 + 43 46 required: 44 47 - compatible 45 48 - interrupts 46 49 - reg 47 50 48 - additionalProperties: false 51 + unevaluatedProperties: false 49 52 50 53 examples: 51 54 - | ··· 68 59 69 60 interrupt-controller; 70 61 #interrupt-cells = <2>; 62 + power-supplies = <&maxtcpci>; 63 + 64 + chgin-otg-regulator { 65 + regulator-name = "chgin-otg"; 66 + }; 71 67 72 68 gpio { 73 69 compatible = "maxim,max77759-gpio";