Tegra 4: add support for Asus TF701T and Nvidia Tegratab
Subsystems (3)
v2 cover Tegra 4: add support for Asus TF701T and Nvidia Tegratab
Add support for Asus TF701T and Nvidia Tegratab Tegra 4 devices.
---
Changes in v2:
- upgraded to comply latest video and device header changes
- fixed chainloading fail due to T114 clock issue
---
Svyatoslav Ryhel (3):
ARM: tegra114: clock: avoid touching DISP clocks on init
board: asus: transformer: add ASUS Transformer Pad TF701T support
board: nvidia: tegratab: add Nvidia Tegra Note 7 support
arch/arm/dts/Makefile | 2 + arch/arm/dts/tegra114-asus-tf701t.dts | 1245 +++++++++++++++++ arch/arm/dts/tegra114-nvidia-tegratab.dts | 1041 ++++++++++++++ arch/arm/mach-tegra/tegra114/Kconfig | 10 + arch/arm/mach-tegra/tegra114/clock.c | 1 - board/asus/transformer-t114/Kconfig | 16 + board/asus/transformer-t114/MAINTAINERS | 8 + board/asus/transformer-t114/Makefile | 10 + .../transformer-t114/transformer-t114-spl.c | 42 + .../asus/transformer-t114/transformer-t114.c | 57 + .../transformer-t114/transformer-t114.env | 15 + board/nvidia/tegratab/Kconfig | 16 + board/nvidia/tegratab/MAINTAINERS | 8 + board/nvidia/tegratab/Makefile | 10 + board/nvidia/tegratab/tegratab-spl.c | 42 + board/nvidia/tegratab/tegratab.c | 56 + board/nvidia/tegratab/tegratab.env | 15 + configs/tegratab_defconfig | 84 ++ configs/tf701t_defconfig | 89 ++ doc/board/asus/index.rst | 1 + doc/board/asus/transformer_t114.rst | 74 + doc/board/index.rst | 1 + doc/board/nvidia/index.rst | 9 + doc/board/nvidia/tegratab.rst | 74 + include/configs/tegratab.h | 19 + include/configs/transformer-t114.h | 19 + 26 files changed, 2963 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/tegra114-asus-tf701t.dts create mode 100644 arch/arm/dts/tegra114-nvidia-tegratab.dts create mode 100644 board/asus/transformer-t114/Kconfig create mode 100644 board/asus/transformer-t114/MAINTAINERS create mode 100644 board/asus/transformer-t114/Makefile create mode 100644 board/asus/transformer-t114/transformer-t114-spl.c create mode 100644 board/asus/transformer-t114/transformer-t114.c create mode 100644 board/asus/transformer-t114/transformer-t114.env create mode 100644 board/nvidia/tegratab/Kconfig create mode 100644 board/nvidia/tegratab/MAINTAINERS create mode 100644 board/nvidia/tegratab/Makefile create mode 100644 board/nvidia/tegratab/tegratab-spl.c create mode 100644 board/nvidia/tegratab/tegratab.c create mode 100644 board/nvidia/tegratab/tegratab.env create mode 100644 configs/tegratab_defconfig create mode 100644 configs/tf701t_defconfig create mode 100644 doc/board/asus/transformer_t114.rst create mode 100644 doc/board/nvidia/index.rst create mode 100644 doc/board/nvidia/tegratab.rst create mode 100644 include/configs/tegratab.h create mode 100644 include/configs/transformer-t114.h
Signature · 1 line
2.43.0
PATCH v2 1/3 ARM: tegra114: clock: avoid touching DISP clocks on init
The clock initialization routine sets the DISP* clock parent to PLLC, resulting in DC failure in the case when PLLD was previously configured. This issue disrupts chainloading and to prevent failures caused by DISP* clock parent conflicts, clock initialization should not modify DISP*. The DC driver handles DISP* configuration.
--- arch/arm/mach-tegra/tegra114/clock.c | 1 - 1 file changed, 1 deletion(-)
arch/arm/mach-tegra/tegra114/clock.c +0 -1
@@ -796,7 +796,6 @@ struct periph_clk_init periph_clk_init_table[] = { { PERIPH_ID_SBC5, CLOCK_ID_PERIPH }, { PERIPH_ID_SBC6, CLOCK_ID_PERIPH }, { PERIPH_ID_HOST1X, CLOCK_ID_PERIPH }, - { PERIPH_ID_DISP1, CLOCK_ID_CGENERAL }, { PERIPH_ID_NDFLASH, CLOCK_ID_PERIPH }, { PERIPH_ID_SDMMC1, CLOCK_ID_PERIPH }, { PERIPH_ID_SDMMC2, CLOCK_ID_PERIPH },
Signature · 1 line
2.43.0
PATCH v2 2/3 board: asus: transformer: add ASUS Transformer Pad TF701T support
In reply to Svyatoslav RyhelThe ASUS Transformer Pad TF701T is an Android tablet computer made by ASUS, successor to the ASUS Transformer Pad Infinity. The tablet includes a Tegra 4 T114 processor clocked at 1.9 GHz, and an upgraded 2560×1600 pixel resolution screen, increasing the pixel density to 300 PPI and a mobile dock. Transformers (t114) board derives from Nvidia Macallan development board.
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra114-asus-tf701t.dts | 1245 +++++++++++++++++ arch/arm/mach-tegra/tegra114/Kconfig | 5 + board/asus/transformer-t114/Kconfig | 16 + board/asus/transformer-t114/MAINTAINERS | 8 + board/asus/transformer-t114/Makefile | 10 + .../transformer-t114/transformer-t114-spl.c | 42 + .../asus/transformer-t114/transformer-t114.c | 57 + .../transformer-t114/transformer-t114.env | 15 + configs/tf701t_defconfig | 89 ++ doc/board/asus/index.rst | 1 + doc/board/asus/transformer_t114.rst | 74 + include/configs/transformer-t114.h | 19 + 13 files changed, 1582 insertions(+) create mode 100644 arch/arm/dts/tegra114-asus-tf701t.dts create mode 100644 board/asus/transformer-t114/Kconfig create mode 100644 board/asus/transformer-t114/MAINTAINERS create mode 100644 board/asus/transformer-t114/Makefile create mode 100644 board/asus/transformer-t114/transformer-t114-spl.c create mode 100644 board/asus/transformer-t114/transformer-t114.c create mode 100644 board/asus/transformer-t114/transformer-t114.env create mode 100644 configs/tf701t_defconfig create mode 100644 doc/board/asus/transformer_t114.rst create mode 100644 include/configs/transformer-t114.h
arch/arm/dts/Makefile +1 -0
@@ -118,6 +118,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += \ tegra30-ouya.dtb \ tegra30-tec-ng.dtb \ tegra30-wexler-qc750.dtb \ + tegra114-asus-tf701t.dtb \ tegra114-dalmore.dtb \ tegra124-apalis.dtb \ tegra124-jetson-tk1.dtb \
arch/arm/dts/tegra114-asus-tf701t.dts new file +1245 -0
1,245 lines not on this page · raw message
arch/arm/mach-tegra/tegra114/Kconfig +5 -0
@@ -8,11 +8,16 @@ config TARGET_DALMORE bool "NVIDIA Tegra114 Dalmore evaluation board" select BOARD_LATE_INIT +config TARGET_TRANSFORMER_T114 + bool "ASUS Tegra114 Transformer board" + select BOARD_LATE_INIT + endchoice config SYS_SOC default "tegra114" source "board/nvidia/dalmore/Kconfig" +source "board/asus/transformer-t114/Kconfig" endif
board/asus/transformer-t114/Kconfig new file +16 -0
@@ -0,0 +1,16 @@ +if TARGET_TRANSFORMER_T114 + +config SYS_BOARD + default "transformer-t114" + +config SYS_VENDOR + default "asus" + +config SYS_CONFIG_NAME + default "transformer-t114" + +config TEGRA_BOARD_STRING + string "Default Tegra board name" + default "ASUS Transformer T114" + +endif
board/asus/transformer-t114/MAINTAINERS new file +8 -0
@@ -0,0 +1,8 @@ +TRANSFORMER T114 BOARD +M: Svyatoslav Ryhel <[email protected]> +S: Maintained +F: arch/arm/dts/tegra114-asus-tf701t.dts +F: board/asus/transformer-t114/ +F: configs/tf701t_defconfig +F: doc/board/asus/transformer_t114.rst +F: include/configs/transformer-t114.h
board/asus/transformer-t114/Makefile new file +10 -0
@@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. +# +# Copyright (c) 2023, Svyatoslav Ryhel <[email protected]> +# + +obj-$(CONFIG_XPL_BUILD) += transformer-t114-spl.o + +obj-y += transformer-t114.o
board/asus/transformer-t114/transformer-t114-spl.c new file +42 -0
42 lines not on this page · raw message
board/asus/transformer-t114/transformer-t114.c new file +57 -0
57 lines not on this page · raw message
board/asus/transformer-t114/transformer-t114.env new file +15 -0
@@ -0,0 +1,15 @@ +button_cmd_0_name=Volume Down +button_cmd_0=bootmenu +button_cmd_1_name=Hall Sensor +button_cmd_1=poweroff + +fastboot_partition_alias_boot=CAC +fastboot_partition_alias_root=UDA + +bootmenu_0=mount internal storage=usb start && ums 0 mmc 0:e; bootmenu +bootmenu_1=mount external storage=usb start && ums 0 mmc 1; bootmenu +bootmenu_2=fastboot=echo Starting Fastboot protocol ...; fastboot usb 0; bootmenu +bootmenu_3=reboot RCM=enterrcm +bootmenu_4=reboot=reset +bootmenu_5=power off=poweroff +bootmenu_delay=-1
configs/tf701t_defconfig new file +89 -0
89 lines not on this page · raw message
doc/board/asus/index.rst +1 -0
@@ -9,3 +9,4 @@ ASUS grouper transformer_t20 transformer_t30 + transformer_t114
doc/board/asus/transformer_t114.rst new file +74 -0
74 lines not on this page · raw message
include/configs/transformer-t114.h new file +19 -0
@@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* +* Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. +* +* Copyright (c) 2023, Svyatoslav Ryhel <[email protected]> +*/ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#include "tegra114-common.h" + +#ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE +#define CFG_PRAM 0x20000/* 128 MB */ +#endif + +#include "tegra-common-post.h" + +#endif /* __CONFIG_H */
Signature · 1 line
2.43.0
PATCH v2 3/3 board: nvidia: tegratab: add Nvidia Tegra Note 7 support
In reply to Svyatoslav RyhelThe Tegra Note 7 is a mini tablet computer and the second Tegra 4 based mobile device designed by Nvidia that runs the Android operating system. The Tegra Note has a 7" IPS display with 1280 x 800 (217 ppi) resolution. The 1 GB of RAM and 16 GB of internal memory can be supplemented with a microSDXC card giving up to 64 GB of additional storage.
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/tegra114-nvidia-tegratab.dts | 1041 +++++++++++++++++++++ arch/arm/mach-tegra/tegra114/Kconfig | 5 + board/nvidia/tegratab/Kconfig | 16 + board/nvidia/tegratab/MAINTAINERS | 8 + board/nvidia/tegratab/Makefile | 10 + board/nvidia/tegratab/tegratab-spl.c | 42 + board/nvidia/tegratab/tegratab.c | 56 ++ board/nvidia/tegratab/tegratab.env | 15 + configs/tegratab_defconfig | 84 ++ doc/board/index.rst | 1 + doc/board/nvidia/index.rst | 9 + doc/board/nvidia/tegratab.rst | 74 ++ include/configs/tegratab.h | 19 + 14 files changed, 1381 insertions(+) create mode 100644 arch/arm/dts/tegra114-nvidia-tegratab.dts create mode 100644 board/nvidia/tegratab/Kconfig create mode 100644 board/nvidia/tegratab/MAINTAINERS create mode 100644 board/nvidia/tegratab/Makefile create mode 100644 board/nvidia/tegratab/tegratab-spl.c create mode 100644 board/nvidia/tegratab/tegratab.c create mode 100644 board/nvidia/tegratab/tegratab.env create mode 100644 configs/tegratab_defconfig create mode 100644 doc/board/nvidia/index.rst create mode 100644 doc/board/nvidia/tegratab.rst create mode 100644 include/configs/tegratab.h
arch/arm/dts/Makefile +1 -0
@@ -120,6 +120,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += \ tegra30-wexler-qc750.dtb \ tegra114-asus-tf701t.dtb \ tegra114-dalmore.dtb \ + tegra114-nvidia-tegratab.dtb \ tegra124-apalis.dtb \ tegra124-jetson-tk1.dtb \ tegra124-nyan-big.dtb \
arch/arm/dts/tegra114-nvidia-tegratab.dts new file +1041 -0
1,041 lines not on this page · raw message
arch/arm/mach-tegra/tegra114/Kconfig +5 -0
@@ -8,6 +8,10 @@ config TARGET_DALMORE bool "NVIDIA Tegra114 Dalmore evaluation board" select BOARD_LATE_INIT +config TARGET_TEGRATAB + bool "NVIDIA Tegra114 TegraTab evaluation board" + select BOARD_LATE_INIT + config TARGET_TRANSFORMER_T114 bool "ASUS Tegra114 Transformer board" select BOARD_LATE_INIT
@@ -18,6 +22,7 @@ config SYS_SOC default "tegra114" source "board/nvidia/dalmore/Kconfig" +source "board/nvidia/tegratab/Kconfig" source "board/asus/transformer-t114/Kconfig" endif
board/nvidia/tegratab/Kconfig new file +16 -0
@@ -0,0 +1,16 @@ +if TARGET_TEGRATAB + +config SYS_BOARD + default "tegratab" + +config SYS_VENDOR + default "nvidia" + +config SYS_CONFIG_NAME + default "tegratab" + +config TEGRA_BOARD_STRING + string "Default Tegra board name" + default "NVIDIA TegraTab" + +endif
board/nvidia/tegratab/MAINTAINERS new file +8 -0
@@ -0,0 +1,8 @@ +TEGRATAB BOARD +M: Svyatoslav Ryhel <[email protected]> +S: Maintained +F: arch/arm/dts/tegra114-nvidia-tegratab.dts +F: board/nvidia/tegratab/ +F: configs/tegratab_defconfig +F: doc/board/nvidia/tegratab.rst +F: include/configs/tegratab.h
board/nvidia/tegratab/Makefile new file +10 -0
@@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. +# +# Copyright (c) 2023, Svyatoslav Ryhel <[email protected]> +# + +obj-$(CONFIG_XPL_BUILD) += tegratab-spl.o + +obj-y += tegratab.o
board/nvidia/tegratab/tegratab-spl.c new file +42 -0
42 lines not on this page · raw message
board/nvidia/tegratab/tegratab.c new file +56 -0
56 lines not on this page · raw message
board/nvidia/tegratab/tegratab.env new file +15 -0
@@ -0,0 +1,15 @@ +button_cmd_0_name=Volume Down +button_cmd_0=bootmenu +button_cmd_1_name=Hall Sensor +button_cmd_1=poweroff + +fastboot_partition_alias_boot=CAC +fastboot_partition_alias_root=UDA + +bootmenu_0=mount internal storage=usb start && ums 0 mmc 0:c; bootmenu +bootmenu_1=mount external storage=usb start && ums 0 mmc 1; bootmenu +bootmenu_2=fastboot=echo Starting Fastboot protocol ...; fastboot usb 0; bootmenu +bootmenu_3=reboot RCM=enterrcm +bootmenu_4=reboot=reset +bootmenu_5=power off=poweroff +bootmenu_delay=-1
configs/tegratab_defconfig new file +84 -0
84 lines not on this page · raw message
doc/board/index.rst +1 -0
@@ -42,6 +42,7 @@ Board-specific doc microchip/index microsoft/index motorola/index + nvidia/index nxp/index openpiton/index ouya/index
doc/board/nvidia/index.rst new file +9 -0
@@ -0,0 +1,9 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +NVIDIA +====== + +.. toctree:: + :maxdepth: 2 + + tegratab
doc/board/nvidia/tegratab.rst new file +74 -0
74 lines not on this page · raw message
include/configs/tegratab.h new file +19 -0
@@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* +* Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. +* +* Copyright (c) 2023, Svyatoslav Ryhel <[email protected]> +*/ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#include "tegra114-common.h" + +#ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE +#define CFG_PRAM 0x21c00/* 135 MB */ +#endif + +#include "tegra-common-post.h" + +#endif /* __CONFIG_H */
Signature · 1 line
2.43.0