Skip to contentSkip to conversation

Initial support for new Tegra 2/3 devices

PATCH New Svyatoslav Ryhel 1 participant 5 messages Jun 18, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover Initial support for new Tegra 2/3 devices

Patchset includes initial support bringup for 4 new Tegra 2 and Tegra 3 devices which include Asus Transformers with Tegra 2, Microfost Surface RT, Lenovo Ideapad Yoga 11 and Wexler Tab 7t. All setups are tested on real hardware and pass buildman and CI.

---
Changes from v1:
- removed <linux/sizes.h> inclusion
---

Jonas Schwöbel (2):
board: microsoft: surface-rt: add Microsoft Surface RT support
board: lenovo: ideapad-yoga-11: Lenovo Ideapad Yoga 11

Svyatoslav Ryhel (2):
board: asus: transformer: add ASUS Transformer T20 family support
board: wexler: qc750: add WEXLER Tab 7t support

 arch/arm/dts/Makefile                         |    9 +-
 arch/arm/dts/tegra20-asus-sl101.dts           |    9 +
 arch/arm/dts/tegra20-asus-tf101.dts           |    9 +
 arch/arm/dts/tegra20-asus-tf101g.dts          |    9 +
 arch/arm/dts/tegra20-asus-transformer.dtsi    |  545 +++++++
 .../dts/tegra30-lenovo-ideapad-yoga-11.dts    | 1266 +++++++++++++++++
 arch/arm/dts/tegra30-microsoft-surface-rt.dts | 1083 ++++++++++++++
 arch/arm/dts/tegra30-wexler-qc750.dts         | 1106 ++++++++++++++
 arch/arm/mach-tegra/tegra20/Kconfig           |    5 +
 arch/arm/mach-tegra/tegra30/Kconfig           |   15 +
 board/asus/transformer-t20/Kconfig            |   12 +
 board/asus/transformer-t20/MAINTAINERS        |    8 +
 board/asus/transformer-t20/Makefile           |    9 +
 .../asus/transformer-t20/configs/sl101.config |    1 +
 .../asus/transformer-t20/configs/tf101.config |    1 +
 .../transformer-t20/configs/tf101g.config     |    1 +
 board/asus/transformer-t20/transformer-t20.c  |   57 +
 board/lenovo/ideapad-yoga-11/Kconfig          |   12 +
 board/lenovo/ideapad-yoga-11/MAINTAINERS      |    7 +
 board/lenovo/ideapad-yoga-11/Makefile         |    6 +
 .../ideapad-yoga-11/ideapad-yoga-11-spl.c     |   41 +
 board/microsoft/surface-rt/Kconfig            |   12 +
 board/microsoft/surface-rt/MAINTAINERS        |    7 +
 board/microsoft/surface-rt/Makefile           |    6 +
 board/microsoft/surface-rt/surface-rt-spl.c   |   41 +
 board/wexler/qc750/Kconfig                    |   12 +
 board/wexler/qc750/MAINTAINERS                |    7 +
 board/wexler/qc750/Makefile                   |   11 +
 board/wexler/qc750/qc750-spl.c                |   45 +
 board/wexler/qc750/qc750.c                    |   21 +
 configs/ideapad-yoga-11_defconfig             |   84 ++
 configs/qc750_defconfig                       |   81 ++
 configs/surface-rt_defconfig                  |   80 ++
 configs/transformer_t20_defconfig             |   82 ++
 doc/board/asus/index.rst                      |    1 +
 doc/board/asus/transformer_t20.rst            |  129 ++
 doc/board/index.rst                           |    3 +
 doc/board/lenovo/ideapad-yoga-11.rst          |   41 +
 doc/board/lenovo/index.rst                    |    9 +
 doc/board/microsoft/index.rst                 |    9 +
 doc/board/microsoft/surface-rt.rst            |   41 +
 doc/board/wexler/index.rst                    |    9 +
 doc/board/wexler/qc750.rst                    |  125 ++
 include/configs/ideapad-yoga-11.h             |   77 +
 include/configs/qc750.h                       |   65 +
 include/configs/surface-rt.h                  |   39 +
 include/configs/transformer-t20.h             |   21 +
 47 files changed, 5268 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/tegra20-asus-sl101.dts
 create mode 100644 arch/arm/dts/tegra20-asus-tf101.dts
 create mode 100644 arch/arm/dts/tegra20-asus-tf101g.dts
 create mode 100644 arch/arm/dts/tegra20-asus-transformer.dtsi
 create mode 100644 arch/arm/dts/tegra30-lenovo-ideapad-yoga-11.dts
 create mode 100644 arch/arm/dts/tegra30-microsoft-surface-rt.dts
 create mode 100644 arch/arm/dts/tegra30-wexler-qc750.dts
 create mode 100644 board/asus/transformer-t20/Kconfig
 create mode 100644 board/asus/transformer-t20/MAINTAINERS
 create mode 100644 board/asus/transformer-t20/Makefile
 create mode 100644 board/asus/transformer-t20/configs/sl101.config
 create mode 100644 board/asus/transformer-t20/configs/tf101.config
 create mode 100644 board/asus/transformer-t20/configs/tf101g.config
 create mode 100644 board/asus/transformer-t20/transformer-t20.c
 create mode 100644 board/lenovo/ideapad-yoga-11/Kconfig
 create mode 100644 board/lenovo/ideapad-yoga-11/MAINTAINERS
 create mode 100644 board/lenovo/ideapad-yoga-11/Makefile
 create mode 100644 board/lenovo/ideapad-yoga-11/ideapad-yoga-11-spl.c
 create mode 100644 board/microsoft/surface-rt/Kconfig
 create mode 100644 board/microsoft/surface-rt/MAINTAINERS
 create mode 100644 board/microsoft/surface-rt/Makefile
 create mode 100644 board/microsoft/surface-rt/surface-rt-spl.c
 create mode 100644 board/wexler/qc750/Kconfig
 create mode 100644 board/wexler/qc750/MAINTAINERS
 create mode 100644 board/wexler/qc750/Makefile
 create mode 100644 board/wexler/qc750/qc750-spl.c
 create mode 100644 board/wexler/qc750/qc750.c
 create mode 100644 configs/ideapad-yoga-11_defconfig
 create mode 100644 configs/qc750_defconfig
 create mode 100644 configs/surface-rt_defconfig
 create mode 100644 configs/transformer_t20_defconfig
 create mode 100644 doc/board/asus/transformer_t20.rst
 create mode 100644 doc/board/lenovo/ideapad-yoga-11.rst
 create mode 100644 doc/board/lenovo/index.rst
 create mode 100644 doc/board/microsoft/index.rst
 create mode 100644 doc/board/microsoft/surface-rt.rst
 create mode 100644 doc/board/wexler/index.rst
 create mode 100644 doc/board/wexler/qc750.rst
 create mode 100644 include/configs/ideapad-yoga-11.h
 create mode 100644 include/configs/qc750.h
 create mode 100644 include/configs/surface-rt.h
 create mode 100644 include/configs/transformer-t20.h
Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/4 board: asus: transformer: add ASUS Transformer T20 family support

