Commit e3a008ac authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull Devicetree updates from Rob Herring:

 - a bunch of DT binding conversions to DT schema format

 - clean-ups of the Arm idle-states binding

 - support a default number of cells in of_for_each_phandle() when the
   cells name is missing

 - expose dtbs_check and dt_binding_check in the make help

 - convert writting-schema.md to ReST

 - HiSilicon reset controller binding updates

 - add documentation for MT8516 RNG

* tag 'devicetree-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (46 commits)
  of: restore old handling of cells_name=NULL in of_*_phandle_with_args()
  bus: qcom: fix spelling mistake "ambigous" -> "ambiguous"
  of: Let of_for_each_phandle fallback to non-negative cell_count
  iommu: pass cell_count = -1 to of_for_each_phandle with cells_name
  dt-bindings: arm: Convert Realtek board/soc bindings to json-schema
  dt-bindings: arm: Convert Actions Semi bindings to jsonschema
  dt-bindings: Correct spelling in example schema
  dt-bindings: cpu: Add a support cpu type for cortex-a55
  dt-bindings: gpu: mali-midgard: Add samsung exynos5250 compatible
  dt-bindings: arm: idle-states: Move exit-latency-us explanation
  dt-bindings: arm: idle-states: Add punctuation to improve readability
  dt-bindings: arm: idle-states: Correct "constraint guarantees"
  dt-bindings: arm: idle-states: Correct references to wake-up delay
  dt-bindings: arm: idle-states: Use "e.g." and "i.e." consistently
  pinctrl-mcp23s08: Fix property-name in dt-example
  dt-bindings: Clarify interrupts-extended usage
  dt-bindings: Convert Arm Mali Utgard GPU to DT schema
  dt-bindings: Convert Arm Mali Bifrost GPU to DT schema
  dt-bindings: Convert Arm Mali Midgard GPU to DT schema
  dt-bindings: irq: Convert Allwinner NMI Controller to a schema
  ...
parents 671df189 59e9fcf8
Loading
Loading
Loading
Loading
+0 −56
Original line number Diff line number Diff line
Actions Semi platforms device tree bindings
-------------------------------------------


S500 SoC
========

Required root node properties:

 - compatible :  must contain "actions,s500"


Modules:

Root node property compatible must contain, depending on module:

 - LeMaker Guitar: "lemaker,guitar"


Boards:

Root node property compatible must contain, depending on board:

 - Allo.com Sparky: "allo,sparky"
 - Cubietech CubieBoard6: "cubietech,cubieboard6"
 - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar"


S700 SoC
========

Required root node properties:

- compatible :  must contain "actions,s700"


Boards:

Root node property compatible must contain, depending on board:

 - Cubietech CubieBoard7: "cubietech,cubieboard7"


S900 SoC
========

Required root node properties:

- compatible :  must contain "actions,s900"


Boards:

Root node property compatible must contain, depending on board:

 - uCRobotics Bubblegum-96: "ucrobotics,bubblegum-96"
+38 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/actions.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Actions Semi platforms device tree bindings

maintainers:
  - Andreas Färber <afaerber@suse.de>
  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

properties:
  compatible:
    oneOf:
      # The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC.
      - items:
          - enum:
              - allo,sparky # Allo.com Sparky
              - cubietech,cubieboard6 # Cubietech CubieBoard6
          - const: actions,s500
      - items:
          - enum:
              - lemaker,guitar-bb-rev-b # LeMaker Guitar Base Board rev. B
          - const: lemaker,guitar
          - const: actions,s500

      # The Actions Semi S700 is a quad-core ARM Cortex-A53 SoC.
      - items:
          - enum:
              - cubietech,cubieboard7 # Cubietech CubieBoard7
          - const: actions,s700

      # The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC.
      - items:
          - enum:
              - ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96
          - const: actions,s900
+0 −28
Original line number Diff line number Diff line
Amlogic Meson Firmware registers Interface
------------------------------------------

The Meson SoCs have a register bank with status and data shared with the
secure firmware.

Required properties:
 - compatible: For Meson GX SoCs, must be "amlogic,meson-gx-ao-secure", "syscon"

Properties should indentify components of this register interface :

Meson GX SoC Information
------------------------
A firmware register encodes the SoC type, package and revision information on
the Meson GX SoCs.
If present, the following property should be added :

Optional properties:
  - amlogic,has-chip-id: If present, the interface gives the current SoC version.

Example
-------

ao-secure@140 {
	compatible = "amlogic,meson-gx-ao-secure", "syscon";
	reg = <0x0 0x140 0x0 0x140>;
	amlogic,has-chip-id;
};
+52 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
# Copyright 2019 BayLibre, SAS
%YAML 1.2
---
$id: "http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Amlogic Meson Firmware registers Interface

maintainers:
  - Neil Armstrong <narmstrong@baylibre.com>

description: |
  The Meson SoCs have a register bank with status and data shared with the
  secure firmware.

# We need a select here so we don't match all nodes with 'syscon'
select:
  properties:
    compatible:
      contains:
        const: amlogic,meson-gx-ao-secure
  required:
    - compatible

properties:
  compatible:
   items:
      - const: amlogic,meson-gx-ao-secure
      - const: syscon

  reg:
    maxItems: 1

  amlogic,has-chip-id:
    description: |
      A firmware register encodes the SoC type, package and revision
      information on the Meson GX SoCs. If present, the interface gives
      the current SoC version.
    type: boolean

required:
  - compatible
  - reg

examples:
  - |
    ao-secure@140 {
          compatible = "amlogic,meson-gx-ao-secure", "syscon";
          reg = <0x140 0x140>;
          amlogic,has-chip-id;
    };
+1 −1
Original line number Diff line number Diff line
@@ -199,7 +199,7 @@ The description for the board must include:
     A detailed description of the bindings used for "psci" nodes is present
     in the psci.yaml file.
   - a "cpus" node describing the available cores and their associated
     "enable-method"s. For more details see cpus.txt file.
     "enable-method"s. For more details see cpus.yaml file.

Example:

Loading