Remove the file_operations struct and miscdevice struct for future
add to use the watchdog framework.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/at91sam9_wdt.c | 131 ---
1 file changed, 131 deletions(-)
diff --git a/drivers
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/at91sam9_wdt.c | 28 ++--
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
index 31c914a..98e7d5a 100644
--- a/drivers
Using module_platform_driver() replaces module_init() and module_exit()
and makes the code simpler.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/at91sam9_wdt.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/drivers/watchdog
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: grant.lik...@secretlab.ca
Cc: rob.herr...@calxeda.com
Cc: devicetree-disc...@lists.ozlabs.org
---
drivers/watchdog/at91sam9_wdt.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: grant.lik...@secretlab.ca
Cc: rob.herr...@calxeda.com
Cc: r...@landley.net
Cc: li...@arm.linux.org.uk
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-...@vger.kernel.org
---
.../devicetree/bindings/watchdog/atmel-wdt.txt | 14
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/at91sam9_wdt.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
index cba5c5d..bd74f40 100644
--- a/drivers/watchdog/at91sam9_wdt.c
Change the at91_wdt_settimeout function name to at91wdt_enable for more
reasonable,
and also set the drvdata-enabled value.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/at91sam9_wdt.c | 28 +---
1 file changed, 17 insertions(+), 11 deletions
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/at91sam9_wdt.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
index d764f36..187e33f 100644
--- a/drivers/watchdog/at91sam9_wdt.c
+++ b/drivers
Change the timer function name at91_ping to at91wdt_timer_tick
as an appropriate name, and change at91_wdt_reset to at91wdt_reset
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/at91sam9_wdt.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff
Hi, All
The patch series is intended to convert to use the watchdog framework,
and add support to device tree.
It has been tested on sam9m10g45ek, sam9g20ek, sam9263ek and sam9g25ek.
It is based on v3.7-rc5.
Best Regards
Wenyou Yang
Wenyou Yang (11):
watchdog/at91sam9_wdt: remove
For the Watchdog Timer Mode Register can be only written only once,
so struct watchdog_info options only support WDIOF_KEEPALIVEPING,
not support WDIOF_SETTIMEOUT and WDIOF_MAGICCLOSE.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/Kconfig|1 +
drivers/watchdog
Set the at91wdt_drvdata struct as the driver data of struct watchdog_device.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/watchdog/at91sam9_wdt.c | 35 +++
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/drivers/watchdog
From: Nicolas Ferre nicolas.fe...@atmel.com
Needed for future use with dmaengine enabled driver.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c | 35 +--
1 file changed, 21 insertions(+), 14 deletions(-)
diff --git a/drivers/spi/spi
]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.ne
Cc: linux-kernel@vger.kernel.org
[richard.gen...@gmail.com: update with dmaengine interface]
[richard.gen...@gmail.com: fix __init
the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c | 47 ++-
1 file changed, 38 insertions(+), 9 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
index 759d83a..a619779 100644
--- a/drivers
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: declare the spi clocks for sam9260, at91sam9g45, and
at91sam9n12]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li
the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9260.dtsi | 18 ++
arch/arm/boot/dts/at91sam9263.dtsi | 18 ++
arch/arm/boot/dts/at91sam9g45.dtsi | 18
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: added spi nodes for the sam9263ek, sam9g20ek,
sam9m10g45ek and sam9n12ek boards]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9260.dtsi | 22 ++
arch/arm/boot/dts/at91sam9263.dtsi | 22 ++
arch/arm/boot/dts/at91sam9g45.dtsi | 22
The has_dma_support needed for future use with dmaengine driver.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 66 +++
1 file changed, 50
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi
From: Nicolas Ferre nicolas.fe...@atmel.com
Needed for future use with dmaengine enabled driver.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
From: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b
From: Nicolas Ferre nicolas.fe...@atmel.com
Will allow to drop the lock during DMA operations.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
if buffer 4096 bytes]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.ne
Cc: linux-kernel@vger.kernel.org
---
This patch is based on the original patch from Nicolas
[PATCH] spi
: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 61 +++
1 file changed, 51 insertions(+), 10 deletions(-)
diff --git
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: declare the spi clocks for sam9260, at91sam9g45, and
at91sam9n12]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: added spi nodes for the sam9263ek, sam9g20ek,
sam9m10g45ek and sam9n12ek boards]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9260.dtsi | 22 ++
arch/arm/boot/dts/at91sam9263.dtsi | 22 ++
arch/arm/boot/dts/at91sam9g45.dtsi | 22
the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9260.dtsi | 18 ++
arch/arm/boot/dts/at91sam9263.dtsi | 18 ++
arch/arm/boot/dts/at91sam9g45.dtsi | 18
commit: 059b8ffeee5b427949872bb6ed5db5ae0788054e
cause the atmel spi probing failure.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c |6 +++---
1 file changed, 3 insertions(+), 3
The has_dma_support needed for future use with dmaengine driver.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 66 +++
1 file changed, 50
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi
From: Nicolas Ferre nicolas.fe...@atmel.com
Needed for future use with dmaengine enabled driver.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
From: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b
From: Nicolas Ferre nicolas.fe...@atmel.com
Will allow to drop the lock during DMA operations.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
if buffer 4096 bytes]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.ne
Cc: linux-kernel@vger.kernel.org
---
This patch is based on the original patch from Nicolas
[PATCH] spi
: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 61 +++
1 file changed, 51 insertions(+), 10 deletions(-)
diff --git
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c |8
1 file changed, 8 insertions(+)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
index 1e212d1..6b166f4 100644
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: declare the spi clocks for sam9260, at91sam9g45, and
at91sam9n12]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li
the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9260.dtsi | 18 ++
arch/arm/boot/dts/at91sam9263.dtsi | 18 ++
arch/arm/boot/dts/at91sam9g45.dtsi | 18
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: added spi nodes for the sam9263ek, sam9g20ek,
sam9m10g45ek and sam9n12ek boards]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9260.dtsi | 22 ++
arch/arm/boot/dts/at91sam9263.dtsi | 22 ++
arch/arm/boot/dts/at91sam9g45.dtsi | 22
].
2./ Remove two patches:
which purpose to read dts property to select SPI IP version and DMA mode
Now they will be gat from device tree different compatile.
3./ Fix DMA: when enable both spi0 AND spi1, the spi0 doesn't work BUG.
4./ Rebase v3.7-rc8.
Best Regards,
Wenyou Yang
From: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
This will allow each device to specify its dma-mask for this we use the
coherent_dma_mask as pointer. By default the dma-mask will be set to
DMA_BIT_MASK(32).
The microblaze architecture hook is drop
Signed-off-by: Jean-Christophe
From: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-gene...@lists.sourceforge.net
---
drivers/spi/spi-atmel.c |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
From: Nicolas Ferre nicolas.fe...@atmel.com
The status of transfer is stored in controller data structure
so that it can be used not only by atmel_spi_msg_done() function.
This will be useful for upcoming dmaengine enabled driver.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc:
From: Nicolas Ferre nicolas.fe...@atmel.com
Will allow to drop the lock during DMA operations.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-gene...@lists.sourceforge.net
---
drivers/spi/spi-atmel.c | 31 +++
1
-by: Wenyou Yang wenyou.y...@atmel.com
Cc: devicetree-disc...@lists.ozlabs.org
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: grant.lik...@secretlab.ca
Cc: rob.herr...@calxeda.com
Cc: r...@landley.net
Cc: linux-...@vger.kernel.org
Cc: richard.gen...@gmail.com
---
Hi, Richard,
This patches is based
NPCS1,2,3 chip select other than NPCS0]
[wenyou.y...@atmel.com: fix DMA: OOPS if buffer 4096 bytes]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: richard.gen...@gmail.com
---
Hi, Richard,
This patch is based
From: Richard Genoud richard.gen...@gmail.com
This is the following of the patch e2b35f3dbfc080f15b72834d08f04f0269dbe9be
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: fix DMA: when enable both spi0 and spi1, spi0 doesn't
work]
Signed-off-by: Wenyou Yang
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-gene...@lists.sourceforge.net
---
drivers/spi/spi-atmel.c | 46 +-
1 file changed, 37 insertions(+), 9
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-gene...@lists.sourceforge.net
---
drivers/spi/spi-atmel.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: added spi nodes for other atmel boards]
[wenyou.y...@atmel.com: remove the cs-gpios property for sam9x5ek boards]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: add spi nodes for other atmel SOC]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
---
arch/arm/boot/dts/at91sam9260.dtsi | 30
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
[wenyou.y...@atmel.com: declare the spi clocks for other at91 SoC]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: plagn...@jcrosoft.com
Cc: li...@maxim.org.za
From: Nicolas Ferre nicolas.fe...@atmel.com
Needed for future use with dmaengine enabled driver.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: grant.lik...@secretlab.ca
Cc: spi-devel-gene...@lists.sourceforge.net
---
drivers/spi/spi-atmel.c |2 ++
1 file changed, 2 insertions(+)
on the original patch from Jean-Christophe,
[PATCH] of_spi: add generic binding support to specify cs gpio
and merge the patch from Richard Genoud,
[PATCH] [BUG] SPI: array out of bound = no CS
Could you sign your signature in this patch?
Best Regards,
Wenyou Yang
Documentation/devicetree
Since the Watchdog Timer Mode Register can be only written only once,
so the watchdog_info shall not support WDIOF_SETTIMEOUT
and WDIOF_MAGICCLOSE options, remove them.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9n12.dtsi |6 ++
arch/arm/boot/dts/at91sam9x5.dtsi |6 ++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi
Tested on the at91sam9g25ek boards
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9g25ek.dts |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9g25ek.dts
b/arch/arm/boot
Remove the global variable at91wdt_private, add the struct at91wdt_drvdata
as a substitute, and set it as the driver data of the at91wdt_wdd.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/watchdog/at91sam9_wdt.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
According to the kernel document: convert_drivers_to_kernel_api.txt,
remove the file_operations struct, miscdevice, and obsolete includes
Since the at91sam watchdog inherent characteristics, add the watchdog
operations: at91wdt_start, at91wdt_stop and at91wdt_ping.
Signed-off-by: Wenyou Yang
Using module_platform_driver() replaces module_init() and module_exit()
and makes the code simpler.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/watchdog/at91sam9_wdt.c | 14 ++
1
For this variable will be used in the timer handler.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/watchdog/at91sam9_wdt.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Since the Watchdog Timer Mode Register can be only written only once,
so the watchdog_info shall not support WDIOF_SETTIMEOUT
and WDIOF_MAGICCLOSE options, remove them.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel
According to Documentation/watchdog/convert_drivers_to_kernel_api.txt,
remove the file_operations struct, miscdevice, and obsolete includes
Since the at91sam watchdog inherent characteristics, add the watchdog
operations: at91wdt_start, at91wdt_stop and at91wdt_ping.
Signed-off-by: Wenyou Yang
Tested on the at91sam9g25ek and at91sam9m10g45ek boards
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9m10g45ek.dts |4
arch/arm/boot/dts/at91sam9x5ek.dtsi|4
2 files changed, 8
Remove the global variable at91wdt_private, add the struct at91wdt_drvdata
as a substitute, and set it as the driver data of the at91wdt_wdd.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers
For this variable will be used in the timer handler.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/watchdog/at91sam9_wdt.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/watchdog/at91sam9_wdt.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c
Add the function watchdog_is_open to check whether or not
the /dev/watchdog? is opened
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
include/linux/watchdog.h |8
1 file changed, 8
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: li...@arm.linux.org.uk
Cc: linux-kernel@vger.kernel.org
---
arch/arm/boot/dts/at91sam9n12.dtsi |6 ++
arch/arm/boot/dts/at91sam9x5.dtsi |6 ++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi
if the spi property cs-gpios is set as below:
cs-gpios = 0, pioC 11 0, 0, 0;
the master-num_chipselect will wrongly be set to 0,
and the spi fail to probe.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
the has_dma_support needed for future use with dmaengine driver.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 70 ++-
1 file changed, 57
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi
From: Nicolas Ferre nicolas.fe...@atmel.com
Needed for future use with dmaengine enabled driver.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
From: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b
From: Nicolas Ferre nicolas.fe...@atmel.com
Will allow to drop the lock during DMA operations.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
if buffer 4096 bytes]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.ne
Cc: linux-kernel@vger.kernel.org
---
This patch is based on the original patch from Nicolas
[PATCH] spi
if the spi property cs-gpios is set as below:
cs-gpios = 0, pioC 11 0, 0, 0;
the master-num_chipselect will wrongly be set to 0,
and the spi fail to probe.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
The has_dma_support needed for future use with dmaengine driver.
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 70 ++-
1 file changed, 57
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi
From: Nicolas Ferre nicolas.fe...@atmel.com
Needed for future use with dmaengine enabled driver.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
From: Nicolas Ferre nicolas.fe...@atmel.com
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b
From: Nicolas Ferre nicolas.fe...@atmel.com
Will allow to drop the lock during DMA operations.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang
if buffer 4096 bytes]
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.ne
Cc: linux-kernel@vger.kernel.org
---
This patch is based on the original patch from Nicolas
[PATCH] spi
: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
drivers/spi/spi-atmel.c | 61 +++
1 file changed, 51 insertions(+), 10 deletions(-)
diff --git
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
From: Richard Genoud richard.gen...@gmail.com
Signed-off-by: Richard Genoud richard.gen...@gmail.com
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
[wenyou.y...@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/spi/spi-atmel.c
1 - 100 of 1274 matches
Mail list logo