Skip to content

Commit

Permalink
dt-bindings: regulator: adi,max77541-regulator.yaml Add MAX77541 Regu…
Browse files Browse the repository at this point in the history
…lator bindings

The bindings for MAX77541 and MAX77540
regulator drivers.

Signed-off-by: Okan Sahin <okan.sahin@analog.com>
  • Loading branch information
oknshn authored and intel-lab-lkp committed Dec 26, 2022
1 parent f2fbe0a commit c0440d7
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
@@ -0,0 +1,44 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/adi,max77541-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Buck Converter for MAX77540/MAX77541

maintainers:
- Okan Sahin <okan.sahin@analog.com>

description: |
This is a part of device tree bindings for ADI MAX77540/MAX77541
The buck converter is represented as a sub-node of the PMIC node on the device tree.
The device has two buck regulators.
See also Documentation/devicetree/bindings/mfd/adi,max77541.yaml for
additional information and example.
properties:
compatible:
enum:
- adi,max77540-regulator
- adi,max77541-regulator

patternProperties:
"^BUCK[12]$":
type: object
$ref: regulator.yaml#
additionalProperties: false
description: |
Buck regulator.
properties:
regulator-name: true
regulator-always-on: true
regulator-boot-on: true
regulator-min-microvolt:
minimum: 300000
regulator-max-microvolt:
maximum: 5200000

additionalProperties: false
1 change: 1 addition & 0 deletions MAINTAINERS
Expand Up @@ -12502,6 +12502,7 @@ M: Okan Sahin <okan.sahin@analog.com>
L: linux-kernel@vger.kernel.org
S: Maintained
F: Documentation/devicetree/bindings/mfd/adi,max77541.yaml
F: Documentation/devicetree/bindings/regulator/adi,max77541.yaml
F: drivers/mfd/max77541.c
F: drivers/regulator/max77541-regulator.c
F: include/linux/mfd/max77541.h
Expand Down

0 comments on commit c0440d7

Please sign in to comment.