infineon,hppass-csg-dac

Description

Infineon HPPASS CSG DAC.

Represents the 10-bit, 30 Msps DAC inside a single CSG slice.  This node
must be a child of an "infineon,hppass-csg" CSG MFD parent.

This DAC has no external output pin.  Its output is wired internally to
the paired comparator's negative input, and may optionally be
routed to the SAR ADC for observation through CSG_CTRL.VDAC_OUT_SEL.
The DAC therefore cannot be used in isolation: the paired comparator
child node (same slice index) must also be configured and enabled.

Resolution is fixed at 10 bits.  Only direct-write mode is supported
through the standard Zephyr DAC API.  Advanced modes (buffered, slope,
LUT) are not yet supported.

Properties

Top level properties

These property descriptions apply to “infineon,hppass-csg-dac” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

deglitch

int

DAC output deglitch length in HPPASS clock cycles
(DAC_CFG.DAC_DEGLITCH, 0-7).  Glitches shorter than this width are
filtered out on the DAC analog output before it is driven into the
paired comparator's negative input.

Default value: 0

Value range: 0 to 7

initial-value

int

Optional 10-bit value (0..1023) to write into SLICE[s].DAC_VAL at
driver init, before the HPPASS AC enters its locked state.  When
omitted, DAC_VAL is left at its hardware reset value of 0
(~0 V output).  Useful when the paired comparator must see a
stable mid-rail or other reference before the application has a
chance to call dac_write_value().

Value range: 0 to 1023

#io-channel-cells

int

This property is required.

Constant value: 1

Child node properties

Name

Type

Details

reg

array

Channel identifier.

This property is required.

See Important properties for more information.

zephyr,resolution

int

DAC resolution to be used for the channel.

zephyr,buffered

boolean

Enable output buffer for the channel.

zephyr,internal

boolean

Enable internal output path for the channel.

zephyr,vref-mv

int

This property can be used to specify the voltage (in millivolts)
of the reference selected for this channel, so that applications
can get that value if needed for some calculations.

Specifier cell names

  • io-channel cells: output