~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/regulator/maxim,max20086.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/regulator/maxim,max20086.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Maxim Integrated MAX20086-MAX20089 Camera Power Protector
  8 
  9 maintainers:
 10   - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 11 
 12 description: |
 13   The MAX20086-MAX20089 are dual/quad camera power protectors, designed to
 14   deliver power over coax for radar and camera modules. They support
 15   software-configurable output switching and monitoring. The output voltage and
 16   current limit are fixed by the hardware design.
 17 
 18 properties:
 19   compatible:
 20     enum:
 21       - maxim,max20086
 22       - maxim,max20087
 23       - maxim,max20088
 24       - maxim,max20089
 25 
 26   reg:
 27     maxItems: 1
 28 
 29   enable-gpios:
 30     maxItems: 1
 31     description: GPIO connected to the EN pin, active high
 32 
 33   in-supply:
 34     description: Input supply for the camera outputs (IN pin, 3.0V to 15.0V)
 35 
 36   vdd-supply:
 37     description: Input supply for the device (VDD pin, 3.0V to 5.5V)
 38 
 39   regulators:
 40     type: object
 41 
 42     patternProperties:
 43       "^OUT[1-4]$":
 44         type: object
 45         $ref: regulator.yaml#
 46         unevaluatedProperties: false
 47 
 48     additionalProperties: false
 49 
 50 required:
 51   - compatible
 52   - reg
 53   - in-supply
 54   - vdd-supply
 55   - regulators
 56 
 57 allOf:
 58   - if:
 59       properties:
 60         compatible:
 61           contains:
 62             enum:
 63               - maxim,max20088
 64               - maxim,max20089
 65     then:
 66       properties:
 67         regulators:
 68           properties:
 69             OUT3: false
 70             OUT4: false
 71 
 72 additionalProperties: false
 73 
 74 examples:
 75   - |
 76     #include <dt-bindings/gpio/gpio.h>
 77 
 78     i2c {
 79         #address-cells = <1>;
 80         #size-cells = <0>;
 81 
 82         regulator@28 {
 83             compatible = "maxim,max20087";
 84             reg = <0x28>;
 85 
 86             in-supply = <&reg_12v0>;
 87             vdd-supply = <&reg_3v3>;
 88 
 89             enable-gpios = <&gpio 108 GPIO_ACTIVE_HIGH>;
 90 
 91             regulators {
 92                 OUT1 {
 93                     regulator-name = "VOUT1";
 94                 };
 95                 OUT2 {
 96                     regulator-name = "VOUT2";
 97                 };
 98                 OUT3 {
 99                     regulator-name = "VOUT3";
100                 };
101                 OUT4 {
102                     regulator-name = "VOUT4";
103                 };
104             };
105         };
106     };
107 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php