renesas,ra-adc-b-scan-group

Description

Renesas RA ADC_B scan-group configuration node.

A scan-group is a hardware unit of trigger and completion: each
scan-group has its own scan-end interrupt and is executed by exactly
one ADC converter (ADC0 or ADC1) selected via renesas,converter-unit-id.

This node carries configuration only; it does not bind a driver.
Channels become members of a scan-group via the renesas,scan-group
phandle in their child node under an adc-unit.

Example:
  scan_group0: scan-group@0 {
      compatible = "renesas,ra-adc-b-scan-group";
      reg = <0>;
      interrupts = <60 12>;
      interrupt-names = "scanend";
      renesas,converter-unit-id = <0>;
  };

Properties

Properties not inherited from the base binding file.

Name

Type

Details

renesas,converter-unit-id

int

Selects which ADC converter executes this scan-group (0 = ADC0,
1 = ADC1). Must match the unit-id of the adc-unit that owns the
channels referencing this scan-group; the driver enforces this
with BUILD_ASSERT.

An int (not a phandle) is used because adc-unit -> channel ->
scan-group -> adc-unit would otherwise form a devicetree cycle.

This property is required.

Legal values: 0, 1