Unverified Commit e2391782 authored by Krishna Yarlagadda's avatar Krishna Yarlagadda Committed by Mark Brown
Browse files

spi: dt-bindings: split peripheral prods



Move peripheral properties for Tegra QSPI controller to
nvidia,tegra210-quad-peripheral-props.yaml and add reference
to spi-peripheral-props.yaml file.

Signed-off-by: default avatarKrishna Yarlagadda <kyarlagadda@nvidia.com>
Link: https://lore.kernel.org/r/20220607114659.54314-3-kyarlagadda@nvidia.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b7613417
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/nvidia,tegra210-quad-peripheral-props.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Peripheral properties for Tegra Quad SPI Controller

maintainers:
  - Thierry Reding <thierry.reding@gmail.com>
  - Jonathan Hunter <jonathanh@nvidia.com>

properties:
  nvidia,tx-clk-tap-delay:
    description:
      Delays the clock going out to device with this tap value.
      Tap value varies based on platform design trace lengths from Tegra
      QSPI to corresponding slave device.
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 0
    maximum: 31

  nvidia,rx-clk-tap-delay:
    description:
      Delays the clock coming in from the device with this tap value.
      Tap value varies based on platform design trace lengths from Tegra
      QSPI to corresponding slave device.
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 0
    maximum: 255

unevaluatedProperties: true
+0 −21
Original line number Diff line number Diff line
@@ -57,27 +57,6 @@ patternProperties:
      spi-tx-bus-width:
        enum: [1, 2, 4]

      nvidia,tx-clk-tap-delay:
        description:
          Delays the clock going out to device with this tap value.
          Tap value varies based on platform design trace lengths from Tegra
          QSPI to corresponding slave device.
        $ref: /schemas/types.yaml#/definitions/uint32
        minimum: 0
        maximum: 31

      nvidia,rx-clk-tap-delay:
        description:
          Delays the clock coming in from the device with this tap value.
          Tap value varies based on platform design trace lengths from Tegra
          QSPI to corresponding slave device.
        $ref: /schemas/types.yaml#/definitions/uint32
        minimum: 0
        maximum: 255

    required:
      - reg

required:
  - compatible
  - reg
+1 −0
Original line number Diff line number Diff line
@@ -117,5 +117,6 @@ properties:
allOf:
  - $ref: cdns,qspi-nor-peripheral-props.yaml#
  - $ref: samsung,spi-peripheral-props.yaml#
  - $ref: nvidia,tegra210-quad-peripheral-props.yaml#

additionalProperties: true