mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Pull SoC dt updates from Arnd Bergmann:
"There are five sets of new SoCs that get added in existing families,
all of them being either upgrades or cut-down versions of the older
chips:
- Apple M2 Pro, M2 Max and M2 Ultra, used in the 2022/2023 generation
of high-end workstations and laptops from Apple. Linux has been
working on these for a while but stil requires patches.
- Axis Artpec8 is an Armv8 chip based on Samsung Exynos design,
unlike the earlier Armv7 Artpec6 from the same company that was
part of a separate family of chips.
- NXP i.MX91 is a cut-down version of i.MX93, using only a single
Cortex-A55 core.
- Qualcomm Lemans Auto is a variant of the Lemans SoC that was
originally merged under the sa8775p name, the differences being
mostly the firmware configuration of the platform.
- Four new Renesas SoCs RZ/T2H (r9a09g077m44), RZ/N2H (r9a09g087m44),
RZ/T2H (r9a09g077), and RZ/N2H (r9a09g087) are all industrial
bedded SoCs based on Cortex-A55 cores
In total, there are 65 new machines, including:
- Industrial embedded system and single-board computers based on NXP,
Allwinner, TI, Rockchips, Marvell, Xilinx Spacemit, Starfive chips.
- Reference boards for the newly added Renesas, Qualcomm, NXP and
Axis ARMv8 chips as well as Microchip's MPFS RISC-V SoC
- Laptops and Workstations using Apple M2 and Qualcomm Snapdragon X1
chips.
- Several Samsung phones using Qualcomm Snapdragon chips
- Set-top boxes based on Allwinner H313
- Five BMC boards using 32-bit ASpeed SoCs
- Three network routers using IXP4xx (ARMv5!) and Broadcom bcm4708
(ARMv7) SoCs
Two machines get phased out because they were available only in small
quantities but never made it into products: one STi407 based reference
board, and a Snapdragon 845 based Chromebook.
Aside from the newly added machines, a lot of work went into improving
hardware support on the existing machines and cleaning up contents for
validation"
* tag 'soc-dt-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (931 commits)
arm64: dts: apm-shadowcat: Drop "apm,xgene2-pcie" compatible
arm64: dts: apm-shadowcat: Move slimpro nodes out of "simple-bus" node
ARM: dts: microchip: sam9x7: Add qspi controller
arm64: dts: qcom: Add MST pixel streams for displayport
arm64: dts: qcom: sm6350: correct DP compatibility strings
arm64: dts: qcom: monaco-evk: Enable Adreno 623 GPU
arm64: dts: qcom: qcs8300-ride: Enable Adreno 623 GPU
arm64: dts: qcom: qcs8300: Add gpu and gmu nodes
arm64: dts: allwinner: h313: Add Amediatech X96Q
dt-bindings: arm: sunxi: Add Amediatech X96Q
arm64: dts: apple: t8015: Add SPMI node
arm64: dts: apple: t8012: Add SPMI node
arm64: dts: apple: Add J180d (Mac Pro, M2 Ultra, 2023) device tree
arm64: dts: rockchip: Add devicetree for the ROC-RK3588-RT
dt-bindings: arm: rockchip: Add Firefly ROC-RK3588-RT
arm64: dts: rockchip: update pinctrl names for Radxa E52C
arm64: dts: rockchip: remove vcc_3v3_pmu regulator for Radxa E52C
arm64: dts: apple: Add J474s, J475c and J475d device trees
arm64: dts: apple: Add J414 and J416 Macbook Pro device trees
arm64: dts: apple: Add initial t6020/t6021/t6022 DTs
...
225 lines
7.3 KiB
YAML
225 lines
7.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/i2c/nvidia,tegra20-i2c.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
maintainers:
|
|
- Thierry Reding <thierry.reding@gmail.com>
|
|
- Jon Hunter <jonathanh@nvidia.com>
|
|
|
|
title: NVIDIA Tegra I2C controller driver
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- description: Tegra20 has 4 generic I2C controller. This can support
|
|
master and slave mode of I2C communication. The i2c-tegra driver
|
|
only support master mode of I2C communication. Driver of I2C
|
|
controller is only compatible with "nvidia,tegra20-i2c".
|
|
const: nvidia,tegra20-i2c
|
|
- description: Tegra20 has specific I2C controller called as DVC I2C
|
|
controller. This only support master mode of I2C communication.
|
|
Register interface/offset and interrupts handling are different than
|
|
generic I2C controller. Driver of DVC I2C controller is only
|
|
compatible with "nvidia,tegra20-i2c-dvc".
|
|
const: nvidia,tegra20-i2c-dvc
|
|
- description: |
|
|
Tegra30 has 5 generic I2C controller. This controller is very much
|
|
similar to Tegra20 I2C controller with additional feature: Continue
|
|
Transfer Support. This feature helps to implement M_NO_START as per
|
|
I2C core API transfer flags. Driver of I2C controller is compatible
|
|
with "nvidia,tegra30-i2c" to enable the continue transfer support.
|
|
This is also compatible with "nvidia,tegra20-i2c" without continue
|
|
transfer support.
|
|
items:
|
|
- const: nvidia,tegra30-i2c
|
|
- const: nvidia,tegra20-i2c
|
|
- description: |
|
|
Tegra114 has 5 generic I2C controllers. This controller is very much
|
|
similar to Tegra30 I2C controller with some hardware modification:
|
|
- Tegra30/Tegra20 I2C controller has 2 clock source called div-clk
|
|
and fast-clk. Tegra114 has only one clock source called as
|
|
div-clk and hence clock mechanism is changed in I2C controller.
|
|
- Tegra30/Tegra20 I2C controller has enabled per packet transfer
|
|
by default and there is no way to disable it. Tegra114 has this
|
|
interrupt disable by default and SW need to enable explicitly.
|
|
Due to above changes, Tegra114 I2C driver makes incompatible with
|
|
previous hardware driver. Hence, Tegra114 I2C controller is
|
|
compatible with "nvidia,tegra114-i2c".
|
|
const: nvidia,tegra114-i2c
|
|
- description: |
|
|
Tegra124 has 6 generic I2C controllers. These controllers are very
|
|
similar to those found on Tegra114 but also contain several hardware
|
|
improvements and new registers.
|
|
const: nvidia,tegra124-i2c
|
|
- description: |
|
|
Tegra210 has 6 generic I2C controllers. These controllers are very
|
|
similar to those found on Tegra124.
|
|
items:
|
|
- const: nvidia,tegra210-i2c
|
|
- const: nvidia,tegra124-i2c
|
|
- description: |
|
|
Tegra210 has one I2C controller that is on host1x bus and is part of
|
|
the VE power domain and typically used for camera use-cases. This VI
|
|
I2C controller is mostly compatible with the programming model of
|
|
the regular I2C controllers with a few exceptions. The I2C registers
|
|
start at an offset of 0xc00 (instead of 0), registers are 16 bytes
|
|
apart (rather than 4) and the controller does not support slave
|
|
mode.
|
|
const: nvidia,tegra210-i2c-vi
|
|
- description: |
|
|
Tegra186 has 9 generic I2C controllers, two of which are in the AON
|
|
(always-on) partition of the SoC. All of these controllers are very
|
|
similar to those found on Tegra210.
|
|
const: nvidia,tegra186-i2c
|
|
- description: |
|
|
Tegra194 has 8 generic I2C controllers, two of which are in the AON
|
|
(always-on) partition of the SoC. All of these controllers are very
|
|
similar to those found on Tegra186. However, these controllers have
|
|
support for 64 KiB transactions whereas earlier chips supported no
|
|
more than 4 KiB per transactions.
|
|
const: nvidia,tegra194-i2c
|
|
- description: |
|
|
Tegra256 has 8 generic I2C controllers. The controllers are similar to
|
|
the previous generations, but have a different parent clock and hence
|
|
the timing parameters are configured differently.
|
|
const: nvidia,tegra256-i2c
|
|
- description:
|
|
Tegra264 has 17 generic I2C controllers, two of which are in the AON
|
|
(always-on) partition of the SoC. In addition to the features from
|
|
Tegra194, a SW mutex register is added to support use of the same I2C
|
|
instance across multiple firmwares.
|
|
const: nvidia,tegra264-i2c
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
clock-names:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
resets:
|
|
items:
|
|
- description:
|
|
Module reset. This property is optional for controllers in Tegra194,
|
|
Tegra234 etc where an internal software reset is available as an
|
|
alternative.
|
|
|
|
reset-names:
|
|
items:
|
|
- const: i2c
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
dmas:
|
|
items:
|
|
- description: DMA channel for the reception FIFO
|
|
- description: DMA channel for the transmission FIFO
|
|
|
|
dma-names:
|
|
items:
|
|
- const: rx
|
|
- const: tx
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
|
|
allOf:
|
|
- $ref: /schemas/i2c/i2c-controller.yaml
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- nvidia,tegra20-i2c
|
|
- nvidia,tegra30-i2c
|
|
then:
|
|
properties:
|
|
clocks:
|
|
minItems: 2
|
|
clock-names:
|
|
items:
|
|
- const: div-clk
|
|
- const: fast-clk
|
|
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- nvidia,tegra114-i2c
|
|
- nvidia,tegra210-i2c
|
|
then:
|
|
properties:
|
|
clocks:
|
|
maxItems: 1
|
|
clock-names:
|
|
items:
|
|
- const: div-clk
|
|
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
const: nvidia,tegra210-i2c-vi
|
|
then:
|
|
properties:
|
|
clocks:
|
|
minItems: 2
|
|
clock-names:
|
|
items:
|
|
- const: div-clk
|
|
- const: slow
|
|
power-domains:
|
|
items:
|
|
- description: phandle to the VENC power domain
|
|
else:
|
|
properties:
|
|
power-domains: false
|
|
|
|
- if:
|
|
not:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- nvidia,tegra194-i2c
|
|
- nvidia,tegra256-i2c
|
|
- nvidia,tegra264-i2c
|
|
then:
|
|
required:
|
|
- resets
|
|
- reset-names
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c@7000c000 {
|
|
compatible = "nvidia,tegra20-i2c";
|
|
reg = <0x7000c000 0x100>;
|
|
interrupts = <0 38 0x04>;
|
|
clocks = <&tegra_car 12>, <&tegra_car 124>;
|
|
clock-names = "div-clk", "fast-clk";
|
|
resets = <&tegra_car 12>;
|
|
reset-names = "i2c";
|
|
dmas = <&apbdma 16>, <&apbdma 16>;
|
|
dma-names = "rx", "tx";
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|