Add serial driver for spreadtrum sharkl platform with earlycon
support at first.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
drivers/tty/serial/Kconfig | 24 ++
drivers/tty/serial/Makefile |1 +
drivers/tty/serial/sprd-serial.c | 64
The file of-serial.txt was only for 8250 compatible UART implementations,
so renamed it to 8250.txt to avoid confusing other persons.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
Documentation/devicetree/bindings/serial/8250.txt | 50
.../devicetree
-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/boot/dts/Makefile |1 +
arch/arm64/boot/dts/sprd-sharkl.dtsi | 33 ++
arch/arm64/boot/dts/sprd-sharkl3-fpga.dts | 41 +
arch/arm64/boot/dts/sprd-sharkl3.dtsi | 69
From: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Adds support for Spreadtrum's Sharkl Platform in the arm64 Kconfig
and defconfig files.
Signed-off-by: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/Kconfig |6
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentation for Spreadtrum's serial
and Sharkl3 SoC based on the Sharkl Platform which is the 64-bit
SoC Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
Documentation
for Sharkl Platform
- Changed to PSCI method for cpu power management
- Revised Kconfig Makefile to match the alphabetical ordering
- Renamed serial-sprd-earlycon.c to serial-sprd.c
Chunyan Zhang (3):
Documentation: DT: Renamed of-serial.txt to 8250.txt
Documentation: DT
Add a full sc9836-uart driver for SC9836 SoC which is based on the
spreadtrum sharkl64 platform.
This driver also support earlycon.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
Originally-by: Lanqing Liu lanqing@spreadtrum.com
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentations for Spreadtrum's sc9836-uart
and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC
Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson
From: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Adds support for Spreadtrum's SoC Platform and its subset Sharkl64
in the arm64 Kconfig and defconfig files.
Signed-off-by: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson
- Revised Kconfig Makefile to match the alphabetical ordering
- Renamed serial-sprd-earlycon.c to serial-sprd.c
Chunyan Zhang (3):
Documentation: DT: Renamed of-serial.txt to 8250.txt
Documentation: DT: Add bindings for Spreadtrum SoC Platform
tty/serial: Add Spreadtrum sc9836
The file of-serial.txt was only for 8250 compatible UART implementations,
so renamed it to 8250.txt to avoid confusing other persons.
This is recommended by Arnd, see:
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/291455.html
Signed-off-by: Chunyan Zhang chunyan.zh
-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
---
arch/arm64/boot/dts/Makefile |1 +
arch/arm64/boot/dts/sprd-sc9836-openphone.dts | 85
arch/arm64/boot/dts/sprd-sc9836.dtsi | 103
On Thu, Dec 18, 2014 at 3:50 PM, Arnd Bergmann a...@linaro.org wrote:
On Thursday 18 December 2014 11:37:13 Chunyan Zhang wrote:
This patch changes the 32-bit time type (timeval) to the 64-bit one
(ktime_t), since 32-bit time types will break in the year 2038.
I use ktime_t instead of all
On Thu, Dec 18, 2014 at 7:00 PM, Mauro Carvalho Chehab
mche...@osg.samsung.com wrote:
Em Thu, 18 Dec 2014 17:38:14 +0800
Chunyan Zhang zhang.chun...@linaro.org escreveu:
On Thu, Dec 18, 2014 at 3:50 PM, Arnd Bergmann a...@linaro.org wrote:
On Thursday 18 December 2014 11:37:13 Chunyan Zhang
in ktime.h. The last two patches
of this patch-set will use this function, so they are dependent on the
first one.
Chunyan Zhang (3):
ktime.h: Introduce ktime_ms_delta
mtd: test: Replace timeval with ktime_t in speedtest.c and torturetest.c
media: rc: Replace timeval with ktime_t in imon.c
drivers
This patch introduces a reusable time difference function which returns
the difference in millisecond, as often used in some driver code, e.g.
mtd/test, media/rc, etc.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Acked-by: Arnd Bergmann a...@linaro.org
---
include/linux/ktime.h |5
difference.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed-by: Arnd Bergmann a...@arndb.de
---
drivers/mtd/tests/speedtest.c | 10 +-
drivers/mtd/tests/torturetest.c | 10 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/mtd/tests/speedtest.c
, but do_gettimeofday returns a
struct timeval, and the other reason is that ktime_get() uses
the monotonic clock.
This patch will use a new function 'ktime_ms_delta' which is introduced
in 1/3 of this patch-set to get the millisecond time difference.
Signed-off-by: Chunyan Zhang zhang.chun
This patch adds a reusable time difference function which returns the
difference in millisecond, as often used in some driver code, e.g.
mtd/test, media/rc, etc.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
include/linux/ktime.h |5 +
1 file changed, 5 insertions(+)
diff
://lkml.iu.edu//hypermail/linux/kernel/1412.2/00625.html
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed-by: Arnd Bergmann a...@arndb.de
---
Changes since v2:
- Use the new function ktime_ms_delta which is added in another
patch listed up.
Changes since v1:
- Add including linux/ktime.h
-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/media/rc/imon.c | 49 +--
1 file changed, 13 insertions(+), 36 deletions(-)
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index b8837dd..a641139 100644
--- a/drivers/media/rc
/308270.html
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/include/asm/irq.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/include/asm/irq.h b/arch/arm64/include/asm/irq.h
index e1f7ecd..acedc7e 100644
--- a/arch/arm64/include/asm/irq.h
+++ b/arch
/308270.html
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/include/asm/irq.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/include/asm/irq.h b/arch/arm64/include/asm/irq.h
index e1f7ecd..acedc7e 100644
--- a/arch/arm64/include/asm/irq.h
+++ b/arch
/308270.html
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/include/asm/irq.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/include/asm/irq.h b/arch/arm64/include/asm/irq.h
index e1f7ecd..acedc7e 100644
--- a/arch/arm64/include/asm/irq.h
+++ b/arch
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentations for Spreadtrum's sc9836-uart
and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC
Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson
The file of-serial.txt was only for 8250 compatible UART implementations,
so renamed it to 8250.txt to avoid confusing other persons.
This is suggested by Arnd, see:
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/291455.html
Signed-off-by: Chunyan Zhang chunyan.zh
From: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Adds support for Spreadtrum's SoC Platform in the arm64 Kconfig and
defconfig files.
Signed-off-by: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson Zhai orson.z
-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
---
arch/arm64/boot/dts/Makefile |1 +
arch/arm64/boot/dts/sprd-sc9836-openphone.dts | 85
arch/arm64/boot/dts/sprd-sc9836.dtsi | 102
Add a full sc9836-uart driver for SC9836 SoC which is based on the
spreadtrum sharkl64 platform.
This driver also support earlycon.
This patch also replaced the spaces between the macros and their
values with the tabs in serial_core.h
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
for cpu power management
- Revised Kconfig Makefile to match the alphabetical ordering
- Renamed serial-sprd-earlycon.c to serial-sprd.c
Chunyan Zhang (3):
Documentation: DT: Renamed of-serial.txt to 8250.txt
Documentation: DT: Add bindings for Spreadtrum SoC Platform
tty/serial
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentations for Spreadtrum's sc9836-uart
and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC
Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson
as needed
- Removed register states saving and restoring in suspend() and resume()
Chunyan Zhang (2):
Documentation: DT: Add bindings for Spreadtrum SoC Platform
tty/serial: Add Spreadtrum sc9836-uart driver support
Documentation/devicetree/bindings/arm/sprd.txt | 11
-off-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
drivers/tty/serial/Kconfig | 18 +
drivers/tty/serial/Makefile |1 +
drivers/tty/serial/sprd_serial.c | 801 ++
include/uapi/linux
-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/boot/dts/Makefile |1 +
arch/arm64/boot/dts/sprd/Makefile |5 ++
arch/arm64/boot/dts/sprd/sc9836-openphone.dts | 49 +
arch/arm64/boot
The file of-serial.txt was only for 8250 compatible UART implementations,
so renamed it to 8250.txt to avoid confusing other persons.
This is suggested by Arnd, see:
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/291455.html
Signed-off-by: Chunyan Zhang chunyan.zh
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentations for Spreadtrum's sc9836-uart
and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC
Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Signed-off-by: Orson
Add a full sc9836-uart driver for SC9836 SoC which is based on the
spreadtrum sharkl64 platform.
This driver also support earlycon.
This patch also replaced the spaces between the macros and their
values with the tabs in serial_core.h
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
From: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Adds support for Spreadtrum's SoC Platform in the arm64 Kconfig and
defconfig files.
Signed-off-by: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh
to serial-sprd.c
Chunyan Zhang (3):
Documentation: DT: Renamed of-serial.txt to 8250.txt
Documentation: DT: Add bindings for Spreadtrum SoC Platform
tty/serial: Add Spreadtrum sc9836-uart driver support
Zhizhou Zhang (2):
arm64: dts: Add support for Spreadtrum SC9836 SoC in dts
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentations for Spreadtrum's sc9836-uart
and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC
Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
Documentation
This patch-set split the last version, and addressed the review comments from
last version on serial driver code.
Changes from v6:
- Setted stdout-path with serial1:115200n8
Changes from v5:
- Added maintenance interrupt for gic
- Removed reg property from 'soc' and 'apb'
From: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Adds support for Spreadtrum's SoC Platform in the arm64 Kconfig and
defconfig files.
Signed-off-by: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh
-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/boot/dts/Makefile |1 +
arch/arm64/boot/dts/sprd/Makefile |5 ++
arch/arm64/boot/dts/sprd/sc9836-openphone.dts | 49
arch/arm64/boot/dts
Changes from v5:
- Used Spreadtrum instead of SPRD in menus
- Changed TTY name to 'ttyS'
- Moved uart_register_driver() to probe()
- Added spinlock as needed
- Removed register states saving and restoring in suspend() and resume()
Chunyan Zhang (2
Add a full sc9836-uart driver for SC9836 SoC which is based on the
spreadtrum sharkl64 platform.
This driver also support earlycon.
Originally-by: Lanqing Liu lanqing@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Changes from v8:
- Moved a few unuseful code lines.
Chunyan Zhang (2):
Documentation: DT: Add bindings for Spreadtrum SoC Platform
tty/serial: Add Spreadtrum sc9836-uart driver support
Documentation/devicetree/bindings/arm/sprd.txt | 11 +
.../devicetree/bindings/serial/sprd
Add a full sc9836-uart driver for SC9836 SoC which is based on the
spreadtrum sharkl64 platform.
This driver also support earlycon.
Originally-by: Lanqing Liu lanqing@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentations for Spreadtrum's sc9836-uart
and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC
Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
Documentation
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentations for Spreadtrum's sc9836-uart
and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC
Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
Documentation
Add a full sc9836-uart driver for SC9836 SoC which is based on the
spreadtrum sharkl64 platform.
This driver also support earlycon.
Originally-by: Lanqing Liu lanqing@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Changes from v9:
- Added SUPPORT_SYSRQ definition for sprd serial
Changes from v8:
- Removed a few unuseful code lines.
Chunyan Zhang (2):
Documentation: DT: Add bindings for Spreadtrum SoC Platform
tty/serial: Add Spreadtrum sc9836-uart driver support
Documentation
This patch-set split the last version, and addressed the review comments from
last version on serial driver code.
Changes from v5:
- Added maintenance interrupt for gic
- Removed reg property from 'soc' and 'apb' nodes
Zhizhou Zhang (2):
arm64: dts: Add support for Spreadtrum
-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/boot/dts/Makefile |1 +
arch/arm64/boot/dts/sprd/Makefile |5 ++
arch/arm64/boot/dts/sprd/sc9836-openphone.dts | 49
arch/arm64/boot/dts
From: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Adds support for Spreadtrum's SoC Platform in the arm64 Kconfig and
defconfig files.
Signed-off-by: Zhizhou Zhang zhizhou.zh...@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh
Adds Spreadtrum's prefix sprd to vendor-prefixes file.
Adds the devicetree binding documentations for Spreadtrum's sc9836-uart
and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC
Platform of Spreadtrum.
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
Documentation
-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/net/irda/irda-usb.c | 11 +++
drivers/net/irda/irda-usb.h |6 +++---
2 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c
index 48b2f9a..be86840 100644
--- a/drivers
-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/net/irda/ali-ircc.c | 12
drivers/net/irda/ali-ircc.h |6 +++---
2 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/drivers/net/irda/ali-ircc.c b/drivers/net/irda/ali-ircc.c
index 58f98f4..ab041a4 100644
to get the elapsed time directly.
Chunyan Zhang (6):
driver/net/irda: Removed all unused timeval variables
driver/net/irda: Replace timeval with ktime_t in ali-ircc
driver/net/irda: Replace timeval with ktime_t in irda-usb
driver/net/irda: Replace timeval with ktime_t in nsc-ircc
driver/net
-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/net/irda/nsc-ircc.c |8 +++-
drivers/net/irda/nsc-ircc.h |6 +++---
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/net/irda/nsc-ircc.c b/drivers/net/irda/nsc-ircc.c
index e7317b1..cabb82e 100644
--- a/drivers/net
In the file au1k_ir.c via-ircc.h, there were two unused
definitions of the timeval type members, so I removed them
entirely in this patch.
In other three files, the same problem is the rx_time
member is only ever written, never read, so removed it
entirely.
Signed-off-by: Chunyan Zhang
of function 'vlsi_hard_start_xmit' to
do the same things as the others drivers, that is passing the remaining
time into udelay() instead of looping until enough time has passed.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/net/irda/vlsi_ir.c | 51
, but do_gettimeofday returns a
struct timeval, and the other reason is that ktime_get() uses
the monotonic clock.
This patch use ktime_us_delta to get the elapsed time of microsecond.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/net/irda/stir4200.c | 18 +-
1 file
Hi, Brian
Thank you so much !
Best regards,
Chunyan
On Thu, Jan 8, 2015 at 9:26 AM, Brian Norris
computersforpe...@gmail.com wrote:
On Thu, Dec 18, 2014 at 08:53:10AM +0100, Arnd Bergmann wrote:
On Thursday 18 December 2014 11:23:31 Chunyan Zhang wrote:
This patch changes the 32-bit time
In the file au1k_ir.c via-ircc.h, there were two unused definitions of the
timeval type members, this commit therefore removes this unneeded code.
In other three files, the same problem is the rx_time member is only ever
written, never read, so removed it entirely.
Signed-off-by: Chunyan Zhang
to get the elapsed time directly.
Chunyan Zhang (6):
irda: Removed all unused timeval variables
irda: ali-ircc: Replace timeval with ktime_t
irda: irda-usb: Replace timeval with ktime_t
irda: nsc-ircc: Replace timeval with ktime_t
irda: stir4200: Replace timeval with ktime_t
irda: vlsi_ir
reason is that ktime_get() uses
the monotonic clock.
This patch uses ktime_us_delta to get the elapsed time, and in this
way it no longer needs to check for the overflow, because
ktime_us_delta returns time difference of microsecond.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed
reason is that ktime_get() uses
the monotonic clock.
This patch uses ktime_us_delta to get the elapsed time of microsecond.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed-by: Arnd Bergmann a...@arndb.de
---
drivers/net/irda/stir4200.c | 16 +++-
1 file changed, 7
as the others drivers, that is passing the remaining time
into udelay() instead of looping until enough time has passed.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed-by: Arnd Bergmann a...@arndb.de
---
drivers/net/irda/vlsi_ir.c | 46 +---
drivers
reason is that ktime_get() uses
the monotonic clock.
This patch uses ktime_us_delta to get the elapsed time, and in this
way it no longer needs to check for the overflow, because
ktime_us_delta returns time difference of microsecond.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed
reason is that ktime_get() uses
the monotonic clock.
This patch uses ktime_us_delta to get the elapsed time, and in this
way it no longer needs to check for the overflow, because
ktime_us_delta returns time difference of microsecond.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed
-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
kernel/async.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/async.c b/kernel/async.c
index 4c3773c..894ae80 100644
--- a/kernel/async.c
+++ b/kernel/async.c
@@ -267,7 +267,7 @@ EXPORT_SYMBOL_GPL
On Thu, Mar 12, 2015 at 6:01 AM, Arnd Bergmann a...@arndb.de wrote:
On Wednesday 11 March 2015 02:27:08 Chunyan Zhang wrote:
This patchset adds Spreadtrum's Sharkl64 support in arm64 device tree.
Changes from v7:
- Added Mark Rutland's Acked-by
- Rebased v4.0-rc1
Applied
On Tue, Mar 24, 2015 at 11:08 PM, Mathieu Poirier
mathieu.poir...@linaro.org wrote:
On 23 March 2015 at 23:48, Chunyan Zhang zhang.chun...@linaro.org wrote:
Support only for ETB, FUNNEL, STM are included currently.
Support for ETM, TPIU and the replicator linked to it are not included
Support only for ETF, FUNNEL, STM are included currently.
Support for ETM, TPIU and the replicator linked to it are not included in
this version patch.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
arch/arm64/boot/dts/sprd/sc9836.dtsi | 55
1 file
Support only for ETF, FUNNEL, STM are included currently.
Support for ETM, TPIU and the replicator linked to it are not included in
this version patch.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
Change for v2:
- Corrected the TMC whose space is wrongly used as ETB in v1
Support only for ETB, FUNNEL, STM are included currently.
Support for ETM, TPIU and the replicator linked to it are not included in
this version patch.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
arch/arm64/boot/dts/sprd/sc9836.dtsi | 57
1 file
as needed
- Removed register states saving and restoring in suspend() and resume()
Chunyan Zhang (2):
Documentation: DT: Add bindings for Spreadtrum SoC Platform
tty/serial: Add Spreadtrum sc9836-uart driver support
Documentation/devicetree/bindings/arm/sprd.txt | 11
Add a full sc9836-uart driver for SC9836 SoC which is based on the
spreadtrum sharkl64 platform.
This driver also support earlycon.
Originally-by: Lanqing Liu lanqing@spreadtrum.com
Signed-off-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
Adding the function 'trace_event_stm_output_##call' for printing events
trace log into STM blocks.
This patch also added a function call at where the events have been
committed to ring buffer to export the trace event information to
STM blocks.
Signed-off-by: Chunyan Zhang zhang.chun
in the STM
trace engine.
Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/stm/Kconfig | 11 +++
drivers/stm/Makefile | 2 ++
drivers/stm/stm_trace_event.c | 46
in the format of a
string, the function 'trace_event_buf_vprintf()' is just for this purpose.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
kernel/trace/Makefile | 1 +
kernel/trace/trace_output_stm.c | 99 +
2 files changed, 100
/gmane.linux.kernel/1914526
[3]. http://mipi.org/specifications/debug#STP
Chunyan Zhang (2):
Trace log handler for logging into STM blocks
Introduce trace log output function for STM
Mathieu Poirier (1):
STM trace event: Adding generic buffer interface driver
drivers/stm/Kconfig | 11
in the STM
trace engine.
Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/stm/Kconfig | 11 +++
drivers/stm/Makefile | 2 ++
drivers/stm/stm_trace_event.c | 46
]. http://comments.gmane.org/gmane.linux.kernel/1914526
[3]. http://mipi.org/specifications/debug#STP
Changes from RFC v1:
- Marked module init/exit functions with __init/__exit key word
according to the comments from Paul Bolle
Chunyan Zhang (2):
Trace log handler for logging into STM
Adding the function 'trace_event_stm_output_##call' for printing events
trace log into STM blocks.
This patch also added a function call at where the events have been
committed to ring buffer to export the trace event information to
STM blocks.
Signed-off-by: Chunyan Zhang zhang.chun
in the format of a
string, the function 'trace_event_buf_vprintf()' is just for this purpose.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
kernel/trace/Makefile | 1 +
kernel/trace/trace_output_stm.c | 99 +
2 files changed, 100
A's fpsimd_state, so kernel will not
reload the
context during it return to user space.
Signed-off-by: Janet Liu janet@spreadtrum.com
Signed-off-by: Xiongshan An xiongshan...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/kernel/fpsimd.c | 32
, it will not
introduce issue,
it add a little cost.
Signed-off-by: Janet Liu janet@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
arch/arm64/kernel/process.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel
-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
---
drivers/tty/serial/sprd_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c
index 582d272..3866516 100644
--- a/drivers/tty/serial/sprd_serial.c
+++ b/drivers/tty
From: Billows Wu billows...@spreadtrum.com
The Spreadtrum MMC host driver is used to support EMMC, SD, and
SDIO types of memory cards.
Signed-off-by: Billows Wu billows...@spreadtrum.com
Reviewed-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
From: Billows Wu billows...@spreadtrum.com
The Spreadtrum MMC host driver is used to support EMMC, SD, and
SDIO types of memory cards.
Signed-off-by: Billows Wu billows...@spreadtrum.com
Reviewed-by: Orson Zhai orson.z...@spreadtrum.com
Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com
On Wed, Jul 1, 2015 at 5:57 PM, Jaehoon Chung jh80.ch...@samsung.com wrote:
Hi,
Is sdhost based on SDHCI controller?
Why don't use sdhci.c? Is there any reason?
Best Regards,
Jaehoon Chung
Because of base64 code problem of his email server, I'm reporting his
reply instead.
From Billows
by themselves to ETM, there needs
to be a translation from VPID to PID, as such ETM drivers will write the
PID into the Context ID register correctly.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/hwtracing/coresight/coresight-etm.h | 3 +++
drivers/hwtracing/coresight
and very new for now. Nevertheless,
if you don't think it should be changed, we could always add an alias
for userspace.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed-by: Mark Brown broo...@kernel.org
---
.../ABI/testing/sysfs-bus-coresight-devices-etm4x| 2 +-
drivers/hwtracing
Like ETTv3, ETMv4 also needs the similar modifications to support Context
ID tracing when PID namespace is enabled.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
drivers/hwtracing/coresight/coresight-etm4x.c | 21 +++--
drivers/hwtracing/coresight/coresight-etm4x.h
interface for ETMs.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
---
include/linux/coresight.h | 20
1 file changed, 20 insertions(+)
diff --git a/include/linux/coresight.h b/include/linux/coresight.h
index 3486b90..626da69 100644
--- a/include/linux/coresight.h
+++ b
between VPID and PID.
Chunyan Zhang (5):
coresight-etm3x: Change the name of the ctxid_val to ctxid_pid
coresight-etm4x: Change the name of the ctxid_val to ctxid_pid
Coresight: Add an interface for supporting ETM3/4 Context ID tracing
coresight-etm3x: Support context-ID tracing when PID
and very new for now. Nevertheless,
if you don't think it should be changed, we could always add an alias
for userspace.
Signed-off-by: Chunyan Zhang zhang.chun...@linaro.org
Reviewed-by: Mark Brown broo...@kernel.org
---
.../ABI/testing/sysfs-bus-coresight-devices-etm3x| 2 +-
drivers
On Wed, Jul 29, 2015 at 9:46 PM, Alexander Shishkin
alexander.shish...@linux.intel.com wrote:
Mark Brown broo...@kernel.org writes:
On Wed, Jul 29, 2015 at 04:25:10PM +0300, Alexander Shishkin wrote:
There has to be a way to defer stm_probe(), although a quick look at
amba code suggests it's
On Wed, Jul 29, 2015 at 9:25 PM, Alexander Shishkin
alexander.shish...@linux.intel.com wrote:
Chunyan Zhang zhang.l...@gmail.com writes:
+/**
+ * stm_source_register_device() - register an stm_source device
+ * @parent:parent device
+ * @data: device description structure
1 - 100 of 1537 matches
Mail list logo