arm64: tegra: Add Tegra210B01 support
Subsystems (9)
cover arm64: tegra: Add Tegra210B01 support
Also known as Tegra X1+, the Tegra210B01 has higher CPU and GPU clocks than the original Tegra210.
This series adds Tegra210B01 support to several drivers, as a slight extension to the existing Tegra210 support. Then adds a generic soc dtsi in the same vein as other tegra archs. And finally adds a barebones device dts to be used for dt checks. Further device support will be submitted in later series.
Earlier internal revisions of this series included changes to the dfll driver to support Tegra210B01, but those did not work in testing, thus was dropped from the series. A bindings update to match is still in the series so the soc dtsi can declare a separate compatible from Tegra210, preventing the driver from attempting incorrect initialization on Tegra210B01.
---
Aaron Kling (16):
dt-bindings: arm: tegra: pmc: Document Tegra210B01
dt-bindings: phy: tegra-xusb: Document Tegra210B01
dt-bindings: usb: tegra-xusb: Document Tegra210B01
dt-bindings: usb: tegra-xudc: Document Tegra210B01
dt-bindings: thermal: tegra: Document Tegra210B01
dt-bindings: clock: tegra: Document Tegra210B01
dt-bindings: clock: tegra124-dfll: Document Tegra210B01
dt-bindings: tegra: Document Shield TV 2019
phy: tegra: xusb: Add Tegra201B01 Support
usb: xhci: tegra: Add Tegra210B01 support
usb: gadget: tegra-xudc: Add Tegra210B01 Support
thermal: tegra: Add Tegra210B01 Support
clk: tegra: Add Tegra210B01 support
arm64: tegra: Add BPMP node for Tegra210
arm64: tegra: Add Tegra210B01 support
arm64: tegra: Add support for NVIDIA Shield TV Pro 2019
Azkali Manad (1):
soc/tegra: pmc: Add Tegra210B01 support
Documentation/devicetree/bindings/arm/tegra.yaml | 5 + .../bindings/clock/nvidia,tegra124-dfll.txt | 1 + .../bindings/clock/nvidia,tegra20-car.yaml | 1 + .../bindings/phy/nvidia,tegra210-xusb-padctl.yaml | 4 +- .../bindings/soc/tegra/nvidia,tegra20-pmc.yaml | 5 +- .../bindings/thermal/nvidia,tegra124-soctherm.yaml | 2 + .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 2 + .../bindings/usb/nvidia,tegra210-xusb.yaml | 4 +- arch/arm64/boot/dts/nvidia/Makefile | 1 + arch/arm64/boot/dts/nvidia/tegra210.dtsi | 11 + .../boot/dts/nvidia/tegra210b01-p2894-0050-a08.dts | 10 + arch/arm64/boot/dts/nvidia/tegra210b01-p2894.dtsi | 70 + arch/arm64/boot/dts/nvidia/tegra210b01.dtsi | 64 + drivers/clk/tegra/Makefile | 1 + drivers/clk/tegra/clk-tegra-periph.c | 3 + drivers/clk/tegra/clk-tegra210b01.c | 3758 ++++++++++++++++++++ drivers/clk/tegra/clk-utils.c | 5 +- drivers/clk/tegra/clk.c | 19 +- drivers/clk/tegra/clk.h | 6 + drivers/phy/tegra/xusb-tegra210.c | 41 + drivers/phy/tegra/xusb.c | 4 + drivers/phy/tegra/xusb.h | 1 + drivers/soc/tegra/pmc.c | 117 + drivers/thermal/tegra/soctherm.c | 4 + drivers/thermal/tegra/soctherm.h | 1 + drivers/thermal/tegra/tegra210-soctherm.c | 78 + drivers/usb/gadget/udc/tegra-xudc.c | 20 + drivers/usb/host/xhci-tegra.c | 25 + include/dt-bindings/clock/tegra210-car.h | 5 +- 29 files changed, 4261 insertions(+), 7 deletions(-)
---
base-commit: 347e9f5043c89695b01e66b3ed111755afcf1911
change-id: 20250509-t210b01-c154ca0f8994
Best regards,
Signature · 1 line
Aaron Kling <[email protected]>
PATCH 1/17 dt-bindings: arm: tegra: pmc: Document Tegra210B01
Add the PMC driver compatible strings for Tegra210B01
--- Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml +4 -1
@@ -18,6 +18,7 @@ properties: - nvidia,tegra114-pmc - nvidia,tegra124-pmc - nvidia,tegra210-pmc + - nvidia,tegra210b01-pmc reg: maxItems: 1
@@ -346,7 +347,9 @@ allOf: properties: compatible: contains: - const: nvidia,tegra210-pmc + enum: + - nvidia,tegra210-pmc + - nvidia,tegra210b01-pmc then: properties: pinmux:
Signature · 1 line
2.50.0
PATCH 2/17 dt-bindings: phy: tegra-xusb: Document Tegra210B01
In reply to Aaron KlingAdd the compatible string for the Tegra210B01 XUSB PHY
--- .../devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yaml +3 -1
@@ -42,7 +42,9 @@ description: | properties: compatible: - const: nvidia,tegra210-xusb-padctl + enum: + - nvidia,tegra210-xusb-padctl + - nvidia,tegra210b01-xusb-padctl reg: maxItems: 1
Signature · 1 line
2.50.0
PATCH 3/17 dt-bindings: usb: tegra-xusb: Document Tegra210B01
In reply to Aaron KlingAdd the compatible string for Tegra210B01 XUSB
--- Documentation/devicetree/bindings/usb/nvidia,tegra210-xusb.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/usb/nvidia,tegra210-xusb.yaml +3 -1
@@ -15,7 +15,9 @@ description: The Tegra xHCI controller supports both USB2 and USB3 interfaces properties: compatible: - const: nvidia,tegra210-xusb + enum: + - nvidia,tegra210-xusb + - nvidia,tegra210b01-xusb reg: items:
Signature · 1 line
2.50.0
PATCH 4/17 dt-bindings: usb: tegra-xudc: Document Tegra210B01
In reply to Aaron KlingExtend the Tegra XUSB controller device tree binding with Tegra210B01 support.
--- Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +2 -0
@@ -20,6 +20,7 @@ properties: items: - enum: - nvidia,tegra210-xudc # For Tegra210 + - nvidia,tegra210b01-xudc # For Tegra210B01 - nvidia,tegra186-xudc # For Tegra186 - nvidia,tegra194-xudc # For Tegra194 - nvidia,tegra234-xudc # For Tegra234
@@ -130,6 +131,7 @@ allOf: contains: enum: - nvidia,tegra210-xudc + - nvidia,tegra210b01-xudc then: properties: reg:
Signature · 1 line
2.50.0
PATCH 5/17 dt-bindings: thermal: tegra: Document Tegra210B01
In reply to Aaron KlingAdd the compatible string for Tegra210B01 SOC_THERM
--- Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml +2 -0
@@ -21,6 +21,7 @@ properties: - nvidia,tegra124-soctherm - nvidia,tegra132-soctherm - nvidia,tegra210-soctherm + - nvidia,tegra210b01-soctherm reg: maxItems: 2
@@ -207,6 +208,7 @@ allOf: enum: - nvidia,tegra124-soctherm - nvidia,tegra210-soctherm + - nvidia,tegra210b01-soctherm then: properties: reg:
Signature · 1 line
2.50.0
PATCH 6/17 dt-bindings: clock: tegra: Document Tegra210B01
In reply to Aaron Kling* Add the compatible string for Tegra210B01 clock and reset
* Add Tegra210B01 specific clock bindings
--- Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml | 1 + include/dt-bindings/clock/tegra210-car.h | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml +1 -0
@@ -32,6 +32,7 @@ properties: - nvidia,tegra30-car - nvidia,tegra114-car - nvidia,tegra210-car + - nvidia,tegra210b01-car reg: maxItems: 1
include/dt-bindings/clock/tegra210-car.h +4 -1
@@ -409,6 +409,9 @@#define TEGRA210_CLK_DMIC3_SYNC_CLK 392#define TEGRA210_CLK_DMIC3_SYNC_CLK_MUX 393 -#define TEGRA210_CLK_CLK_MAX 394 +#define TEGRA210_CLK_UTMIPLL_60M 531 +#define TEGRA210_CLK_PLL_P_UPHY_OUT 532 + +#define TEGRA210_CLK_CLK_MAX 533#endif /* _DT_BINDINGS_CLOCK_TEGRA210_CAR_H */
Signature · 1 line
2.50.0
PATCH 7/17 dt-bindings: clock: tegra124-dfll: Document Tegra210B01
In reply to Aaron KlingAdd Tegra210B01 support for DFLL clock.
--- Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt +1 -0
@@ -13,6 +13,7 @@ Required properties: - compatible : should be one of: - "nvidia,tegra124-dfll": for Tegra124 - "nvidia,tegra210-dfll": for Tegra210 + - "nvidia,tegra210b01-dfll": for Tegra210B01 - reg : Defines the following set of registers, in the order listed: - registers for the DFLL control logic. - registers for the I2C output logic.
Signature · 1 line
2.50.0
PATCH 8/17 dt-bindings: tegra: Document Shield TV 2019
In reply to Aaron KlingAdd the device tree binding documentation for NVIDIA Shield TV 2019
--- Documentation/devicetree/bindings/arm/tegra.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/tegra.yaml +5 -0
@@ -174,6 +174,11 @@ properties: - nvidia,p2571 - nvidia,p2894-0050-a08 - const: nvidia,tegra210 + - items: + - const: nvidia,p2894-0050-a08 + - const: nvidia,darcy + - const: nvidia,tegra210b01 + - const: nvidia,tegra210 - description: Jetson TX2 Developer Kit items: - const: nvidia,p2771-0000
Signature · 1 line
2.50.0
PATCH 9/17 soc/tegra: pmc: Add Tegra210B01 support
In reply to Aaron KlingFrom: Azkali Manad <[email protected]>
--- drivers/soc/tegra/pmc.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+)
drivers/soc/tegra/pmc.c +117 -0
@@ -3732,6 +3732,122 @@ static const struct tegra_pmc_soc tegra210_pmc_soc = { .has_single_mmio_aperture = true, }; +static const struct tegra_io_pad_soc tegra210b01_io_pads[] = { +TEGRA_IO_PAD (TEGRA_IO_PAD_AUDIO ,17 ,0x1b8 ,0x1bc ,5 ,"audio" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_AUDIO_HV ,29 ,0x1c0 ,0x1c4 ,18 ,"audio-hv" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_CAM ,4 ,0x1c0 ,0x1c4 ,10 ,"cam" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_CSIA ,0 ,0x1b8 ,0x1bc ,UINT_MAX ,"csia" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_CSIB ,1 ,0x1b8 ,0x1bc ,UINT_MAX ,"csib" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_CSIC ,10 ,0x1c0 ,0x1c4 ,UINT_MAX ,"csic" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_CSID ,11 ,0x1c0 ,0x1c4 ,UINT_MAX ,"csid" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_CSIE ,12 ,0x1c0 ,0x1c4 ,UINT_MAX ,"csie" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_CSIF ,13 ,0x1c0 ,0x1c4 ,UINT_MAX ,"csif" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_DBG ,25 ,0x1b8 ,0x1bc ,19 ,"dbg" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_DEBUG_NONAO ,26 ,0x1b8 ,0x1bc ,UINT_MAX ,"debug-nonao" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_DMIC ,18 ,0x1c0 ,0x1c4 ,20 ,"dmic" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_DP ,19 ,0x1c0 ,0x1c4 ,UINT_MAX ,"dp" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_DSI ,2 ,0x1b8 ,0x1bc ,UINT_MAX ,"dsi" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_DSIB ,7 ,0x1c0 ,0x1c4 ,UINT_MAX ,"dsib" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_DSIC ,8 ,0x1c0 ,0x1c4 ,UINT_MAX ,"dsic" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_DSID ,9 ,0x1c0 ,0x1c4 ,UINT_MAX ,"dsid" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_EMMC ,3 ,0x1c0 ,0x1c4 ,UINT_MAX ,"emmc" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_EMMC2 ,5 ,0x1c0 ,0x1c4 ,UINT_MAX ,"emmc2" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_GPIO ,27 ,0x1b8 ,0x1bc ,21 ,"gpio" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_HDMI ,28 ,0x1b8 ,0x1bc ,UINT_MAX ,"hdmi" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_HSIC ,19 ,0x1b8 ,0x1bc ,UINT_MAX ,"hsic" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_LVDS ,25 ,0x1c0 ,0x1c4 ,UINT_MAX ,"lvds" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_MIPI_BIAS ,3 ,0x1b8 ,0x1bc ,UINT_MAX ,"mipi-bias" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_PEX_BIAS ,4 ,0x1b8 ,0x1bc ,UINT_MAX ,"pex-bias" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_PEX_CLK1 ,5 ,0x1b8 ,0x1bc ,UINT_MAX ,"pex-clk1" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_PEX_CLK2 ,6 ,0x1b8 ,0x1bc ,UINT_MAX ,"pex-clk2" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_PEX_CNTRL ,UINT_MAX ,UINT_MAX ,UINT_MAX ,11 ,"pex-cntrl" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_SDMMC1 ,1 ,0x1c0 ,0x1c4 ,12 ,"sdmmc1" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_SDMMC3 ,2 ,0x1c0 ,0x1c4 ,13 ,"sdmmc3" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_SPI ,14 ,0x1c0 ,0x1c4 ,22 ,"spi" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_SPI_HV ,15 ,0x1c0 ,0x1c4 ,23 ,"spi-hv" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_UART ,14 ,0x1b8 ,0x1bc ,2 ,"uart" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_USB0 ,9 ,0x1b8 ,0x1bc ,UINT_MAX ,"usb0" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_USB1 ,10 ,0x1b8 ,0x1bc ,UINT_MAX ,"usb1" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_USB2 ,11 ,0x1b8 ,0x1bc ,UINT_MAX ,"usb2" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_USB3 ,18 ,0x1b8 ,0x1bc ,UINT_MAX ,"usb3" ), +TEGRA_IO_PAD (TEGRA_IO_PAD_USB_BIAS ,12 ,0x1b8 ,0x1bc ,UINT_MAX ,"usb-bias" ), +}; + +static const struct pinctrl_pin_desc tegra210b01_pin_descs[] = { +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_AUDIO ,"audio" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_AUDIO_HV ,"audio-hv" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_CAM ,"cam" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_CSIA ,"csia" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_CSIB ,"csib" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_CSIC ,"csic" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_CSID ,"csid" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_CSIE ,"csie" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_CSIF ,"csif" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_DBG ,"dbg" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_DEBUG_NONAO ,"debug-nonao" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_DMIC ,"dmic" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_DP ,"dp" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_DSI ,"dsi" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_DSIB ,"dsib" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_DSIC ,"dsic" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_DSID ,"dsid" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_EMMC ,"emmc" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_EMMC2 ,"emmc2" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_GPIO ,"gpio" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_HDMI ,"hdmi" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_HSIC ,"hsic" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_LVDS ,"lvds" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_MIPI_BIAS ,"mipi-bias" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_PEX_BIAS ,"pex-bias" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_PEX_CLK1 ,"pex-clk1" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_PEX_CLK2 ,"pex-clk2" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_PEX_CNTRL ,"pex-cntrl" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_SDMMC1 ,"sdmmc1" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_SDMMC3 ,"sdmmc3" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_SPI ,"spi" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_SPI_HV ,"spi-hv" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_UART ,"uart" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_USB0 ,"usb0" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_USB1 ,"usb1" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_USB2 ,"usb2" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_USB3 ,"usb3" ), +TEGRA_IO_PIN_DESC (TEGRA_IO_PAD_USB_BIAS ,"usb-bias" ), +}; + +static const struct tegra_pmc_soc tegra210b01_pmc_soc = { + .supports_core_domain = false, + .num_powergates =ARRAY_SIZE (tegra210_powergates), + .powergates = tegra210_powergates, + .num_cpu_powergates =ARRAY_SIZE (tegra210_cpu_powergates), + .cpu_powergates = tegra210_cpu_powergates, + .has_tsense_reset = true, + .has_gpu_clamps = true, + .needs_mbist_war = true, + .has_impl_33v_pwr = false, + .maybe_tz_only = true, + .num_io_pads =ARRAY_SIZE (tegra210b01_io_pads), + .io_pads = tegra210b01_io_pads, + .num_pin_descs =ARRAY_SIZE (tegra210b01_pin_descs), + .pin_descs = tegra210b01_pin_descs, + .regs = &tegra20_pmc_regs, + .init = tegra20_pmc_init, + .setup_irq_polarity = tegra20_pmc_setup_irq_polarity, + .powergate_set = tegra114_powergate_set, + .irq_set_wake = tegra210_pmc_irq_set_wake, + .irq_set_type = tegra210_pmc_irq_set_type, + .reset_sources = tegra210_reset_sources, + .num_reset_sources =ARRAY_SIZE (tegra210_reset_sources), + .reset_levels =NULL , + .num_reset_levels =0 , + .num_wake_events =ARRAY_SIZE (tegra210_wake_events), + .wake_events = tegra210_wake_events, + .pmc_clks_data = tegra_pmc_clks_data, + .num_pmc_clks =ARRAY_SIZE (tegra_pmc_clks_data), + .has_blink_output = true, + .has_usb_sleepwalk = true, + .has_single_mmio_aperture = true, +}; +static const struct tegra_io_pad_soc tegra186_io_pads[] = {TEGRA_IO_PAD (TEGRA_IO_PAD_CSIA ,0 ,0x74 ,0x78 ,UINT_MAX ,"csia" ),TEGRA_IO_PAD (TEGRA_IO_PAD_CSIB ,1 ,0x74 ,0x78 ,UINT_MAX ,"csib" ),
@@ -4253,6 +4369,7 @@ static const struct of_device_id tegra_pmc_match[] = { { .compatible = "nvidia,tegra194-pmc", .data = &tegra194_pmc_soc }, { .compatible = "nvidia,tegra186-pmc", .data = &tegra186_pmc_soc }, { .compatible = "nvidia,tegra210-pmc", .data = &tegra210_pmc_soc }, + { .compatible = "nvidia,tegra210b01-pmc", .data = &tegra210b01_pmc_soc }, { .compatible = "nvidia,tegra132-pmc", .data = &tegra124_pmc_soc }, { .compatible = "nvidia,tegra124-pmc", .data = &tegra124_pmc_soc }, { .compatible = "nvidia,tegra114-pmc", .data = &tegra114_pmc_soc },
Signature · 1 line
2.50.0
PATCH 10/17 phy: tegra: xusb: Add Tegra201B01 Support
In reply to Aaron KlingIt has slightly different lanes compared to the original Tegra210.
--- drivers/phy/tegra/xusb-tegra210.c | 41 +++++++++++++++++++++++++++++++++++++++ drivers/phy/tegra/xusb.c | 4 ++++ drivers/phy/tegra/xusb.h | 1 + 3 files changed, 46 insertions(+)
drivers/phy/tegra/xusb-tegra210.c +41 -0
@@ -2559,6 +2559,15 @@ static const struct tegra_xusb_lane_soc tegra210_pcie_lanes[] = { TEGRA210_UPHY_LANE("pcie-6", 0x028, 24, 0x3, pcie, XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL2(6)), }; +static const struct tegra_xusb_lane_soc tegra210b01_pcie_lanes[] = { +TEGRA210_UPHY_LANE ("pcie-0" ,0x028 ,12 ,0x3 , pcie,XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL2 (0 )), +TEGRA210_UPHY_LANE ("pcie-1" ,0x028 ,14 ,0x3 , pcie,XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL2 (1 )), +TEGRA210_UPHY_LANE ("pcie-2" ,0x028 ,16 ,0x3 , pcie,XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL2 (2 )), +TEGRA210_UPHY_LANE ("pcie-3" ,0x028 ,18 ,0x3 , pcie,XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL2 (3 )), +TEGRA210_UPHY_LANE ("pcie-4" ,0x028 ,20 ,0x3 , pcie,XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL2 (4 )), +TEGRA210_UPHY_LANE ("pcie-5" ,0x028 ,22 ,0x3 , pcie,XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL2 (5 )), +}; +static struct tegra_xusb_usb3_port *tegra210_lane_to_usb3_port (struct tegra_xusb_lane *lane) {
@@ -2847,6 +2856,13 @@ static const struct tegra_xusb_pad_soc tegra210_pcie_pad = { .ops = &tegra210_pcie_ops, }; +static const struct tegra_xusb_pad_soc tegra210b01_pcie_pad = { + .name ="pcie" , + .num_lanes =ARRAY_SIZE (tegra210b01_pcie_lanes), + .lanes = tegra210b01_pcie_lanes, + .ops = &tegra210_pcie_ops, +}; +static const struct tegra_xusb_lane_soc tegra210_sata_lanes[] = {TEGRA210_UPHY_LANE ("sata-0" ,0x028 ,30 ,0x3 , pcie,XUSB_PADCTL_UPHY_MISC_PAD_S0_CTL2 ), };
@@ -3016,6 +3032,11 @@ static const struct tegra_xusb_pad_soc * const tegra210_pads[] = { &tegra210_sata_pad, }; +static const struct tegra_xusb_pad_soc *const tegra210b01_pads[] = { + &tegra210_usb2_pad, + &tegra210b01_pcie_pad, +}; +static int tegra210_usb2_port_enable (struct tegra_xusb_port *port) {return 0 ;
@@ -3290,6 +3311,26 @@ const struct tegra_xusb_padctl_soc tegra210_xusb_padctl_soc = { };EXPORT_SYMBOL_GPL (tegra210_xusb_padctl_soc); +const struct tegra_xusb_padctl_soc tegra210b01_xusb_padctl_soc = { + .num_pads =ARRAY_SIZE (tegra210b01_pads), + .pads = tegra210b01_pads, + .ports = { + .usb2 = { + .ops = &tegra210_usb2_port_ops, + .count =4 , + }, + .usb3 = { + .ops = &tegra210_usb3_port_ops, + .count =4 , + }, + }, + .ops = &tegra210_xusb_padctl_ops, + .supply_names = tegra210_xusb_padctl_supply_names, + .num_supplies =ARRAY_SIZE (tegra210_xusb_padctl_supply_names), + .need_fake_usb3_port = true, +}; +EXPORT_SYMBOL_GPL (tegra210b01_xusb_padctl_soc); +MODULE_AUTHOR ("Andrew Bresticker <[email protected]>" );MODULE_DESCRIPTION ("NVIDIA Tegra 210 XUSB Pad Controller driver" );MODULE_LICENSE ("GPL v2" );
drivers/phy/tegra/xusb.c +4 -0
@@ -59,6 +59,10 @@ static const struct of_device_id tegra_xusb_padctl_of_match[] = { .compatible = "nvidia,tegra210-xusb-padctl", .data = &tegra210_xusb_padctl_soc, }, + { + .compatible = "nvidia,tegra210b01-xusb-padctl", + .data = &tegra210b01_xusb_padctl_soc, + },#endif #if defined(CONFIG_ARCH_TEGRA_186_SOC ) {
drivers/phy/tegra/xusb.h +1 -0
@@ -503,6 +503,7 @@ extern const struct tegra_xusb_padctl_soc tegra124_xusb_padctl_soc;#endif #if defined(CONFIG_ARCH_TEGRA_210_SOC )extern const struct tegra_xusb_padctl_soc tegra210_xusb_padctl_soc; +extern const struct tegra_xusb_padctl_soc tegra210b01_xusb_padctl_soc;#endif #if defined(CONFIG_ARCH_TEGRA_186_SOC )extern const struct tegra_xusb_padctl_soc tegra186_xusb_padctl_soc;
Signature · 1 line
2.50.0
PATCH 11/17 usb: xhci: tegra: Add Tegra210B01 support
In reply to Aaron KlingThis uses a different firmware, but is otherwise compatible with Tegra210.
--- drivers/usb/host/xhci-tegra.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
drivers/usb/host/xhci-tegra.c +25 -0
@@ -2547,6 +2547,30 @@ static const struct tegra_xusb_soc tegra210_soc = { };MODULE_FIRMWARE ("nvidia/tegra210/xusb.bin" ); +static const struct tegra_xusb_soc tegra210b01_soc = { + .firmware ="nvidia/tegra210b01/xusb.bin" , + .supply_names = tegra210_supply_names, + .num_supplies =ARRAY_SIZE (tegra210_supply_names), + .phy_types = tegra210_phy_types, + .num_types =ARRAY_SIZE (tegra210_phy_types), + .context = &tegra124_xusb_context, + .ports = { + .usb2 = { .offset =4 , .count =4 , }, + .hsic = { .offset =8 , .count =1 , }, + .usb3 = { .offset =0 , .count =4 , }, + }, + .scale_ss_clock = false, + .has_ipfs = true, + .otg_reset_sspi = true, + .mbox = { + .cmd =0xe4 , + .data_in =0xe8 , + .data_out =0xec , + .owner =0xf0 , + }, +}; +MODULE_FIRMWARE ("nvidia/tegra210b01/xusb.bin" ); +static const char *const tegra186_supply_names[] = { };MODULE_FIRMWARE ("nvidia/tegra186/xusb.bin" );
@@ -2659,6 +2683,7 @@ static const struct tegra_xusb_soc tegra234_soc = {static const struct of_device_id tegra_xusb_of_match[] = { { .compatible ="nvidia,tegra124-xusb" , .data = &tegra124_soc }, { .compatible ="nvidia,tegra210-xusb" , .data = &tegra210_soc }, + { .compatible ="nvidia,tegra210b01-xusb" , .data = &tegra210b01_soc }, { .compatible ="nvidia,tegra186-xusb" , .data = &tegra186_soc }, { .compatible ="nvidia,tegra194-xusb" , .data = &tegra194_soc }, { .compatible ="nvidia,tegra234-xusb" , .data = &tegra234_soc },
Signature · 1 line
2.50.0
PATCH 12/17 usb: gadget: tegra-xudc: Add Tegra210B01 Support
In reply to Aaron KlingIt doesn't need some of the workarounds that the original Tegra210 does.
--- drivers/usb/gadget/udc/tegra-xudc.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
drivers/usb/gadget/udc/tegra-xudc.c +20 -0
@@ -3652,6 +3652,22 @@ static struct tegra_xudc_soc tegra210_xudc_soc_data = { .has_ipfs = true, }; +static struct tegra_xudc_soc tegra210b01_xudc_soc_data = { + .supply_names = tegra210_xudc_supply_names, + .num_supplies =ARRAY_SIZE (tegra210_xudc_supply_names), + .clock_names = tegra210_xudc_clock_names, + .num_clks =ARRAY_SIZE (tegra210_xudc_clock_names), + .num_phys =4 , + .u1_enable = false, + .u2_enable = true, + .lpm_enable = false, + .invalid_seq_num = false, + .pls_quirk = false, + .port_reset_quirk = true, + .port_speed_quirk = false, + .has_ipfs = true, +}; +static struct tegra_xudc_soc tegra186_xudc_soc_data = { .clock_names = tegra186_xudc_clock_names, .num_clks =ARRAY_SIZE (tegra186_xudc_clock_names),
@@ -3698,6 +3714,10 @@ static const struct of_device_id tegra_xudc_of_match[] = { .compatible = "nvidia,tegra210-xudc", .data = &tegra210_xudc_soc_data }, + { + .compatible = "nvidia,tegra210b01-xudc", + .data = &tegra210b01_xudc_soc_data + }, { .compatible ="nvidia,tegra186-xudc" , .data = &tegra186_xudc_soc_data
Signature · 1 line
2.50.0
PATCH 13/17 thermal: tegra: Add Tegra210B01 Support
In reply to Aaron KlingAdd Tegra210B01 SOC_THERM configuration
--- drivers/thermal/tegra/soctherm.c | 4 ++ drivers/thermal/tegra/soctherm.h | 1 + drivers/thermal/tegra/tegra210-soctherm.c | 78 +++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+)
drivers/thermal/tegra/soctherm.c +4 -0
@@ -2065,6 +2065,10 @@ static const struct of_device_id tegra_soctherm_of_match[] = { .compatible = "nvidia,tegra210-soctherm", .data = &tegra210_soctherm, }, + { + .compatible = "nvidia,tegra210b01-soctherm", + .data = &tegra210b01_soctherm, + },#endif { }, };
drivers/thermal/tegra/soctherm.h +1 -0
@@ -147,6 +147,7 @@ extern const struct tegra_soctherm_soc tegra132_soctherm;#ifdef CONFIG_ARCH_TEGRA_210_SOC extern const struct tegra_soctherm_soc tegra210_soctherm; +extern const struct tegra_soctherm_soc tegra210b01_soctherm;#endif #endif
drivers/thermal/tegra/tegra210-soctherm.c +78 -0
99 lines not on this page · raw message
Signature · 1 line
2.50.0
PATCH 14/17 clk: tegra: Add Tegra210B01 support
In reply to Aaron KlingThis is based on the downstream Nvidia 5.10 kernel. That version was semi-integrated into the Tegra210 clock driver. Looking at the existing Tegra210 support, it made more sense to make this a fully independent driver, so that is implemented here.
--- drivers/clk/tegra/Makefile | 1 + drivers/clk/tegra/clk-tegra-periph.c | 3 + drivers/clk/tegra/clk-tegra210b01.c | 3758 ++++++++++++++++++++++++++++++++++ drivers/clk/tegra/clk-utils.c | 5 +- drivers/clk/tegra/clk.c | 19 +- drivers/clk/tegra/clk.h | 6 + 6 files changed, 3789 insertions(+), 3 deletions(-)
drivers/clk/tegra/Makefile +1 -0
@@ -27,6 +27,7 @@ obj-$(CONFIG_TEGRA124_CLK_EMC) += clk-tegra124-emc.o obj-$(CONFIG_ARCH_TEGRA_132_SOC) += clk-tegra124.o obj-y += cvb.o obj-$(CONFIG_ARCH_TEGRA_210_SOC) += clk-tegra210.o +obj-$(CONFIG_ARCH_TEGRA_210_SOC) += clk-tegra210b01.o obj-$(CONFIG_ARCH_TEGRA_210_SOC) += clk-tegra210-emc.o obj-$(CONFIG_CLK_TEGRA_BPMP) += clk-bpmp.o obj-y += clk-utils.o
drivers/clk/tegra/clk-tegra-periph.c +3 -0
@@ -878,6 +878,9 @@ static void __init periph_clk_init(void __iomem *clk_base,if (!bank)continue ; +if (tegra_clks[data->clk_id].use_integer_div) + data->periph.divider.flags |=TEGRA_DIVIDER_INT ; + data->periph.gate.regs = bank; clk =tegra_clk_register_periph_data (clk_base, data); *dt_clk = clk;
drivers/clk/tegra/clk-tegra210b01.c new file +3758 -0
2,984 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.50.0
Part of the diff is not shown here. View the raw message.
PATCH 15/17 arm64: tegra: Add BPMP node for Tegra210
In reply to Aaron KlingThe Tegra210 soc supports bpmp offload for power management among other things. This was considered insecure partway through the soc's lifecycle and support was removed in the bootloader. However, Tegra210B01 returned to using the bpmp. Plus old bootloaders on the original Tegra210 still work with the existing driver. So add the node to the common Tegra210 soc dtsi, but disabled by default.
--- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/nvidia/tegra210.dtsi +11 -0
@@ -968,6 +968,17 @@ cec@70015000 { status = "disabled"; }; + bpmp: bpmp@70016000 { + compatible = "nvidia,tegra210-bpmp"; + reg = <0x0 0x70016000 0x0 0x2000 + 0x0 0x60001000 0x0 0x1000>; + status = "disabled"; + + interrupts = <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "tx", "rx"; + }; + mc: memory-controller@70019000 { compatible = "nvidia,tegra210-mc"; reg = <0x0 0x70019000 0x0 0x1000>;
Signature · 1 line
2.50.0
PATCH 16/17 arm64: tegra: Add Tegra210B01 support
In reply to Aaron KlingAlso known as Tegra X1+, the Tegra210B01 has higher CPU and GPU clocks than the original Tegra210.
Add a SoC-level device tree file that describes most of the hardware available on the SoC. This is derived from the Tegra210 dtsi, as they share a lot.
--- arch/arm64/boot/dts/nvidia/tegra210b01.dtsi | 64 +++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+)
arch/arm64/boot/dts/nvidia/tegra210b01.dtsi new file +64 -0
@@ -0,0 +1,64 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "tegra210.dtsi" + +/ { + compatible = "nvidia,tegra210b01", "nvidia,tegra210"; + + host1x@50000000 { + /delete-node/ sor@54540000; + /delete-node/ dpaux@545c0000; + + dc@54200000 { + nvidia,outputs = <&dsia &dsib &sor1>; + }; + + dc@54240000 { + nvidia,outputs = <&dsia &dsib &sor1>; + }; + }; + + clock@60006000 { + compatible = "nvidia,tegra210b01-car"; + }; + + i2c@7000d100 { + /delete-property/ pinctrl-0; + /delete-property/ pinctrl-1; + /delete-property/ pinctrl-names; + }; + + pmc@7000e400 { + compatible = "nvidia,tegra210b01-pmc"; + }; + + bpmp@70016000 { + status = "okay"; + }; + + usb@70090000 { + compatible = "nvidia,tegra210b01-xusb"; + }; + + padctl@7009f000 { + compatible = "nvidia,tegra210b01-xusb-padctl"; + }; + + usb@700d0000 { + compatible = "nvidia,tegra210b01-xudc"; + }; + + thermal-sensor@700e2000 { + compatible = "nvidia,tegra210b01-soctherm"; + + throttle-cfgs { + heavy { + nvidia,cpu-throt-percent = <0>; + nvidia,gpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_NONE>; + }; + }; + }; + + clock@70110000 { + compatible = "nvidia,tegra210b01-dfll"; + }; +};
Signature · 1 line
2.50.0
PATCH 17/17 arm64: tegra: Add support for NVIDIA Shield TV Pro 2019
In reply to Aaron KlingAdd initial device-tree support for NVIDIA Shield TV Pro 2019 (a.k.a MDarcy) based up the Tegra210B01 SoC with 3 GiB of LPDDR4 RAM.
This is very basic, intended for checking initial Tegra210B01 support. More complete support for the device will be added later.
--- arch/arm64/boot/dts/nvidia/Makefile | 1 + .../boot/dts/nvidia/tegra210b01-p2894-0050-a08.dts | 10 ++++ arch/arm64/boot/dts/nvidia/tegra210b01-p2894.dtsi | 70 ++++++++++++++++++++++ 3 files changed, 81 insertions(+)
arch/arm64/boot/dts/nvidia/Makefile +1 -0
@@ -20,6 +20,7 @@ dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2571.dtb dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p3450-0000.dtb dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-smaug.dtb dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2894-0050-a08.dtb +dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210b01-p2894-0050-a08.dtb dtb-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186-p2771-0000.dtb dtb-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186-p3509-0000+p3636-0001.dtb dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p2972-0000.dtb
arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dts new file +10 -0
@@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra210b01-p2894.dtsi" + +/ { + model = "NVIDIA Shield TV Pro 2019"; + compatible = "nvidia,p2894-0050-a08", "nvidia,darcy", "nvidia,tegra210b01", + "nvidia,tegra210"; +};
arch/arm64/boot/dts/nvidia/tegra210b01-p2894.dtsi new file +70 -0
70 lines not on this page · raw message
Signature · 1 line
2.50.0
Rob Herring (Arm)
maintainerQuoted 69 lines · Aaron Kling
Also known as Tegra X1+, the Tegra210B01 has higher CPU and GPU clocks than the original Tegra210.
This series adds Tegra210B01 support to several drivers, as a slight extension to the existing Tegra210 support. Then adds a generic soc dtsi in the same vein as other tegra archs. And finally adds a barebones device dts to be used for dt checks. Further device support will be submitted in later series.
Earlier internal revisions of this series included changes to the dfll driver to support Tegra210B01, but those did not work in testing, thus was dropped from the series. A bindings update to match is still in the series so the soc dtsi can declare a separate compatible from Tegra210, preventing the driver from attempting incorrect initialization on Tegra210B01.
Signed-off-by Aaron Kling <[email protected]>---
Aaron Kling (16):
dt-bindings: arm: tegra: pmc: Document Tegra210B01
dt-bindings: phy: tegra-xusb: Document Tegra210B01
dt-bindings: usb: tegra-xusb: Document Tegra210B01
dt-bindings: usb: tegra-xudc: Document Tegra210B01
dt-bindings: thermal: tegra: Document Tegra210B01
dt-bindings: clock: tegra: Document Tegra210B01
dt-bindings: clock: tegra124-dfll: Document Tegra210B01
dt-bindings: tegra: Document Shield TV 2019
phy: tegra: xusb: Add Tegra201B01 Support
usb: xhci: tegra: Add Tegra210B01 support
usb: gadget: tegra-xudc: Add Tegra210B01 Support
thermal: tegra: Add Tegra210B01 Support
clk: tegra: Add Tegra210B01 support
arm64: tegra: Add BPMP node for Tegra210
arm64: tegra: Add Tegra210B01 support
arm64: tegra: Add support for NVIDIA Shield TV Pro 2019Azkali Manad (1):
soc/tegra: pmc: Add Tegra210B01 supportDocumentation/devicetree/bindings/arm/tegra.yaml | 5 + .../bindings/clock/nvidia,tegra124-dfll.txt | 1 + .../bindings/clock/nvidia,tegra20-car.yaml | 1 + .../bindings/phy/nvidia,tegra210-xusb-padctl.yaml | 4 +- .../bindings/soc/tegra/nvidia,tegra20-pmc.yaml | 5 +- .../bindings/thermal/nvidia,tegra124-soctherm.yaml | 2 + .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 2 + .../bindings/usb/nvidia,tegra210-xusb.yaml | 4 +- arch/arm64/boot/dts/nvidia/Makefile | 1 + arch/arm64/boot/dts/nvidia/tegra210.dtsi | 11 + .../boot/dts/nvidia/tegra210b01-p2894-0050-a08.dts | 10 + arch/arm64/boot/dts/nvidia/tegra210b01-p2894.dtsi | 70 + arch/arm64/boot/dts/nvidia/tegra210b01.dtsi | 64 + drivers/clk/tegra/Makefile | 1 + drivers/clk/tegra/clk-tegra-periph.c | 3 + drivers/clk/tegra/clk-tegra210b01.c | 3758 ++++++++++++++++++++ drivers/clk/tegra/clk-utils.c | 5 +- drivers/clk/tegra/clk.c | 19 +- drivers/clk/tegra/clk.h | 6 + drivers/phy/tegra/xusb-tegra210.c | 41 + drivers/phy/tegra/xusb.c | 4 + drivers/phy/tegra/xusb.h | 1 + drivers/soc/tegra/pmc.c | 117 + drivers/thermal/tegra/soctherm.c | 4 + drivers/thermal/tegra/soctherm.h | 1 + drivers/thermal/tegra/tegra210-soctherm.c | 78 + drivers/usb/gadget/udc/tegra-xudc.c | 20 + drivers/usb/host/xhci-tegra.c | 25 + include/dt-bindings/clock/tegra210-car.h | 5 +- 29 files changed, 4261 insertions(+), 7 deletions(-)
Quoted 10 lines
---
base-commit:347e9f5043c89695b01e66b3ed111755afcf1911
change-id: 20250509-t210b01-c154ca0f8994Best regards,
--
Aaron Kling <[email protected]>
My bot found new DTB warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: using specified base-commit 347e9f5043c89695b01e66b3ed111755afcf1911
If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/nvidia/' for [email protected]:
arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /pcie@1003000: failed to match any schema with compatible: ['nvidia,tegra210-pcie'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /host1x@50000000/tsec@54100000: failed to match any schema with compatible: ['nvidia,tegra210-tsec'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /host1x@50000000/tsec@54500000: failed to match any schema with compatible: ['nvidia,tegra210-tsec'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /gpu@57000000: failed to match any schema with compatible: ['nvidia,gm20b'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /interrupt-controller@60004000: failed to match any schema with compatible: ['nvidia,tegra210-ictlr'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /dma@60020000: failed to match any schema with compatible: ['nvidia,tegra210-apbdma', 'nvidia,tegra148-apbdma'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /dma@60020000: failed to match any schema with compatible: ['nvidia,tegra210-apbdma', 'nvidia,tegra148-apbdma'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /bpmp@70016000: failed to match any schema with compatible: ['nvidia,tegra210-bpmp'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /memory-controller@70019000: failed to match any schema with compatible: ['nvidia,tegra210-mc'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: external-memory-controller@7001b000 (nvidia,tegra210-emc): '#cooling-cells' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra210-emc.yaml#arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /clock@70110000: failed to match any schema with compatible: ['nvidia,tegra210b01-dfll'] arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dtb: /bpmp@70016000: failed to match any schema with compatible: ['nvidia,tegra210-bpmp'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: usb-phy@7d000000 (nvidia,tegra210-usb-phy): compatible: 'oneOf' conditional failed, one must be fixed:
['nvidia,tegra210-usb-phy', 'nvidia,tegra30-usb-phy'] is too long 'nvidia,tegra210-usb-phy' is not one of ['nvidia,tegra124-usb-phy', 'nvidia,tegra114-usb-phy'] 'nvidia,tegra210-usb-phy' is not one of ['nvidia,tegra30-usb-phy', 'nvidia,tegra20-usb-phy'] from schema $id: http://devicetree.org/schemas/phy/nvidia,tegra20-usb-phy.yaml# arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /usb-phy@7d000000: failed to match any schema with compatible: ['nvidia,tegra210-usb-phy', 'nvidia,tegra30-usb-phy'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: usb-phy@7d004000 (nvidia,tegra210-usb-phy): compatible: 'oneOf' conditional failed, one must be fixed: ['nvidia,tegra210-usb-phy', 'nvidia,tegra30-usb-phy'] is too long 'nvidia,tegra210-usb-phy' is not one of ['nvidia,tegra124-usb-phy', 'nvidia,tegra114-usb-phy'] 'nvidia,tegra210-usb-phy' is not one of ['nvidia,tegra30-usb-phy', 'nvidia,tegra20-usb-phy'] from schema $id: http://devicetree.org/schemas/phy/nvidia,tegra20-usb-phy.yaml#
arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: /usb-phy@7d004000: failed to match any schema with compatible: ['nvidia,tegra210-usb-phy', 'nvidia,tegra30-usb-phy'] arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: cpu@0 (arm,cortex-a57): 'operating-points' is a dependency of 'clock-latency'
from schema $id: http://devicetree.org/schemas/arm/cpus.yaml#arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: cpu@0 (arm,cortex-a57): Unevaluated properties are not allowed ('clock-latency' was unexpected)
from schema $id: http://devicetree.org/schemas/arm/cpus.yaml#arch/arm64/boot/dts/nvidia/tegra210b01-p2894-0050-a08.dtb: thermal-zones: mem-thermal:cooling-maps: 'dram-active', 'dram-passive' do not match any of the regexes: '^map[-a-zA-Z0-9]*$', '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml#arch/arm64/boot/dts/nvidia/tegra210-p2371-0000.dtb: /bpmp@70016000: failed to match any schema with compatible: ['nvidia,tegra210-bpmp'] arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dtb: /bpmp@70016000: failed to match any schema with compatible: ['nvidia,tegra210-bpmp'] arch/arm64/boot/dts/nvidia/tegra210-smaug.dtb: /bpmp@70016000: failed to match any schema with compatible: ['nvidia,tegra210-bpmp'] arch/arm64/boot/dts/nvidia/tegra210-p2571.dtb: /bpmp@70016000: failed to match any schema with compatible: ['nvidia,tegra210-bpmp'] arch/arm64/boot/dts/nvidia/tegra210-p2894-0050-a08.dtb: /bpmp@70016000: failed to match any schema with compatible: ['nvidia,tegra210-bpmp']
kernel test robot
build botRe: [PATCH 13/17] thermal: tegra: Add Tegra210B01 Support
In reply to Aaron Klingkernel test robot noticed the following build warnings:
Hi Aaron,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 347e9f5043c89695b01e66b3ed111755afcf1911]
url: https://github.com/intel-lab-lkp/linux/commits/Aaron-Kling/dt-bindings-arm-tegra-pmc-Document-Tegra210B01/20250715-160630 base: 347e9f5043c89695b01e66b3ed111755afcf1911 patch link: https://lore.kernel.org/r/20250714-t210b01-v1-13-e3f5f7de5dce%40gmail.com patch subject: [PATCH 13/17] thermal: tegra: Add Tegra210B01 Support config: arm64-randconfig-003-20250716 (https://download.01.org/0day-ci/archive/20250716/[email protected]/config) compiler: aarch64-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250716/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/thermal/tegra/tegra210-soctherm.c:47:49: warning: 'tegra210b01_tsensor_config' defined but not used [-Wunused-const-variable=]
static const struct tegra_tsensor_configuration tegra210b01_tsensor_config = {
^~~~~~~~~~~~~~~~~~~~~~~~~~vim +/tegra210b01_tsensor_config +47 drivers/thermal/tegra/tegra210-soctherm.c
46
> 47 static const struct tegra_tsensor_configuration tegra210b01_tsensor_config = {
48 .tall = 16300,
49 .tiddq_en = 1,
50 .ten_count = 1,
51 .tsample = 240,
52 .tsample_ate = 480,
53 };
54 Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [PATCH 01/17] dt-bindings: arm: tegra: pmc: Document Tegra210B01
In reply to Aaron KlingQuoted 1 line · Aaron Kling
Add the PMC driver compatible strings for Tegra210B01
Subject should be 'soc' rather than 'arm'. Otherwise,
Quoted 5 lines
Signed-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Re: [PATCH 02/17] dt-bindings: phy: tegra-xusb: Document Tegra210B01
In reply to Aaron KlingQuoted 7 lines · Aaron Kling
Add the compatible string for the Tegra210B01 XUSB PHY
Signed-off-by Aaron Kling <[email protected]>--- .../devicetree/bindings/phy/nvidia,tegra210-xusb-padctl.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Re: [PATCH 03/17] dt-bindings: usb: tegra-xusb: Document Tegra210B01
In reply to Aaron KlingQuoted 7 lines · Aaron Kling
Add the compatible string for Tegra210B01 XUSB
Signed-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/usb/nvidia,tegra210-xusb.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Re: [PATCH 04/17] dt-bindings: usb: tegra-xudc: Document Tegra210B01
In reply to Aaron KlingQuoted 8 lines · Aaron Kling
Extend the Tegra XUSB controller device tree binding with Tegra210B01 support.
Signed-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 2 ++ 1 file changed, 2 insertions(+)
Re: [PATCH 05/17] dt-bindings: thermal: tegra: Document Tegra210B01
In reply to Aaron KlingQuoted 7 lines · Aaron Kling
Add the compatible string for Tegra210B01
SOC_THERMSigned-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml | 2 ++ 1 file changed, 2 insertions(+)
Rob Herring
maintainerRe: [PATCH 06/17] dt-bindings: clock: tegra: Document Tegra210B01
In reply to Aaron KlingQuoted 26 lines · Aaron Kling
* Add the compatible string for Tegra210B01 clock and reset
* Add Tegra210B01 specific clock bindingsSigned-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml | 1 + include/dt-bindings/clock/tegra210-car.h | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml +1
-0@@ -32,6 +32,7 @@ properties: - nvidia,tegra30-car - nvidia,tegra114-car - nvidia,tegra210-car + - nvidia,tegra210b01-car reg: maxItems: 1include/dt-bindings/clock/tegra210-car.h +0
-0
include/dt-bindings/clock/tegra210-car.h line 415
Quoted 8 lines
include/dt-bindings/clock/tegra210-car.h +4
-1@@ -409,6 +409,9 @@#define TEGRA210_CLK_DMIC3_SYNC_CLK 392#define TEGRA210_CLK_DMIC3_SYNC_CLK_MUX 393 -#define TEGRA210_CLK_CLK_MAX 394 +#define TEGRA210_CLK_UTMIPLL_60M 531 +#define TEGRA210_CLK_PLL_P_UPHY_OUT 532 + +#define TEGRA210_CLK_CLK_MAX 533
Generally we've been dropping these max values because they are not part of the ABI if they can change. I guess that's a separate change.
Rob
Re: [PATCH 06/17] dt-bindings: clock: tegra: Document Tegra210B01
In reply to Aaron KlingQuoted 9 lines · Aaron Kling
* Add the compatible string for Tegra210B01 clock and reset
* Add Tegra210B01 specific clock bindingsSigned-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml | 1 + include/dt-bindings/clock/tegra210-car.h | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-)
Re: [PATCH 07/17] dt-bindings: clock: tegra124-dfll: Document Tegra210B01
In reply to Aaron KlingQuoted 7 lines · Aaron Kling
Add Tegra210B01 support for DFLL clock.
Signed-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt | 1 + 1 file changed, 1 insertion(+)
Rob Herring
maintainerRe: [PATCH 08/17] dt-bindings: tegra: Document Shield TV 2019
In reply to Aaron KlingQuoted 12 lines · Aaron Kling
Add the device tree binding documentation for NVIDIA Shield TV 2019
Signed-off-by Aaron Kling <[email protected]>--- Documentation/devicetree/bindings/arm/tegra.yaml | 5 +++++ 1 file changed, 5 insertions(+)Documentation/devicetree/bindings/arm/tegra.yaml +0
-0
Documentation/devicetree/bindings/arm/tegra.yaml properties: · line 181
Quoted 8 lines
Documentation/devicetree/bindings/arm/tegra.yaml +5
-0@@ -174,6 +174,11 @@ properties: - nvidia,p2571 - nvidia,p2894-0050-a08 - const: nvidia,tegra210 + - items: + - const: nvidia,p2894-0050-a08 + - const: nvidia,darcy + - const: nvidia,tegra210b01 + - const: nvidia,tegra210
Description? Because nothing here says Shield TV...
Quoted 7 lines
Documentation/devicetree/bindings/arm/tegra.yaml +0
-0- description: Jetson TX2 Developer Kit items: - const: nvidia,p2771-0000Signature · 2 lines
-- 2.50.0
Re: [PATCH 05/17] dt-bindings: thermal: tegra: Document Tegra210B01
In reply to Aaron KlingQuoted 5 lines · On 7/15/25 06:02, Aaron Kling via B4 Relay wrote:
From: Aaron Kling <[email protected]>
Add the compatible string for Tegra210B01
SOC_THERMSigned-off-by Aaron Kling <[email protected]>
Applied patch 5/17
Thanks
Quoted 25 lines
--- Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml +2
-0@@ -21,6 +21,7 @@ properties: - nvidia,tegra124-soctherm - nvidia,tegra132-soctherm - nvidia,tegra210-soctherm + - nvidia,tegra210b01-soctherm reg: maxItems: 2@@ -207,6 +208,7 @@ allOf: enum: - nvidia,tegra124-soctherm - nvidia,tegra210-soctherm + - nvidia,tegra210b01-soctherm then: properties: reg:
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog