linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller
@ 2016-01-01 13:38 Roman Volkov
  2016-01-01 13:38 ` [PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Roman Volkov @ 2016-01-01 13:38 UTC (permalink / raw)
  To: arm, linux+armsoc
  Cc: devicetree, linux-arm-kernel, linux-kernel, Arnd Bergmann,
	Alexey Charkov, Roman Volkov, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King, Tony Prisk

From: Roman Volkov <rvolkov@v1ros.org>

This patch set enables SD controller support for WM8650 and
fixes minor errors in WM8505 Device Tree file.

Changes in v3:
1. Add minor fixes for WM8505 SDHC node

Tested on both WM8505 and WM8650.

Roman Volkov (2):
  dts: vt8500: Add SDHC node to DTS file for WM8650
  dts: vt8500: Fix errors in SDHC node for WM8505

 arch/arm/boot/dts/wm8505.dtsi | 4 ++--
 arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

-- 
Hi maintainers, I see my previous versions were not applied. Could this
little patch set be applied for the linux-next? I don't think this is new
functionality, this must be considered as bugfix for existing Device Tree.

Any other suggestions?

2.3.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650
  2016-01-01 13:38 [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Roman Volkov
@ 2016-01-01 13:38 ` Roman Volkov
  2016-01-01 13:38 ` [PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 Roman Volkov
  2016-01-01 14:29 ` [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Arnd Bergmann
  2 siblings, 0 replies; 9+ messages in thread
From: Roman Volkov @ 2016-01-01 13:38 UTC (permalink / raw)
  To: arm, linux+armsoc
  Cc: devicetree, linux-arm-kernel, linux-kernel, Arnd Bergmann,
	Alexey Charkov, Roman Volkov, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King, Tony Prisk

From: Roman Volkov <rvolkov@v1ros.org>

Since WM8650 has the same 'WMT' SDHC controller as WM8505, and the driver
is already in the kernel, this node enables the controller support for
WM8650

Signed-off-by: Roman Volkov <rvolkov@v1ros.org>
Reviewed-by: Alexey Charkov <alchark@gmail.com>
---
 arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/wm8650.dtsi b/arch/arm/boot/dts/wm8650.dtsi
index b1c59a7..e12213d 100644
--- a/arch/arm/boot/dts/wm8650.dtsi
+++ b/arch/arm/boot/dts/wm8650.dtsi
@@ -187,6 +187,15 @@
 			interrupts = <43>;
 		};
 
