There are several registers for SPI, and the registers of 'SSCR0' and 'SSCR1'
are accessed frequently. This path is to introduce helper functions to
simplify the accessing of 'SSCR0' and 'SSCR1'.
Reviewed-by: Andy Shevchenko
Acked-by: Mika Westerberg
Sig
[PATCH 1/2]
* Add helper functions to access registers.
* Use 'switch' instead of 'if-else'.
[PATCH 2/2]
* Use 'switch' instead of 'if-else'.
* Add comments for the 'dds'&'clk_div' caculation.
* A couple of minor fixes.
Weike Chen
and 'DDS_RATE'. This patch is to enable the SPI for
Intel Quark X1000.
This piece of work is derived from Dan O'Donovan's initial work for Intel Quark
X1000 SPI enabling.
Reviewed-by: Andy Shevchenko
Acked-by: Mika Westerberg
Signed-off-by: Weike Chen
---
drivers/spi/spi
and 'DDS_RATE'. This patch is to enable the SPI for
Intel Quark X1000.
This piece of work is derived from Dan O'Donovan's initial work for Intel Quark
X1000 SPI enabling.
Reviewed-by: Andy Shevchenko
Acked-by: Mika Westerberg
Signed-off-by: Weike Chen
---
drivers/spi/spi
There are several registers for SPI, and the registers of 'SSCR0' and 'SSCR1'
are accessed frequently. This path is to introduce helper functions to
simplify the accessing of 'SSCR0' and 'SSCR1'.
Reviewed-by: Andy Shevchenko
Acked-by: Mika Westerberg
Sig
[PATCH 2/2]
* Use 'switch' instead of 'if-else'.
* Add comments for the 'dds'&'clk_div' caculation.
* A couple of minor fixes.
Weike Chen (2):
SPI: spi-pxa2xx: Add helpers for regiseters' accessing
SPI: spi-pxa2xx: SPI sup
and 'DDS_RATE'. This patch is to enable the SPI for
Intel Quark X1000.
This piece of work is derived from Dan O'Donovan's initial work for Intel Quark
X1000 SPI enabling.
Signed-off-by: Weike Chen
---
drivers/spi/spi-pxa2xx-pci.c |8 ++
drivers/spi/spi-pxa2xx.c | 204
Introduce helper functions to access the 'SSCR0' and 'SSCR1'.
Signed-off-by: Weike Chen
---
drivers/spi/spi-pxa2xx.c | 108 --
1 file changed, 85 insertions(+), 23 deletions(-)
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/sp
H 1/2]
* Add helper functions to access registers.
* Use 'switch' instead of 'if-else'.
[PATCH 2/2]
* Use 'switch' instead of 'if-else'.
* Add comments for the 'dds'&'clk_div' caculation.
* A couple of minor fixes.
Weike Chen (2):
SPI
and 'DDS_RATE'. This patch is to enable the SPI for
Intel Quark X1000.
This piece of work is derived from Dan O'Donovan's initial work for Intel Quark
X1000 SPI enabling.
Signed-off-by: Weike Chen
---
drivers/spi/spi-pxa2xx-pci.c |8 ++
drivers/spi/spi-pxa2xx.c | 251
Hi,
Intel Quark X1000 consists of two SPI controllers which can be PCI enumerated.
SPI-PXA2XX PCI layer doesn't support it. Thus, we add support for Intel Quark
X1000 SPI as well.
Weike Chen (1):
SPI: spi-pxa2xx: SPI support for Intel Quark X1000
drivers/spi/spi-pxa2xx-pci.c |
se to save memory.
* Improve the interrupt handler.
* Move 'irq_set_handler_data' together with 'irq_set_chained_hanlder'.
* Remove unncessary comments.
[PATCH 2/3]
* Change all 'readl'&'writel' to 'dwapb_read'&'dwapb_write'.
This patch enables suspend and resume mode for the power management, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 115 +
1 file changed, 115 inser
This patch enables 'debounce' for the designware GPIO, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Andy Shevchenko
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 36 ++--
1 file changed
This patch replaces 'readl&writel' with 'dwapb_read&dwapb_write'.
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 37 +++--
1 file changed, 27 insertions(+), 10 deletions(-)
diff --git a
Multifunction device which exports the designware GPIO controller.
Reviewed-by: Hock Leong Kweh
Signed-off-by: Weike Chen
---
drivers/gpio/Kconfig |1 -
drivers/gpio/gpio-dwapb.c| 224 ++
include/linux/platform_data/gpio
This patch replaces 'readl&writel' with 'dwapb_read&dwapb_write'.
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 37 +++--
1 file changed, 27 insertions(+), 10 deletions(-)
diff --git a
This patch enables suspend and resume mode for the power management, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 109 +
1 file changed, 109 inser
This patch enables 'debounce' for the designware GPIO, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 28
1 file changed
Multifunction device which exports the designware GPIO controller.
Reviewed-by: Hock Leong Kweh
Signed-off-by: Weike Chen
---
drivers/gpio/Kconfig |1 -
drivers/gpio/gpio-dwapb.c| 226 ++
include/linux/platform_data/gpio
er_data' together with 'irq_set_chained_hanlder'.
* Remove unncessary comments.
[PATCH 2/3]
* Change all 'readl'&'writel' to 'dwapb_read'&'dwapb_write'.
[PATCH 3/3]
* Change the name for 'struct gpio_saved_regs' to '
This patch enables 'debounce' for the designware GPIO, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 28
1 file changed
This patch enables suspend and resume mode for the power management, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 109 +
1 file changed, 109 inser
'probe' if it is OF case to save memory.
* Improve the interrupt handler.
* Move 'irq_set_handler_data' together with 'irq_set_chained_hanlder'.
* Remove unncessary comments.
[PATCH 2/3]
* Change all 'readl'&'writel' to 'dwapb_read'
This patch replaces 'readl&writel' with 'dwapb_read&dwapb_write'.
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 37 +++--
1 file changed, 27 insertions(+), 10 deletions(-)
diff --git a
Multifunction device which exports the designware GPIO controller.
Reviewed-by: Hock Leong Kweh
Signed-off-by: Weike Chen
---
drivers/gpio/Kconfig |1 -
drivers/gpio/gpio-dwapb.c| 226 ++
include/linux/platform_data/gpio
Multifunction device which exports the designware GPIO controller.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/Kconfig |1 -
drivers/gpio/gpio-dwapb.c| 233
This patch enables 'debounce' for the designware GPIO, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 62 +
1 f
This patch enables suspend and resume mode for the power management, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 102 +++
the interrupt handler.
* Move 'irq_set_handler_data' together with 'irq_set_chained_hanlder'.
* Remove unncessary comments.
[PATCH 2/3]
* Change all 'readl'&'writel' to 'dwapb_read'&'dwapb_write'.
[PATCH 3/3]
* Change the name
This patch enables suspend and resume mode for the power management, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 67 +++
This patch enables 'debounce' for the designware GPIO, and
it is based on Josef Ahmad's previous work.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/gpio-dwapb.c | 42 ++
1 f
Multifunction device which exports the designware GPIO controller.
Reviewed-by: Hock Leong Kweh
Reviewed-by: Shevchenko, Andriy
Signed-off-by: Weike Chen
---
drivers/gpio/Kconfig |1 -
drivers/gpio/gpio-dwapb.c| 187
functions.
It is about reviewing the GPIO changes in gpio-dwapb, and in near future,
the Quark I2C driver and the MFD driver that binds these GPIO & I2C
functions will be sent subsequently. The second patch enables the gpio
'debounce' feature. And the third patch enables the power mana
34 matches
Mail list logo