Maxim Integrated MAX20086-MAX20089 Camera Power Protector
Schema identifier ($id): "http://devicetree.org/schemas/regulator/maxim,max20086.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The MAX20086-MAX20089 are dual/quad camera power protectors, designed to deliver power over coax for radar and camera modules. They support software-configurable output switching and monitoring. The output voltage and current limit are fixed by the hardware design.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max20086", "maxim,max20087", "maxim,max20088", "maxim,max20089"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO connected to the EN pin, active high
in-supply — required here #
Input supply for the camera outputs (IN pin, 3.0V to 15.0V)
vdd-supply — required here #
Input supply for the device (VDD pin, 3.0V to 5.5V)
regulators — required here #
Value type (type): "object"
Properties matching a name pattern (patternProperties) #
^OUT[1-4]$ — 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 not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "in-supply", "vdd-supply", "regulators"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
regulators— not listed as required hereProperties and child nodes (
properties)
OUT3— not listed as required here
false— Not permitted by this property rule.
OUT4— not listed as required here
false— Not permitted by this property rule.
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@28 {
compatible = "maxim,max20087";
reg = <0x28>;
in-supply = <®_12v0>;
vdd-supply = <®_3v3>;
enable-gpios = <&gpio 108 GPIO_ACTIVE_HIGH>;
regulators {
OUT1 {
regulator-name = "VOUT1";
};
OUT2 {
regulator-name = "VOUT2";
};
OUT3 {
regulator-name = "VOUT3";
};
OUT4 {
regulator-name = "VOUT4";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)