* [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts
@ 2023-08-03 23:03 rentao.bupt
2023-08-03 23:03 ` [PATCH 1/3] ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi rentao.bupt
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: rentao.bupt @ 2023-08-03 23:03 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, taoren
Cc: Tao Ren
From: Tao Ren <rentao.bupt@gmail.com>
The patch series fixes a few entries in wedge400 device tree.
Patch #1 sets spi alias in ast2500-facebook-netbmc-common.dtsi (included
by wedge400 dts) to make sure spi bus is consistent with flash labels in
flash layout.
Patch #2 enables more ADC channels in wedge400 dts.
Patch #3 sets eMMC max frequency to 25MHz in wedge400 dts.
Tao Ren (3):
ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
ARM: dts: aspeed: wedge400: Enable more ADC channels
ARM: dts: aspeed: wedge400: Set eMMC max frequency
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 4 +++-
arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi | 4 ++++
2 files changed, 7 insertions(+), 1 deletion(-)
--
2.40.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] 8+ messages in thread
* [PATCH 1/3] ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
2023-08-03 23:03 [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts rentao.bupt
@ 2023-08-03 23:03 ` rentao.bupt
2023-08-03 23:03 ` [PATCH 2/3] ARM: dts: aspeed: wedge400: Enable more ADC channels rentao.bupt
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: rentao.bupt @ 2023-08-03 23:03 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, taoren
Cc: Tao Ren
From: Tao Ren <rentao.bupt@gmail.com>
Set FMC controller to "spi0" in ast2500-facebook-netbmc-common.dtsi so
the spi bus is consistent with the flash labels defined in flash layout.
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi b/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi
index c0c43b8644ee..7f1ae3f4df9d 100644
--- a/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi
+++ b/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi
@@ -4,6 +4,10 @@
#include "aspeed-g5.dtsi"
/ {
+ aliases {
+ spi0 = &fmc;
+ };
+
memory@80000000 {
reg = <0x80000000 0x40000000>;
};
--
2.40.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] 8+ messages in thread
* [PATCH 2/3] ARM: dts: aspeed: wedge400: Enable more ADC channels
2023-08-03 23:03 [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts rentao.bupt
2023-08-03 23:03 ` [PATCH 1/3] ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi rentao.bupt
@ 2023-08-03 23:03 ` rentao.bupt
2023-08-03 23:03 ` [PATCH 3/3] ARM: dts: aspeed: wedge400: Set eMMC max frequency rentao.bupt
2023-08-09 8:08 ` [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts Joel Stanley
3 siblings, 0 replies; 8+ messages in thread
From: rentao.bupt @ 2023-08-03 23:03 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, taoren
Cc: Tao Ren
From: Tao Ren <rentao.bupt@gmail.com>
Enable ASPEED-ADC channels 5-8 to support voltage monitoring of all the
Wedge400 hardware revisions.
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
index ed305948386f..5c55afed946f 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
@@ -59,7 +59,8 @@ chosen {
ast-adc-hwmon {
compatible = "iio-hwmon";
- io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>;
+ io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>,
+ <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>;
};
/*
--
2.40.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] 8+ messages in thread
* [PATCH 3/3] ARM: dts: aspeed: wedge400: Set eMMC max frequency
2023-08-03 23:03 [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts rentao.bupt
2023-08-03 23:03 ` [PATCH 1/3] ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi rentao.bupt
2023-08-03 23:03 ` [PATCH 2/3] ARM: dts: aspeed: wedge400: Enable more ADC channels rentao.bupt
@ 2023-08-03 23:03 ` rentao.bupt
2023-08-09 8:08 ` [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts Joel Stanley
3 siblings, 0 replies; 8+ messages in thread
From: rentao.bupt @ 2023-08-03 23:03 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, devicetree, linux-arm-kernel, linux-aspeed,
linux-kernel, taoren
Cc: Tao Ren
From: Tao Ren <rentao.bupt@gmail.com>
Set eMMC max frequency to 25MHz to prevent intermittent eMMC access
failures.
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
index 5c55afed946f..d17b977fee9b 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts
@@ -367,6 +367,7 @@ &uhci {
};
&sdhci1 {
+ max-frequency = <25000000>;
/*
* DMA mode needs to be disabled to avoid conflicts with UHCI
* Controller in AST2500 SoC.
--
2.40.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] 8+ messages in thread
* Re: [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts
2023-08-03 23:03 [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts rentao.bupt
` (2 preceding siblings ...)
2023-08-03 23:03 ` [PATCH 3/3] ARM: dts: aspeed: wedge400: Set eMMC max frequency rentao.bupt
@ 2023-08-09 8:08 ` Joel Stanley
2023-08-10 5:34 ` Tao Ren
3 siblings, 1 reply; 8+ messages in thread
From: Joel Stanley @ 2023-08-09 8:08 UTC (permalink / raw)
To: rentao.bupt
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andrew Jeffery,
devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, taoren
On Thu, 3 Aug 2023 at 23:03, <rentao.bupt@gmail.com> wrote:
>
> From: Tao Ren <rentao.bupt@gmail.com>
>
> The patch series fixes a few entries in wedge400 device tree.
>
> Patch #1 sets spi alias in ast2500-facebook-netbmc-common.dtsi (included
> by wedge400 dts) to make sure spi bus is consistent with flash labels in
> flash layout.
>
> Patch #2 enables more ADC channels in wedge400 dts.
>
> Patch #3 sets eMMC max frequency to 25MHz in wedge400 dts.
>
> Tao Ren (3):
> ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
I wondered if we should do this in the aspeed-g5.dtsi.
> ARM: dts: aspeed: wedge400: Enable more ADC channels
> ARM: dts: aspeed: wedge400: Set eMMC max frequency
Reviewed-by: Joel Stanley <joel@jms.id.au>
>
> arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 4 +++-
> arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi | 4 ++++
> 2 files changed, 7 insertions(+), 1 deletion(-)
>
> --
> 2.40.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] 8+ messages in thread
* Re: [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts
2023-08-09 8:08 ` [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts Joel Stanley
@ 2023-08-10 5:34 ` Tao Ren
2023-08-10 5:37 ` Joel Stanley
0 siblings, 1 reply; 8+ messages in thread
From: Tao Ren @ 2023-08-10 5:34 UTC (permalink / raw)
To: Joel Stanley
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andrew Jeffery,
devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, taoren
Hi Joel,
On Wed, Aug 09, 2023 at 08:08:12AM +0000, Joel Stanley wrote:
> On Thu, 3 Aug 2023 at 23:03, <rentao.bupt@gmail.com> wrote:
> >
> > From: Tao Ren <rentao.bupt@gmail.com>
> >
> > The patch series fixes a few entries in wedge400 device tree.
> >
> > Patch #1 sets spi alias in ast2500-facebook-netbmc-common.dtsi (included
> > by wedge400 dts) to make sure spi bus is consistent with flash labels in
> > flash layout.
> >
> > Patch #2 enables more ADC channels in wedge400 dts.
> >
> > Patch #3 sets eMMC max frequency to 25MHz in wedge400 dts.
> >
> > Tao Ren (3):
> > ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
>
> I wondered if we should do this in the aspeed-g5.dtsi.
I also hesitated if I should do it in aspeed-g5.dtsi, but I didn't do it
because I was not sure if others care about the spi aliases.. Should I
send out v2 to move the alias to aspeed-g5.dtsi?
Cheers,
Tao
_______________________________________________
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] 8+ messages in thread
* Re: [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts
2023-08-10 5:34 ` Tao Ren
@ 2023-08-10 5:37 ` Joel Stanley
2023-08-10 5:58 ` Tao Ren
0 siblings, 1 reply; 8+ messages in thread
From: Joel Stanley @ 2023-08-10 5:37 UTC (permalink / raw)
To: Tao Ren
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andrew Jeffery,
devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, taoren
On Thu, 10 Aug 2023 at 05:34, Tao Ren <rentao.bupt@gmail.com> wrote:
>
> Hi Joel,
>
> On Wed, Aug 09, 2023 at 08:08:12AM +0000, Joel Stanley wrote:
> > On Thu, 3 Aug 2023 at 23:03, <rentao.bupt@gmail.com> wrote:
> > >
> > > From: Tao Ren <rentao.bupt@gmail.com>
> > >
> > > The patch series fixes a few entries in wedge400 device tree.
> > >
> > > Patch #1 sets spi alias in ast2500-facebook-netbmc-common.dtsi (included
> > > by wedge400 dts) to make sure spi bus is consistent with flash labels in
> > > flash layout.
> > >
> > > Patch #2 enables more ADC channels in wedge400 dts.
> > >
> > > Patch #3 sets eMMC max frequency to 25MHz in wedge400 dts.
> > >
> > > Tao Ren (3):
> > > ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
> >
> > I wondered if we should do this in the aspeed-g5.dtsi.
>
> I also hesitated if I should do it in aspeed-g5.dtsi, but I didn't do it
> because I was not sure if others care about the spi aliases.. Should I
> send out v2 to move the alias to aspeed-g5.dtsi?
I wasn't sure either. Lets leave it as-is, but if we see other systems
wanting similar numbering then we can put it in the common dtsi.
I've applied this to the aspeed tree now.
Cheers,
Joel
_______________________________________________
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] 8+ messages in thread
* Re: [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts
2023-08-10 5:37 ` Joel Stanley
@ 2023-08-10 5:58 ` Tao Ren
0 siblings, 0 replies; 8+ messages in thread
From: Tao Ren @ 2023-08-10 5:58 UTC (permalink / raw)
To: Joel Stanley
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andrew Jeffery,
devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, taoren
On Thu, Aug 10, 2023 at 05:37:41AM +0000, Joel Stanley wrote:
> On Thu, 10 Aug 2023 at 05:34, Tao Ren <rentao.bupt@gmail.com> wrote:
> >
> > Hi Joel,
> >
> > On Wed, Aug 09, 2023 at 08:08:12AM +0000, Joel Stanley wrote:
> > > On Thu, 3 Aug 2023 at 23:03, <rentao.bupt@gmail.com> wrote:
> > > >
> > > > From: Tao Ren <rentao.bupt@gmail.com>
> > > >
> > > > The patch series fixes a few entries in wedge400 device tree.
> > > >
> > > > Patch #1 sets spi alias in ast2500-facebook-netbmc-common.dtsi (included
> > > > by wedge400 dts) to make sure spi bus is consistent with flash labels in
> > > > flash layout.
> > > >
> > > > Patch #2 enables more ADC channels in wedge400 dts.
> > > >
> > > > Patch #3 sets eMMC max frequency to 25MHz in wedge400 dts.
> > > >
> > > > Tao Ren (3):
> > > > ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi
> > >
> > > I wondered if we should do this in the aspeed-g5.dtsi.
> >
> > I also hesitated if I should do it in aspeed-g5.dtsi, but I didn't do it
> > because I was not sure if others care about the spi aliases.. Should I
> > send out v2 to move the alias to aspeed-g5.dtsi?
>
> I wasn't sure either. Lets leave it as-is, but if we see other systems
> wanting similar numbering then we can put it in the common dtsi.
>
> I've applied this to the aspeed tree now.
>
> Cheers,
>
> Joel
Got it. Thanks Joel.
Cheers,
Tao
_______________________________________________
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] 8+ messages in thread
end of thread, other threads:[~2023-08-10 5:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-03 23:03 [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts rentao.bupt
2023-08-03 23:03 ` [PATCH 1/3] ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi rentao.bupt
2023-08-03 23:03 ` [PATCH 2/3] ARM: dts: aspeed: wedge400: Enable more ADC channels rentao.bupt
2023-08-03 23:03 ` [PATCH 3/3] ARM: dts: aspeed: wedge400: Set eMMC max frequency rentao.bupt
2023-08-09 8:08 ` [PATCH 0/3] ARM: dts: aspeed: Fixup Wedge400 dts Joel Stanley
2023-08-10 5:34 ` Tao Ren
2023-08-10 5:37 ` Joel Stanley
2023-08-10 5:58 ` Tao Ren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox