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: power: supply: add maxim,max77705 charger

Add maxim,max77705 charger binding.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20250123-starqltechn_integration_upstream-v17-1-8b06685b6612@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Dzmitry Sankouski and committed by
Lee Jones
af280f29 2014c95a

+50
+50
Documentation/devicetree/bindings/power/supply/maxim,max77705.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/power/supply/maxim,max77705.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Maxim MAX777705 charger 8 + 9 + maintainers: 10 + - Dzmitry Sankouski <dsankouski@gmail.com> 11 + 12 + description: | 13 + This is a device tree bindings for charger found in Maxim MAX77705 chip. 14 + 15 + allOf: 16 + - $ref: power-supply.yaml# 17 + 18 + properties: 19 + compatible: 20 + const: maxim,max77705-charger 21 + 22 + interrupts: 23 + maxItems: 1 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - monitored-battery 32 + 33 + unevaluatedProperties: false 34 + 35 + examples: 36 + - | 37 + #include <dt-bindings/interrupt-controller/irq.h> 38 + 39 + i2c { 40 + #address-cells = <1>; 41 + #size-cells = <0>; 42 + 43 + charger@69 { 44 + compatible = "maxim,max77705-charger"; 45 + reg = <0x69>; 46 + monitored-battery = <&battery>; 47 + interrupt-parent = <&pm8998_gpios>; 48 + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 49 + }; 50 + };