The Asus Eee Pad Transformer family are 2-in-1 detachable/slider tablets developed by Asus that run the Android operating system. The Eee Pad Transformers feature a 10.1-inch (260 mm) display, an Nvidia Tegra 2 dual-core chip, 1 GB of RAM, and 16/32 GB of storage. Transformers board derives from Nvidia Ventana development board.

This patch brings support for all 3 known T20 Transformers:
- Asus Eee Pad Transformer TF101
- Asus Eee Pad Transformer TF101G
- Asus Eee Pad Slider SL101

---
 arch/arm/dts/Makefile                         |   6 +-
 arch/arm/dts/tegra20-asus-sl101.dts           |   9 +
 arch/arm/dts/tegra20-asus-tf101.dts           |   9 +
 arch/arm/dts/tegra20-asus-tf101g.dts          |   9 +
 arch/arm/dts/tegra20-asus-transformer.dtsi    | 545 ++++++++++++++++++
 arch/arm/mach-tegra/tegra20/Kconfig           |   5 +
 board/asus/transformer-t20/Kconfig            |  12 +
 board/asus/transformer-t20/MAINTAINERS        |   8 +
 board/asus/transformer-t20/Makefile           |   9 +
 .../asus/transformer-t20/configs/sl101.config |   1 +
 .../asus/transformer-t20/configs/tf101.config |   1 +
 .../transformer-t20/configs/tf101g.config     |   1 +
 board/asus/transformer-t20/transformer-t20.c  |  57 ++
 configs/transformer_t20_defconfig             |  82 +++
 doc/board/asus/index.rst                      |   1 +
 doc/board/asus/transformer_t20.rst            | 129 +++++
 include/configs/transformer-t20.h             |  21 +
 17 files changed, 904 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/tegra20-asus-sl101.dts
 create mode 100644 arch/arm/dts/tegra20-asus-tf101.dts
 create mode 100644 arch/arm/dts/tegra20-asus-tf101g.dts
 create mode 100644 arch/arm/dts/tegra20-asus-transformer.dtsi
 create mode 100644 board/asus/transformer-t20/Kconfig
 create mode 100644 board/asus/transformer-t20/MAINTAINERS
 create mode 100644 board/asus/transformer-t20/Makefile
 create mode 100644 board/asus/transformer-t20/configs/sl101.config
 create mode 100644 board/asus/transformer-t20/configs/tf101.config
 create mode 100644 board/asus/transformer-t20/configs/tf101g.config
 create mode 100644 board/asus/transformer-t20/transformer-t20.c
 create mode 100644 configs/transformer_t20_defconfig
 create mode 100644 doc/board/asus/transformer_t20.rst
 create mode 100644 include/configs/transformer-t20.h
