* [PATCH] MIPS: JZ4740: Fix pcm device name
@ 2010-11-11 18:08 Lars-Peter Clausen
2010-11-11 18:08 ` [PATCH] MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board Lars-Peter Clausen
2010-11-22 18:47 ` [PATCH] MIPS: JZ4740: Fix pcm device name Ralf Baechle
0 siblings, 2 replies; 5+ messages in thread
From: Lars-Peter Clausen @ 2010-11-11 18:08 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, linux-kernel, Lars-Peter Clausen
As part the ASoC multi-component patch (commit f0fba2ad) the jz4740 pcm driver
was renamed to 'jz4740-pcm-audio'. Adjust the device name accordingly.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
arch/mips/jz4740/platform.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/jz4740/platform.c b/arch/mips/jz4740/platform.c
index c860b01..a17a17b 100644
--- a/arch/mips/jz4740/platform.c
+++ b/arch/mips/jz4740/platform.c
@@ -208,7 +208,7 @@ struct platform_device jz4740_i2s_device = {
/* PCM */
struct platform_device jz4740_pcm_device = {
- .name = "jz4740-pcm",
+ .name = "jz4740-pcm-audio",
.id = -1,
};
--
1.5.6.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board
2010-11-11 18:08 [PATCH] MIPS: JZ4740: Fix pcm device name Lars-Peter Clausen
@ 2010-11-11 18:08 ` Lars-Peter Clausen
2010-11-22 18:47 ` [PATCH] MIPS: JZ4740: Fix pcm device name Ralf Baechle
1 sibling, 0 replies; 5+ messages in thread
From: Lars-Peter Clausen @ 2010-11-11 18:08 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, linux-kernel, Lars-Peter Clausen
Now that the mtd core supports more then 64 ecc bytes we can use it instead of
some a custom hack in the jz4740 nand driver.
This patches sets the ecc pos fields of the ecc_layout of the qi_lb60 board.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
arch/mips/jz4740/board-qi_lb60.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c
index 05297ef..3a41014 100644
--- a/arch/mips/jz4740/board-qi_lb60.c
+++ b/arch/mips/jz4740/board-qi_lb60.c
@@ -50,14 +50,14 @@ static bool is_avt2;
/* NAND */
static struct nand_ecclayout qi_lb60_ecclayout_1gb = {
-/* .eccbytes = 36,
+ .eccbytes = 36,
.eccpos = {
6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37,
38, 39, 40, 41
- },*/
+ },
.oobfree = {
{ .offset = 2, .length = 4 },
{ .offset = 42, .length = 22 }
@@ -86,7 +86,7 @@ static struct mtd_partition qi_lb60_partitions_1gb[] = {
};
static struct nand_ecclayout qi_lb60_ecclayout_2gb = {
-/* .eccbytes = 72,
+ .eccbytes = 72,
.eccpos = {
12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27,
@@ -97,7 +97,7 @@ static struct nand_ecclayout qi_lb60_ecclayout_2gb = {
60, 61, 62, 63, 64, 65, 66, 67,
68, 69, 70, 71, 72, 73, 74, 75,
76, 77, 78, 79, 80, 81, 82, 83
- },*/
+ },
.oobfree = {
{ .offset = 2, .length = 10 },
{ .offset = 84, .length = 44 },
--
1.5.6.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] MIPS: JZ4740: Fix pcm device name
2010-11-11 18:08 [PATCH] MIPS: JZ4740: Fix pcm device name Lars-Peter Clausen
2010-11-11 18:08 ` [PATCH] MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board Lars-Peter Clausen
@ 2010-11-22 18:47 ` Ralf Baechle
1 sibling, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2010-11-22 18:47 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: linux-mips, linux-kernel
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board
2011-02-08 2:43 ` [PATCH] MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board Lars-Peter Clausen
@ 2011-03-25 12:31 ` Ralf Baechle
0 siblings, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2011-03-25 12:31 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: linux-mips, linux-kernel
Queued for 2.6.39. Thanks,
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board
2011-02-08 2:43 [PATCH] MIPS: JZ4740: qi_lb60: Add gpio-charger device Lars-Peter Clausen
@ 2011-02-08 2:43 ` Lars-Peter Clausen
2011-03-25 12:31 ` Ralf Baechle
0 siblings, 1 reply; 5+ messages in thread
From: Lars-Peter Clausen @ 2011-02-08 2:43 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, linux-kernel, Lars-Peter Clausen
The jz4740 nand driver now requires that the ecc offsets are set.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
This should go into 2.6.38
---
arch/mips/jz4740/board-qi_lb60.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c
index e3f21ba..34f5227 100644
--- a/arch/mips/jz4740/board-qi_lb60.c
+++ b/arch/mips/jz4740/board-qi_lb60.c
@@ -50,14 +50,14 @@ static bool is_avt2;
/* NAND */
static struct nand_ecclayout qi_lb60_ecclayout_1gb = {
-/* .eccbytes = 36,
+ .eccbytes = 36,
.eccpos = {
6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37,
38, 39, 40, 41
- },*/
+ },
.oobfree = {
{ .offset = 2, .length = 4 },
{ .offset = 42, .length = 22 }
@@ -86,7 +86,7 @@ static struct mtd_partition qi_lb60_partitions_1gb[] = {
};
static struct nand_ecclayout qi_lb60_ecclayout_2gb = {
-/* .eccbytes = 72,
+ .eccbytes = 72,
.eccpos = {
12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27,
@@ -97,7 +97,7 @@ static struct nand_ecclayout qi_lb60_ecclayout_2gb = {
60, 61, 62, 63, 64, 65, 66, 67,
68, 69, 70, 71, 72, 73, 74, 75,
76, 77, 78, 79, 80, 81, 82, 83
- },*/
+ },
.oobfree = {
{ .offset = 2, .length = 10 },
{ .offset = 84, .length = 44 },
--
1.7.2.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-25 12:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 18:08 [PATCH] MIPS: JZ4740: Fix pcm device name Lars-Peter Clausen
2010-11-11 18:08 ` [PATCH] MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board Lars-Peter Clausen
2010-11-22 18:47 ` [PATCH] MIPS: JZ4740: Fix pcm device name Ralf Baechle
2011-02-08 2:43 [PATCH] MIPS: JZ4740: qi_lb60: Add gpio-charger device Lars-Peter Clausen
2011-02-08 2:43 ` [PATCH] MIPS: JZ4740: Set nand ecc offsets for the qi_lb60 board Lars-Peter Clausen
2011-03-25 12:31 ` Ralf Baechle
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).