2022-02-08 17:19:28

by Dmitry Osipenko

[permalink] [raw]
Subject: [PATCH v1 0/4] NVIDIA Tegra ARM32 device-tree improvements for 5.18

Here are couple minor DT improvements and enabling of HDMI audio on
Asus TF101 tablet.

Dmitry Osipenko (3):
ARM: tegra: asus-tf101: Enable S/PDIF and HDMI audio
ARM: tegra: tf700t: Rename DSI node
ARM: tegra: paz00: Add MMC aliases

Svyatoslav Ryhel (1):
ARM: tegra: transformer: Drop reg-shift for Tegra HS UART

arch/arm/boot/dts/tegra20-asus-tf101.dts | 10 ++++++++++
arch/arm/boot/dts/tegra20-paz00.dts | 6 ++++--
arch/arm/boot/dts/tegra30-asus-tf700t.dts | 2 +-
arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi | 2 ++
arch/arm/boot/dts/tegra30-pegatron-chagall.dts | 2 ++
5 files changed, 19 insertions(+), 3 deletions(-)

--
2.34.1



2022-02-08 18:36:19

by Dmitry Osipenko

[permalink] [raw]
Subject: [PATCH v1 2/4] ARM: tegra: transformer: Drop reg-shift for Tegra HS UART

From: Svyatoslav Ryhel <[email protected]>

When the Tegra High-Speed UART is used instead of the regular UART, the
reg-shift property is implied from the compatible string and should not
be explicitly listed.

Signed-off-by: Svyatoslav Ryhel <[email protected]>
---
arch/arm/boot/dts/tegra20-asus-tf101.dts | 2 ++
arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi | 2 ++
arch/arm/boot/dts/tegra30-pegatron-chagall.dts | 2 ++
3 files changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/tegra20-asus-tf101.dts b/arch/arm/boot/dts/tegra20-asus-tf101.dts
index 68b0fdb89aa6..f95e84fbb20a 100644
--- a/arch/arm/boot/dts/tegra20-asus-tf101.dts
+++ b/arch/arm/boot/dts/tegra20-asus-tf101.dts
@@ -450,11 +450,13 @@ i2s@70002800 {

serial@70006040 {
compatible = "nvidia,tegra20-hsuart";
+ /delete-property/ reg-shift;
/* GPS BCM4751 */
};

serial@70006200 {
compatible = "nvidia,tegra20-hsuart";
+ /delete-property/ reg-shift;
status = "okay";

/* Azurewave AW-NH615 BCM4329B1 */
diff --git a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi
index 85b43a86a26d..c662ab261ed5 100644
--- a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi
+++ b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi
@@ -1080,6 +1080,7 @@ drive_sdio1 {

serial@70006040 {
compatible = "nvidia,tegra30-hsuart";
+ /delete-property/ reg-shift;
status = "okay";

/* Broadcom GPS BCM47511 */
@@ -1087,6 +1088,7 @@ serial@70006040 {

serial@70006200 {
compatible = "nvidia,tegra30-hsuart";
+ /delete-property/ reg-shift;
status = "okay";

nvidia,adjust-baud-rates = <0 9600 100>,
diff --git a/arch/arm/boot/dts/tegra30-pegatron-chagall.dts b/arch/arm/boot/dts/tegra30-pegatron-chagall.dts
index f4b2d4218849..8ce61035290b 100644
--- a/arch/arm/boot/dts/tegra30-pegatron-chagall.dts
+++ b/arch/arm/boot/dts/tegra30-pegatron-chagall.dts
@@ -1103,6 +1103,7 @@ drive_lcd2 {

uartb: serial@70006040 {
compatible = "nvidia,tegra30-hsuart";
+ /delete-property/ reg-shift;
status = "okay";

/* Broadcom GPS BCM47511 */
@@ -1110,6 +1111,7 @@ uartb: serial@70006040 {

uartc: serial@70006200 {
compatible = "nvidia,tegra30-hsuart";
+ /delete-property/ reg-shift;
status = "okay";

nvidia,adjust-baud-rates = <0 9600 100>,
--
2.34.1


2022-02-09 05:33:33

by Dmitry Osipenko

[permalink] [raw]
Subject: [PATCH v1 3/4] ARM: tegra: tf700t: Rename DSI node

Rename DSI bridge node to match the requirement of the DSI DT schema.
This silences DTB-check warning about the incorrect name.

Signed-off-by: Dmitry Osipenko <[email protected]>
---
arch/arm/boot/dts/tegra30-asus-tf700t.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/tegra30-asus-tf700t.dts b/arch/arm/boot/dts/tegra30-asus-tf700t.dts
index 18a9bfa5e97b..1a331dec3cfe 100644
--- a/arch/arm/boot/dts/tegra30-asus-tf700t.dts
+++ b/arch/arm/boot/dts/tegra30-asus-tf700t.dts
@@ -742,7 +742,7 @@ i2c@1 {
#address-cells = <1>;
#size-cells = <0>;

- dsi-bridge@7 {
+ dsi@7 {
compatible = "toshiba,tc358768";
reg = <0x7>;

--
2.34.1


2022-02-09 10:06:10

by Dmitry Osipenko

[permalink] [raw]
Subject: [PATCH v1 4/4] ARM: tegra: paz00: Add MMC aliases

Add MMC aliases to ensure that the /dev/mmcblk IDs won't change depending
on the probe order of the MMC drivers.

Signed-off-by: Dmitry Osipenko <[email protected]>
---
arch/arm/boot/dts/tegra20-paz00.dts | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts
index d53a175dc17a..0fb4b1f5bc1c 100644
--- a/arch/arm/boot/dts/tegra20-paz00.dts
+++ b/arch/arm/boot/dts/tegra20-paz00.dts
@@ -13,6 +13,8 @@ / {
compatible = "compal,paz00", "nvidia,tegra20";

aliases {
+ mmc0 = &sdmmc4; /* eMMC */
+ mmc1 = &sdmmc1; /* MicroSD */
rtc0 = "/i2c@7000d000/tps6586x@34";
rtc1 = "/rtc@7000e000";
serial0 = &uarta;
@@ -558,7 +560,7 @@ usb-phy@c5008000 {
status = "okay";
};

- mmc@c8000000 {
+ sdmmc1: mmc@c8000000 {
status = "okay";
cd-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_LOW>;
wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
@@ -566,7 +568,7 @@ mmc@c8000000 {
bus-width = <4>;
};

- mmc@c8000600 {
+ sdmmc4: mmc@c8000600 {
status = "okay";
bus-width = <8>;
non-removable;
--
2.34.1


2022-02-24 16:43:06

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH v1 0/4] NVIDIA Tegra ARM32 device-tree improvements for 5.18

On Tue, Feb 08, 2022 at 12:28:22AM +0300, Dmitry Osipenko wrote:
> Here are couple minor DT improvements and enabling of HDMI audio on
> Asus TF101 tablet.
>
> Dmitry Osipenko (3):
> ARM: tegra: asus-tf101: Enable S/PDIF and HDMI audio
> ARM: tegra: tf700t: Rename DSI node
> ARM: tegra: paz00: Add MMC aliases
>
> Svyatoslav Ryhel (1):
> ARM: tegra: transformer: Drop reg-shift for Tegra HS UART

Applied all four patches, thanks.

Thierry


Attachments:
(No filename) (466.00 B)
signature.asc (849.00 B)
Download all attachments