lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 27 May 2020 13:43:29 -0600
From:   Rob Herring <robh@...nel.org>
To:     Charles Keepax <ckeepax@...nsource.cirrus.com>
Cc:     cw00.choi@...sung.com, lee.jones@...aro.org,
        linus.walleij@...aro.org, broonie@...nel.org,
        myungjoo.ham@...sung.com, lgirdwood@...il.com,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
        patches@...nsource.cirrus.com
Subject: Re: [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@...nsource.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@...nsource.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