* [PATCH] ARM: dts: aspeed: tacoma: Enable eMMC controller
@ 2020-02-02 16:39 ` Guenter Roeck
0 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2020-02-02 16:39 UTC (permalink / raw)
To: Joel Stanley
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Guenter Roeck, Andrew Jeffery
Enabling emmc without enabling its controller doesn't do any good.
Enable its controller as well to make it work.
Cc: Andrew Jeffery <andrew@aj.id.au>
Cc: Joel Stanley <joel@jms.id.au>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
index ff49ec76fa7c..47293a5e0c59 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
@@ -132,6 +132,10 @@
use-ncsi;
};
+&emmc_controller {
+ status = "okay";
+};
+
&emmc {
status = "okay";
};
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] ARM: dts: aspeed: tacoma: Enable eMMC controller
@ 2020-02-02 16:39 ` Guenter Roeck
0 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2020-02-02 16:39 UTC (permalink / raw)
To: Joel Stanley
Cc: devicetree, linux-aspeed, Andrew Jeffery, linux-kernel,
linux-arm-kernel, Guenter Roeck
Enabling emmc without enabling its controller doesn't do any good.
Enable its controller as well to make it work.
Cc: Andrew Jeffery <andrew@aj.id.au>
Cc: Joel Stanley <joel@jms.id.au>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
index ff49ec76fa7c..47293a5e0c59 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
@@ -132,6 +132,10 @@
use-ncsi;
};
+&emmc_controller {
+ status = "okay";
+};
+
&emmc {
status = "okay";
};
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] ARM: dts: aspeed: tacoma: Enable eMMC controller
2020-02-02 16:39 ` Guenter Roeck
@ 2020-02-04 5:54 ` Joel Stanley
-1 siblings, 0 replies; 6+ messages in thread
From: Joel Stanley @ 2020-02-04 5:54 UTC (permalink / raw)
To: Guenter Roeck
Cc: devicetree, Linux ARM, linux-aspeed, Linux Kernel Mailing List,
Andrew Jeffery
On Sun, 2 Feb 2020 at 16:39, Guenter Roeck <linux@roeck-us.net> wrote:
>
> Enabling emmc without enabling its controller doesn't do any good.
> Enable its controller as well to make it work.
>
> Cc: Andrew Jeffery <andrew@aj.id.au>
> Cc: Joel Stanley <joel@jms.id.au>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Thanks Guenter. The description in aspeed-g6.dtsi changed at some
point and Tacoma was not updated.
> ---
> arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> index ff49ec76fa7c..47293a5e0c59 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> @@ -132,6 +132,10 @@
> use-ncsi;
> };
>
> +&emmc_controller {
> + status = "okay";
> +};
> +
> &emmc {
> status = "okay";
> };
This node is redundant, as it is not disabled in the dtsi.
Andrew, should we add disabled to the emmc node?
Or remove the label completely, and just have emmc_controller?
Cheers,
Joel
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ARM: dts: aspeed: tacoma: Enable eMMC controller
@ 2020-02-04 5:54 ` Joel Stanley
0 siblings, 0 replies; 6+ messages in thread
From: Joel Stanley @ 2020-02-04 5:54 UTC (permalink / raw)
To: Guenter Roeck
Cc: Andrew Jeffery, devicetree, linux-aspeed, Linux ARM,
Linux Kernel Mailing List
On Sun, 2 Feb 2020 at 16:39, Guenter Roeck <linux@roeck-us.net> wrote:
>
> Enabling emmc without enabling its controller doesn't do any good.
> Enable its controller as well to make it work.
>
> Cc: Andrew Jeffery <andrew@aj.id.au>
> Cc: Joel Stanley <joel@jms.id.au>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Thanks Guenter. The description in aspeed-g6.dtsi changed at some
point and Tacoma was not updated.
> ---
> arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> index ff49ec76fa7c..47293a5e0c59 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> @@ -132,6 +132,10 @@
> use-ncsi;
> };
>
> +&emmc_controller {
> + status = "okay";
> +};
> +
> &emmc {
> status = "okay";
> };
This node is redundant, as it is not disabled in the dtsi.
Andrew, should we add disabled to the emmc node?
Or remove the label completely, and just have emmc_controller?
Cheers,
Joel
> --
> 2.17.1
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ARM: dts: aspeed: tacoma: Enable eMMC controller
2020-02-04 5:54 ` Joel Stanley
@ 2020-02-24 23:40 ` Andrew Jeffery
-1 siblings, 0 replies; 6+ messages in thread
From: Andrew Jeffery @ 2020-02-24 23:40 UTC (permalink / raw)
To: Joel Stanley, Guenter Roeck
Cc: devicetree, Linux ARM, linux-aspeed, Linux Kernel Mailing List
On Tue, 4 Feb 2020, at 16:24, Joel Stanley wrote:
> On Sun, 2 Feb 2020 at 16:39, Guenter Roeck <linux@roeck-us.net> wrote:
> >
> > Enabling emmc without enabling its controller doesn't do any good.
> > Enable its controller as well to make it work.
> >
> > Cc: Andrew Jeffery <andrew@aj.id.au>
> > Cc: Joel Stanley <joel@jms.id.au>
> > Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>
> Thanks Guenter. The description in aspeed-g6.dtsi changed at some
> point and Tacoma was not updated.
>
> > ---
> > arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > index ff49ec76fa7c..47293a5e0c59 100644
> > --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > @@ -132,6 +132,10 @@
> > use-ncsi;
> > };
> >
> > +&emmc_controller {
> > + status = "okay";
> > +};
> > +
> > &emmc {
> > status = "okay";
> > };
>
> This node is redundant, as it is not disabled in the dtsi.
>
> Andrew, should we add disabled to the emmc node?
Probably. Also the nodes are badly named, partly because of the structure
of the IP block. 'emmc' in this instance isn't the actual card, it's the SDHCI,
and emmc_controller is a 'parent' that contains some global state which
applies to one or more SDHCIs inside the IP block.
We should probably cook up better names.
>
> Or remove the label completely, and just have emmc_controller?
Maybe this is a better approach? The eMMC IP block only has one associated
SDHCI, so that would make sense.
Andrew
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ARM: dts: aspeed: tacoma: Enable eMMC controller
@ 2020-02-24 23:40 ` Andrew Jeffery
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Jeffery @ 2020-02-24 23:40 UTC (permalink / raw)
To: Joel Stanley, Guenter Roeck
Cc: devicetree, linux-aspeed, Linux ARM, Linux Kernel Mailing List
On Tue, 4 Feb 2020, at 16:24, Joel Stanley wrote:
> On Sun, 2 Feb 2020 at 16:39, Guenter Roeck <linux@roeck-us.net> wrote:
> >
> > Enabling emmc without enabling its controller doesn't do any good.
> > Enable its controller as well to make it work.
> >
> > Cc: Andrew Jeffery <andrew@aj.id.au>
> > Cc: Joel Stanley <joel@jms.id.au>
> > Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>
> Thanks Guenter. The description in aspeed-g6.dtsi changed at some
> point and Tacoma was not updated.
>
> > ---
> > arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > index ff49ec76fa7c..47293a5e0c59 100644
> > --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > @@ -132,6 +132,10 @@
> > use-ncsi;
> > };
> >
> > +&emmc_controller {
> > + status = "okay";
> > +};
> > +
> > &emmc {
> > status = "okay";
> > };
>
> This node is redundant, as it is not disabled in the dtsi.
>
> Andrew, should we add disabled to the emmc node?
Probably. Also the nodes are badly named, partly because of the structure
of the IP block. 'emmc' in this instance isn't the actual card, it's the SDHCI,
and emmc_controller is a 'parent' that contains some global state which
applies to one or more SDHCIs inside the IP block.
We should probably cook up better names.
>
> Or remove the label completely, and just have emmc_controller?
Maybe this is a better approach? The eMMC IP block only has one associated
SDHCI, so that would make sense.
Andrew
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-24 23:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-02 16:39 [PATCH] ARM: dts: aspeed: tacoma: Enable eMMC controller Guenter Roeck
2020-02-02 16:39 ` Guenter Roeck
2020-02-04 5:54 ` Joel Stanley
2020-02-04 5:54 ` Joel Stanley
2020-02-24 23:40 ` Andrew Jeffery
2020-02-24 23:40 ` Andrew Jeffery
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.