Awinic AW37503 Voltage Regulator
Schema identifier ($id): "http://devicetree.org/schemas/regulator/awinic,aw37503.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alec Li <like@awinic.com>"
The AW37503 are dual voltage regulator, designed to support positive/negative supply for driving TFT-LCD panels. It support software-configurable output switching and monitoring. The output voltages can be programmed via an I2C compatible interface.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "awinic,aw37503"
reg — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^out[pn]$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties for single regulator.
Properties and child nodes (properties) #
enable-gpios — not listed as required here
Maximum number of items (maxItems): 1
GPIO specifier to enable the GPIO control (on/off) for regulator.
Required in this object (required): "regulator-name"
Required in this object (required): "compatible", "reg", "outp", "outn"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@3e {
compatible = "awinic,aw37503";
reg = <0x3e>;
outp {
regulator-name = "outp";
regulator-boot-on;
regulator-always-on;
enable-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
outn {
regulator-name = "outn";
regulator-boot-on;
regulator-always-on;
enable-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)