renesas,ra-acmphs-global

Vendor: Renesas Electronics Corporation

Description

Renesas RA ACMPHS (High-Speed Analog COMParator) Global

The following example displays the minimum node layout:

  acmphs_global: acmphs_global@deadbeef {
          compatible = "renesas,ra-acmphs-global";
          reg = <0xdeadbeef 0x200>;
          status = "disabled";

          acmphs0: acmphs0 {
                  ...
          };
  };

If the pin-output-enable is selected in the comparator controller node,
this global node needs to define the VCOUT pin to enable output on that pin.

Note: The VCOUT pinctrl for the comparator global node is already defined
on each board that supported comparator. Please check the board’s pinctrl
before defining it.

  acmphs_vcout: acmphs_vcout {
          group1 {
                  /* VCOUT */
                  psels = <RA_PSEL(RA_PSEL_ACMPHS_VCOUT, ..., ...)>;
          };
  };

  &acmphs_global {
          pinctrl-0 = <&acmphs_vcout>;
          pinctrl-names = "default";
          status = "okay";

          acmphs0 {
                  ...
          };
  };

Note: There is only one VCOUT shared across all comparator controller nodes.
Therefore, the VCOUT value is the logical OR of the output signals from all
comparator controllers that have pin-output-enable enabled.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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.