+		sdhc@d800a000 {
+			compatible = "wm,wm8505-sdhc";
+			reg = <0xd800a000 0x400>;
+			interrupts = <20>, <21>;
+			clocks = <&clksdhc>;
+			bus-width = <4>;
+			sdon-inverted;
+		};
+
 		fb: fb@d8050800 {
 			compatible = "wm,wm8505-fb";
 			reg = <0xd8050800 0x200>;
-- 
2.3.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505
  2016-01-01 13:38 [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Roman Volkov
  2016-01-01 13:38 ` [PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
@ 2016-01-01 13:38 ` Roman Volkov
  2016-01-01 14:29 ` [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Arnd Bergmann
  2 siblings, 0 replies; 9+ messages in thread
From: Roman Volkov @ 2016-01-01 13:38 UTC (permalink / raw)
  To: arm, linux+armsoc
  Cc: devicetree, linux-arm-kernel, linux-kernel, Arnd Bergmann,
	Alexey Charkov, Roman Volkov, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King, Tony Prisk

From: Roman Volkov <rvolkov@v1ros.org>

According to datasheet, the registers space of SDHC controller is 1Kb,
not '0x1000', the correct value should be '0x400'. Bracket interrupt
numbers individually per recommendations.

Signed-off-by: Roman Volkov <rvolkov@v1ros.org>
---
 arch/arm/boot/dts/wm8505.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/wm8505.dtsi b/arch/arm/boot/dts/wm8505.dtsi
index a1a854b..e9ef539 100644
--- a/arch/arm/boot/dts/wm8505.dtsi
+++ b/arch/arm/boot/dts/wm8505.dtsi
@@ -281,8 +281,8 @@
 
 		sdhc@d800a000 {
 			compatible = "wm,wm8505-sdhc";
-			reg = <0xd800a000 0x1000>;
-			interrupts = <20 21>;
+			reg = <0xd800a000 0x400>;
+			interrupts = <20>, <21>;
 			clocks = <&clksdhc>;
 			bus-width = <4>;
 		};
-- 
2.3.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller
  2016-01-01 13:38 [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Roman Volkov
  2016-01-01 13:38 ` [PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
  2016-01-01 13:38 ` [PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 Roman Volkov
@ 2016-01-01 14:29 ` Arnd Bergmann
  2016-01-01 17:32   ` Roman Volkov
  2 siblings, 1 reply; 9+ messages in thread
From: Arnd Bergmann @ 2016-01-01 14:29 UTC (permalink / raw)
  To: Roman Volkov
  Cc: arm, linux+armsoc, devicetree, linux-arm-kernel, linux-kernel,
	Alexey Charkov, Roman Volkov, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King, Tony Prisk

On Friday 01 January 2016 16:38:10 Roman Volkov wrote:
> From: Roman Volkov <rvolkov@v1ros.org>
> 
> This patch set enables SD controller support for WM8650 and
> fixes minor errors in WM8505 Device Tree file.
> 
> Changes in v3:
> 1. Add minor fixes for WM8505 SDHC node
> 
> Tested on both WM8505 and WM8650.
> 
> Roman Volkov (2):
>   dts: vt8500: Add SDHC node to DTS file for WM8650
>   dts: vt8500: Fix errors in SDHC node for WM8505
> 
>  arch/arm/boot/dts/wm8505.dtsi | 4 ++--
>  arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
>  2 files changed, 11 insertions(+), 2 deletions(-)
> 
> -- 
> Hi maintainers, I see my previous versions were not applied. Could this
> little patch set be applied for the linux-next? I don't think this is new
> functionality, this must be considered as bugfix for existing Device Tree.
> 
> Any other suggestions?
> 

Applied both to next/dt, thanks a lot for following up!

Let me know if you think this should go into stable backports as well,
I did not apply it to the fixes branch as you don't have a
'Cc: stable@vger.kernel.org' tag and it has never worked so far.

	Arnd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller
  2016-01-01 14:29 ` [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Arnd Bergmann
@ 2016-01-01 17:32   ` Roman Volkov
  2016-01-01 21:53     ` Arnd Bergmann
  0 siblings, 1 reply; 9+ messages in thread
From: Roman Volkov @ 2016-01-01 17:32 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: arm, linux+armsoc, devicetree, linux-arm-kernel, linux-kernel,
	stable, Roman Volkov, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Russell King, Tony Prisk,
	Alexey Charkov

В Fri, 01 Jan 2016 15:29:29 +0100
Arnd Bergmann <arnd@arndb.de> пишет:

> On Friday 01 January 2016 16:38:10 Roman Volkov wrote:
> > From: Roman Volkov <rvolkov@v1ros.org>
> > 
> > This patch set enables SD controller support for WM8650 and
> > fixes minor errors in WM8505 Device Tree file.
> > 
> > Changes in v3:
> > 1. Add minor fixes for WM8505 SDHC node
> > 
> > Tested on both WM8505 and WM8650.
> > 
> > Roman Volkov (2):
> >   dts: vt8500: Add SDHC node to DTS file for WM8650
> >   dts: vt8500: Fix errors in SDHC node for WM8505
> > 
> >  arch/arm/boot/dts/wm8505.dtsi | 4 ++--
> >  arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
> >  2 files changed, 11 insertions(+), 2 deletions(-)
> > 
> > -- 
> > Hi maintainers, I see my previous versions were not applied. Could
> > this little patch set be applied for the linux-next? I don't think
> > this is new functionality, this must be considered as bugfix for
> > existing Device Tree.
> > 
> > Any other suggestions?
> >   
> 
> Applied both to next/dt, thanks a lot for following up!
> 
> Let me know if you think this should go into stable backports as well,
> I did not apply it to the fixes branch as you don't have a
> 'Cc: stable@vger.kernel.org' tag and it has never worked so far.

Yes, this must go into the stable too. Let me know if I must change
something or resend.

Thanks,
Roman

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller
  2016-01-01 17:32   ` Roman Volkov
@ 2016-01-01 21:53     ` Arnd Bergmann
  2016-01-02  9:12       ` Roman Volkov
  0 siblings, 1 reply; 9+ messages in thread
From: Arnd Bergmann @ 2016-01-01 21:53 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Roman Volkov, Mark Rutland, devicetree, Russell King, Pawel Moll,
	linux+armsoc, Ian Campbell, linux-kernel, stable, Tony Prisk,
	Rob Herring, arm, Alexey Charkov, Roman Volkov, Kumar Gala

On Friday 01 January 2016 20:32:30 Roman Volkov wrote:
> > Applied both to next/dt, thanks a lot for following up!
> > 
> > Let me know if you think this should go into stable backports as well,
> > I did not apply it to the fixes branch as you don't have a
> > 'Cc: stable@vger.kernel.org' tag and it has never worked so far.
> 
> Yes, this must go into the stable too. Let me know if I must change
> something or resend.

I can put them in the fixes branch with the appropriate stable
tag myself, but please clarify whether we need just the first or
both patches there. It looks to me that the second one while
correct only addresses a cosmetic problem and everything works
without it.

	Arnd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller
  2016-01-01 21:53     ` Arnd Bergmann
@ 2016-01-02  9:12       ` Roman Volkov
  0 siblings, 0 replies; 9+ messages in thread
From: Roman Volkov @ 2016-01-02  9:12 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: linux-arm-kernel, Mark Rutland, devicetree, Russell King,
	Pawel Moll, linux+armsoc, Ian Campbell, linux-kernel, stable,
	Tony Prisk, Rob Herring, arm, Alexey Charkov, Roman Volkov,
	Kumar Gala

В Fri, 01 Jan 2016 22:53:33 +0100
Arnd Bergmann <arnd@arndb.de> пишет:

> On Friday 01 January 2016 20:32:30 Roman Volkov wrote:
> > > Applied both to next/dt, thanks a lot for following up!
> > > 
> > > Let me know if you think this should go into stable backports as
> > > well, I did not apply it to the fixes branch as you don't have a
> > > 'Cc: stable@vger.kernel.org' tag and it has never worked so far.  
> > 
> > Yes, this must go into the stable too. Let me know if I must change
> > something or resend.  
> 
> I can put them in the fixes branch with the appropriate stable
> tag myself, but please clarify whether we need just the first or
> both patches there. It looks to me that the second one while
> correct only addresses a cosmetic problem and everything works
> without it.

Correct, everything works without the second one. One of reviewers
noticed that addresses are different between WM8505 and WM8650 where
the hardware is the same. If such trivial changes are not accepted,
please do not apply.

Happy New Year,
Roman

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller
@ 2015-12-31 17:41 Roman Volkov
  0 siblings, 0 replies; 9+ messages in thread
From: Roman Volkov @ 2015-12-31 17:41 UTC (permalink / raw)
  To: arm
  Cc: devicetree, linux-arm-kernel, linux-kernel, Alexey Charkov,
	Roman Volkov, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Russell King, Tony Prisk

From: Roman Volkov <rvolkov@v1ros.org>

This patch set enables SD controller support for WM8650 and
fixes minor errors in WM8505 Device Tree file.

Changes in v3:
1. Add minor fixes for WM8505 SDHC node

Tested on both WM8505 and WM8650.

Roman Volkov (2):
  dts: vt8500: Add SDHC node to DTS file for WM8650
  dts: vt8500: Fix errors in SDHC node for WM8505

 arch/arm/boot/dts/wm8505.dtsi | 4 ++--
 arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

-- 
Hi maintainers, I see my previous versions were not applied. Could this
little patch set be applied for the linux-next? I don't think this is new
functionality, this must be considered as bugfix for existing Device Tree.

Any other suggestions?

2.3.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller
  2015-03-01 16:06 [PATCH v3 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 Roman Volkov
@ 2015-03-01 20:48 ` Roman Volkov
  0 siblings, 0 replies; 9+ messages in thread
From: Roman Volkov @ 2015-03-01 20:48 UTC (permalink / raw)
  To: Tony Prisk, Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell,
	Kumar Gala, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel, Alexey Charkov, Roman Volkov

This patch set enables SD controller support for WM8650 and
fixes minor errors in WM8505 Device Tree file.

Changes in v3:
1. Add minor fixes for WM8505 SDHC node

Tested on both WM8505 and WM8650.

Roman Volkov (2):
  dts: vt8500: Add SDHC node to DTS file for WM8650
  dts: vt8500: Fix errors in SDHC node for WM8505

 arch/arm/boot/dts/wm8505.dtsi | 4 ++--
 arch/arm/boot/dts/wm8650.dtsi | 9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

-- 
Hi maintainers, I see my previous versions were not applied. Could this
little patch set be applied for the linux-next? I don't think this is new
functionality, this must be considered as bugfix for existing Device Tree.

Any other suggestions?

2.3.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-01-02  9:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-01 13:38 [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Roman Volkov
2016-01-01 13:38 ` [PATCH v3 RESEND 1/2] dts: vt8500: Add SDHC node to DTS file for WM8650 Roman Volkov
2016-01-01 13:38 ` [PATCH v3 RESEND 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 Roman Volkov
2016-01-01 14:29 ` [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Arnd Bergmann
2016-01-01 17:32   ` Roman Volkov
2016-01-01 21:53     ` Arnd Bergmann
2016-01-02  9:12       ` Roman Volkov
  -- strict thread matches above, loose matches on Subject: below --
2015-12-31 17:41 Roman Volkov
2015-03-01 16:06 [PATCH v3 2/2] dts: vt8500: Fix errors in SDHC node for WM8505 Roman Volkov
2015-03-01 20:48 ` [PATCH v3 RESEND 0/2] WM8505/WM8650 DT fixes for SD card controller Roman Volkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).