lkml.org 
[lkml]   [2020]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 4/7] mfd: arizona: Move binding over to dtschema
On Wed, May 13, 2020 at 10:57:17AM +0100, Charles Keepax wrote:
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---
>
> Changes since v2:
> - Removed a couple more redundant descriptions
>
> Thanks,
> Charles
>
> Documentation/devicetree/bindings/mfd/arizona.txt | 101 -------
> .../devicetree/bindings/mfd/wlf,arizona.yaml | 289 +++++++++++++++++++++
> MAINTAINERS | 8 +-
> 3 files changed, 293 insertions(+), 105 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/mfd/arizona.txt
> create mode 100644 Documentation/devicetree/bindings/mfd/wlf,arizona.yaml


> diff --git a/Documentation/devicetree/bindings/mfd/wlf,arizona.yaml b/Documentation/devicetree/bindings/mfd/wlf,arizona.yaml
> new file mode 100644
> index 0000000000000..14b6aac64a7e0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/wlf,arizona.yaml
> @@ -0,0 +1,289 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mfd/wlf,arizona.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Cirrus Logic/Wolfson Microelectronics Arizona 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.
> +
> +allOf:
> + - $ref: /schemas/sound/wlf,arizona.yaml#
> + - $ref: /schemas/regulator/wlf,arizona.yaml#
> + - $ref: /schemas/extcon/wlf,arizona.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - cirrus,cs47l24
> + - wlf,wm1831
> + then:
> + required:
> + - DCVDD-supply
> + - MICVDD-supply
> + else:
> + properties:
> + LDOVDD-supply:
> + description:
> + Digital power supply, used internally to generate DCVDD when
> + internally supplied.
> + $ref: /schemas/types.yaml#/definitions/phandle

Don't need a type. *-supply has one already.

I'll fix up when applying.

Rob

\
 
 \ /
  Last update: 2020-05-27 21:44    [W:0.119 / U:3.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site