arch/arm/dts/Makefile +5 -1
index 8fb6a8a1f1..3a66c6d012 100644
@@ -102,7 +102,11 @@ dtb-$(CONFIG_ARCH_S5P4418) += \
 dtb-$(CONFIG_ARCH_MESON) += \
 	meson-a1-ad401.dtb
 
-dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
+dtb-$(CONFIG_ARCH_TEGRA) += \
+	tegra20-asus-sl101.dtb \
+	tegra20-asus-tf101.dtb \
+	tegra20-asus-tf101g.dtb \
+	tegra20-harmony.dtb \
 	tegra20-medcom-wide.dtb \
 	tegra20-paz00.dtb \
 	tegra20-plutux.dtb \
arch/arm/dts/tegra20-asus-sl101.dts new file +9 -0
new file mode 100644
index 0000000000..b4709c3e9a
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "tegra20-asus-transformer.dtsi"
+
+/ {
+	model = "ASUS EeePad Slider SL101";
+	compatible = "asus,sl101", "nvidia,tegra20";
+};
arch/arm/dts/tegra20-asus-tf101.dts new file +9 -0
new file mode 100644
index 0000000000..7c734fb5b1
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "tegra20-asus-transformer.dtsi"
+
+/ {
+	model = "ASUS EeePad Transformer TF101";
+	compatible = "asus,tf101", "nvidia,tegra20";
+};
arch/arm/dts/tegra20-asus-tf101g.dts new file +9 -0
new file mode 100644
index 0000000000..f49a358a26
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "tegra20-asus-transformer.dtsi"
+
+/ {
+	model = "ASUS EeePad Transformer TF101G";
+	compatible = "asus,tf101g", "nvidia,tegra20";
+};
arch/arm/dts/tegra20-asus-transformer.dtsi new file +545 -0

545 lines not on this page · raw message

arch/arm/mach-tegra/tegra20/Kconfig +5 -0
index 57d11024bf..6458827d6d 100644
@@ -47,6 +47,10 @@ config TARGET_TEC
 	bool "Avionic Design Tamonten Evaluation Carrier"
 	select BOARD_LATE_INIT
 
+config TARGET_TRANSFORMER_T20
+	bool "Asus Tegra20 Transformer board"
+	select BOARD_LATE_INIT
+
 config TARGET_TRIMSLICE
 	bool "Compulab TrimSlice board"
 	select BOARD_LATE_INIT
@@ -72,6 +76,7 @@ source "board/compal/paz00/Kconfig"
 source "board/avionic-design/plutux/Kconfig"
 source "board/nvidia/seaboard/Kconfig"
 source "board/avionic-design/tec/Kconfig"
+source "board/asus/transformer-t20/Kconfig"
 source "board/compulab/trimslice/Kconfig"
 source "board/nvidia/ventana/Kconfig"
 source "board/toradex/colibri_t20/Kconfig"
