159604ba7SSebastian Reichel# SPDX-License-Identifier: GPL-2.0 259604ba7SSebastian Reichel%YAML 1.2 359604ba7SSebastian Reichel--- 4*1ea78ec5SKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/supply/dlg,da9150-charger.yaml# 5*1ea78ec5SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 659604ba7SSebastian Reichel 759604ba7SSebastian Reicheltitle: Dialog Semiconductor DA9150 Charger Power Supply bindings 859604ba7SSebastian Reichel 959604ba7SSebastian Reichelmaintainers: 1059604ba7SSebastian Reichel - Sebastian Reichel <sre@kernel.org> 1159604ba7SSebastian Reichel 1259604ba7SSebastian ReichelallOf: 1359604ba7SSebastian Reichel - $ref: power-supply.yaml# 1459604ba7SSebastian Reichel 1559604ba7SSebastian Reichelproperties: 1659604ba7SSebastian Reichel compatible: 1759604ba7SSebastian Reichel const: dlg,da9150-charger 1859604ba7SSebastian Reichel 1959604ba7SSebastian Reichel io-channels: 2059604ba7SSebastian Reichel items: 2159604ba7SSebastian Reichel - description: ADC channel for current 2259604ba7SSebastian Reichel - description: ADC channel for bus voltage 2359604ba7SSebastian Reichel - description: ADC channel for junction temperature 2459604ba7SSebastian Reichel - description: ADC channel for battery voltage 2559604ba7SSebastian Reichel 2659604ba7SSebastian Reichel io-channel-names: 2759604ba7SSebastian Reichel items: 2859604ba7SSebastian Reichel - const: CHAN_IBUS 2959604ba7SSebastian Reichel - const: CHAN_VBUS 3059604ba7SSebastian Reichel - const: CHAN_TJUNC 3159604ba7SSebastian Reichel - const: CHAN_VBAT 3259604ba7SSebastian Reichel 3359604ba7SSebastian Reichelrequired: 3459604ba7SSebastian Reichel - compatible 3559604ba7SSebastian Reichel 3659604ba7SSebastian ReicheladditionalProperties: false 3759604ba7SSebastian Reichel 3859604ba7SSebastian Reichelexamples: 3959604ba7SSebastian Reichel - | 4059604ba7SSebastian Reichel pmic { 4159604ba7SSebastian Reichel charger { 4259604ba7SSebastian Reichel compatible = "dlg,da9150-charger"; 4359604ba7SSebastian Reichel io-channels = <&gpadc 0>, 4459604ba7SSebastian Reichel <&gpadc 2>, 4559604ba7SSebastian Reichel <&gpadc 8>, 4659604ba7SSebastian Reichel <&gpadc 5>; 4759604ba7SSebastian Reichel io-channel-names = "CHAN_IBUS", 4859604ba7SSebastian Reichel "CHAN_VBUS", 4959604ba7SSebastian Reichel "CHAN_TJUNC", 5059604ba7SSebastian Reichel "CHAN_VBAT"; 5159604ba7SSebastian Reichel }; 5259604ba7SSebastian Reichel }; 53