[PATCH v4 0/6] Support NVIDIA Tegra-based Acer A500 and Nexus 7 devices

From: Dmitry Osipenko
Date: Tue Apr 14 2020 - 18:12:31 EST


Hello,

This series introduces upstream kernel support for Acer Iconia Tab A500
and ASUS Google Nexus 7 tablet devices. Please review and apply, thanks
in advance.

Changelog:

v4: - Corrected CPU's thermal zone on both A500 and Nexus 7, which
should use the remote thermal sensor (Tegra chip) instead of the
local ("skin" temperature).

- Added default PMIC pinmux state on Nexus 7, for completeness.

- Added PMIC cpu_pwr_req GPIO hog on Nexus 7, for completeness.

- Renamed thermal sensor node label to NCT72 on Nexus 7 to match the
actual hardware (NCT72 is compatible with NCT1008). For completeness.

- Added always-on USB AVDD regulator on Nexus 7, which is controlled by
the PMIC GPIO. For completeness.

- Added PMIC GPIO enable-control to the 3v3_sys regulator on Nexus 7,
for completeness.

- Added CONFIG_NAMESPACES, CONFIG_USER_NS, CONFIG_SECCOMP and
CONFIG_PINCTRL_MAX77620 to the tegra_defconfig. The first three
options are must-have for the modern userspace, the last is somewhat
actual now since the default PMIC pinmux state is added to the N7 DT.

v3: - Improved device-tree node-names in accordance to review comments that
were made by Thierry Reding to v2.

- Corrected LVDS encoder powerdown-GPIO polarity on both A500 and Nexus 7
because I implemented the DRM bridges support in the Tegra DRM driver
and found that there was a mistake in the device-trees. The updated
polarity also matches the boards schematics. Now DRM bridges support
becomes mandatory since LVDS is getting disabled during of the encoder
driver probing. I'll send the DRM patch separately from this series.

- Replaced recently deprecated CONFIG_DRM_LVDS_ENCODER with the new
CONFIG_DRM_LVDS_CODEC in tegra_defconfig.

- Added more config options to tegra_defconfig, like pstore and thermal.

- Added atmel,cfg_name to the A500 DT, which is a new upcoming property
in 5.8+ that allows to specify the per-board hardware config file name.

v2: - Corrected "volume down" key-label in the grouper's device-tree and
improved some other names in device-trees.

- Added optional (upcoming in 5.8+) VDD/AVDD regulators to the touchscreen
node in A500 device-tree.

Dmitry Osipenko (6):
ARM: tegra: Add device-tree for Acer Iconia Tab A500
ARM: tegra: Add device-tree for ASUS Google Nexus 7
dt-bindings: Add vendor prefix for Acer Inc.
dt-bindings: ARM: tegra: Add Acer Iconia Tab A500
dt-bindings: ARM: tegra: Add ASUS Google Nexus 7
ARM: tegra_defconfig: Enable options useful for Nexus 7 and Acer A500

.../devicetree/bindings/arm/tegra.yaml | 10 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
arch/arm/boot/dts/Makefile | 3 +
.../boot/dts/tegra20-acer-a500-picasso.dts | 1458 +++++++++
.../tegra30-asus-nexus7-grouper-common.dtsi | 2680 +++++++++++++++++
.../boot/dts/tegra30-asus-nexus7-grouper.dts | 463 +++
.../boot/dts/tegra30-asus-nexus7-tilapia.dts | 549 ++++
arch/arm/configs/tegra_defconfig | 42 +
8 files changed, 5207 insertions(+)
create mode 100644 arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
create mode 100644 arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
create mode 100644 arch/arm/boot/dts/tegra30-asus-nexus7-grouper.dts
create mode 100644 arch/arm/boot/dts/tegra30-asus-nexus7-tilapia.dts

--
2.26.0