ARM: tegra: add support for Xiaomi Mi Pad (A0101)
Subsystems (2)
v2 cover ARM: tegra: add support for Xiaomi Mi Pad (A0101)
The Mi Pad is a tablet computer based on Nvidia Tegra K1 SoC which originally ran the Android operating system. The Mi Pad has a 7.9" IPS display with 1536 x 2048 (324 ppi) resolution. 2 GB of RAM and 16/64 GB of internal memory that can be supplemented with a microSDXC card giving up to 128 GB of additional storage.
This patchset includes some schema changes not yet applied. They can be
found here:
- https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/
- https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/
- https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/
UPD: patchsets above were accepted
---
Changes in v2:
- added fuel gauge interrupt
- added CE gpio for charger
- removed always-on for vdd_gpu
- improved pinmux configuration
- added camera regulators
- removed usb@70090000 (already disabled in common tree)
- set correct modes for mmc devices
- removed thermistor thermal zone (not used by mocha)
- fixed pmc interrupt polarity (removed interrupt inverted prop)
- configured OTG support
- removed bluetooth reset-gpios
---
Svyatoslav Ryhel (1):
ARM: tegra: add device-tree for Xiaomi Mi Pad (A0101)
arch/arm/boot/dts/nvidia/Makefile | 3 +- .../boot/dts/nvidia/tegra124-xiaomi-mocha.dts | 2790 +++++++++++++++++ 2 files changed, 2792 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dts
Signature · 1 line
2.48.1
PATCH RESEND v2 1/1 ARM: tegra: add device-tree for Xiaomi Mi Pad (A0101)
The Mi Pad is a tablet computer based on Nvidia Tegra K1 SoC which originally ran the Android operating system. The Mi Pad has a 7.9" IPS display with 1536 x 2048 (324 ppi) resolution. 2 GB of RAM and 16/64 GB of internal memory that can be supplemented with a microSDXC card giving up to 128 GB of additional storage.
--- arch/arm/boot/dts/nvidia/Makefile | 3 +- .../boot/dts/nvidia/tegra124-xiaomi-mocha.dts | 2790 +++++++++++++++++ 2 files changed, 2792 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dts
arch/arm/boot/dts/nvidia/Makefile +2 -1
@@ -11,7 +11,8 @@ dtb-$(CONFIG_ARCH_TEGRA_124_SOC) += \ tegra124-nyan-big.dtb \ tegra124-nyan-big-fhd.dtb \ tegra124-nyan-blaze.dtb \ - tegra124-venice2.dtb + tegra124-venice2.dtb \ + tegra124-xiaomi-mocha.dtb dtb-$(CONFIG_ARCH_TEGRA_2x_SOC) += \ tegra20-acer-a500-picasso.dtb \ tegra20-asus-sl101.dtb \
arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dts new file +2790 -0
2,790 lines not on this page · raw message
Signature · 1 line
2.48.1
Rob Herring
maintainerQuoted 32 lines · Svyatoslav Ryhel
The Mi Pad is a tablet computer based on Nvidia Tegra K1 SoC which originally ran the Android operating system. The Mi Pad has a 7.9" IPS display with 1536 x 2048 (324 ppi) resolution. 2 GB of RAM and 16/64 GB of internal memory that can be supplemented with a microSDXC card giving up to 128 GB of additional storage.
This patchset includes some schema changes not yet applied. They can be
found here:
- https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/
- https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/
- https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]/UPD: patchsets above were accepted
---
Changes in v2:
- added fuel gauge interrupt
- added CE gpio for charger
- removed always-on forvdd_gpu
- improved pinmux configuration
- added camera regulators
- removed usb@70090000 (already disabled in common tree)
- set correct modes for mmc devices
- removed thermistor thermal zone (not used by mocha)
- fixed pmc interrupt polarity (removed interrupt inverted prop)
- configured OTG support
- removed bluetooth reset-gpios
---Svyatoslav Ryhel (1):
ARM: tegra: add device-tree for Xiaomi Mi Pad (A0101)
Quoted 10 lines
arch/arm/boot/dts/nvidia/Makefile | 3 +- .../boot/dts/nvidia/tegra124-xiaomi-mocha.dts | 2790 +++++++++++++++++ 2 files changed, 2792 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dts--
2.48.1
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: attempting to guess base-commit...
Base: tags/v6.18-rc6-2003-gef7de33544a7 (exact match)
Base: tags/v6.18-rc6-2003-gef7de33544a7 (use --merge-base to override)
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/arm/boot/dts/nvidia/' for [email protected]:
arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /pcie@1003000: failed to match any schema with compatible: ['nvidia,tegra124-pcie'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: dsi@54300000 (nvidia,tegra124-dsi): Unevaluated properties are not allowed ('port' was unexpected)
from schema $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-dsi.yamlarch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: dsi@54400000 (nvidia,tegra124-dsi): Unevaluated properties are not allowed ('port' was unexpected)
from schema $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-dsi.yamlarch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: dma@60020000 (nvidia,tegra124-apbdma): $nodename:0: 'dma@60020000' does not match '^dma-controller(@.*)?$'
from schema $id: http://devicetree.org/schemas/dma/nvidia,tegra20-apbdma.yamlarch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /i2c@7000d000/pmic@58: failed to match any schema with compatible: ['ti,tps65913', 'ti,palmas'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /i2c@7000d000/pmic@58: failed to match any schema with compatible: ['ti,tps65913', 'ti,palmas'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /i2c@7000d000/pmic@58/extcon: failed to match any schema with compatible: ['ti,palmas-usb-vid'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /i2c@7000d000/pmic@58/palmas-clk32k@0: failed to match any schema with compatible: ['ti,palmas-clk32kg'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /i2c@7000d000/pmic@58/pinmux: failed to match any schema with compatible: ['ti,tps65913-pinctrl'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /i2c@7000d000/pmic@58/pmic: failed to match any schema with compatible: ['ti,tps65913-pmic', 'ti,palmas-pmic'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /i2c@7000d000/pmic@58/pmic: failed to match any schema with compatible: ['ti,tps65913-pmic', 'ti,palmas-pmic'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /i2c@7000d000/pmic@58/rtc: failed to match any schema with compatible: ['ti,palmas-rtc'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /clock@70110000: failed to match any schema with compatible: ['nvidia,tegra124-dfll'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: /ahub@70300000: failed to match any schema with compatible: ['nvidia,tegra124-ahub'] arch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: cpu@0 (arm,cortex-a15): 'operating-points' is a dependency of 'clock-latency'
from schema $id: http://devicetree.org/schemas/arm/cpus.yamlarch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: cpu@0 (arm,cortex-a15): Unevaluated properties are not allowed ('clock-latency', 'vdd-cpu-supply' were unexpected)
from schema $id: http://devicetree.org/schemas/arm/cpus.yamlarch/arm/boot/dts/nvidia/tegra124-xiaomi-mocha.dtb: led-controller (pwm-leds): 'led-button' does not match any of the regexes: '^led(-[0-9a-f]+)?$', '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/leds/leds-pwm.yaml