Commit daa629cd authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring
Browse files

dt-bindings: arm: samsung: Convert Exynos Chipid bindings to json-schema



Convert Samsung Exynos Chipid bindings to DT schema format using
json-schema.

Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 1bc2711c
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
SAMSUNG Exynos SoCs Chipid driver.

Required properties:
- compatible : Should at least contain "samsung,exynos4210-chipid".

- reg: offset and length of the register set

Example:
	chipid@10000000 {
		compatible = "samsung,exynos4210-chipid";
		reg = <0x10000000 0x100>;
	};
+25 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/samsung/exynos-chipid.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos SoC series Chipid driver

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>

properties:
  compatible:
    items:
      - const: samsung,exynos4210-chipid

  reg:
    maxItems: 1

examples:
  - |
    chipid@10000000 {
      compatible = "samsung,exynos4210-chipid";
      reg = <0x10000000 0x100>;
    };