mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
dt-bindings: Changes for v6.19-rc1
Document various new IPs on older chips, as well as some existing developer kits that were missing compatible strings. Add power domain IDs on Tegra264 and wake-up support for the XUSB controller on Tegra234. -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmkYOpMACgkQ3SOs138+ s6Egqg//bIex7+DYaxtSGkMepOJOlEKjcr981MWbkcsbgujBhIITZSBE9kQDUnQJ QkjGiBeW5gHRZDmg2SFCKLoS0CKwCco0pGepXt9+jTkjOf33hcgIw1/pmIRus0HB hF1x0qtA0J09mrsg3aF8z8qlJuhbSXfr+T3xrYYolzyO8i+8PPmnshu3PQv/WoTv AiB3XF5WVGuAD9PY1/Dy5yHy6e+TogP3nZBe0Cvxs+xyAubNNF+KMcsEm4NcdIDM USk/r58m99/gOyMbXZuxfkHwX1nKoEVT0SDqkoW+t9spb0rIiowGRAsvw00pOdN9 iMIJkivh1Eh74DTSoFRSmyYdsnwE52YceNpC9kgJ5k9AA8wB1Y3WPdh+Si+TgreG cUuLuvLMAhqMhSty34QcOMgeohAxlb7nbLI9keug1DVilaDYQtq/H4k7T6UpqxO/ bEyyhAIE5qgWKMAWGB+g40q6OVfrd8wB2fOvU73GvB1MhUQzIfMae+hqEBJJHddq fHKyOY80piwA6FFLYBS0hye0Fgs9qezkX4YevaObru/o+zwPNbnVtA9ZpRMV+2ng DQ6n0c7YZTUOeWQmSJvqCzsBws95VpQJPef4rdK1NDJWWdEH+6/QDQzqI3ChxttY jIniWsilxkqBntIBkzOW/5J0q/BiMI3FzBI6OrlEnYPv6ZUcP5U= =QUDS -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmkgifYACgkQmmx57+YA GNlZNhAAoPGm2JbTF8UgMs7IKWNS0fqONR7Que2Sc0nyOpXvTLWk6MwjTojybY/y k7ZF4hqjOeiTHV9R/Qdr2UG+jUYUIN0JoAbzgKQPKotjIal9/5inBJ1YBq7cbIl4 JaPhI1w1s0YjTghUilBBzF090lVdK5OfXnnihMj3eMcpCm/e5EY1VJpPOhi6I7PM WiWFe60f+LtlQNh/c8lj9xjkqCqTZRiQ+5n0JuL2gtY3HESu8OpwI8Fa5EnMQSHg rTAEK32ukm4c+6/JzQIVEoA6dlpmogDXTsT09Qv1dw5JH0e+5RHMBN813me8X+ex h+7k2awWXWqeDg5GML6arxuZfkPxJJSd6vuwe6EWC3YeP4/tfrAxTTogRhY7lIVR excLy+AOWUgdbpN/4xuMGOczdIWVcP32Diutxo2KuwkyZeW6OhWrQACHif2jZcAG hi8PaX2bo8xTSf9bHFNi+io+BkdfSP50vT7y8/UoyJ9+8SredI++ebRRtvjqNhfL 2D+9PE7Fk9wErpVIbUhbEQo1vCZsnSSmHWfUTS61jzraAG4Yb9R6gOwTJFpzg1dZ R9UA6n9KaniBvNJLhb+r53x3UHTUiTFBe2xC9H241lKwM9OnqYNQvU3b3kjZA2k0 oqtk7Ajadpm+BIPE4tDJ7G9WMBzx8iUHT7w9Krc2QmU7VOCrejY= =h8JE -----END PGP SIGNATURE----- Merge tag 'tegra-for-6.19-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt dt-bindings: Changes for v6.19-rc1 Document various new IPs on older chips, as well as some existing developer kits that were missing compatible strings. Add power domain IDs on Tegra264 and wake-up support for the XUSB controller on Tegra234. * tag 'tegra-for-6.19-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: dt-bindings: usb: Add wake-up support for Tegra234 XUSB host controller dt-bindings: devfreq: tegra30-actmon: Add Tegra124 fallback for Tegra210 dt-bindings: display: tegra: Document Tegra20 and Tegra30 CSI dt-bindings: display: tegra: document EPP, ISP, MPE and TSEC for Tegra114+ dt-bindings: arm: tegra: Document Jetson Nano Devkits dt-bindings: power: Add power domain IDs for Tegra264 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
5d5b665e3e
@ -189,6 +189,11 @@ properties:
|
||||
- nvidia,p2371-2180
|
||||
- nvidia,p2571
|
||||
- nvidia,p2894-0050-a08
|
||||
- nvidia,p3450-0000
|
||||
- const: nvidia,tegra210
|
||||
- items:
|
||||
- const: nvidia,p3541-0000
|
||||
- const: nvidia,p3450-0000
|
||||
- const: nvidia,tegra210
|
||||
- description: Jetson TX2 Developer Kit
|
||||
items:
|
||||
|
||||
@ -19,11 +19,14 @@ description: |
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- nvidia,tegra30-actmon
|
||||
- nvidia,tegra114-actmon
|
||||
- nvidia,tegra124-actmon
|
||||
- nvidia,tegra210-actmon
|
||||
oneOf:
|
||||
- enum:
|
||||
- nvidia,tegra30-actmon
|
||||
- nvidia,tegra114-actmon
|
||||
- nvidia,tegra124-actmon
|
||||
- items:
|
||||
- const: nvidia,tegra210-actmon
|
||||
- const: nvidia,tegra124-actmon
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
@ -0,0 +1,68 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra114-tsec.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: NVIDIA Tegra Security co-processor
|
||||
|
||||
maintainers:
|
||||
- Svyatoslav Ryhel <clamor95@gmail.com>
|
||||
- Thierry Reding <thierry.reding@gmail.com>
|
||||
|
||||
description: Tegra Security co-processor, an embedded security processor used
|
||||
mainly to manage the HDCP encryption and keys on the HDMI link.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
oneOf:
|
||||
- enum:
|
||||
- nvidia,tegra114-tsec
|
||||
- nvidia,tegra124-tsec
|
||||
- nvidia,tegra210-tsec
|
||||
|
||||
- items:
|
||||
- const: nvidia,tegra132-tsec
|
||||
- const: nvidia,tegra124-tsec
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
maxItems: 1
|
||||
|
||||
resets:
|
||||
maxItems: 1
|
||||
|
||||
iommus:
|
||||
maxItems: 1
|
||||
|
||||
operating-points-v2: true
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- interrupts
|
||||
- clocks
|
||||
- resets
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/clock/tegra114-car.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
tsec@54500000 {
|
||||
compatible = "nvidia,tegra114-tsec";
|
||||
reg = <0x54500000 0x00040000>;
|
||||
interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&tegra_car TEGRA114_CLK_TSEC>;
|
||||
resets = <&tegra_car TEGRA114_CLK_TSEC>;
|
||||
};
|
||||
@ -0,0 +1,138 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-csi.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: NVIDIA Tegra20 CSI controller
|
||||
|
||||
maintainers:
|
||||
- Svyatoslav Ryhel <clamor95@gmail.com>
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- nvidia,tegra20-csi
|
||||
- nvidia,tegra30-csi
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
minItems: 1
|
||||
items:
|
||||
- description: module clock
|
||||
- description: PAD A clock
|
||||
- description: PAD B clock
|
||||
|
||||
clock-names:
|
||||
items:
|
||||
- const: csi
|
||||
- const: csia-pad
|
||||
- const: csib-pad
|
||||
|
||||
avdd-dsi-csi-supply:
|
||||
description: DSI/CSI power supply. Must supply 1.2 V.
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
"#nvidia,mipi-calibrate-cells":
|
||||
description:
|
||||
The number of cells in a MIPI calibration specifier. Should be 1.
|
||||
The single cell specifies an id of the pad that need to be
|
||||
calibrated for a given device. Valid pad ids for receiver would be
|
||||
0 for CSI-A; 1 for CSI-B; 2 for DSI-A and 3 for DSI-B.
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
const: 1
|
||||
|
||||
"#address-cells":
|
||||
const: 1
|
||||
|
||||
"#size-cells":
|
||||
const: 0
|
||||
|
||||
patternProperties:
|
||||
"^channel@[0-1]$":
|
||||
type: object
|
||||
description: channel 0 represents CSI-A and 1 represents CSI-B
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
reg:
|
||||
maximum: 1
|
||||
|
||||
nvidia,mipi-calibrate:
|
||||
description: Should contain a phandle and a specifier specifying
|
||||
which pad is used by this CSI channel and needs to be calibrated.
|
||||
$ref: /schemas/types.yaml#/definitions/phandle-array
|
||||
|
||||
"#address-cells":
|
||||
const: 1
|
||||
|
||||
"#size-cells":
|
||||
const: 0
|
||||
|
||||
port@0:
|
||||
$ref: /schemas/graph.yaml#/$defs/port-base
|
||||
unevaluatedProperties: false
|
||||
description: port receiving the video stream from the sensor
|
||||
|
||||
properties:
|
||||
endpoint:
|
||||
$ref: /schemas/media/video-interfaces.yaml#
|
||||
unevaluatedProperties: false
|
||||
|
||||
required:
|
||||
- data-lanes
|
||||
|
||||
port@1:
|
||||
$ref: /schemas/graph.yaml#/properties/port
|
||||
description: port sending the video stream to the VI
|
||||
|
||||
required:
|
||||
- reg
|
||||
- "#address-cells"
|
||||
- "#size-cells"
|
||||
- port@0
|
||||
- port@1
|
||||
|
||||
allOf:
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- nvidia,tegra20-csi
|
||||
then:
|
||||
properties:
|
||||
clocks:
|
||||
maxItems: 1
|
||||
|
||||
clock-names: false
|
||||
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- nvidia,tegra30-csi
|
||||
then:
|
||||
properties:
|
||||
clocks:
|
||||
minItems: 3
|
||||
|
||||
clock-names:
|
||||
minItems: 3
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- clocks
|
||||
- power-domains
|
||||
- "#address-cells"
|
||||
- "#size-cells"
|
||||
|
||||
# see nvidia,tegra20-vi.yaml for an example
|
||||
@ -15,10 +15,16 @@ properties:
|
||||
pattern: "^epp@[0-9a-f]+$"
|
||||
|
||||
compatible:
|
||||
enum:
|
||||
- nvidia,tegra20-epp
|
||||
- nvidia,tegra30-epp
|
||||
- nvidia,tegra114-epp
|
||||
oneOf:
|
||||
- enum:
|
||||
- nvidia,tegra20-epp
|
||||
- nvidia,tegra30-epp
|
||||
- nvidia,tegra114-epp
|
||||
- nvidia,tegra124-epp
|
||||
|
||||
- items:
|
||||
- const: nvidia,tegra132-epp
|
||||
- const: nvidia,tegra124-epp
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
@ -12,10 +12,17 @@ maintainers:
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- nvidia,tegra20-isp
|
||||
- nvidia,tegra30-isp
|
||||
- nvidia,tegra210-isp
|
||||
oneOf:
|
||||
- enum:
|
||||
- nvidia,tegra20-isp
|
||||
- nvidia,tegra30-isp
|
||||
- nvidia,tegra114-isp
|
||||
- nvidia,tegra124-isp
|
||||
- nvidia,tegra210-isp
|
||||
|
||||
- items:
|
||||
- const: nvidia,tegra132-isp
|
||||
- const: nvidia,tegra124-isp
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
@ -12,13 +12,21 @@ maintainers:
|
||||
|
||||
properties:
|
||||
$nodename:
|
||||
pattern: "^mpe@[0-9a-f]+$"
|
||||
oneOf:
|
||||
- pattern: "^mpe@[0-9a-f]+$"
|
||||
- pattern: "^msenc@[0-9a-f]+$"
|
||||
|
||||
compatible:
|
||||
enum:
|
||||
- nvidia,tegra20-mpe
|
||||
- nvidia,tegra30-mpe
|
||||
- nvidia,tegra114-mpe
|
||||
oneOf:
|
||||
- enum:
|
||||
- nvidia,tegra20-mpe
|
||||
- nvidia,tegra30-mpe
|
||||
- nvidia,tegra114-msenc
|
||||
- nvidia,tegra124-msenc
|
||||
|
||||
- items:
|
||||
- const: nvidia,tegra132-msenc
|
||||
- const: nvidia,tegra124-msenc
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
@ -32,9 +32,35 @@ properties:
|
||||
- const: bar2
|
||||
|
||||
interrupts:
|
||||
minItems: 2
|
||||
items:
|
||||
- description: xHCI host interrupt
|
||||
- description: mailbox interrupt
|
||||
- description: USB wake event 0
|
||||
- description: USB wake event 1
|
||||
- description: USB wake event 2
|
||||
- description: USB wake event 3
|
||||
- description: USB wake event 4
|
||||
- description: USB wake event 5
|
||||
- description: USB wake event 6
|
||||
description: |
|
||||
The first two interrupts are required for the USB host controller. The
|
||||
remaining USB wake event interrupts are optional. Each USB wake event is
|
||||
independent; it is not necessary to use all of these events on a
|
||||
platform. The USB host controller can function even if no wake-up events
|
||||
are defined. The USB wake event interrupts are handled by the Tegra PMC;
|
||||
hence, the interrupt controller for these is the PMC and the interrupt
|
||||
IDs correspond to the PMC wake event IDs. A complete list of wake event
|
||||
IDs is provided below, and this information is also present in the Tegra
|
||||
TRM document.
|
||||
|
||||
PMC wake-up 76 for USB3 port 0 wakeup
|
||||
PMC wake-up 77 for USB3 port 1 wakeup
|
||||
PMC wake-up 78 for USB3 port 2 and port 3 wakeup
|
||||
PMC wake-up 79 for USB2 port 0 wakeup
|
||||
PMC wake-up 80 for USB2 port 1 wakeup
|
||||
PMC wake-up 81 for USB2 port 2 wakeup
|
||||
PMC wake-up 82 for USB2 port 3 wakeup
|
||||
|
||||
clocks:
|
||||
items:
|
||||
@ -127,8 +153,9 @@ examples:
|
||||
<0x03650000 0x10000>;
|
||||
reg-names = "hcd", "fpci", "bar2";
|
||||
|
||||
interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupts-extended = <&gic GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<&gic GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<&pmc 76 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
clocks = <&bpmp TEGRA234_CLK_XUSB_CORE_HOST>,
|
||||
<&bpmp TEGRA234_CLK_XUSB_FALCON>,
|
||||
|
||||
24
include/dt-bindings/power/nvidia,tegra264-bpmp.h
Normal file
24
include/dt-bindings/power/nvidia,tegra264-bpmp.h
Normal file
@ -0,0 +1,24 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
/* Copyright (c) 2022-2024, NVIDIA CORPORATION. All rights reserved. */
|
||||
|
||||
#ifndef DT_BINDINGS_POWER_NVIDIA_TEGRA264_BPMP_H
|
||||
#define DT_BINDINGS_POWER_NVIDIA_TEGRA264_BPMP_H
|
||||
|
||||
#define TEGRA264_POWER_DOMAIN_DISP 1
|
||||
#define TEGRA264_POWER_DOMAIN_AUD 2
|
||||
/* reserved 3:9 */
|
||||
#define TEGRA264_POWER_DOMAIN_XUSB_SS 10
|
||||
#define TEGRA264_POWER_DOMAIN_XUSB_DEV 11
|
||||
#define TEGRA264_POWER_DOMAIN_XUSB_HOST 12
|
||||
#define TEGRA264_POWER_DOMAIN_MGBE0 13
|
||||
#define TEGRA264_POWER_DOMAIN_MGBE1 14
|
||||
#define TEGRA264_POWER_DOMAIN_MGBE2 15
|
||||
#define TEGRA264_POWER_DOMAIN_MGBE3 16
|
||||
#define TEGRA264_POWER_DOMAIN_VI 17
|
||||
#define TEGRA264_POWER_DOMAIN_VIC 18
|
||||
#define TEGRA264_POWER_DOMAIN_ISP0 19
|
||||
#define TEGRA264_POWER_DOMAIN_ISP1 20
|
||||
#define TEGRA264_POWER_DOMAIN_PVA0 21
|
||||
#define TEGRA264_POWER_DOMAIN_GPU 22
|
||||
|
||||
#endif /* DT_BINDINGS_POWER_NVIDIA_TEGRA264_BPMP_H */
|
||||
Loading…
x
Reference in New Issue
Block a user