All of lore.kernel.org
 help / color / mirror / Atom feed
From: bintian.wang@huawei.com (Bintian)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 5/5] arm64: dts: Add dts files for Hisilicon Hi6220 SoC
Date: Wed, 13 May 2015 15:30:39 +0800	[thread overview]
Message-ID: <5552FD9F.7000609@huawei.com> (raw)
In-Reply-To: <cf6ae9.68c7.14d4c1dc0f6.Coremail.btw@mail.itp.ac.cn>

Please ignore this email.

On 2015/5/13 15:12, Bintian Wang wrote:
> Hi Mark,
>
>> Hi,
>>
>>>> I think that given that we know the UART is not quite a PL011 we should
>>>> add an additional compatible string just in case some difference crops
>>>> up later that is problematic.
>>>>
>>>> So we'd have something like:
>>>>
>>>> 	compatible = "hisilicon,hi6220-uart", "arm,pl011", "arm,primecell";
>>>>
>>>> That way we can add any optimisations or workarounds later as required.
>>> I understand and thanks for your suggestion.
>>>
>>> Can I do not do this work in this patch set? Because I got the
>>> information UART0 is PL011 compatible. Hisilicon uart engineer can do
>>> this work in the future, maybe for UART1/UART2.
>>
>> I am not asking you to do any driver work for this -- the current driver
>> should ignore the "hisilicon,hi6220-uart" string and recognise
>> "arm,pl011".
>>
>> I am only asking you to add the additional string to the DTS, and to
>> update the binding document to list the new string. That way if and when
>> we need the kernel to distinguish between a regular PL011 and the
>> hi6220-specific variant, the DTB does not need to be updated in order to
>> do so.
> How about add the following binding rule to the 2/5 patch:
> ---------------------------
> *Hisilicon Enhanced ARM AMBA Primecell PL011 serial UART
>
> Required properties:
> - compatible: must be "hisilicon,hi6220-uart", "arm,primecell", "arm,pl011"
> - reg: exactly one register range with length 0x1000
> - interrupts: exactly one interrupt specifier
>
> See also bindings/serial/pl011.txt
>
> Example:
>
> uart0: uart at f8015000 {
>          compatible = "hisilicon,hi6220-uart", "arm,pl011", "arm,primecell";
>          reg = <0x0 0xf8015000 0x0 0x1000>;
>          interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
>          clocks = <&ao_ctrl HI6220_UART0_PCLK>, <&ao_ctrl HI6220_UART0_PCLK>;
>          clock-names = "uartclk", "apb_pclk";
> };
> ---------------------------
>
>> Is UART 0 different from UART1 and UART2?
> Yes,  but my patch just includes UART0, we do some changements for UART1/2
> to improve performance.
>
> Thanks,
>
> Bintian
>
>>
>> Thanks,
>> Mark.
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
>
>
>
>
> .
>

WARNING: multiple messages have this Message-ID (diff)
From: Bintian <bintian.wang@huawei.com>
To: Bintian Wang <btw@mail.itp.ac.cn>, Mark Rutland <mark.rutland@arm.com>
Cc: "dan.zhao@hisilicon.com" <dan.zhao@hisilicon.com>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	"wangbinghui@hisilicon.com" <wangbinghui@hisilicon.com>,
	Will Deacon <Will.Deacon@arm.com>,
	"huxinwei@huawei.com" <huxinwei@huawei.com>,
	"haojian.zhuang@linaro.org" <haojian.zhuang@linaro.org>,
	"yanhaifeng@gmail.com" <yanhaifeng@gmail.com>,
	"rob.herring@linaro.org" <rob.herring@linaro.org>,
	"mturquette@linaro.org" <mturquette@linaro.org>,
	Pawel Moll <Pawel.Moll@arm.com>,
	"khilman@kernel.org" <khilman@kernel.org>,
	"xuwei5@hisilicon.com" <xuwei5@hisilicon.com>,
	"jh80.chung@samsung.com" <jh80.chung@samsung.com>,
	"sledge.yanwei@huawei.com" <sledge.yanwei@huawei.com>,
	"kong.kongxinwei@hisilicon.com" <kong.kongxinwei@hisilicon.com>,
	"heyunlei@huawei.com" <heyunlei@huawei.com>,
	"w.f@huawei.com" <w.f@huawei.com>,
	"zhangfei.gao@linaro.org" <zhangfei.gao@linaro.org>,
	z.liuxinliang@huaw