board/asus/transformer-t20/Kconfig new file +12 -0
new file mode 100644
index 0000000000..d5fe412828
@@ -0,0 +1,12 @@
+if TARGET_TRANSFORMER_T20
+
+config SYS_BOARD
+	default "transformer-t20"
+
+config SYS_VENDOR
+	default "asus"
+
+config SYS_CONFIG_NAME
+	default "transformer-t20"
+
+endif
board/asus/transformer-t20/MAINTAINERS new file +8 -0
new file mode 100644
index 0000000000..7bf9357098
@@ -0,0 +1,8 @@
+TRANSFORMER T20 BOARD
+M:	Svyatoslav Ryhel <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/tegra20-asus-*
+F:	board/asus/transformer-t20/
+F:	configs/transformer_t20_defconfig
+F:	doc/board/asus/transformer_t20.rst
+F:	include/configs/transformer-t20.h
board/asus/transformer-t20/Makefile new file +9 -0
new file mode 100644
index 0000000000..8522f82c2b
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+#  (C) Copyright 2010,2011
+#  NVIDIA Corporation <www.nvidia.com>
+#
+#  (C) Copyright 2021
+#  Svyatoslav Ryhel <[email protected]>
+
+obj-y += transformer-t20.o
board/asus/transformer-t20/configs/sl101.config new file +1 -0
new file mode 100644
index 0000000000..4f639e1b41
@@ -0,0 +1 @@
+CONFIG_DEFAULT_DEVICE_TREE="tegra20-asus-sl101"
board/asus/transformer-t20/configs/tf101.config new file +1 -0
new file mode 100644
index 0000000000..44a1d1a3c1
@@ -0,0 +1 @@
+CONFIG_DEFAULT_DEVICE_TREE="tegra20-asus-tf101"
board/asus/transformer-t20/configs/tf101g.config new file +1 -0
new file mode 100644
index 0000000000..0ccf2498cc
@@ -0,0 +1 @@
+CONFIG_DEFAULT_DEVICE_TREE="tegra20-asus-tf101g"
board/asus/transformer-t20/transformer-t20.c new file +57 -0

57 lines not on this page · raw message

configs/transformer_t20_defconfig new file +82 -0

82 lines not on this page · raw message

doc/board/asus/index.rst +1 -0
index 87e535fe34..2b10328790 100644
@@ -7,4 +7,5 @@ ASUS
    :maxdepth: 2
 
    grouper_common
+   transformer_t20
    transformer_t30
doc/board/asus/transformer_t20.rst new file +129 -0

129 lines not on this page · raw message

include/configs/transformer-t20.h new file +21 -0
new file mode 100644
index 0000000000..ca1e70caa7
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ *  (C) Copyright 2010,2011
+ *  NVIDIA Corporation <www.nvidia.com>
+ *
+ *  (C) Copyright 2022
+ *  Svyatoslav Ryhel <[email protected]>
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#include "tegra20-common.h"
+#include "transformer-common.h"
+
+/* Board-specific serial config */
+#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
+
+#include "tegra-common-post.h"
+
+#endif /* __CONFIG_H */
Signature · 1 line
2.43.0
#2 lore raw

PATCH v2 2/4 board: wexler: qc750: add WEXLER Tab 7t support

In reply to Svyatoslav Ryhel

WEXLER Tab 7t is a mini tablet computer developed by WEXLER that runs the Android operating system. The device features a 7.0-inch (180 mm) HD display, an Nvidia Tegra 3 quad-core chip, 1 GB of RAM, 8, 16 or 32 GB of storage that can be supplemented with a microSDXC card giving up to 64 GB of additional storage and a full size USB port.

---
 arch/arm/dts/Makefile                 |    1 +
 arch/arm/dts/tegra30-wexler-qc750.dts | 1106 +++++++++++++++++++++++++
 arch/arm/mach-tegra/tegra30/Kconfig   |    5 +
 board/wexler/qc750/Kconfig            |   12 +
 board/wexler/qc750/MAINTAINERS        |    7 +
 board/wexler/qc750/Makefile           |   11 +
 board/wexler/qc750/qc750-spl.c        |   45 +
 board/wexler/qc750/qc750.c            |   21 +
 configs/qc750_defconfig               |   81 ++
 doc/board/index.rst                   |    1 +
 doc/board/wexler/index.rst            |    9 +
 doc/board/wexler/qc750.rst            |  125 +++
 include/configs/qc750.h               |   65 ++
 13 files changed, 1489 insertions(+)
 create mode 100644 arch/arm/dts/tegra30-wexler-qc750.dts
 create mode 100644 board/wexler/qc750/Kconfig
 create mode 100644 board/wexler/qc750/MAINTAINERS
 create mode 100644 board/wexler/qc750/Makefile
 create mode 100644 board/wexler/qc750/qc750-spl.c
 create mode 100644 board/wexler/qc750/qc750.c
 create mode 100644 configs/qc750_defconfig
 create mode 100644 doc/board/wexler/index.rst
 create mode 100644 doc/board/wexler/qc750.rst
 create mode 100644 include/configs/qc750.h
arch/arm/dts/Makefile +1 -0
index 3a66c6d012..8ca10c307f 100644
@@ -133,6 +133,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += \
 	tegra30-lg-p880.dtb \
 	tegra30-lg-p895.dtb \
 	tegra30-tec-ng.dtb \
