linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Rutland <mark.rutland@arm.com>
To: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Cc: "grant.likely@linaro.org" <grant.likely@linaro.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"ijc+devicetree@hellion.org.uk" <ijc+devicetree@hellion.org.uk>,
	"jslaby@suse.cz" <jslaby@suse.cz>,
	"galak@codeaurora.org" <galak@codeaurora.org>,
	"broonie@linaro.org" <broonie@linaro.org>,
	"m-karicheri2@ti.com" <m-karicheri2@ti.com>,
	Pawel Moll <Pawel.Moll@arm.com>,
	"artagnon@gmail.com" <artagnon@gmail.com>,
	"rrichter@cavium.com" <rrichter@cavium.com>,
	Will Deacon <Will.Deacon@arm.com>,
	"arnd@arndb.de" <arnd@arndb.de>,
	"gnomes@lxorguk.ukuu.org.uk" <gnomes@lxorguk.ukuu.org.uk>,
	"corbet@lwn.net" <corbet@lwn.net>,
	"jason@lakedaemon.net" <jason@lakedaemon.net>,
	"broonie@kernel.org" <broonie@kernel.org>,
	"heiko@sntech.de" <heiko@sntech.de>,
	"shawn.guo@freescale.com" <shawn.g>
Subject: Re: [PATCH v3 0/5] Add Spreadtrum Sharkl64 Platform support
Date: Thu, 27 Nov 2014 12:03:56 +0000	[thread overview]
Message-ID: <20141127120356.GF857@leverpostej> (raw)
In-Reply-To: <1416917818-10506-1-git-send-email-chunyan.zhang@spreadtrum.com>

Hi,

On Tue, Nov 25, 2014 at 12:16:53PM +0000, Chunyan Zhang wrote:
> Spreadtrum is a rapid growing chip vendor providing smart phone total solutions.
> 
> Sharkl64 Platform is nominated as a SoC infrastructure that supports 4G/3G/2G
> standards based on ARMv8 multiple core architecture.Now we have only one
> SoC(SC9836) based on this Platform in developing.
> 
> This patchset adds Sharkl64 support in arm64 device tree and the serial driver
> of SC9836-UART.
> 
> This patchset also has patches which address "sprd" prefix and DT compatible
> strings for nodes which appear un-documented.
> 
> This version code was tesed on Fast Mode.

This concerns me a bit because fast models are extremely lenient w.r.t.
the management of clocks and regulators. Are you sure you have
everything you need for your UART described?

> We use boot-wrapper-aarch64 as the bootloader.

Which version of boot-wrapper-aarch64 are you using?

Upstream does not implement PSCI 0.2, but its --enable-psci option will
inject PSCI 0.1 compatible properties, which leads me to suspect that
your DT is misleading. The boot wrapper should also program CNTFRQ_EL0
correctly regardless.

What do you intend to use on real hardware?

Thanks,
Mark.