Subject: Re: [PATCH v4 5/5] arm64: dts: Add dts files for Hisilicon Hi6220 SoC
Date: Wed, 13 May 2015 15:30:39 +0800	[thread overview]
Message-ID: <5552FD9F.7000609@huawei.com> (raw)
In-Reply-To: <cf6ae9.68c7.14d4c1dc0f6.Coremail.btw@mail.itp.ac.cn>

Please ignore this email.

On 2015/5/13 15:12, Bintian Wang wrote:
> Hi Mark,
>
>> Hi,
>>
>>>> I think that given that we know the UART is not quite a PL011 we should
>>>> add an additional compatible string just in case some difference crops
>>>> up later that is problematic.
>>>>
>>>> So we'd have something like:
>>>>
>>>> 	compatible = "hisilicon,hi6220-uart", "arm,pl011", "arm,primecell";
>>>>
>>>> That way we can add any optimisations or workarounds later as required.
>>> I understand and thanks for your suggestion.
>>>
>>> Can I do not do this work in this patch set? Because I got the
>>> information UART0 is PL011 compatible. Hisilicon uart engineer can do
>>> this work in the future, maybe for UART1/UART2.
>>
>> I am not asking you to do any driver work for this -- the current driver
>> should ignore the "hisilicon,hi6220-uart" string and recognise
>> "arm,pl011".
>>
>> I am only asking you to add the additional string to the DTS, and to
>> update the binding document to list the new string. That way if and when
>> we need the kernel to distinguish between a regular PL011 and the
>> hi6220-specific variant, the DTB does not need to be updated in order to
>> do so.
> How about add the following binding rule to the 2/5 patch:
> ---------------------------
> *Hisilicon Enhanced ARM AMBA Primecell PL011 serial UART
>
> Required properties:
> - compatible: must be "hisilicon,hi6220-uart", "arm,primecell", "arm,pl011"
> - reg: exactly one register range with length 0x1000
> - interrupts: exactly one interrupt specifier
>
> See also bindings/serial/pl011.txt
>
> Example:
>
> uart0: uart@f8015000 {
>          compatible = "hisilicon,hi6220-uart", "arm,pl011", "arm,primecell";
>          reg = <0x0 0xf8015000 0x0 0x1000>;
>          interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
>          clocks = <&ao_ctrl HI6220_UART0_PCLK>, <&ao_ctrl HI6220_UART0_PCLK>;
>          clock-names = "uartclk", "apb_pclk";
> };
> ---------------------------
>
>> Is UART 0 different from UART1 and UART2?
> Yes,  but my patch just includes UART0, we do some changements for UART1/2
> to improve performance.
>
> Thanks,
>
> Bintian
>
>>
>> Thanks,
>> Mark.
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
>
>
>
>
> .
>

  reply	other threads:[~2015-05-13  7:30 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05 12:06 [PATCH v4 0/5] arm64,hi6220: Enable Hisilicon Hi6220 SoC Bintian Wang
2015-05-05 12:06 ` Bintian Wang
2015-05-05 12:06 ` Bintian Wang
2015-05-05 12:06 ` [PATCH v4 1/5] arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-05 12:06 ` [PATCH v4 2/5] arm64: hi6220: Document devicetree bindings for Hisilicon hi6220 SoC Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-15  0:27   ` Stephen Boyd
2015-05-15  0:27     ` Stephen Boyd
2015-05-15  0:27     ` Stephen Boyd
2015-05-15  1:31     ` Bintian
2015-05-15  1:31       ` Bintian
2015-05-15  1:31       ` Bintian
2015-05-05 12:06 ` [PATCH v4 3/5] clk: hi6220: Document devicetree bindings for hi6220 clock Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-15  0:26   ` Stephen Boyd
2015-05-15  0:26     ` Stephen Boyd
2015-05-15  0:26     ` Stephen Boyd
2015-05-05 12:06 ` [PATCH v4 4/5] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-15  0:25   ` Stephen Boyd
2015-05-15  0:25     ` Stephen Boyd
2015-05-15  0:25     ` Stephen Boyd
2015-05-15  7:42     ` Bintian
2015-05-15  7:42       ` Bintian
2015-05-15  7:42       ` Bintian
2015-05-15 19:30       ` Stephen Boyd
2015-05-15 19:30         ` Stephen Boyd
2015-05-15 19:30         ` Stephen Boyd
2015-05-16  2:54         ` Brent Wang
2015-05-16  2:54           ` Brent Wang
2015-05-16  2:54           ` Brent Wang
2015-05-19 20:35           ` Stephen Boyd
2015-05-19 20:35             ` Stephen Boyd
2015-05-19 20:35             ` Stephen Boyd
2015-05-20  0:52             ` Bintian
2015-05-20  0:52               ` Bintian
2015-05-20  0:52               ` Bintian
2015-05-05 12:06 ` [PATCH v4 5/5] arm64: dts: Add dts files for Hisilicon Hi6220 SoC Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-05 12:06   ` Bintian Wang
2015-05-05 17:13   ` Mark Rutland
2015-05-05 17:13     ` Mark Rutland
2015-05-06  3:16     ` Bintian
2015-05-06  3:16       ` Bintian
2015-05-06  3:51       ` Leo Yan
2015-05-06  3:51         ` Leo Yan
2015-05-06  9:20         ` Mark Rutland
2015-05-06  9:20           ` Mark Rutland
2015-05-06 11:17           ` Leo Yan
2015-05-06 11:17             ` Leo Yan
2015-05-06  6:50       ` Bintian
2015-05-06  6:50         ` Bintian
2015-05-06  9:30         ` Mark Rutland
2015-05-06  9:30           ` Mark Rutland
2015-05-06 10:36           ` Bintian
2015-05-06 10:36             ` Bintian
2015-05-06 10:55             ` Mark Rutland
2015-05-06 10:55               ` Mark Rutland
2015-05-06 15:31               ` Brent Wang
2015-05-06 15:31                 ` Brent Wang
2015-05-06 15:44                 ` Mark Rutland
2015-05-06 15:44                   ` Mark Rutland
2015-05-06 16:03                   ` Brent Wang
2015-05-06 16:03                     ` Brent Wang
2015-05-06 16:23                     ` Mark Rutland
2015-05-06 16:23                       ` Mark Rutland
2015-05-06 17:15                       ` Brent Wang
2015-05-06 17:15                         ` Brent Wang
2015-05-07  7:24                         ` Bintian
2015-05-07  7:24                           ` Bintian
2015-05-13  7:12               ` Bintian Wang
2015-05-13  7:12                 ` Bintian Wang
2015-05-13  7:30                 ` Bintian [this message]
2015-05-13  7:30                   ` Bintian
2015-05-06 10:38           ` Haojian Zhuang
2015-05-06 10:38             ` Haojian Zhuang
2015-05-06 11:01             ` Mark Rutland
2015-05-06 11:01               ` Mark Rutland
2015-05-05 13:45 ` [PATCH v4 0/5] arm64,hi6220: Enable " Haojian Zhuang
2015-05-05 13:45   ` Haojian Zhuang
2015-05-05 13:45   ` Haojian Zhuang
2015-05-05 23:46 ` Tyler Baker
2015-05-05 23:46   ` Tyler Baker
2015-05-05 23:46   ` Tyler Baker
2015-05-06 10:46   ` Bintian
2015-05-06 10:46     ` Bintian
2015-05-06 10:46     ` Bintian
2015-05-07  9:02 ` Will Deacon
2015-05-07  9:02   ` Will Deacon
2015-05-07  9:29   ` Bintian
2015-05-07  9:29     ` Bintian
2015-05-07 11:25     ` Will Deacon
2015-05-07 11:25       ` Will Deacon
2015-05-07 11:55       ` Leo Yan
2015-05-07 11:55         ` Leo Yan
2015-05-07 12:01       ` Bintian
2015-05-07 12:01         ` Bintian
2015-05-07 12:57         ` Will Deacon
2015-05-07 12:57           ` Will Deacon
2015-05-07 13:06           ` Bintian
2015-05-07 13:06             ` Bintian
2015-05-07  9:33   ` Haojian Zhuang
2015-05-07  9:33     ` Haojian Zhuang
2015-05-07 10:44     ` Jorge Ramirez-Ortiz
2015-05-07 10:44       ` Jorge Ramirez-Ortiz
2015-05-13  7:33 ` Bintian
2015-05-13  7:33   ` Bintian
2015-05-13  7:33   ` Bintian
2015-05-13  9:16   ` Will Deacon
2015-05-13  9:16     ` Will Deacon
2015-05-13  9:19     ` Arnd Bergmann
2015-05-13  9:19       ` Arnd Bergmann
2015-05-13 10:17     ` Bintian
2015-05-13 10:17       ` Bintian

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=5552FD9F.7000609@huawei.com \
    --to=bintian.wang@huawei.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.