+	tegra30-wexler-qc750.dtb \
 	tegra114-dalmore.dtb \
 	tegra124-apalis.dtb \
 	tegra124-jetson-tk1.dtb \
arch/arm/dts/tegra30-wexler-qc750.dts new file +1106 -0

1,106 lines not on this page · raw message

arch/arm/mach-tegra/tegra30/Kconfig +5 -0
index 3e478b3b7b..c6ab1a6a46 100644
@@ -28,6 +28,10 @@ config TARGET_GROUPER
 	bool "Asus and Google Grouper board"
 	select BOARD_LATE_INIT
 
+config TARGET_QC750
+	bool "Wexler QC750 board"
+	select BOARD_LATE_INIT
+
 config TARGET_TEC_NG
 	bool "Avionic Design TEC-NG board"
 	select BOARD_LATE_INIT
@@ -51,6 +55,7 @@ source "board/nvidia/cardhu/Kconfig"
 source "board/toradex/colibri_t30/Kconfig"
 source "board/htc/endeavoru/Kconfig"
 source "board/asus/grouper/Kconfig"
+source "board/wexler/qc750/Kconfig"
 source "board/avionic-design/tec-ng/Kconfig"
 source "board/asus/transformer-t30/Kconfig"
 source "board/lg/x3-t30/Kconfig"
board/wexler/qc750/Kconfig new file +12 -0
new file mode 100644
index 0000000000..45a1e5e057
@@ -0,0 +1,12 @@
+if TARGET_QC750
+
+config SYS_BOARD
+	default "qc750"
+
+config SYS_VENDOR
+	default "wexler"
+
+config SYS_CONFIG_NAME
+	default "qc750"
+
+endif
board/wexler/qc750/MAINTAINERS new file +7 -0
new file mode 100644
index 0000000000..017f6f2b70
@@ -0,0 +1,7 @@
+QC750 BOARD
+M:	Svyatoslav Ryhel <[email protected]>
+S:	Maintained
+F:	board/wexler/qc750/
+F:	configs/qc750_defconfig
+F:	doc/board/wexler/qc750.rst
+F:	include/configs/qc750.h
board/wexler/qc750/Makefile new file +11 -0
new file mode 100644
index 0000000000..4daefc4159
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+#  (C) Copyright 2010-2012
+#  NVIDIA Corporation <www.nvidia.com>
+#
+#  (C) Copyright 2023
+#  Svyatoslav Ryhel <[email protected]>
+
+obj-$(CONFIG_SPL_BUILD) += qc750-spl.o
+
+obj-y += qc750.o
board/wexler/qc750/qc750-spl.c new file +45 -0

45 lines not on this page · raw message

board/wexler/qc750/qc750.c new file +21 -0
new file mode 100644
index 0000000000..5234211aea
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ *  (C) Copyright 2010-2013
+ *  NVIDIA Corporation <www.nvidia.com>
+ *
+ *  (C) Copyright 2023
+ *  Svyatoslav Ryhel <[email protected]>
+ */
+
+#include <fdt_support.h>
+
+#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
+int ft_board_setup(void *blob, struct bd_info *bd)
+{
+	/* Remove TrustZone nodes */
+	fdt_del_node_and_alias(blob, "/firmware");
+	fdt_del_node_and_alias(blob, "/reserved-memory/trustzone@bfe00000");
+
+	return 0;
+}
+#endif
configs/qc750_defconfig new file +81 -0

81 lines not on this page · raw message

doc/board/index.rst +1 -0
index 2340eeb077..9d31390fa8 100644
@@ -58,5 +58,6 @@ Board-specific doc
    ti/index
    toradex/index
    variscite/index
+   wexler/index
    xen/index
    xilinx/index
doc/board/wexler/index.rst new file +9 -0
new file mode 100644
index 0000000000..308aad79e1
@@ -0,0 +1,9 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+WEXLER
+======
+
+.. toctree::
+   :maxdepth: 2
+
+   qc750
doc/board/wexler/qc750.rst new file +125 -0

125 lines not on this page · raw message

include/configs/qc750.h new file +65 -0

65 lines not on this page · raw message

Signature · 1 line
2.43.0
#3 lore raw

PATCH v2 3/4 board: microsoft: surface-rt: add Microsoft Surface RT support

In reply to Svyatoslav Ryhel

From: Jonas Schwöbel <[email protected]>

