1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/power/suppl 4 $id: http://devicetree.org/schemas/power/supply/dlg,da9150-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Dialog Semiconductor DA9150 Charger Pow 7 title: Dialog Semiconductor DA9150 Charger Power Supply 8 8 9 maintainers: 9 maintainers: 10 - Sebastian Reichel <sre@kernel.org> 10 - Sebastian Reichel <sre@kernel.org> 11 11 12 allOf: 12 allOf: 13 - $ref: power-supply.yaml# 13 - $ref: power-supply.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: dlg,da9150-charger 17 const: dlg,da9150-charger 18 18 19 io-channels: 19 io-channels: 20 items: 20 items: 21 - description: ADC channel for current 21 - description: ADC channel for current 22 - description: ADC channel for bus volta 22 - description: ADC channel for bus voltage 23 - description: ADC channel for junction 23 - description: ADC channel for junction temperature 24 - description: ADC channel for battery v 24 - description: ADC channel for battery voltage 25 25 26 io-channel-names: 26 io-channel-names: 27 items: 27 items: 28 - const: CHAN_IBUS 28 - const: CHAN_IBUS 29 - const: CHAN_VBUS 29 - const: CHAN_VBUS 30 - const: CHAN_TJUNC 30 - const: CHAN_TJUNC 31 - const: CHAN_VBAT 31 - const: CHAN_VBAT 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 35 36 additionalProperties: false 36 additionalProperties: false 37 37 38 examples: 38 examples: 39 - | 39 - | 40 pmic { 40 pmic { 41 charger { 41 charger { 42 compatible = "dlg,da9150-charger"; 42 compatible = "dlg,da9150-charger"; 43 io-channels = <&gpadc 0>, 43 io-channels = <&gpadc 0>, 44 <&gpadc 2>, 44 <&gpadc 2>, 45 <&gpadc 8>, 45 <&gpadc 8>, 46 <&gpadc 5>; 46 <&gpadc 5>; 47 io-channel-names = "CHAN_IBUS", 47 io-channel-names = "CHAN_IBUS", 48 "CHAN_VBUS", 48 "CHAN_VBUS", 49 "CHAN_TJUNC", 49 "CHAN_TJUNC", 50 "CHAN_VBAT"; 50 "CHAN_VBAT"; 51 }; 51 }; 52 }; 52 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.