Unverified Commit e85a757d authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

Merge tag 'tegra-for-6.6-dt-bindings' of...

Merge tag 'tegra-for-6.6-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt

dt-bindings: Changes for v6.6-rc1

A number of Tegra-specific bindings are converted to json-schema and the
reserved-memory and BPMP bindings get support for Tegra264.

* tag 'tegra-for-6.6-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: firmware: Add support for tegra186-bpmp DRAM MRQ GSCs
  dt-bindings: reserved-memory: Add support for DRAM MRQ GSCs
  dt-bindings: thermal: tegra: Convert to json-schema
  dt-bindings: arm: tegra: nvec: Convert to json-schema
  dt-bindings: clock: tegra: Document Tegra132 compatible
  dt-bindings: cpu: Document NVIDIA Tegra186 CCPLEX cluster
  dt-bindings: serial: tegra-hsuart: Convert to json-schema
  dt-bindings: arm: tegra: ahb: Convert to json-schema
  dt-bindings: arm: tegra: flowctrl: Convert to json-schema

Link: https://lore.kernel.org/r/20230728094129.3587109-2-thierry.reding@gmail.com


Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents fdf0eaf1 72738fde
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
NVIDIA compliant embedded controller

Required properties:
- compatible : should be "nvidia,nvec".
- reg : the iomem of the i2c slave controller
- interrupts : the interrupt line of the i2c slave controller
- clock-frequency : the frequency of the i2c bus
- gpios : the gpio used for ec request
- slave-addr: the i2c address of the slave controller
- clocks : Must contain an entry for each entry in clock-names.
  See ../clocks/clock-bindings.txt for details.
- clock-names : Must include the following entries:
  Tegra20/Tegra30:
  - div-clk
  - fast-clk
  Tegra114:
  - div-clk
- resets : Must contain an entry for each entry in reset-names.
  See ../reset/reset.txt for details.
- reset-names : Must include the following entries:
  - i2c
+0 −17
Original line number Diff line number Diff line
NVIDIA Tegra AHB

Required properties:
- compatible : For Tegra20, must contain "nvidia,tegra20-ahb".  For
  Tegra30, must contain "nvidia,tegra30-ahb".  Otherwise, must contain
  '"nvidia,<chip>-ahb", "nvidia,tegra30-ahb"' where <chip> is tegra124,
  tegra132, or tegra210.
- reg : Should contain 1 register ranges(address and length).  For
  Tegra20, Tegra30, and Tegra114 chips, the value must be <0x6000c004
  0x10c>.  For Tegra124, Tegra132 and Tegra210 chips, the value should
  be be <0x6000c000 0x150>.

Example (for a Tegra20 chip):
	ahb: ahb@6000c004 {
		compatible = "nvidia,tegra20-ahb";
		reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
	};
+0 −18
Original line number Diff line number Diff line
NVIDIA Tegra Flow Controller

Required properties:
- compatible: Should contain one of the following:
  - "nvidia,tegra20-flowctrl": for Tegra20
  - "nvidia,tegra30-flowctrl": for Tegra30
  - "nvidia,tegra114-flowctrl": for Tegra114
  - "nvidia,tegra124-flowctrl": for Tegra124
  - "nvidia,tegra132-flowctrl", "nvidia,tegra124-flowctrl": for Tegra132
  - "nvidia,tegra210-flowctrl": for Tegra210
- reg: Should contain one register range (address and length)

Example:

	flow-controller@60007000 {
		compatible = "nvidia,tegra20-flowctrl";
		reg = <0x60007000 0x1000>;
	};
+3 −1
Original line number Diff line number Diff line
@@ -27,7 +27,9 @@ description: |

properties:
  compatible:
    const: nvidia,tegra124-car
    enum:
      - nvidia,tegra124-car
      - nvidia,tegra132-car

  reg:
    maxItems: 1
+37 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/cpu/nvidia,tegra186-ccplex-cluster.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NVIDIA Tegra186 CCPLEX Cluster

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

properties:
  compatible:
    const: nvidia,tegra186-ccplex-cluster

  reg:
    maxItems: 1

  nvidia,bpmp:
    description: phandle to the BPMP used to query CPU frequency tables
    $ref: /schemas/types.yaml#/definitions/phandle

additionalProperties: false

required:
  - compatible
  - reg
  - nvidia,bpmp

examples:
  - |
    ccplex@e000000 {
        compatible = "nvidia,tegra186-ccplex-cluster";
        reg = <0x0e000000 0x400000>;
        nvidia,bpmp = <&bpmp>;
    };
Loading