Surface RT is a hybrid tablet computer developed and manufactured by Microsoft and shipped with Windows RT. The tablet uses a 1.3 GHz quad-core Nvidia Tegra 3 chipset with 2 GB of RAM, features 10.8 inch 1366x768 screen and 32/64 GB of internal memory that can be supplemented with a microSDXC card giving up to 200 GB of additional storage.

---
 arch/arm/dts/Makefile                         |    1 +
 arch/arm/dts/tegra30-microsoft-surface-rt.dts | 1083 +++++++++++++++++
 arch/arm/mach-tegra/tegra30/Kconfig           |    5 +
 board/microsoft/surface-rt/Kconfig            |   12 +
 board/microsoft/surface-rt/MAINTAINERS        |    7 +
 board/microsoft/surface-rt/Makefile           |    6 +
 board/microsoft/surface-rt/surface-rt-spl.c   |   41 +
 configs/surface-rt_defconfig                  |   80 ++
 doc/board/index.rst                           |    1 +
 doc/board/microsoft/index.rst                 |    9 +
 doc/board/microsoft/surface-rt.rst            |   41 +
 include/configs/surface-rt.h                  |   39 +
 12 files changed, 1325 insertions(+)
 create mode 100644 arch/arm/dts/tegra30-microsoft-surface-rt.dts
 create mode 100644 board/microsoft/surface-rt/Kconfig
 create mode 100644 board/microsoft/surface-rt/MAINTAINERS
 create mode 100644 board/microsoft/surface-rt/Makefile
 create mode 100644 board/microsoft/surface-rt/surface-rt-spl.c
 create mode 100644 configs/surface-rt_defconfig
 create mode 100644 doc/board/microsoft/index.rst
 create mode 100644 doc/board/microsoft/surface-rt.rst
 create mode 100644 include/configs/surface-rt.h
arch/arm/dts/Makefile +1 -0
index 8ca10c307f..8041faa228 100644
@@ -132,6 +132,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += \
 	tegra30-htc-endeavoru.dtb \
 	tegra30-lg-p880.dtb \
 	tegra30-lg-p895.dtb \
+	tegra30-microsoft-surface-rt.dtb \
 	tegra30-tec-ng.dtb \
 	tegra30-wexler-qc750.dtb \
 	tegra114-dalmore.dtb \
arch/arm/dts/tegra30-microsoft-surface-rt.dts new file +1083 -0

1,083 lines not on this page · raw message

arch/arm/mach-tegra/tegra30/Kconfig +5 -0
index c6ab1a6a46..ce9047b3bd 100644
@@ -32,6 +32,10 @@ config TARGET_QC750
 	bool "Wexler QC750 board"
 	select BOARD_LATE_INIT
 
+config TARGET_SURFACE_RT
+	bool "Microsoft Tegra30 Surface RT board"
+	select BOARD_LATE_INIT
+
 config TARGET_TEC_NG
 	bool "Avionic Design TEC-NG board"
 	select BOARD_LATE_INIT
@@ -56,6 +60,7 @@ source "board/toradex/colibri_t30/Kconfig"
 source "board/htc/endeavoru/Kconfig"
 source "board/asus/grouper/Kconfig"
 source "board/wexler/qc750/Kconfig"
+source "board/microsoft/surface-rt/Kconfig"
 source "board/avionic-design/tec-ng/Kconfig"
 source "board/asus/transformer-t30/Kconfig"
 source "board/lg/x3-t30/Kconfig"
board/microsoft/surface-rt/Kconfig new file +12 -0
new file mode 100644
index 0000000000..9e66897f6b
@@ -0,0 +1,12 @@
+if TARGET_SURFACE_RT
+
+config SYS_BOARD
+	default "surface-rt"
+
+config SYS_VENDOR
+	default "microsoft"
+
+config SYS_CONFIG_NAME
+	default "surface-rt"
+
+endif
board/microsoft/surface-rt/MAINTAINERS new file +7 -0
new file mode 100644
index 0000000000..1bbd896de9
@@ -0,0 +1,7 @@
+Microsoft Surface RT
+M:	Jonas Schwöbel <[email protected]>
+S:	Maintained
+F:	board/microsoft/surface-rt/
+F:	configs/surface-rt_defconfig
+F:	doc/board/microsoft/surface-rt.rst
+F:	include/configs/surface-rt.h
board/microsoft/surface-rt/Makefile new file +6 -0
new file mode 100644
index 0000000000..da4094a7df
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+#  (C) Copyright 2021
+#  Open Surface RT
+
+obj-$(CONFIG_SPL_BUILD) += surface-rt-spl.o
board/microsoft/surface-rt/surface-rt-spl.c new file +41 -0

