Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/mxs-dma.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
index 22cc7f6..8ce5e79 100644
--- a/drivers
Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/dma-jz4780.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c
index 9ce0a38..7e1d381 100644
The __dma_request_channel() prototype has been changed to help to do
device node validation, thus we can use dma_request_channel() instead
of __dma_request_channel() to keep kernel bisectable.
Signed-off-by: Baolin Wang
---
drivers/soc/tegra/fuse/fuse-tegra20.c |2 +-
1 file changed, 1
Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/imx-sdma.c|9 ++---
include/linux/platform_data/dma-imx.h |1 -
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/dma/imx-sdma.c
of __dma_request_channel() for
the fuse-tegra20.c driver to keep bisectable.
Baolin Wang (8):
dmaengine: Add matching device node validation in
__dma_request_channel()
soc: tegra: fuse: Use dma_request_channel instead of
__dma_request_channel()
dmaengine: imx-sdma: Let the core do the device node
On Tue, 7 May 2019 at 16:37, Peter Ujfalusi wrote:
>
> Hi,
>
> On 07/05/2019 9.09, Baolin Wang wrote:
> > When user try to request one DMA channel by __dma_request_channel(), it
> > won't
> > validate if it is the correct DMA device to request, that will l
Introduce some PHY DLL delays properties to help to sample the PHY clock.
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/mmc/sdhci-sprd.txt | 18 ++
1 file changed, 18 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-sprd.txt
b
For some Spreadtrum platforms like SC9860 platform, we should enable another
gate clock '2x_enable' to make the SD host controller work well. Thus add
documentation for this optional clock.
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/mmc/sdhci-sprd.txt |1 +
1 file
Missed to check the enable clock's return value, fix it.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci-sprd.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci-sprd.c
index 9a822e2..e741491 100644
--- a/drivers
This patch set adds optional clock support, HS400 enhanced strobe mode support,
PHY DLL configuration and other optimization to make the SD host controller
can work well on the Spreadtrum SC9860 platform.
Baolin Wang (9):
mmc: sdhci-sprd: Check the enable clock's return value correctly
dt
Set the PHY DLL delay for each timing mode, which is used to sample the clock
accurately and make the clock more stable.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci-sprd.c | 51 +
1 file changed, 51 insertions(+)
diff --git a/drivers/mmc/host
Add one Spreadtrum SD host controller to support eMMC card for Spreadtrum
SC9860 platform.
Signed-off-by: Baolin Wang
---
arch/arm64/boot/dts/sprd/whale2.dtsi | 35 ++
1 file changed, 35 insertions(+)
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi
b/arch
For the Spreadtrum SC9860 platform, we should enable another gate clock
'2x_enable' to make the SD host controller work well.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci-sprd.c | 35 +--
1 file changed, 29 insertions(+), 6 deletions(-)
diff --git
For the Spreadtrum SD host controller, when we changed the clock to be
more than 52M, we should enable the PHY DLL which is used to track the
clock frequency to make the clock work more stable. Otherwise deviation
may occur of the higher clock.
Signed-off-by: Baolin Wang
---
drivers/mmc/host
Implement the get_max_timeout_count() interface to set the Spredtrum SD
host controller actual maximum timeout count.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci-sprd.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci
Add HS400 enhanced strobe mode support for Spreadtrum SD host controller.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci-sprd.c | 32
1 file changed, 32 insertions(+)
diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci-sprd.c
index
On Wed, 8 May 2019 at 23:15, Dmitry Osipenko wrote:
>
> 07.05.2019 9:09, Baolin Wang пишет:
> > Since we've introduced one device node parameter for
> > __dma_request_channel(),
> > thus change to the correct function prototype.
> >
> > Signed-off-by: Baolin
validation in the DMA engine core,
to remove all of device node validation in the drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/dmaengine.c | 10 --
drivers/dma/of-dma.c |4 ++--
include/linux/dmaengine.h | 12
3 files changed, 18 insertions(+), 8 deletions
Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/sh/usb-dmac.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/dma/sh/usb-dmac.c b/drivers/dma/sh/usb-dmac.c
index 59403f6..0afabf3 100644
Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/mxs-dma.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
index 22cc7f6..8ce5e79 100644
--- a/drivers
Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/sh/rcar-dmac.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c
index 2b4f256..9474d5b 100644
Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/mmp_tdma.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c
index 0c56faa0..e76858b 100644
Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/dma-jz4780.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c
index 9ce0a38..7e1d381 100644
Since we've introduced one device node parameter for __dma_request_channel(),
thus change to the correct function prototype.
Signed-off-by: Baolin Wang
---
drivers/soc/tegra/fuse/fuse-tegra20.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/tegra/fuse/fuse
Let the DMA engine core do the device node validation instead of drivers.
Signed-off-by: Baolin Wang
---
drivers/dma/imx-sdma.c|9 ++---
include/linux/platform_data/dma-imx.h |1 -
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/dma/imx-sdma.c
Hi,
This patch set adds a device node validation in DMA engine core, that will
help some drivers to remove the duplicate device node validation in each
driver.
Any comments are welcome. Thanks.
Baolin Wang (8):
dmaengine: Add matching device node validation in
__dma_request_channel
On Mon, 6 May 2019 at 21:49, Mark Brown wrote:
>
> On Mon, May 06, 2019 at 03:37:39PM +0800, Baolin Wang wrote:
>
> > I did not find this patch in your sound git tree and the linux-next
> > tree, so could you check if you missed this patch? Or did I miss
> > anything?
you missed this patch? Or did I miss
anything? Thanks a lot.
>
> Thanks,
> Mark
>
> From 25a073bb9ceda91b8bf731b20ac01b68cc8877a9 Mon Sep 17 00:00:00 2001
> From: Baolin Wang
> Date: Fri, 12 Apr 2019 14:40:17 +0800
> Subject: [PATCH] ASoC: sprd: Add reserved DMA memory supp
length will not be a big value which is more than 0x.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 0f92e60..a01c232 100644
From: Eric Long
The 2-stage destination channel will be triggered by source channel
automatically, which means we should not trigger it by software request.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion
For 2-stage transfer, some users like Audio still need transaction interrupt
to notify when the 2-stage transfer is completed. Thus we should enable
2-stage transfer interrupt to support this feature.
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c | 22 +-
1 file
From: Eric Long
Move the 2-stage configuration before configuring the link-list mode,
since we will use some 2-stage configuration to fill the link-list
configuration.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c | 12 ++--
1 file changed, 6
Hi,
This patch set fixes some DMA engine bugs and adds interrupt support
for 2-stage transfer.
Changes from v1:
- Improve the commit message for patch 1.
- Drop patch 4 from the v1 patch set, and I will create another patch
set to move the fix to the core.
Baolin Wang (3):
dmaengine: sprd
When user terminates one DMA channel to free all its descriptors, but
at the same time one transaction interrupt was triggered possibly, now
we should not handle this interrupt by validating if the 'schan->cur_desc'
was set as NULL to avoid crashing the kernel.
Signed-off-by: Baolin W
.
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 48431e2..e29342a 100644
--- a/drivers/dma/sprd-dma.c
+++ b/drivers/dma/sprd-dma.c
@@ -625,7 +625,7 @@ static enum d
Hi Olof,
On Wed, 10 Apr 2019 at 15:23, Baolin Wang wrote:
>
> We've introduced power management logics for the Spreadtrum serial
> controller by commit 062ec2774c8a ("serial: sprd: Add power management
> for the Spreadtrum serial controller"), thus add related clock p
Hi Vinod,
On Thu, 2 May 2019 at 14:01, Vinod Koul wrote:
>
> On 30-04-19, 16:53, Baolin Wang wrote:
> > Hi Vinod,
> >
> > On Tue, 30 Apr 2019 at 16:34, Baolin Wang wrote:
> > >
> > > On Tue, 30 Apr 2019 at 16:30, Vinod Koul wrote:
> > &
Hi Vinod,
On Tue, 30 Apr 2019 at 16:34, Baolin Wang wrote:
>
> On Tue, 30 Apr 2019 at 16:30, Vinod Koul wrote:
> >
> > On 30-04-19, 13:30, Baolin Wang wrote:
> > > On Mon, 29 Apr 2019 at 22:05, Vinod Koul wrote:
> > > >
> > > > On 29-04-19,
On Tue, 30 Apr 2019 at 16:30, Vinod Koul wrote:
>
> On 30-04-19, 13:30, Baolin Wang wrote:
> > On Mon, 29 Apr 2019 at 22:05, Vinod Koul wrote:
> > >
> > > On 29-04-19, 20:20, Baolin Wang wrote:
> > > > On Mon, 29 Apr 2019 at 19:57, Vinod Koul wro
On Mon, 29 Apr 2019 at 22:10, Vinod Koul wrote:
>
> On 29-04-19, 20:11, Baolin Wang wrote:
> > On Mon, 29 Apr 2019 at 20:01, Vinod Koul wrote:
> > > On 15-04-19, 20:15, Baolin Wang wrote:
>
> > > > @@ -429,6 +433,9 @@ static int sprd_dma_set_2stage_config
On Mon, 29 Apr 2019 at 22:05, Vinod Koul wrote:
>
> On 29-04-19, 20:20, Baolin Wang wrote:
> > On Mon, 29 Apr 2019 at 19:57, Vinod Koul wrote:
> > >
> > > On 15-04-19, 20:14, Baolin Wang wrote:
> > > > From: Eric Long
> > > >
> >
trum multi-channel data transfer
> support")
> Signed-off-by: Wei Yongjun
Yes, thanks for your fixes.
Reviewed-by: Baolin Wang
> ---
> sound/soc/sprd/sprd-mcdt.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/sound/soc/sprd/sprd-mcdt.c
preadtrum multi-channel data transfer
> support")
> Signed-off-by: Wei Yongjun
Thanks for fixing my mistake.
Reviewed-by: Baolin Wang
> ---
> sound/soc/sprd/sprd-mcdt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/sprd
On Mon, 29 Apr 2019 at 19:57, Vinod Koul wrote:
>
> On 15-04-19, 20:14, Baolin Wang wrote:
> > From: Eric Long
> >
> > Since we can support multiple DMA engine controllers, we should add
> > device validation in filter function to check if the correct
On Mon, 29 Apr 2019 at 20:01, Vinod Koul wrote:
>
> On 15-04-19, 20:15, Baolin Wang wrote:
> > For 2-stage transfer, some users like Audio still need transaction interrupt
> > to notify when the 2-stage transfer is completed. Thus we should enable
> > 2-stage trans
Hi Vinod,
On Mon, 29 Apr 2019 at 19:36, Vinod Koul wrote:
>
> On 15-04-19, 20:14, Baolin Wang wrote:
> > We will get a NULL virtual descriptor by vchan_find_desc() when the
> > descriptor
> > has been submitted, that will crash the kernel when gettin
be used DMA mode
or interrupt mode to transfer data.
Signed-off-by: Baolin Wang
---
Changes from v1:
- Move the driver from drivers/soc/sprd to sound/soc/sprd/, since it
is only used by audio driver.
- Rename the driver file and head file.
---
sound/soc/sprd/Kconfig |8 +
sound/soc/sprd
be used DMA mode
or interrupt mode to transfer data.
Signed-off-by: Baolin Wang
---
Changes from v1:
- Move the documentation into sound/.
---
.../devicetree/bindings/sound/sprd-mcdt.txt| 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation
Hi Mark,
On Fri, 19 Apr 2019 at 22:50, Mark Brown wrote:
>
> On Fri, Apr 19, 2019 at 06:54:32PM +0800, Baolin Wang wrote:
> > On Spreadtrum platform, the audio subsystem will use the multi-channel
> > data transfer controller to transfer sound stream between audio subsystem
&
Add documentation for Spreadtrum multi-channel data transfer controller,
which is used for sound stream transmission between audio subsystem and
other AP/CP subsystems.
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/soc/sprd/sprd-mcdt.txt | 19 +++
1 file changed
be used DMA mode
or interrupt mode to transfer data.
Signed-off-by: Baolin Wang
---
drivers/soc/Kconfig |1 +
drivers/soc/Makefile |1 +
drivers/soc/sprd/Kconfig | 12 +
drivers/soc/sprd/Makefile |5 +
drivers/soc/sprd/mcdt.c | 1010
tor, then we can use
'schan->cur_desc' to get the engine status to avoid this issue.
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 48431e2..e29342a 100644
--- a/drive
Hi,
This patch set fixes some DMA engine bugs and adds interrupt support
for 2-stage transfer.
Baolin Wang (3):
dmaengine: sprd: Fix the possible crash when getting engine status
dmaengine: sprd: Add validation of current descriptor in irq handler
dmaengine: sprd: Add interrupt support
For 2-stage transfer, some users like Audio still need transaction interrupt
to notify when the 2-stage transfer is completed. Thus we should enable
2-stage transfer interrupt to support this feature.
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c | 22 +-
1 file
length will not be a big value which is more than 0x.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index 9f99d4b..a64271e 100644
From: Eric Long
Move the 2-stage configuration before configuring the link-list mode,
since we will use some 2-stage configuration to fill the link-list
configuration.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c | 12 ++--
1 file changed, 6
When user terminates one DMA channel to free all its descriptors, but
at the same time one transaction interrupt was triggered possibly, now
we should not handle this interrupt by validating if the 'schan->cur_desc'
was set as NULL to avoid crashing the kernel.
Signed-off-by: Baolin W
From: Eric Long
The 2-stage destination channel will be triggered by source channel
automatically, which means we should not trigger it by software request.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion
From: Eric Long
Since we can support multiple DMA engine controllers, we should add
device validation in filter function to check if the correct controller
to be requested.
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |5 +
1 file changed, 5
in this scenario, we usually reserve one
region of memory to be used as a shared pool of DMA buffers for the
platform component. So add of_reserved_mem_device_init_by_idx() function
to initialize the shared pool of DMA buffers to be used by the platform
component.
Signed-off-by: Baolin Wang
---
sound/soc
When setting sync EIC as IRQ_TYPE_EDGE_BOTH type, we missed to set the
SPRD_EIC_SYNC_INTMODE register to 0, which means detecting edge signals.
Thus this patch fixes the issue.
Fixes: 25518e024e3a ("gpio: Add Spreadtrum EIC driver support")
Cc:
Signed-off-by: Baolin Wang
---
drivers
We've introduced power management logics for the Spreadtrum serial
controller by commit 062ec2774c8a ("serial: sprd: Add power management
for the Spreadtrum serial controller"), thus add related clock properties
to support this feature.
Signed-off-by: Baolin Wang
---
arch/arm64/boo
On Thu, 4 Apr 2019 at 15:56, Colin King wrote:
>
> From: Colin Ian King
>
> There are two identical spelling mistakes in dev_err messages. Fix them.
>
> Signed-off-by: Colin Ian King
Thanks for fixing my mistakes.
Reviewed-by: Baolin Wang
--
Baolin Wang
Best Regards
Remove the unnecessary validation of the 'cstream' variable to fix
below smatch warning:
sprd_platform_compr_drain_notify() warn: variable dereferenced
before check 'cstream' (see line 105)
Reported-by: Dan Carpenter
Signed-off-by: Baolin Wang
---
sound/soc/sprd/sprd-pcm-compress.c | 3 +--
1
On Wed, 3 Apr 2019 at 11:35, Mark Brown wrote:
>
> On Wed, Apr 03, 2019 at 10:12:47AM +0800, Baolin Wang wrote:
>
> > snd-soc-sprd-platform-objs := sprd-pcm-dma.o sprd-pcm-compress.o
>
> > obj-$(CONFIG_SND_SOC_SPRD) += snd-soc-sprd-platform.o
>
> > I will send
sprd-pcm-dma.o sprd-pcm-compress.o
obj-$(CONFIG_SND_SOC_SPRD) += snd-soc-sprd-platform.o
I will send out one incremental patch to fix this issue after my
business trip. Thanks.
--
Baolin Wang
Best Regards
On Tue, 2 Apr 2019 at 17:19, Linus Walleij wrote:
>
> On Tue, Apr 2, 2019 at 4:10 PM Baolin Wang wrote:
> > On Tue, 2 Apr 2019 at 17:04, Linus Walleij wrote:
> > >
> > > On Tue, Mar 12, 2019 at 1:57 AM Enrico Weigelt, metux IT consult
> > > wrote:
>
; > Signed-off-by: Enrico Weigelt, metux IT consult
>
> Patch applied with Baolin's ACK.
This patch had some problems which I've pointed out and I did not ack
this patch. Please do not apply it now until fixing the problem.
--
Baolin Wang
Best Regards
On Tue, 2 Apr 2019 at 12:58, Lee Jones wrote:
>
> On Mon, 18 Mar 2019, Baolin Wang wrote:
>
> > We should use SoC compatible string in stead of wildcard string for
> > PMIC child devices.
> >
> > Signed-off-by: Baolin Wang
> > ---
> > Hi Lee,
&g
to start to transfer data from DDR buffer to
the IRAM buffer. This can reduce the AP subsystem wakeup times to save
power.
Co-developed-by: Yintang Ren
Signed-off-by: Baolin Wang
---
sound/soc/sprd/Kconfig |1 +
sound/soc/sprd/Makefile|2 +-
sound/soc/sprd/sprd
On Wed, 27 Mar 2019 at 08:59, Greg KH wrote:
>
> On Tue, Mar 26, 2019 at 06:41:31PM +0800, Baolin Wang wrote:
> > Hi Greg,
> >
> > On Mon, 4 Mar 2019 at 16:59, Baolin Wang wrote:
> > >
> > > This patch set fixes the baud rate calculation formula issue
Hi Greg,
On Mon, 4 Mar 2019 at 16:59, Baolin Wang wrote:
>
> This patch set fixes the baud rate calculation formula issue, as well as
> adding power management support and DMA mode support for the Spreadtrum
> serial controller.
>
> Changes from v1:
> - The patch 1 of V1 w
We should use SoC compatible string in stead of wildcard string for
PMIC child devices.
Signed-off-by: Baolin Wang
---
Hi Lee,
Could you merge this patch into v5.1-rc if no objection from you?
Since our DTS patches had been merged into v5.1, our PMIC can not
work without this patch. Thanks
return PTR_ERR(sprd_eic->base[i]);
> + continue;
> }
I still do not think the new API is suitable for this case. Since we
can have optional multiple IO resources, so the original code will not
return errors if we did not get the IO resource
esource(pdev, 0);
> if (IS_ERR(sprd_gpio->base))
> return PTR_ERR(sprd_gpio->base);
>
Thanks for your patch.
Reviewed-by: Baolin Wang
--
Baolin Wang
Best Regards
you
only get index 0.
> if (IS_ERR(sprd_eic->base[i]))
> - return PTR_ERR(sprd_eic->base[i]);
> + continue;
> }
>
> sprd_eic->chip.label = sprd_eic_label_name[sprd_eic->type];
> --
> 1.9.1
>
--
Baolin Wang
Best Regards
ent is from Qualcomm. Since they have multiple OCV tables
in different temperatures.
>
> Ping? That code is just bad. Does someone care?
Sorry, I missed your previous email.
--
Baolin Wang
Best Regards
From: Lanqing Liu
Add DMA mode support for the Spreadtrum serial controller.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
drivers/tty/serial/sprd_serial.c | 440 --
1 file changed, 426 insertions(+), 14 deletions(-)
diff --git a/drivers/tty
From: Lanqing Liu
This patch adds dmas and dma-names properties for the UART DMA mode.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/serial/sprd-uart.txt |6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings
From: Lanqing Liu
This patch adds power management for the Spreadtrum serial controller.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
drivers/tty/serial/sprd_serial.c | 61 +++---
1 file changed, 57 insertions(+), 4 deletions(-)
diff --git
From: Lanqing Liu
This patch adds clocks and clocks-names properties, which are used to do
power management for our UART driver.
Reviewed-by: Rob Herring
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/serial/sprd-uart.txt | 11 +--
1 file
This patch set fixes the baud rate calculation formula issue, as well as
adding power management support and DMA mode support for the Spreadtrum
serial controller.
Changes from v1:
- The patch 1 of V1 was applied, so remove the baud rate fix from this patch
set.
- Add reviewed tag from Rob for
On Fri, 1 Mar 2019 at 03:53, Rob Herring wrote:
>
> On Tue, Feb 19, 2019 at 03:31:14PM +0800, Baolin Wang wrote:
> > From: Lanqing Liu
> >
> > This patch adds dmas and dma-names properties for the UART DMA mode.
> >
> > Signed-off-by: Lanqing
Hi Lee,
On Wed, 13 Feb 2019 at 20:57, Baolin Wang wrote:
>
> We should use SoC compatible string in stead of wildcard string for
> PMIC child devices.
>
> Signed-off-by: Baolin Wang
> ---
Could you apply this patch if you have no other issues? Thanks.
> drivers/mfd/spr
-by: Baolin Wang
---
Changes from v1:
- Remove channel id from DT.
---
drivers/dma/sprd-dma.c | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index e2f0167..48431e2 100644
--- a/drivers/dma/sprd-dma.c
+++ b
-off-by: Baolin Wang
---
Changes from v1:
- Remove channel id from DT.
---
Documentation/devicetree/bindings/dma/sprd-dma.txt |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/dma/sprd-dma.txt
b/Documentation/devicetree/bindings/dma/sprd
On Wed, 20 Feb 2019 at 17:08, Arnd Bergmann wrote:
>
> On Wed, Feb 20, 2019 at 4:13 AM Baolin Wang wrote:
> > On Tue, 19 Feb 2019 at 20:20, Vinod Koul wrote:
> > > On 19-02-19, 17:49, Baolin Wang wrote:
> > > > On Tue, 19 Feb 2019 at 17:30, Geert Uytterhoeven
On Tue, 19 Feb 2019 at 20:20, Vinod Koul wrote:
>
> On 19-02-19, 17:49, Baolin Wang wrote:
> > Hi Geert,
> >
> > On Tue, 19 Feb 2019 at 17:30, Geert Uytterhoeven
> > wrote:
> > >
> > > Hi Baolin,
> > >
> > > On Tue, Feb 19, 2019
Hi Geert,
On Tue, 19 Feb 2019 at 17:30, Geert Uytterhoeven wrote:
>
> Hi Baolin,
>
> On Tue, Feb 19, 2019 at 4:15 AM Baolin Wang wrote:
> > On Mon, 18 Feb 2019 at 20:23, Arnd Bergmann wrote:
> > > On Mon, Feb 18, 2019 at 11:52 AM Baolin Wang
> > > wrote:
From: Lanqing Liu
This patch adds dmas and dma-names properties for the UART DMA mode.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/serial/sprd-uart.txt |6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings
From: Lanqing Liu
This patch adds power management for the Spreadtrum serial controller.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
drivers/tty/serial/sprd_serial.c | 61 +++---
1 file changed, 57 insertions(+), 4 deletions(-)
diff --git
From: Lanqing Liu
Add DMA mode support for the Spreadtrum serial controller.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
drivers/tty/serial/sprd_serial.c | 440 --
1 file changed, 426 insertions(+), 14 deletions(-)
diff --git a/drivers/tty
From: Lanqing Liu
This patch adds clocks and clocks-names properties, which are used to do
power management for our UART driver.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
.../devicetree/bindings/serial/sprd-uart.txt | 11 +--
1 file changed, 9 insertions(+), 2
This patch set fixes the baud rate calculation formula issue, as well as
adding power management support and DMA mode support for the Spreadtrum
serial controller.
Lanqing Liu (5):
serial: sprd: Modify the baud rate calculation formula
dt-bindings: serial: sprd: Add clocks and clocks-names
not meet
the external transmission requirements.
Thus this patch modifies the baud rate calculation formula to support
the serial controller output the maximum baud rate.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
---
drivers/tty/serial/sprd_serial.c |2 +-
1 file changed, 1 insertion
On Mon, 18 Feb 2019 at 22:02, Rob Herring wrote:
>
> On Wed, Feb 13, 2019 at 1:37 AM Baolin Wang wrote:
> >
> > From: Lanqing Liu
> >
> > Add the DMA properties for the SPI dma mode.
> >
> > Signed-off-by: Lanqing Liu
> > Signed-off-by: Baolin
On Mon, 18 Feb 2019 at 20:23, Arnd Bergmann wrote:
>
> On Mon, Feb 18, 2019 at 11:52 AM Baolin Wang wrote:
> > On Mon, 18 Feb 2019 at 18:31, Arnd Bergmann wrote:
> > >
> > > On Tue, Feb 12, 2019 at 9:25 AM Baolin Wang
> > > wrote:
> > > &
the backwards compatibility.
Signed-off-by: Baolin Wang
---
Changes from v2:
- Add some comments to explain why we do not care backwards compatibility.
Changes from v1:
- None.
---
drivers/gpio/gpio-pmic-eic-sprd.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
Use SoC compatible string instead of wildcard string.
Reviewed-by: Rob Herring
Signed-off-by: Baolin Wang
---
Changes from v2:
- Add reviewed tag from Rob.
Changes from v1:
- Add 'sprd' to indicate the module in subject line.
---
.../devicetree/bindings/gpio/gpio-eic-sprd.txt |4
On Tue, 19 Feb 2019 at 04:07, Rob Herring wrote:
>
> On Fri, Feb 15, 2019 at 12:55:19PM +0800, Baolin Wang wrote:
> > Change to use SoC compatible string instead of wildcard string.
> >
> > Signed-off-by: Baolin Wang
> > ---
> > Changes from v1:
> > -
401 - 500 of 3825 matches
Mail list logo