Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38...@freescale.com
---
.../devicetree/bindings/regulator/pfuze100.txt | 113 +
drivers/regulator/Kconfig |7 +
drivers/regulator/Makefile |1 +
drivers/regulator/pfuze100
On Thu, Jul 25, 2013 at 04:40:44PM +0800, Shawn Guo wrote:
On Thu, Jul 25, 2013 at 11:33:18AM +0800, Robin Gong wrote:
@@ -0,0 +1,113 @@
+PFUZE100 family of regulators
+
+Required properties:
+- compatible: fsl,pfuze100
+- reg: I2C slave address
+- regulators: This is the list
On Thu, Jul 25, 2013 at 10:16:42AM +0100, Mark Brown wrote:
On Thu, Jul 25, 2013 at 04:58:10PM +0800, Robin Gong wrote:
Shawn, I notice there are the same descriptions in the many docs of
regulator
drivers, can we consider the 'regulators' child node as one of special
property
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38...@freescale.com
Tested-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
.../devicetree/bindings/regulator/pfuze100.txt | 115 +
drivers/regulator/Kconfig |7 +
drivers/regulator/Makefile
fix building warning and correct the binding doc
Signed-off-by: Robin Gong b38...@freescale.com
---
.../devicetree/bindings/regulator/pfuze100.txt |2 ++
drivers/regulator/pfuze100-regulator.c |2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git
Fix building error on x86_64 and i386:
WARNING: modpost: missing MODULE_LICENSE() in
drivers/regulator/pfuze100-regulator.o
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/regulator/pfuze100-regulator.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers
);
MODULE_AUTHOR(Robin Gong b38...@freescale.com);
MODULE_DESCRIPTION(Regulator Driver for Freescale PFUZE100 PMIC);
-MODULE_ALIAS(pfuze100-regulator);
+MODULE_ALIAS(i2c:pfuze100-regulator);
--
1.8.1.2
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
On Mon, Jul 29, 2013 at 04:20:03PM +0800, Axel Lin wrote:
2013/7/29 Axel Lin axel@ingics.com:
Hi Robin,
2 questions about the code in pfuze100 driver:
1)
Both PFUZE100_REVID and PFUZE100_FABID are defined as 0x3.
So I'm wondering if it's a typo in one of the register address?
If
Yes, it's reasonable from performance view.
On Mon, Jul 29, 2013 at 03:38:58PM +0800, Axel Lin wrote:
All table based voltage list have ascendant order.
Use regulator_map_voltage_ascend for them.
Signed-off-by: Axel Lin axel@ingics.com
---
drivers/regulator/pfuze100-regulator.c | 1 +
On Mon, Jul 29, 2013 at 11:44:40PM +0800, Axel Lin wrote:
Current code adjust min_uV and uV_step when SW2~SW4 high bit is set.
I'm wondering if n_voltages is correct or not in this case because
the n_voltages is calculated by original equation (max-min/step + 1).
What is the max_uV when
On Tue, Jul 30, 2013 at 10:26:40AM +0800, Axel Lin wrote:
2013/7/30 Robin Gong b38...@freescale.com:
On Mon, Jul 29, 2013 at 11:44:40PM +0800, Axel Lin wrote:
Current code adjust min_uV and uV_step when SW2~SW4 high bit is set.
I'm wondering if n_voltages is correct or not in this case
Ok for me.
On Tue, Jul 30, 2013 at 10:46:28AM +0800, Axel Lin wrote:
Current code adjust min_uV and uV_step but missed adjusting the n_voltages
setting.
When BIT6 is clear:
n_voltages = (1975000 - 40) / 25000 + 1 = 64
When BIT6 is set:
n_voltages = (330 - 80) /
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38...@freescale.com
---
.../devicetree/bindings/regulator/pfuze100.txt | 113 +
drivers/regulator/Kconfig |7 +
drivers/regulator/Makefile |1 +
drivers/regulator/pfuze100
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38...@freescale.com
---
.../devicetree/bindings/regulator/pfuze100.txt | 113 +
drivers/regulator/Kconfig |7 +
drivers/regulator/Makefile |1 +
drivers/regulator/pfuze100
Mark,
Thanks for your kindly review, please see below comments.
On Fri, Jul 12, 2013 at 03:40:37PM +0100, Mark Brown wrote:
On Fri, Jul 12, 2013 at 12:54:15PM +0800, Robin Gong wrote:
Add pfuze100 regulator driver.
This looks mostly good. A few small issues below but nothing major
Shawn, Thanks for your carefully review and I will correct it and send the
patch again. some comments below:
+
+struct pfuze_regulator {
+ struct regulator_desc desc;
+ unsigned char stby_reg;
+ unsigned char stby_mask;
+};
+
+enum pfuze_id {
+ PFUZE_ID_PFUZE100,
+
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38...@freescale.com
---
.../devicetree/bindings/regulator/pfuze100.txt | 113 +
drivers/regulator/Kconfig |7 +
drivers/regulator/Makefile |1 +
drivers/regulator/pfuze100
Hi Mark,
Thanks for your kindly remind.
On Tue, Jul 30, 2013 at 11:21:10AM +0100, Mark Brown wrote:
On Tue, Jul 30, 2013 at 11:23:11AM +0800, Robin Gong wrote:
Ok for me.
For Linux kernel process you should say
Acked-by: Robin Gong b38...@freescale.com
or
Reviewed
From software view this patch looks better, although original code match better
with the data sheet. Thanks Axel.
Reviewed-by: Robin Gong b38...@freescale.com
Thanks.
On Tue, Jul 30, 2013 at 10:47:44PM +0800, Axel Lin wrote:
Simplify the equation to calculate ramp_delay.
Below equations
this fix is required.
Yes, you are right.
Reviewed-by: Robin Gong b38...@freescale.com
Thanks.
Thanks,
Axel
drivers/regulator/pfuze100-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/pfuze100-regulator.c
b/drivers/regulator/pfuze100
support pfuze200 chip which remove SW1C and SW4 based on pfuze100.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/regulator/pfuze100-regulator.c | 196 +++-
include/linux/regulator/pfuze100.h | 14 +++
2 files changed, 157 insertions(+), 53
support pfuze200 chip which remove SW1C and SW4 based on pfuze100.
Signed-off-by: Robin Gong b38...@freescale.com
---
v3:
1. add device tree binding doc for PFUZE200
2. fix building error for non-devicetree case.
---
.../devicetree/bindings/regulator/pfuze100.txt | 96
Add basical dma support for ecspi. Validate on i.MX6qsabresd board.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/spi/spi-imx.c | 221 ++--
1 files changed, 211 insertions(+), 10 deletions(-)
diff --git a/drivers/spi/spi-imx.c b/drivers
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/regulator/Kconfig |7 +
drivers/regulator/Makefile |2 +
drivers/regulator/pfuze-regulator.h| 110
drivers/regulator/pfuze100-regulator.c | 993
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38...@freescale.com
---
.../devicetree/bindings/regulator/pfuze100.txt | 113 +
drivers/regulator/Kconfig |7 +
drivers/regulator/Makefile |1 +
drivers/regulator/pfuze100
On Mon, Jul 22, 2013 at 05:11:00PM +0800, Shawn Guo wrote:
On Sun, Jul 21, 2013 at 05:17:27PM +0800, Robin Gong wrote:
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38...@freescale.com
---
.../devicetree/bindings/regulator/pfuze100.txt | 113 +
drivers/regulator
On Wed, Jul 24, 2013 at 10:30:41AM +0200, Steffen Trumtrar wrote:
Hi!
I tested your patch and had to change two things to actually make it
work. See below...
On Sun, Jul 21, 2013 at 05:17:27PM +0800, Robin Gong wrote:
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong b38
On Wed, May 21, 2014 at 04:26:52PM +0530, Vinod Koul wrote:
On Tue, May 06, 2014 at 10:12:48AM +0800, Robin Gong wrote:
add device_prep_dma_memcpy and device_prep_dma_sg for memory copy by
sdma.
Signed-off-by: Robin Gong b38...@freescale.com
---
change:
--v3:
1. remove
ping!
On Tue, May 06, 2014 at 10:12:48AM +0800, Robin Gong wrote:
add device_prep_dma_memcpy and device_prep_dma_sg for memory copy by sdma.
Signed-off-by: Robin Gong b38...@freescale.com
---
change:
--v3:
1. remove redundant check for bus width
--v2:
1. correct some printk
Update the binding doc for new property: retain-state-suspended
Signed-off-by: Robin Gong b38...@freescale.com
---
.../devicetree/bindings/leds/leds-gpio.txt | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/leds/leds
Some gpio-leds need retain the state even in suspend, such as charger led.
But this property missed in devicetree, add it.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/leds/leds-gpio.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/leds/leds
add device_prep_dma_memcpy and device_prep_dma_sg for memory copy by sdma.
Signed-off-by: Robin Gong b38...@freescale.com
---
change:
--v3:
1. remove redundant check for bus width
--v2:
1. correct some printk format, such as %pad for dma_addr_t
2. split duplicated code in prep_dma_memcpy
add device_prep_dma_memcpy and device_prep_dma_sg for memory copy by sdma.
Signed-off-by: Robin Gong b38...@freescale.com
---
change:
--v3:
1. remove redundant check for bus width
--v2:
1. correct some printk format, such as %pad for dma_addr_t
2. split duplicated code in prep_dma_memcpy
add device_prep_dma_memcpy and device_prep_dma_sg for memory copy by sdma.
Signed-off-by: Robin Gong b38...@freescale.com
---
change:
--v2:
1. correct some printk format, such as %pad for dma_addr_t
2. split duplicated code in prep_dma_memcpy and prep_dma_sg to make code
clean.
---
drivers
On Thu, Apr 24, 2014 at 11:50:06AM +0300, Andy Shevchenko wrote:
On Thu, 2014-04-24 at 13:09 +0800, Robin Gong wrote:
add device_prep_dma_memcpy and device_prep_dma_sg for memory copy by
sdma.
Signed-off-by: Robin Gong b38...@freescale.com
---
change:
--v2:
1. correct some
On Tue, Apr 22, 2014 at 10:28:05AM +, Shevchenko, Andriy wrote:
On Fri, 2014-04-18 at 17:41 +0800, Robin Gong wrote:
On Thu, Apr 17, 2014 at 10:24:50AM +, Shevchenko, Andriy wrote:
On Thu, 2014-04-17 at 18:01 +0800, Robin Gong wrote:
[]
+ dev_dbg(sdma-dev, memcpy: %x
add device_prep_dma_memcpy and device_prep_dma_sg for memory copy by sdma.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 188 +--
1 files changed, 164 insertions(+), 24 deletions(-)
diff --git a/drivers/dma/imx-sdma.c b
On Thu, Apr 17, 2014 at 10:24:50AM +, Shevchenko, Andriy wrote:
On Thu, 2014-04-17 at 18:01 +0800, Robin Gong wrote:
add device_prep_dma_memcpy and device_prep_dma_sg for memory copy by
sdma.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 188
Acked-by: Robin gong yibin.g...@freescale.com
On Mon, Dec 23, 2013 at 05:35:35PM -0200, Fabio Estevam wrote:
From: Fabio Estevam fabio.este...@freescale.com
Make PFUZE100 entry consistent with other Freescale PMIC entries, so that now
we can have:
* Freescale MC13783 regulator
(1.0 MB) copied, 4.83181 s, 217 kB/s
Signed-off-by: Frank Li frank...@freescale.com
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/spi/spi-imx.c | 303 -
1 file changed, 297 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-imx.c
On Mon, Aug 25, 2014 at 10:07:22AM +0200, Marek Vasut wrote:
On Saturday, August 23, 2014 at 02:13:55 AM, Robin Gong wrote:
After enable DMA
Please also add a commit message which describes the change, not only some
test
results.
[...]
Ok, I will enrich it in next version
On Tue, Aug 26, 2014 at 09:26:40AM +0200, Marek Vasut wrote:
On Tuesday, August 26, 2014 at 09:17:59 AM, Robin Gong wrote:
On Mon, Aug 25, 2014 at 10:07:22AM +0200, Marek Vasut wrote:
On Saturday, August 23, 2014 at 02:13:55 AM, Robin Gong wrote:
After enable DMA
Please also add
(1.0 MB) copied, 4.83181 s, 217 kB/s
Signed-off-by: Frank Li frank...@freescale.com
Signed-off-by: Robin Gong b38...@freescale.com
---
Change from v2:
http://thread.gmane.org/gmane.linux.ports.arm.kernel/291722/focus=294363
1. dma setup only for imx51-ecspi
2. use one small dummy buffer(1 bd size
for bus width.
change from v1:
1. correct some printk format, such as %pad for dma_addr_t
2. split duplicated code in prep_dma_memcpy and prep_dma_sg to make code clean
Robin Gong (3):
dma: imx-sdma: add support for sdma memory copy
dma: imx-sdma: correct print format
dma: imx-sdma: reorg
correct print format for 'size_t', 'dma_address_t',etc.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index fc4a0df..7e8aa2d 100644
for bus width.
change from v1:
1. correct some printk format, such as %pad for dma_addr_t
2. split duplicated code in prep_dma_memcpy and prep_dma_sg to make code clean
Robin Gong (3):
dma: imx-sdma: add support for sdma memory copy
dma: imx-sdma: correct print format
dma: imx-sdma: reorg
Code reorg for transfer prepare and bus width check to make code
cleaner.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 127 +++--
1 file changed, 60 insertions(+), 67 deletions(-)
diff --git a/drivers/dma/imx-sdma.c b
Add device_prep_dma_memcpy and device_prep_dma_sg common interfaces
for imx-sdma driver to support memory copy in two ways: continuous
memory buffers or scatter lists.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 188
Correct the printk format for 'size_t', 'dma_address_t', etc.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 5424d9a..377bb18
Add device_prep_dma_memcpy and device_prep_dma_sg common interfaces
for imx-sdma driver to support memory copy in two ways: continuous
memory buffers or scatter lists.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 188
Ping!
On Fri, Sep 26, 2014 at 11:59:04AM +0800, Robin Gong wrote:
Add simple power off driver for i.mx6, including:
- add basic imx-snvs-poweroff driver in drivers/power/reset
- add device node in all dts files of i.mx6.
- enable in config file
Change from v3:
- disable poweroff driver
All chips of i.mx6 can be powered off by programming SNVS.
For example :
On i.mx6q-sabresd board, PMIC_ON_REQ connect with external
pmic ON/OFF pin, that will cause the whole PMIC powered off
except VSNVS. And system can restart once PMIC_ON_REQ goes
high by push POWRER key.
Signed-off-by: Robin
they share the same IP.
Note:
Sometime, there is a weid data in rxfifo after one full tx/rx
transfer finish by DMA on i.mx6dl, so we disable dma functhion on
i.mx6dl.
Signed-off-by: Frank Li frank...@freescale.com
Signed-off-by: Robin Gong b38...@freescale.com
---
Change from v5:
1. Update binding doc
There is one weird data in rxfifo after one full rx/tx transfer
done sometimes. It looks a design issue and hard to workaround
totally, so disable dma functhion here. And will re-enable it
once the root cause found.
Signed-off-by: Robin Gong b38...@freescale.com
---
arch/arm/boot/dts/imx6q.dtsi
format, such as %pad for dma_addr_t
2. split duplicated code in prep_dma_memcpy and prep_dma_sg to make code clean
Robin Gong (3):
dma: imx-sdma: add support for sdma memory copy
dma: imx-sdma: correct print format
dma: imx-sdma: reorg code to make code clean
drivers/dma/imx-sdma.c | 247
format, such as %pad for dma_addr_t
2. split duplicated code in prep_dma_memcpy and prep_dma_sg to make code clean
Robin Gong (3):
dma: imx-sdma: add support for sdma memory copy
dma: imx-sdma: correct print format
dma: imx-sdma: reorg code to make code clean
drivers/dma/imx-sdma.c | 247
correct print format for 'size_t', 'dma_address_t',etc.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index fc4a0df..7e8aa2d 100644
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 188 ++---
1 file changed, 164 insertions(+), 24 deletions(-)
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index f7626e3..fc4a0df 100644
--- a/drivers/dma/imx
code reorg for transfer prepare and bus width check.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/dma/imx-sdma.c | 127 +++--
1 file changed, 60 insertions(+), 67 deletions(-)
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
Thanks for your comments, I'll send the next verison.
On Tue, Oct 21, 2014 at 12:39:35PM +0300, Andy Shevchenko wrote:
On Tue, 2014-10-21 at 09:09 +0800, Robin Gong wrote:
code reorg for transfer prepare and bus width check.
Fix style of commit message.
Signed-off-by: Robin Gong b38
this - I don't think anyone on the CC list knows anything about
the part. In general if you're asking about a specific driver this is a
good approach. I've CCed Robin Gong who was the original author.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message
On Wed, Aug 27, 2014 at 11:12:08AM +0530, sanjeev sharma wrote:
On Sat, Aug 23, 2014 at 5:43 AM, Robin Gong b38...@freescale.com wrote:
+ /*
+* Configure the DMA register: setup the watermark
+* and enable DMA request.
+*/
+ if (spi_imx
Add power off driver in config file.
Signed-off-by: Robin Gong b38...@freescale.com
---
arch/arm/configs/imx_v6_v7_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 16cfec4..a310e61 100644
All chips of i.mx6 can be powered off by programming SNVS.
For example :
On i.mx6q-sabresd board, PMIC_ON_REQ connect with external
pmic ON/OFF pin, that will cause the whole PMIC powered off
except VSNVS. And system can restart once PMIC_ON_REQ goes
high by push POWRER key.
Signed-off-by: Robin
Add simple power off driver for i.mx6, including:
- add basic imx-snvs-poweroff driver in drivers/power/reset
- add device node in all dts files of i.mx6.
- enable in config file
Robin Gong (3):
ARM: dts: imx6: add pm_power_off support for i.mx6 chips
power: reset: imx-snvs-poweroff: add
Add simple power off driver for i.mx6.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/power/reset/Kconfig | 6 +++
drivers/power/reset/Makefile| 1 +
drivers/power/reset/imx-snvs-poweroff.c | 69 +
3 files changed, 76
On Thu, Sep 18, 2014 at 06:53:16PM +0100, Mark Rutland wrote:
On Thu, Sep 18, 2014 at 03:21:27AM +0100, Robin Gong wrote:
On Wed, Sep 17, 2014 at 06:52:44PM +0100, Mark Rutland wrote:
On Wed, Sep 17, 2014 at 10:57:59AM +0100, Robin Gong wrote:
This driver register pm_power_off with snvs
Sorry, the patch resent wrongly...
Hi Shawn, Can you apply the first v4 patches on Sep 26, or I resend it again?
On Wed, Nov 19, 2014 at 06:26:43AM +0100, Soeren Moch wrote:
On 19.11.2014 04:18, Shawn Guo wrote:
On Wed, Nov 12, 2014 at 04:20:37PM +0800, Robin Gong wrote:
All chips of i.mx6
they share the same IP.
Note:
Sometime, there is a weid data in rxfifo after one full tx/rx
transfer finish by DMA on i.mx6dl, so we disable dma functhion on
i.mx6dl.
Signed-off-by: Frank Li frank...@freescale.com
Signed-off-by: Robin Gong b38...@freescale.com
---
Change from v4:
1. Enrich comments.
2
There is one weird data in rxfifo after one full rx/tx transfer
done sometimes. It looks a design issue and hard to workaround
totally, so disable dma functhion here. And will re-enable it
once the root cause found.
Signed-off-by: Robin Gong b38...@freescale.com
---
arch/arm/boot/dts/imx6dl.dtsi
On Wed, Sep 10, 2014 at 11:21:30AM +0800, Shawn Guo wrote:
On Wed, Sep 10, 2014 at 09:33:36AM +0800, Robin Gong wrote:
There is one weird data in rxfifo after one full rx/tx transfer
done sometimes. It looks a design issue and hard to workaround
totally, so disable dma functhion here
On Wed, Sep 10, 2014 at 09:46:04AM +0530, Varka Bhadram wrote:
On 09/10/2014 07:00 AM, Robin Gong wrote:
Enable DMA support on i.mx6. The read speed can increase from 600KB/s
to 1.2MB/s on i.mx6q. You can disable or enable dma function in dts.
(...)
+
+static int spi_imx_sdma_init(struct
There is one weird data in rxfifo after one full rx/tx transfer
done sometimes. It looks a design issue and hard to workaround
totally, so disable dma functhion here. And will re-enable it
once the root cause found.
Signed-off-by: Robin Gong b38...@freescale.com
---
arch/arm/boot/dts/imx6q.dtsi
On Wed, Sep 10, 2014 at 10:17:14AM +0200, Arnd Bergmann wrote:
On Wednesday 10 September 2014 09:30:04 Robin Gong wrote:
Enable DMA support on i.mx6. The read speed can increase from 600KB/s
to 1.2MB/s on i.mx6q. You can disable or enable dma function in dts.
If not set dma-names in dts
On Wed, Sep 10, 2014 at 11:21:05AM +0100, Mark Brown wrote:
On Wed, Sep 10, 2014 at 09:30:04AM +0800, Robin Gong wrote:
+static bool spi_imx_can_dma(struct spi_master *master, struct spi_device
*spi,
+struct spi_transfer *transfer)
+{
+ struct spi_imx_data
On Wed, Sep 10, 2014 at 12:45:30PM +0100, Mark Brown wrote:
On Wed, Sep 10, 2014 at 07:22:59PM +0800, Robin Gong wrote:
On Wed, Sep 10, 2014 at 11:21:05AM +0100, Mark Brown wrote:
This isn't going to work, anything that looks at the usedma flag will
see the result of the last thing
On Wed, Sep 10, 2014 at 04:52:16PM +0100, Mark Brown wrote:
On Wed, Sep 10, 2014 at 11:18:01PM +0800, Robin Gong wrote:
On Wed, Sep 10, 2014 at 12:45:30PM +0100, Mark Brown wrote:
Yes, you're right. I should use transfer-tx_sg-sgl == NULL or
transfer-rx_sg-sgl == NULL instead
they share the same IP.
Note:
Sometime, there is a weid data in rxfifo after one full tx/rx
transfer finish by DMA on i.mx6dl, so we disable dma functhion on
i.mx6dl.
Signed-off-by: Frank Li frank...@freescale.com
Signed-off-by: Robin Gong b38...@freescale.com
---
Change from v5:
1. Update binding doc
All chips of i.mx6 can be powered off by programming SNVS.
For example :
On i.mx6q-sabresd board, PMIC_ON_REQ connect with external
pmic ON/OFF pin, that will cause the whole PMIC powered off
except VSNVS. And system can restart once PMIC_ON_REQ goes
high by push POWRER key.
Signed-off-by: Robin
Thanks Shawn and Soeren. :)
On Wed, Nov 19, 2014 at 02:04:43PM +0800, Shawn Guo wrote:
On Wed, Nov 19, 2014 at 01:50:07PM +0800, Robin Gong wrote:
Sorry, the patch resent wrongly...
Hi Shawn, Can you apply the first v4 patches on Sep 26, or I resend it
again?
I fixed it up and tested
, Sep 15, 2014 at 11:41:13AM +0200, Lucas Stach wrote:
Am Mittwoch, den 10.09.2014, 13:30 +0800 schrieb Robin Gong:
There is one weird data in rxfifo after one full rx/tx transfer
done sometimes. It looks a design issue and hard to workaround
totally, so disable dma functhion here. And will re
On Mon, Sep 15, 2014 at 01:50:02PM +0200, Alexander Holler wrote:
Am 10.09.2014 07:30, schrieb Robin Gong:
There is one weird data in rxfifo after one full rx/tx transfer
done sometimes. It looks a design issue and hard to workaround
totally, so disable dma functhion here. And will re-enable
On Wed, Sep 17, 2014 at 09:47:24AM +0800, Shawn Guo wrote:
On Fri, Sep 12, 2014 at 04:48:57PM +0800, Robin Gong wrote:
All chips of i.mx6 can be powered off by programming SNVS.
For example :
On i.mx6q-sabresd board, PMIC_ON_REQ connect with external
pmic ON/OFF pin, that will cause
On Wed, Sep 17, 2014 at 10:06:57AM +0800, Shawn Guo wrote:
On Fri, Sep 12, 2014 at 04:48:58PM +0800, Robin Gong wrote:
Add simple power off driver for i.mx6.
Signed-off-by: Robin Gong b38...@freescale.com
---
drivers/power/reset/Kconfig | 6 +++
drivers/power/reset
On Wed, Sep 17, 2014 at 10:10:45AM +0800, Shawn Guo wrote:
On Fri, Sep 12, 2014 at 04:48:57PM +0800, Robin Gong wrote:
All chips of i.mx6 can be powered off by programming SNVS.
For example :
On i.mx6q-sabresd board, PMIC_ON_REQ connect with external
pmic ON/OFF pin, that will cause
On Wed, Sep 17, 2014 at 08:06:49AM +0200, Sascha Hauer wrote:
On Wed, Sep 17, 2014 at 11:45:15AM +0800, Robin Gong wrote:
On Wed, Sep 17, 2014 at 10:10:45AM +0800, Shawn Guo wrote:
On Fri, Sep 12, 2014 at 04:48:57PM +0800, Robin Gong wrote:
All chips of i.mx6 can be powered off
On Wed, Sep 17, 2014 at 09:24:37AM +0200, Sascha Hauer wrote:
On Wed, Sep 17, 2014 at 03:17:38PM +0800, Robin Gong wrote:
On Wed, Sep 17, 2014 at 08:06:49AM +0200, Sascha Hauer wrote:
On Wed, Sep 17, 2014 at 11:45:15AM +0800, Robin Gong wrote:
On Wed, Sep 17, 2014 at 10:10:45AM +0800
On Tue, Sep 16, 2014 at 11:50:06AM +0200, Lucas Stach wrote:
Hi Robin,
Am Dienstag, den 16.09.2014, 11:41 +0800 schrieb Robin Gong:
Hi Lucas,
I understood your concern,but looks we have to break old DT.
Sorry, but this isn't going to happen. And honestly I don't even see the
need
On Tue, Sep 16, 2014 at 11:41:55AM +0200, Alexander Holler wrote:
Am 16.09.2014 05:52, schrieb Robin Gong:
On Mon, Sep 15, 2014 at 01:50:02PM +0200, Alexander Holler wrote:
Am 10.09.2014 07:30, schrieb Robin Gong:
There is one weird data in rxfifo after one full rx/tx transfer
done sometimes
On Wed, Sep 17, 2014 at 10:55:56AM +0200, Lucas Stach wrote:
Am Mittwoch, den 17.09.2014, 16:41 +0800 schrieb Robin Gong:
On Tue, Sep 16, 2014 at 11:50:06AM +0200, Lucas Stach wrote:
Hi Robin,
Am Dienstag, den 16.09.2014, 11:41 +0800 schrieb Robin Gong:
Hi Lucas,
I
On Wed, Sep 17, 2014 at 11:19:34AM +0200, Lucas Stach wrote:
Am Mittwoch, den 17.09.2014, 17:19 +0800 schrieb Robin Gong:
On Wed, Sep 17, 2014 at 10:55:56AM +0200, Lucas Stach wrote:
Am Mittwoch, den 17.09.2014, 16:41 +0800 schrieb Robin Gong:
On Tue, Sep 16, 2014 at 11:50:06AM +0200
All chips of i.mx6 can be powered off by programming SNVS.
For example :
On i.mx6q-sabresd board, PMIC_ON_REQ connect with external
pmic ON/OFF pin, that will cause the whole PMIC powered off
except VSNVS. And system can restart once PMIC_ON_REQ goes
high by push POWRER key.
Signed-off-by: Robin
Add power off driver in config file.
Signed-off-by: Robin Gong b38...@freescale.com
---
arch/arm/configs/imx_v6_v7_defconfig |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 16cfec4..a310e61 100644
This driver register pm_power_off with snvs power off function. If
your boards NOT use PMIC_ON_REQ to turn on/off external pmic, or use
other pin to do, please disable the driver in dts, otherwise, your
pm_power_off maybe overwrote by this driver.
Signed-off-by: Robin Gong b38...@freescale.com
for the case that PMIC_ON_REQ not used as external power
control
Robin Gong (3):
ARM: dts: imx6: add pm_power_off support for i.mx6 chips
power: reset: imx-snvs-poweroff: add power off driver for i.mx6
ARM: configs: imx_v6_v7_defconfig: add power off driver
arch/arm/boot/dts/imx6qdl.dtsi
On Wed, Sep 17, 2014 at 06:52:44PM +0100, Mark Rutland wrote:
On Wed, Sep 17, 2014 at 10:57:59AM +0100, Robin Gong wrote:
This driver register pm_power_off with snvs power off function. If
your boards NOT use PMIC_ON_REQ to turn on/off external pmic, or use
other pin to do, please disable
On Fri, Sep 26, 2014 at 09:24:11AM +0800, Shawn Guo wrote:
On Thu, Sep 25, 2014 at 10:13:53AM +0800, Robin Gong wrote:
On i.mx6 chips, PMIC_ON_REQ can be pulled by snvs LPCR. That can be
used poweroff system if PMIC_ON_REQ connected with external PMIC or
power control circuit.Power up again
' with 'ENODEV' while of_iomap fail.
Change from v2:
- remove useless included head files
- split device binding doc from dts patch
- add description for the case that PMIC_ON_REQ not used as external power
control
Robin Gong (3):
ARM: dts: imx6: add pm_power_off support for i.mx6 chips
power: reset: imx
All chips of i.mx6 can be powered off by programming SNVS.
For example :
On i.mx6q-sabresd board, PMIC_ON_REQ connect with external
pmic ON/OFF pin, that will cause the whole PMIC powered off
except VSNVS. And system can restart once PMIC_ON_REQ goes
high by push POWRER key.
---
This driver register pm_power_off with snvs power off function. If
your boards NOT use PMIC_ON_REQ to turn on/off external pmic, or use
other pin to do, please disable the driver in dts, otherwise, your
pm_power_off maybe overwrote by this driver.
Signed-off-by: Robin Gong b38...@freescale.com
1 - 100 of 857 matches
Mail list logo