41 lines not on this page · raw message

configs/surface-rt_defconfig new file +80 -0

80 lines not on this page · raw message

doc/board/index.rst +1 -0
index 9d31390fa8..7fcf8070c6 100644
@@ -34,6 +34,7 @@ Board-specific doc
    lg/index
    mediatek/index
    microchip/index
+   microsoft/index
    nxp/index
    openpiton/index
    phytec/index
doc/board/microsoft/index.rst new file +9 -0
new file mode 100644
index 0000000000..107f352785
@@ -0,0 +1,9 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Microsoft
+=========
+
+.. toctree::
+   :maxdepth: 2
+
+   surface-rt
doc/board/microsoft/surface-rt.rst new file +41 -0

41 lines not on this page · raw message

include/configs/surface-rt.h new file +39 -0
new file mode 100644
index 0000000000..30f6450cf3
@@ -0,0 +1,39 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2010-2012, NVIDIA CORPORATION.  All rights reserved.
+ *
+ * Copyright (c) 2021, Open Surface RT
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#include "tegra30-common.h"
+
+/* High-level configuration options */
+#define CFG_TEGRA_BOARD_STRING		"Microsoft Surface RT"
+
+#define SURFACE_RT_BOOTMENU \
+	"bootmenu_0=mount internal storage=usb start && ums 0 mmc 0; bootmenu\0" \
+	"bootmenu_1=mount external storage=usb start && ums 0 mmc 1; bootmenu\0" \
+	"bootmenu_2=fastboot=echo Starting Fastboot protocol ...; fastboot usb 0; bootmenu\0" \
+	"bootmenu_3=boot from USB=usb reset; usb start; bootflow scan\0" \
+	"bootmenu_4=reboot RCM=enterrcm\0" \
+	"bootmenu_5=reboot=reset\0" \
+	"bootmenu_6=power off=poweroff\0" \
+	"bootmenu_delay=-1\0"
+
+#define BOARD_EXTRA_ENV_SETTINGS \
+	"button_cmd_0_name=Volume Down\0" \
+	"button_cmd_0=bootmenu\0" \
+	"button_cmd_1_name=Hall Sensor\0" \
+	"button_cmd_1=poweroff\0" \
+	"partitions=name=emmc,start=0,size=-,uuid=${uuid_gpt_rootfs}\0" \
+	SURFACE_RT_BOOTMENU
+
+/* Board-specific serial config */
+#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
+
+#include "tegra-common-post.h"
+
+#endif /* __CONFIG_H */
Signature · 1 line
2.43.0
#4 lore raw

PATCH v2 4/4 board: lenovo: ideapad-yoga-11: Lenovo Ideapad Yoga 11

In reply to Svyatoslav Ryhel

From: Jonas Schwöbel <[email protected]>

The Lenovo IdeaPad Yoga 11 is a hybrid laptop/tablet Windows RT-based computer released in late 2012. The device uses a 1.3 GHz quad-core Nvidia Tegra 3 chipset with 2 GB of RAM, features a 11.6 inch 1366x768 screen and 32/64 GB of internal memory that can be supplemented with a microSDXC card slot, full size SD card slot and 2 full size USB 2.0 ports.

---
 arch/arm/dts/Makefile                         |    1 +
 .../dts/tegra30-lenovo-ideapad-yoga-11.dts    | 1266 +++++++++++++++++
 arch/arm/mach-tegra/tegra30/Kconfig           |    5 +
 board/lenovo/ideapad-yoga-11/Kconfig          |   12 +
 board/lenovo/ideapad-yoga-11/MAINTAINERS      |    7 +
 board/lenovo/ideapad-yoga-11/Makefile         |    6 +
 .../ideapad-yoga-11/ideapad-yoga-11-spl.c     |   41 +
 configs/ideapad-yoga-11_defconfig             |   84 ++
 doc/board/index.rst                           |    1 +
 doc/board/lenovo/ideapad-yoga-11.rst          |   41 +
 doc/board/lenovo/index.rst                    |    9 +
 include/configs/ideapad-yoga-11.h             |   77 +
 12 files changed, 1550 insertions(+)
 create mode 100644 arch/arm/dts/tegra30-lenovo-ideapad-yoga-11.dts
 create mode 100644 board/lenovo/ideapad-yoga-11/Kconfig
 create mode 100644 board/lenovo/ideapad-yoga-11/MAINTAINERS
 create mode 100644 board/lenovo/ideapad-yoga-11/Makefile
 create mode 100644 board/lenovo/ideapad-yoga-11/ideapad-yoga-11-spl.c
 create mode 100644 configs/ideapad-yoga-11_defconfig
 create mode 100644 doc/board/lenovo/ideapad-yoga-11.rst
 create mode 100644 doc/board/lenovo/index.rst
 create mode 100644 include/configs/ideapad-yoga-11.h
