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, 18 Aug 2021 13:55:57 -0500
From:   Rob Herring <robh@...nel.org>
To:     Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Cc:     Yoshinori Sato <ysato@...rs.sourceforge.jp>,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: memory: convert H8/300 bus controller to
 dtschema

On Wed, Aug 18, 2021 at 01:33:25PM +0200, Krzysztof Kozlowski wrote:
> Convert H8/300 bus controller bindings to DT schema format using
> json-schema.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
> ---
>  .../memory-controllers/renesas,h8300-bsc.txt  | 12 -------
>  .../memory-controllers/renesas,h8300-bsc.yaml | 35 +++++++++++++++++++
>  2 files changed, 35 insertions(+), 12 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/memory-controllers/renesas,h8300-bsc.txt
>  create mode 100644 Documentation/devicetree/bindings/memory-controllers/renesas,h8300-bsc.yaml
> 
> diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,h8300-bsc.txt b/Documentation/devicetree/bindings/memory-controllers/renesas,h8300-bsc.txt
> deleted file mode 100644
> index cdf406c902e2..000000000000
> --- a/Documentation/devicetree/bindings/memory-controllers/renesas,h8300-bsc.txt
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -* H8/300 bus controller
> -
> -Required properties:
> -  - compatible: Must be "renesas,h8300-bsc".
> -  - reg: Base address and length of BSC registers.
> -
> -Example.
> -	bsc: memory-controller@...01e {
> -		compatible = "renesas,h8300h-bsc", "renesas,h8300-bsc";
> -		reg = <0xfee01e 8>;
> -	};
> -
> diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,h8300-bsc.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,h8300-bsc.yaml
> new file mode 100644
> index 000000000000..70487bb685cb
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,h8300-bsc.yaml
> @@ -0,0 +1,35 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/memory-controllers/renesas,h8300-bsc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: H8/300 bus controller
> +
> +maintainers:
> +  - Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
> +  - Yoshinori Sato <ysato@...rs.sourceforge.jp>
> +
> +properties:
> +  compatible:
> +    oneOf:
> +      - const: renesas,h8300-bsc
> +      - items:
> +          - const: renesas,h8300h-bsc
> +          - const: renesas,h8300-bsc

Seems what's actually in use is:

items:
  - enum: 
      - renesas,h8300h-bsc
      - renesas,h8s-bsc
  - const: renesas,h8300-bsc

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