Tegra114: add support for Microsoft Surface 2
Subsystems (3)
cover Tegra114: add support for Microsoft Surface 2
Add support for Microsoft Surface 2 Tegra 4 tablet.
Jonas Schwöbel (1):
board: microsoft: add Microsoft Surface 2 support
arch/arm/dts/Makefile | 2 + .../dts/tegra114-microsoft-surface-2-0b.dts | 10 + .../dts/tegra114-microsoft-surface-2-13.dts | 10 + .../tegra114-microsoft-surface-2-common.dtsi | 905 ++++++++++++++++++ arch/arm/mach-tegra/tegra114/Kconfig | 5 + board/microsoft/surface-2/Kconfig | 13 + board/microsoft/surface-2/MAINTAINERS | 7 + board/microsoft/surface-2/Makefile | 6 + board/microsoft/surface-2/board-info.c | 71 ++ board/microsoft/surface-2/surface-2-spl.c | 42 + board/microsoft/surface-2/surface-2.env | 8 + configs/surface-2_defconfig | 82 ++ doc/board/microsoft/index.rst | 1 + doc/board/microsoft/surface-2.rst | 41 + 14 files changed, 1203 insertions(+) create mode 100644 arch/arm/dts/tegra114-microsoft-surface-2-0b.dts create mode 100644 arch/arm/dts/tegra114-microsoft-surface-2-13.dts create mode 100644 arch/arm/dts/tegra114-microsoft-surface-2-common.dtsi create mode 100644 board/microsoft/surface-2/Kconfig create mode 100644 board/microsoft/surface-2/MAINTAINERS create mode 100644 board/microsoft/surface-2/Makefile create mode 100644 board/microsoft/surface-2/board-info.c create mode 100644 board/microsoft/surface-2/surface-2-spl.c create mode 100644 board/microsoft/surface-2/surface-2.env create mode 100644 configs/surface-2_defconfig create mode 100644 doc/board/microsoft/surface-2.rst
Signature · 1 line
2.48.1
PATCH 1/1 board: microsoft: add Microsoft Surface 2 support
From: Jonas Schwöbel <[email protected]>
Surface 2 is a Surface-series Windows RT hybrid tablet computer created by Microsoft. Surface 2 uses a 1.7 GHz quad-core Nvidia Tegra 4 chipset with 2 GB of RAM, features 10.6 inch FullHD ClearType HD screen with 16:9 aspect ratio and 32/64 GB of internal memory that can be supplemented with a microSDXC card giving up to 64 GB of additional storage.
--- arch/arm/dts/Makefile | 2 + .../dts/tegra114-microsoft-surface-2-0b.dts | 10 + .../dts/tegra114-microsoft-surface-2-13.dts | 10 + .../tegra114-microsoft-surface-2-common.dtsi | 905 ++++++++++++++++++ arch/arm/mach-tegra/tegra114/Kconfig | 5 + board/microsoft/surface-2/Kconfig | 13 + board/microsoft/surface-2/MAINTAINERS | 7 + board/microsoft/surface-2/Makefile | 6 + board/microsoft/surface-2/board-info.c | 71 ++ board/microsoft/surface-2/surface-2-spl.c | 42 + board/microsoft/surface-2/surface-2.env | 8 + configs/surface-2_defconfig | 82 ++ doc/board/microsoft/index.rst | 1 + doc/board/microsoft/surface-2.rst | 41 + 14 files changed, 1203 insertions(+) create mode 100644 arch/arm/dts/tegra114-microsoft-surface-2-0b.dts create mode 100644 arch/arm/dts/tegra114-microsoft-surface-2-13.dts create mode 100644 arch/arm/dts/tegra114-microsoft-surface-2-common.dtsi create mode 100644 board/microsoft/surface-2/Kconfig create mode 100644 board/microsoft/surface-2/MAINTAINERS create mode 100644 board/microsoft/surface-2/Makefile create mode 100644 board/microsoft/surface-2/board-info.c create mode 100644 board/microsoft/surface-2/surface-2-spl.c create mode 100644 board/microsoft/surface-2/surface-2.env create mode 100644 configs/surface-2_defconfig create mode 100644 doc/board/microsoft/surface-2.rst
arch/arm/dts/Makefile +2 -0
@@ -124,6 +124,8 @@ dtb-$(CONFIG_ARCH_TEGRA) += \ tegra30-wexler-qc750.dtb \ tegra114-asus-tf701t.dtb \ tegra114-dalmore.dtb \ + tegra114-microsoft-surface-2-0b.dtb \ + tegra114-microsoft-surface-2-13.dtb \ tegra114-nvidia-tegratab.dtb \ tegra124-apalis.dtb \ tegra124-jetson-tk1.dtb \
arch/arm/dts/tegra114-microsoft-surface-2-0b.dts new file +10 -0
@@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra114-microsoft-surface-2-common.dtsi" + +/ { + backlight: backlight { + enable-gpios = <&gpio TEGRA_GPIO(CC, 2) GPIO_ACTIVE_HIGH>; + }; +};
arch/arm/dts/tegra114-microsoft-surface-2-13.dts new file +10 -0
@@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra114-microsoft-surface-2-common.dtsi" + +/ { + backlight: backlight { + enable-gpios = <&gpio TEGRA_GPIO(EE, 3) GPIO_ACTIVE_HIGH>; + }; +};
arch/arm/dts/tegra114-microsoft-surface-2-common.dtsi new file +905 -0
905 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_SURFACE_2 + bool "Microsoft Surface 2" + select BOARD_LATE_INIT + config TARGET_TEGRATAB bool "NVIDIA Tegra114 TegraTab evaluation board" select BOARD_LATE_INIT
@@ -22,6 +26,7 @@ config SYS_SOC default "tegra114" source "board/nvidia/dalmore/Kconfig" +source "board/microsoft/surface-2/Kconfig" source "board/nvidia/tegratab/Kconfig" source "board/asus/transformer-t114/Kconfig"
board/microsoft/surface-2/Kconfig new file +13 -0
@@ -0,0 +1,13 @@ +if TARGET_SURFACE_2 + +config SYS_BOARD + default "surface-2" + +config SYS_VENDOR + default "microsoft" + +config TEGRA_BOARD_STRING + string "Default Tegra board name" + default "Microsoft Surface 2" + +endif
board/microsoft/surface-2/MAINTAINERS new file +7 -0
@@ -0,0 +1,7 @@ +SURFACE_2 BOARD +M: Jonas Schwöbel <[email protected]> +S: Maintained +F: arch/arm/dts/tegra114-microsoft-surface-2* +F: board/microsoft/surface-2/ +F: configs/surface-2_defconfig +F: doc/board/microsoft/surface-2.rst
board/microsoft/surface-2/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. + +obj-$(CONFIG_XPL_BUILD) += surface-2-spl.o +obj-$(CONFIG_MULTI_DTB_FIT) += board-info.o
board/microsoft/surface-2/board-info.c new file +71 -0
71 lines not on this page · raw message
board/microsoft/surface-2/surface-2-spl.c new file +42 -0
42 lines not on this page · raw message
board/microsoft/surface-2/surface-2.env new file +8 -0
@@ -0,0 +1,8 @@ +button_cmd_0_name=Volume Down +button_cmd_0=bootmenu + +bootmenu_0=mount internal storage=usb start && ums 0 mmc 0; 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_4=power off=reset +bootmenu_delay=-1
configs/surface-2_defconfig new file +82 -0
82 lines not on this page · raw message
doc/board/microsoft/index.rst +1 -0
@@ -6,4 +6,5 @@ Microsoft .. toctree:: :maxdepth: 2 + surface-2 surface-rt
doc/board/microsoft/surface-2.rst new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
2.48.1