arch/arm/dts/Makefile +1 -0
index 8041faa228..4a63243fae 100644
@@ -130,6 +130,7 @@ dtb-$(CONFIG_ARCH_TEGRA) += \
 	tegra30-cardhu.dtb \
 	tegra30-colibri.dtb \
 	tegra30-htc-endeavoru.dtb \
+	tegra30-lenovo-ideapad-yoga-11.dtb \
 	tegra30-lg-p880.dtb \
 	tegra30-lg-p895.dtb \
 	tegra30-microsoft-surface-rt.dtb \
arch/arm/dts/tegra30-lenovo-ideapad-yoga-11.dts new file +1266 -0

1,266 lines not on this page · raw message

arch/arm/mach-tegra/tegra30/Kconfig +5 -0
index ce9047b3bd..e0f054af8e 100644
@@ -28,6 +28,10 @@ config TARGET_GROUPER
 	bool "Asus and Google Grouper board"
 	select BOARD_LATE_INIT
 
+config TARGET_IDEAPAD_YOGA_11
+	bool "Lenovo Ideapad Yoga 11 board"
+	select BOARD_LATE_INIT
+
 config TARGET_QC750
 	bool "Wexler QC750 board"
 	select BOARD_LATE_INIT
@@ -59,6 +63,7 @@ source "board/nvidia/cardhu/Kconfig"
 source "board/toradex/colibri_t30/Kconfig"
 source "board/htc/endeavoru/Kconfig"
 source "board/asus/grouper/Kconfig"
+source "board/lenovo/ideapad-yoga-11/Kconfig"
 source "board/wexler/qc750/Kconfig"
 source "board/microsoft/surface-rt/Kconfig"
 source "board/avionic-design/tec-ng/Kconfig"
board/lenovo/ideapad-yoga-11/Kconfig new file +12 -0
new file mode 100644
index 0000000000..67644409fc
@@ -0,0 +1,12 @@
+if TARGET_IDEAPAD_YOGA_11
+
+config SYS_BOARD
+	default "ideapad-yoga-11"
+
+config SYS_VENDOR
+	default "lenovo"
+
+config SYS_CONFIG_NAME
+	default "ideapad-yoga-11"
+
+endif
board/lenovo/ideapad-yoga-11/MAINTAINERS new file +7 -0
new file mode 100644
index 0000000000..77e82534a9
@@ -0,0 +1,7 @@
+Lenovo Ideapad Yoga 11
+M:	Jonas Schwöbel <[email protected]>
+S:	Maintained
+F:	board/lenovo/ideapad-yoga-11/
+F:	configs/ideapad-yoga-11_defconfig
+F:	doc/board/lenovo/ideapad-yoga-11.rst
+F:	include/configs/ideapad-yoga-11.h
board/lenovo/ideapad-yoga-11/Makefile new file +6 -0
new file mode 100644
index 0000000000..186f1cb4ee
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+#  (C) Copyright 2022
+#  Open Surface RT
+
+obj-$(CONFIG_SPL_BUILD) += ideapad-yoga-11-spl.o
board/lenovo/ideapad-yoga-11/ideapad-yoga-11-spl.c new file +41 -0

41 lines not on this page · raw message

configs/ideapad-yoga-11_defconfig new file +84 -0

84 lines not on this page · raw message

doc/board/index.rst +1 -0
index 7fcf8070c6..417c128c7a 100644
@@ -31,6 +31,7 @@ Board-specific doc
    htc/index
    intel/index
    kontron/index
+   lenovo/index
    lg/index
    mediatek/index
    microchip/index
doc/board/lenovo/ideapad-yoga-11.rst new file +41 -0

41 lines not on this page · raw message

doc/board/lenovo/index.rst new file +9 -0
new file mode 100644
index 0000000000..2ce457ab04
@@ -0,0 +1,9 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Lenovo
+=========
+
+.. toctree::
+   :maxdepth: 2
+
+   ideapad-yoga-11
include/configs/ideapad-yoga-11.h new file +77 -0

77 lines not on this page · raw message

Signature · 1 line
2.43.0