> 
> Changes from v2:
> * Addressed review comments:
> 	- Added a specific compitible string 'sc9836-uart' for the serial
> 	- Added a full serial driver
> 	- Added the property 'clock-frequency' for timer node in dtsi.
> 	- Replaceed the old macro prefix 'UART_' with 'SPRD_' in the 
> 	  Spreadtrum serial driver code.
> * Revised the name of SoC and board from 'sharkl3' to 'sc9836'
> * Used dual-license for DTS files
> * Added a menuconfig 'ARCH_SPRD' in arch/arm64/Kconfig
> 
> Changes from v1:
> * Addressed review comments:
>         - Added "sprd" prefix to vendor-prefixes.txt
>         - Created serial/sprd-serial.txt and remove the properties for serial-sprd
>           from of-serial.txt to it.
>         - Renamed of-serial.txt to 8250.txt according to Arnd's review comments
>         - Splited and revised .dts for Sharkl64 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 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 and Makefile
>   arm64: Add support for Spreadtrum's Sharkl64 Platform in Kconfig and
>     defconfig
> 
>  Documentation/devices.txt                          |    3 +
>  Documentation/devicetree/bindings/arm/sprd.txt     |   11 +
>  .../bindings/serial/{of-serial.txt => 8250.txt}    |    0
>  .../devicetree/bindings/serial/sprd-uart.txt       |    6 +
>  .../devicetree/bindings/vendor-prefixes.txt        |    1 +
>  arch/arm64/Kconfig                                 |   17 +
>  arch/arm64/boot/dts/Makefile                       |    1 +
>  arch/arm64/boot/dts/sprd-sc9836-openphone.dts      |   85 +++
>  arch/arm64/boot/dts/sprd-sc9836.dtsi               |  103 +++
>  arch/arm64/boot/dts/sprd-sharkl64.dtsi             |  105 +++
>  arch/arm64/configs/defconfig                       |    2 +
>  drivers/tty/serial/Kconfig                         |   23 +
>  drivers/tty/serial/Makefile                        |    1 +
>  drivers/tty/serial/sprd_serial.c                   |  752 ++++++++++++++++++++
>  include/uapi/linux/serial_core.h                   |    3 +
>  15 files changed, 1113 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/arm/sprd.txt
>  rename Documentation/devicetree/bindings/serial/{of-serial.txt => 8250.txt} (100%)
>  create mode 100644 Documentation/devicetree/bindings/serial/sprd-uart.txt
>  create mode 100644 arch/arm64/boot/dts/sprd-sc9836-openphone.dts
>  create mode 100644 arch/arm64/boot/dts/sprd-sc9836.dtsi
>  create mode 100644 arch/arm64/boot/dts/sprd-sharkl64.dtsi
>  create mode 100644 drivers/tty/serial/sprd_serial.c
> 
> -- 
> 1.7.9.5
> 
> 

      parent reply	other threads:[~2014-11-27 12:03 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Sharkl64-v3>
2014-11-25 12:16 ` [PATCH v3 0/5] Add Spreadtrum Sharkl64 Platform support Chunyan Zhang
2014-11-25 12:16   ` [PATCH v3 1/5] Documentation: DT: Renamed of-serial.txt to 8250.txt Chunyan Zhang
     [not found]     ` <1416917818-10506-2-git-send-email-chunyan.zhang-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
2014-11-27 11:38       ` Mark Rutland
2014-11-27 12:08         ` Lyra Zhang
2014-11-25 12:16   ` [PATCH v3 2/5] Documentation: DT: Add bindings for Spreadtrum SoC Platform Chunyan Zhang
2014-11-25 12:52     ` Arnd Bergmann
2014-11-25 12:16   ` [PATCH v3 3/5] arm64: dts: Add support for Spreadtrum SC9836 SoC in dts and Makefile Chunyan Zhang
2014-11-27 11:50     ` Mark Rutland
2014-11-27 12:12       ` Catalin Marinas
2014-11-27 13:43         ` Mark Rutland
2014-11-28 14:29           ` Catalin Marinas
2014-11-28 14:35             ` Mark Rutland
2014-11-28 14:44               ` Will Deacon
2014-11-28 14:46                 ` Mark Rutland
2014-11-28 14:59                   ` Will Deacon
2014-11-28 14:50                 ` Mark Brown
     [not found]                 ` <20141128144412.GG7144-5wv7dgnIgG8@public.gmane.org>
2014-11-28 15:03                   ` Catalin Marinas
2014-11-28 15:09                     ` Will Deacon
2014-11-28 16:40                     ` Mark Rutland
2014-11-28 17:24                       ` Catalin Marinas
2014-12-03  9:16       ` Lyra Zhang
2014-11-25 12:16   ` [PATCH v3 4/5] arm64: Add support for Spreadtrum's Sharkl64 Platform in Kconfig and defconfig Chunyan Zhang
2014-11-25 12:57     ` Arnd Bergmann
2014-11-26  3:08       ` Lyra Zhang
     [not found]       ` <CAAfSe-uoXOJ8=agCFuBnXhj7nBBTskQ=8_jMtv_SAjor2gfO2w@mail.gmail.com>
     [not found]         ` <CAAfSe-uoXOJ8=agCFuBnXhj7nBBTskQ=8_jMtv_SAjor2gfO2w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-26  9:00           ` Arnd Bergmann
2014-11-25 12:16   ` [PATCH v3 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support Chunyan Zhang
2014-11-25 20:03     ` Greg KH
2014-11-27 11:05       ` Lyra Zhang
2014-11-26  9:48     ` Tobias Klauser
2014-11-27 11:39       ` Lyra Zhang
2014-11-26 12:33     ` One Thousand Gnomes
2014-11-28 10:13       ` Orson Zhai
2014-11-26 18:29     ` Murali Karicheri
2014-11-27 11:59       ` Lyra Zhang
     [not found]         ` <CAAfSe-uMqy7zwiEK+nDoMPw_oni8L_vq7oW2Me5AY8z8KGpjwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-27 12:57           ` Arnd Bergmann
2014-11-27 15:23             ` Lyra Zhang
2014-11-27 15:34               ` One Thousand Gnomes
2014-11-27 15:36               ` Arnd Bergmann
2014-12-03  9:17       ` Lyra Zhang
     [not found]         ` <CAAfSe-u+g0mYGi9Adrd+YwwZ=q0-s79yCg_paB1UAVqFoufXEA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-03  9:50           ` Arnd Bergmann
2014-12-03 10:11             ` Russell King - ARM Linux
     [not found]               ` <20141203101109.GB11285-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-12-03 12:08                 ` Lyra Zhang
2014-12-03 12:15             ` Lyra Zhang
2014-11-25 12:57   ` [PATCH v3 0/5] Add Spreadtrum Sharkl64 Platform support Mark Brown
2014-11-25 12:59   ` Arnd Bergmann
2014-11-27 12:03   ` Mark Rutland [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141127120356.GF857@leverpostej \
    --to=mark.rutland@arm.com \
    --cc=Catalin.Marinas@arm.com \
    --cc=Pawel.Moll@arm.com \
    --cc=Will.Deacon@arm.com \
    --cc=arnd@arndb.de \
    --cc=artagnon@gmail.com \
    --cc=broonie@kernel.org \
    --cc=broonie@linaro.org \
    --cc=chunyan.zhang@spreadtrum.com \
    --cc=corbet@lwn.net \
    --cc=galak@codeaurora.org \
    --cc=gnomes@lxorguk.ukuu.org.uk \
    --cc=grant.likely@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=heiko@sntech.de \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jason@lakedaemon.net \
    --cc=jslaby@suse.cz \
    --cc=m-karicheri2@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=rrichter@cavium.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).