Palmas general purpose ADC IP block

Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/ti,palmas-gpadc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"

This ADC is often used to provide channels via the io-channels
consumer framework.
Channels list:
  0 battery type
  1 battery temp NTC (optional current source)
  2 GP
  3 temp (with ext. diode, optional current source)
  4 GP
  5 GP
  6 VBAT_SENSE
  7 VCC_SENSE
  8 Backup Battery voltage
  9 external charger (VCHG)
  10 VBUS
  11 DC-DC current probe (how does this work?)
  12 internal die temp
  13 internal die temp
  14 USB ID pin voltage
  15 test network

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,palmas-gpadc"

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

#io-channel-cells — required here #

Exact value (const): 1

ti,channel0-current-microamp — not listed as required here #

Channel 0 current in uA.

Allowed values (enum): 0, 5, 15, 20

ti,channel3-current-microamp — not listed as required here #

Channel 3 current in uA.

Allowed values (enum): 0, 10, 400, 800

ti,enable-extended-delay — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Enable extended delay.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "#io-channel-cells"

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page