atmel,sam-dac

Description

Atmel SAM family DAC

Properties

Top level properties

These property descriptions apply to “atmel,sam-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

prescaler

int

Peripheral Clock to DAC Clock Ratio. Prescaler value is calculated as
PRESCAL = (MCK / DACClock) - 2. Should be in range from 0 to 15. The
value will be written to DACC_MR.PRESCALER bit-field. The property is
applicable only to SAME70, SAMV71 series devices.

Default value: 15

#io-channel-cells

int

This property is required.

Constant value: 1

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

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