All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jingchang Lu <jingchang.lu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
To: "Diana.Craciun-KZfg59tc24xl57MIdRCFDg@public.gmane.org"
	<Diana.Craciun-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Cc: Shawn Guo <Shawn.Guo-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	"mark.rutland-5wv7dgnIgG8@public.gmane.org"
	<mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: RE: [PATCHv2 4/6] dt-bindings: arm: add Freescale LS1021A SoC device tree binding
Date: Fri, 22 Aug 2014 10:21:18 +0000	[thread overview]
Message-ID: <1473bddb7bc142d086d529e755c741d8@BL2PR03MB467.namprd03.prod.outlook.com> (raw)
In-Reply-To: <53F495F1.60800-KZfg59tc24xl57MIdRCFDg@public.gmane.org>



>-----Original Message-----
>From: Diana Craciun [mailto:diana.craciun@freescale.com]
>Sent: Wednesday, August 20, 2014 8:35 PM
>To: Lu Jingchang-B35083
>Cc: Guo Shawn-R65073; mark.rutland@arm.com; devicetree@vger.kernel.org;
>linux-arm-kernel@lists.infradead.org
>Subject: Re: [PATCHv2 4/6] dt-bindings: arm: add Freescale LS1021A SoC
>device tree binding
>
>On 08/04/2014 12:39 PM, Jingchang Lu wrote:
>> Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com>
>> ---
>>   Documentation/devicetree/bindings/arm/fsl.txt | 37
>+++++++++++++++++++++++++++
>>   1 file changed, 37 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/fsl.txt
>> b/Documentation/devicetree/bindings/arm/fsl.txt
>> index e935d7d..c962124 100644
>> --- a/Documentation/devicetree/bindings/arm/fsl.txt
>> +++ b/Documentation/devicetree/bindings/arm/fsl.txt
>> @@ -74,3 +74,40 @@ Required root node properties:
>>   i.MX6q generic board
>>   Required root node properties:
>>       - compatible = "fsl,imx6q";
>> +
>> +
>> +Freescale LS1021A Platform Device Tree Bindings
>> +------------------------------------------------
>> +
>> +Required root node compatible properties:
>> +  - compatible = "fsl,ls1021a";
>> +
>> +SoC-specific device tree bindings for system configuration
>> +-------------------------------------------
>> +
>> +Required device node compatible properties:
>> +
>> +  - compatible = "fsl,ls1021a-scfg":
>> +	scfg is the supplemental configuration unit, provides SoC specific
>> +	configuration and status registers for the chip. There is no
>dedicate
>> +	driver for it, but for device whose configuration and status
>register
>> +	locates in this space should operate on it. Such as getting PEX port
>> +	status.
>> +
>> +  - compatible = "fsl,ls1021a-dcfg":
>> +	dcfg is the device configuration unit that provides general purpose
>> +	configuration and status for the device, there is no dedicate driver
>> +	for it, but for device whose configuration and status register
>locates
>> +	in this space should operate on it. Such as setting the secondary
>core
>> +	start address and release the secondary core from holdoff and
>startup.
>
>Is it that important to be mentioned in the binding that there is no
>driver for it? It seems to be just an implementation detail, the device
>tree describes the hardware not any particular implementation.
>
>> +
>> +Example:
>> +	scfg: scfg@1570000 {
>> +		compatible = "fsl,ls1021a-scfg";
>> +		reg = <0x0 0x1570000 0x0 0x10000>;
>
>The reg is not part of the description above. I think that each of these
>nodes should be described separate, maybe something like this:
>
>Freescale SCFG
>
>scfg is the supplemental configuration unit, provides SoC specific
>configuration and status registers for the chip. There is no dedicate
>driver for it, but for device whose configuration and status register
>locates in this space should operate on it. Such as getting PEX port
>status.
Thanks, I will redescribe them.



Best Regards,
Jingchang





WARNING: multiple messages have this Message-ID (diff)
From: jingchang.lu@freescale.com (Jingchang Lu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 4/6] dt-bindings: arm: add Freescale LS1021A SoC device tree binding
Date: Fri, 22 Aug 2014 10:21:18 +0000	[thread overview]
Message-ID: <1473bddb7bc142d086d529e755c741d8@BL2PR03MB467.namprd03.prod.outlook.com> (raw)
In-Reply-To: <53F495F1.60800@freescale.com>



>-----Original Message-----
>From: Diana Craciun [mailto:diana.craciun at freescale.com]
>Sent: Wednesday, August 20, 2014 8:35 PM
>To: Lu Jingchang-B35083
>Cc: Guo Shawn-R65073; mark.rutland at arm.com; devicetree at vger.kernel.org;
>linux-arm-kernel at lists.infradead.org
>Subject: Re: [PATCHv2 4/6] dt-bindings: arm: add Freescale LS1021A SoC
>device tree binding
>
>On 08/04/2014 12:39 PM, Jingchang Lu wrote:
>> Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com>
>> ---
>>   Documentation/devicetree/bindings/arm/fsl.txt | 37
>+++++++++++++++++++++++++++
>>   1 file changed, 37 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/fsl.txt
>> b/Documentation/devicetree/bindings/arm/fsl.txt
>> index e935d7d..c962124 100644
>> --- a/Documentation/devicetree/bindings/arm/fsl.txt
>> +++ b/Documentation/devicetree/bindings/arm/fsl.txt
>> @@ -74,3 +74,40 @@ Required root node properties:
>>   i.MX6q generic board
>>   Required root node properties:
>>       - compatible = "fsl,imx6q";
>> +
>> +
>> +Freescale LS1021A Platform Device Tree Bindings
>> +------------------------------------------------
>> +
>> +Required root node compatible properties:
>> +  - compatible = "fsl,ls1021a";
>> +
>> +SoC-specific device tree bindings for system configuration
>> +-------------------------------------------
>> +
>> +Required device node compatible properties:
>> +
>> +  - compatible = "fsl,ls1021a-scfg":
>> +	scfg is the supplemental configuration unit, provides SoC specific
>> +	configuration and status registers for the chip. There is no
>dedicate
>> +	driver for it, but for device whose configuration and status
>register
>> +	locates in this space should operate on it. Such as getting PEX port
>> +	status.
>> +
>> +  - compatible = "fsl,ls1021a-dcfg":
>> +	dcfg is the device configuration unit that provides general purpose
>> +	configuration and status for the device, there is no dedicate driver
>> +	for it, but for device whose configuration and status register
>locates
>> +	in this space should operate on it. Such as setting the secondary
>core
>> +	start address and release the secondary core from holdoff and
>startup.
>
>Is it that important to be mentioned in the binding that there is no
>driver for it? It seems to be just an implementation detail, the device
>tree describes the hardware not any particular implementation.
>
>> +
>> +Example:
>> +	scfg: scfg at 1570000 {
>> +		compatible = "fsl,ls1021a-scfg";
>> +		reg = <0x0 0x1570000 0x0 0x10000>;
>
>The reg is not part of the description above. I think that each of these
>nodes should be described separate, maybe something like this:
>
>Freescale SCFG
>
>scfg is the supplemental configuration unit, provides SoC specific
>configuration and status registers for the chip. There is no dedicate
>driver for it, but for device whose configuration and status register
>locates in this space should operate on it. Such as getting PEX port
>status.
Thanks, I will redescribe them.



Best Regards,
Jingchang

  parent reply	other threads:[~2014-08-22 10:21 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04  9:39 [PATCHv2 0/6] ARM: imx: Add Freescale LS1021A SoC and board support Jingchang Lu
2014-08-04  9:39 ` Jingchang Lu
     [not found] ` <1407145148-29217-1-git-send-email-jingchang.lu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-08-04  9:39   ` [PATCHv2 1/6] ARM: dts: Add SoC level device tree support for LS1021A Jingchang Lu
2014-08-04  9:39     ` Jingchang Lu
2014-08-04  9:39   ` [PATCHv2 2/6] ARM: dts: Add initial LS1021A QDS board dts support Jingchang Lu
2014-08-04  9:39     ` Jingchang Lu
     [not found]     ` <1407145148-29217-3-git-send-email-jingchang.lu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-08-21 11:44       ` Diana Craciun
2014-08-21 11:44         ` Diana Craciun
2014-08-04  9:39   ` [PATCHv2 4/6] dt-bindings: arm: add Freescale LS1021A SoC device tree binding Jingchang Lu
2014-08-04  9:39     ` Jingchang Lu
     [not found]     ` <1407145148-29217-5-git-send-email-jingchang.lu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-08-20 12:34       ` Diana Craciun
2014-08-20 12:34         ` Diana Craciun
     [not found]         ` <53F495F1.60800-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-08-22 10:21           ` Jingchang Lu [this message]
2014-08-22 10:21             ` Jingchang Lu
2014-08-04  9:39   ` [PATCHv2 5/6] ARM: imx: Add initial support for Freescale LS1021A Jingchang Lu
2014-08-04  9:39     ` Jingchang Lu
2014-08-04  9:39   ` [PATCHv2 6/6] ARM: imx: Add Freescale LS1021A SMP support Jingchang Lu
2014-08-04  9:39     ` Jingchang Lu
2014-08-04  9:39 ` [PATCHv2 3/6] ARM: dts: Add initial LS1021A TWR board dts support Jingchang Lu
2014-08-04  9:39   ` Jingchang Lu

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=1473bddb7bc142d086d529e755c741d8@BL2PR03MB467.namprd03.prod.outlook.com \
    --to=jingchang.lu-kzfg59tc24xl57midrcfdg@public.gmane.org \
    --cc=Diana.Craciun-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    --cc=Shawn.Guo-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.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.