regulator: arizona-regulator: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Charles Keepax 2020-05-13 10:57:14 +01:00 коммит произвёл Rob Herring
Родитель b5e47184c3
Коммит afd9ee0e97
2 изменённых файлов: 37 добавлений и 18 удалений

Просмотреть файл

@ -1,18 +0,0 @@
Cirrus Logic Arizona class audio SoCs
These devices are audio SoCs with extensive digital capabilities and a range
of analogue I/O.
This document lists regulator specific bindings, see the primary binding
document:
For Wolfson Microelectronic Arizona codecs: ../mfd/arizona.txt
For Cirrus Logic Madera codecs: ../mfd/madera.txt
Optional properties:
- wlf,ldoena : GPIO specifier for the GPIO controlling LDOENA
Optional subnodes:
- ldo1 : Initial data for the LDO1 regulator, as covered in
Documentation/devicetree/bindings/regulator/regulator.txt
- micvdd : Initial data for the MICVDD regulator, as covered in
Documentation/devicetree/bindings/regulator/regulator.txt

Просмотреть файл

@ -0,0 +1,37 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/wlf,arizona.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Cirrus Logic/Wolfson Microelectronics Arizona/Madera class audio SoCs
maintainers:
- patches@opensource.cirrus.com
description: |
These devices are audio SoCs with extensive digital capabilities and a
range of analogue I/O.
This document lists regulator specific bindings, see the primary binding
document. For Wolfson Microelectronic Arizona codecs ../mfd/wlf,arizona.yaml
and for Cirrus Logic Madera codecs ../mfd/madera.txt
properties:
wlf,ldoena:
description:
GPIO specifier for the GPIO controlling LDOENA.
$ref: "/schemas/types.yaml#/definitions/phandle-array"
maxItems: 1
ldo1:
description:
Initial data for the LDO1 regulator.
$ref: "regulator.yaml#"
type: object
micvdd:
description:
Initial data for the MICVDD regulator.
$ref: "regulator.yaml#"
type: object