* [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC
@ 2020-09-06 19:00 Dmitry Osipenko
2020-09-06 19:00 ` [PATCH v1 2/3] ARM: tegra: acer-a500: " Dmitry Osipenko
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Dmitry Osipenko @ 2020-09-06 19:00 UTC (permalink / raw)
To: Thierry Reding, Jonathan Hunter; +Cc: linux-tegra
MMC core now supports binding to a specific ID, which is very handy for
embedded devices, like Nexus 7, because MMC ID may change depending on
kernel version or configuration which affects MMC driver probe order.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
index 21387a91c40f..ca44f9596753 100644
--- a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
+++ b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
@@ -16,6 +16,9 @@ aliases {
serial1 = &uartc; /* Bluetooth */
serial2 = &uartb; /* GPS */
+
+ mmc0 = &sdmmc4; /* eMMC */
+ mmc1 = &sdmmc3; /* WiFi */
};
/*
@@ -970,7 +973,7 @@ brcm_wifi_pwrseq: wifi-pwrseq {
power-off-delay-us = <300>;
};
- mmc@78000400 {
+ sdmmc3: mmc@78000400 {
status = "okay";
#address-cells = <1>;
@@ -999,7 +1002,7 @@ wifi@1 {
};
};
- mmc@78000600 {
+ sdmmc4: mmc@78000600 {
status = "okay";
bus-width = <8>;
vmmc-supply = <&vcore_emmc>;
--
2.27.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH v1 2/3] ARM: tegra: acer-a500: Add aliases for MMC
2020-09-06 19:00 [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Dmitry Osipenko
@ 2020-09-06 19:00 ` Dmitry Osipenko
2020-09-17 10:17 ` Thierry Reding
2020-09-06 19:00 ` [PATCH v1 3/3] ARM: tegra: acer-a500: Remove atmel,cfg_name property Dmitry Osipenko
2020-09-17 10:17 ` [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Thierry Reding
2 siblings, 1 reply; 6+ messages in thread
From: Dmitry Osipenko @ 2020-09-06 19:00 UTC (permalink / raw)
To: Thierry Reding, Jonathan Hunter; +Cc: linux-tegra
MMC core now supports binding to a specific ID, which is very handy for
embedded devices, like Acer A500, because MMC ID may change depending on
kernel version or configuration which affects MMC driver probe order.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
arch/arm/boot/dts/tegra20-acer-a500-picasso.dts | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
index ab3c378e5519..8a7a104b3717 100644
--- a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
+++ b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
@@ -20,6 +20,10 @@ aliases {
serial0 = &uartd; /* Docking station */
serial1 = &uartc; /* Bluetooth */
serial2 = &uartb; /* GPS */
+
+ mmc0 = &sdmmc4; /* eMMC */
+ mmc1 = &sdmmc3; /* MicroSD */
+ mmc2 = &sdmmc1; /* WiFi */
};
/*
@@ -738,7 +742,7 @@ brcm_wifi_pwrseq: wifi-pwrseq {
power-off-delay-us = <300>;
};
- mmc@c8000000 {
+ sdmmc1: mmc@c8000000 {
status = "okay";
#address-cells = <1>;
@@ -767,7 +771,7 @@ wifi@1 {
};
};
- mmc@c8000400 {
+ sdmmc3: mmc@c8000400 {
status = "okay";
bus-width = <4>;
cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
@@ -776,7 +780,7 @@ mmc@c8000400 {
vqmmc-supply = <&vdd_3v3_sys>;
};
- mmc@c8000600 {
+ sdmmc4: mmc@c8000600 {
status = "okay";
bus-width = <8>;
vmmc-supply = <&vcore_emmc>;
--
2.27.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v1 2/3] ARM: tegra: acer-a500: Add aliases for MMC
2020-09-06 19:00 ` [PATCH v1 2/3] ARM: tegra: acer-a500: " Dmitry Osipenko
@ 2020-09-17 10:17 ` Thierry Reding
0 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2020-09-17 10:17 UTC (permalink / raw)
To: Dmitry Osipenko; +Cc: Jonathan Hunter, linux-tegra
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
On Sun, Sep 06, 2020 at 10:00:07PM +0300, Dmitry Osipenko wrote:
> MMC core now supports binding to a specific ID, which is very handy for
> embedded devices, like Acer A500, because MMC ID may change depending on
> kernel version or configuration which affects MMC driver probe order.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
> arch/arm/boot/dts/tegra20-acer-a500-picasso.dts | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
Applied to for-5.9/arm/dt, but sorted these alphabetically as well.
Thanks,
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v1 3/3] ARM: tegra: acer-a500: Remove atmel,cfg_name property
2020-09-06 19:00 [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Dmitry Osipenko
2020-09-06 19:00 ` [PATCH v1 2/3] ARM: tegra: acer-a500: " Dmitry Osipenko
@ 2020-09-06 19:00 ` Dmitry Osipenko
2020-09-17 10:17 ` Thierry Reding
2020-09-17 10:17 ` [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Thierry Reding
2 siblings, 1 reply; 6+ messages in thread
From: Dmitry Osipenko @ 2020-09-06 19:00 UTC (permalink / raw)
To: Thierry Reding, Jonathan Hunter; +Cc: linux-tegra
This property was supposed to be upstreamed, but it was NAKed recently
in a favor to a better approach of firmware loading. It also turned
out that the firmware loading isn't really necessary because it's stored
in a non-volatile memory inside of the touchscreen controller and
previously the FW loading was needed in order to get touchscreen working,
but it actually was a TS driver problem which is resolved now. Hence
remove the unsupported property.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
arch/arm/boot/dts/tegra20-acer-a500-picasso.dts | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
index 8a7a104b3717..1fdf4d59c188 100644
--- a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
+++ b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
@@ -443,8 +443,6 @@ touchscreen@4c {
compatible = "atmel,maxtouch";
reg = <0x4c>;
- atmel,cfg_name = "maxtouch-acer-iconia-tab-a500.cfg";
-
interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(V, 6) IRQ_TYPE_LEVEL_LOW>;
--
2.27.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v1 3/3] ARM: tegra: acer-a500: Remove atmel,cfg_name property
2020-09-06 19:00 ` [PATCH v1 3/3] ARM: tegra: acer-a500: Remove atmel,cfg_name property Dmitry Osipenko
@ 2020-09-17 10:17 ` Thierry Reding
0 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2020-09-17 10:17 UTC (permalink / raw)
To: Dmitry Osipenko; +Cc: Jonathan Hunter, linux-tegra
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]
On Sun, Sep 06, 2020 at 10:00:08PM +0300, Dmitry Osipenko wrote:
> This property was supposed to be upstreamed, but it was NAKed recently
> in a favor to a better approach of firmware loading. It also turned
> out that the firmware loading isn't really necessary because it's stored
> in a non-volatile memory inside of the touchscreen controller and
> previously the FW loading was needed in order to get touchscreen working,
> but it actually was a TS driver problem which is resolved now. Hence
> remove the unsupported property.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
> arch/arm/boot/dts/tegra20-acer-a500-picasso.dts | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC
2020-09-06 19:00 [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Dmitry Osipenko
2020-09-06 19:00 ` [PATCH v1 2/3] ARM: tegra: acer-a500: " Dmitry Osipenko
2020-09-06 19:00 ` [PATCH v1 3/3] ARM: tegra: acer-a500: Remove atmel,cfg_name property Dmitry Osipenko
@ 2020-09-17 10:17 ` Thierry Reding
2 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2020-09-17 10:17 UTC (permalink / raw)
To: Dmitry Osipenko; +Cc: Jonathan Hunter, linux-tegra
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
On Sun, Sep 06, 2020 at 10:00:06PM +0300, Dmitry Osipenko wrote:
> MMC core now supports binding to a specific ID, which is very handy for
> embedded devices, like Nexus 7, because MMC ID may change depending on
> kernel version or configuration which affects MMC driver probe order.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
> arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
Applied to for-5.10/arm/dt, though I did move the new aliases so that
they are alphabetically sorted.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-09-17 10:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-06 19:00 [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Dmitry Osipenko
2020-09-06 19:00 ` [PATCH v1 2/3] ARM: tegra: acer-a500: " Dmitry Osipenko
2020-09-17 10:17 ` Thierry Reding
2020-09-06 19:00 ` [PATCH v1 3/3] ARM: tegra: acer-a500: Remove atmel,cfg_name property Dmitry Osipenko
2020-09-17 10:17 ` Thierry Reding
2020-09-17 10:17 ` [PATCH v1 1/3] ARM: tegra: nexus7: Add aliases for MMC Thierry Reding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox