All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: honghui.zhang@mediatek.com
Cc: bhelgaas@google.com, robh@kerenl.org, robh+dt@kernel.org,
	matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	yingjoe.chen@mediatek.com, eddie.huang@mediatek.com,
	ryder.lee@mediatek.com, youlin.pei@mediatek.com,
	hongkun.cao@mediatek.com, sean.wang@mediatek.com,
	xinping.qian@mediatek.com, yt.shen@mediatek.com,
	yong.wu@mediatek.com
Subject: Re: [PATCH v2 5/5] dt-bindings: PCI: add support for new generation controller
Date: Thu, 3 Aug 2017 17:45:16 -0500	[thread overview]
Message-ID: <20170803224516.GO20308@bhelgaas-glaptop.roam.corp.google.com> (raw)
In-Reply-To: <06c9b3439431221794fc9f723fef52ff59be7ec6.1501122135.git.honghui.zhang@mediatek.com>

On Thu, Jul 27, 2017 at 10:58:39AM +0800, honghui.zhang@mediatek.com wrote:
> From: Ryder Lee <ryder.lee@mediatek.com>
> 
> Add support for MediaTek new generation controller and update related
> properities.
> 
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
> ---
>  .../devicetree/bindings/pci/mediatek-pcie.txt      | 168 ++++++++++++++++++++-
>  1 file changed, 161 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie.txt b/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> index a968f25..179329b 100644
> --- a/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> @@ -3,18 +3,31 @@ MediaTek Gen2 PCIe controller
>  Required properties:
>  - compatible: Should contain one of the following string:
>  	"mediatek,mt2701-pcie"
> +	"mediatek,mt2712-pcie"
> +	"mediatek,mt7622-pcie"
>  	"mediatek,mt7623-pcie"
>  - device_type: Must be "pci"
> -- reg: Base addresses and lengths of the PCIe controller.
> +- reg: Base addresses and lengths of the PICe subsys and root ports.

s/PICe/PCIe/

> +- reg-names: Names of the above areas to use during resource look-up.
>  - #address-cells: Address representation for root ports (must be 3)
>  - #size-cells: Size representation for root ports (must be 2)
>  - clocks: Must contain an entry for each entry in clock-names.
>    See ../clocks/clock-bindings.txt for details.
> -- clock-names: Must include the following entries:
> -  - free_ck :for reference clock of PCIe subsys
> -  - sys_ck0 :for clock of Port0
> -  - sys_ck1 :for clock of Port1
> -  - sys_ck2 :for clock of Port2
> +- clock-names:
> +  Mandatory entries:
> +   - sys_ckN :transaction layer and data link layer clock
> +  Required entries for MT2701/MT7623:
> +   - free_ck :for reference clock of PCIe subsys
> +  Required entries for MT2712/MT7622:
> +   - ahb_ckN :AHB slave interface operating clock for CSR access and RC
> +	      initiated MMIO access
> +  Required entries for MT7622:
> +   - axi_ckN :application layer MMIO channel operating clock
> +   - aux_ckN :pe2_mac_bridge and pe2_mac_core operating clock when
> +	      pcie_mac_ck/pcie_pipe_ck is turned off
> +   - obff_ckN :OBFF functional block operating clock
> +   - pipe_ckN :LTSSM and phy/mac layer operating clock

s/phy/PHY/
s/mac/MAC/

> +  where N starting from 0 to the maximum number of root ports.

Probably to "one less than the number of root ports"?

WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Helgaas <helgaas@kernel.org>
To: honghui.zhang@mediatek.com
Cc: youlin.pei@mediatek.com, devicetree@vger.kernel.org,
	hongkun.cao@mediatek.com, ryder.lee@mediatek.com,
	linux-pci@vger.kernel.org, sean.wang@mediatek.com,
	yong.wu@mediatek.com, linux-kernel@vger.kernel.org,
	robh+dt@kernel.org, yt.shen@mediatek.com, matthias.bgg@gmail.com,
	robh@kerenl.org, linux-mediatek@lists.infradead.org,
	xinping.qian@mediatek.com, bhelgaas@google.com,
	yingjoe.chen@mediatek.com, eddie.huang@mediatek.com,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 5/5] dt-bindings: PCI: add support for new generation controller
Date: Thu, 3 Aug 2017 17:45:16 -0500	[thread overview]
Message-ID: <20170803224516.GO20308@bhelgaas-glaptop.roam.corp.google.com> (raw)
In-Reply-To: <06c9b3439431221794fc9f723fef52ff59be7ec6.1501122135.git.honghui.zhang@mediatek.com>

On Thu, Jul 27, 2017 at 10:58:39AM +0800, honghui.zhang@mediatek.com wrote:
> From: Ryder Lee <ryder.lee@mediatek.com>
> 
> Add support for MediaTek new generation controller and update related
> properities.
> 
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
> ---
>  .../devicetree/bindings/pci/mediatek-pcie.txt      | 168 ++++++++++++++++++++-
>  1 file changed, 161 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie.txt b/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> index a968f25..179329b 100644
> --- a/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> @@ -3,18 +3,31 @@ MediaTek Gen2 PCIe controller
>  Required properties:
>  - compatible: Should contain one of the following string:
>  	"mediatek,mt2701-pcie"
> +	"mediatek,mt2712-pcie"
> +	"mediatek,mt7622-pcie"
>  	"mediatek,mt7623-pcie"
>  - device_type: Must be "pci"
> -- reg: Base addresses and lengths of the PCIe controller.
> +- reg: Base addresses and lengths of the PICe subsys and root ports.

s/PICe/PCIe/

> +- reg-names: Names of the above areas to use during resource look-up.
>  - #address-cells: Address representation for root ports (must be 3)
>  - #size-cells: Size representation for root ports (must be 2)
>  - clocks: Must contain an entry for each entry in clock-names.
>    See ../clocks/clock-bindings.txt for details.
> -- clock-names: Must include the following entries:
> -  - free_ck :for reference clock of PCIe subsys
> -  - sys_ck0 :for clock of Port0
> -  - sys_ck1 :for clock of Port1
> -  - sys_ck2 :for clock of Port2
> +- clock-names:
> +  Mandatory entries:
> +   - sys_ckN :transaction layer and data link layer clock
> +  Required entries for MT2701/MT7623:
> +   - free_ck :for reference clock of PCIe subsys
> +  Required entries for MT2712/MT7622:
> +   - ahb_ckN :AHB slave interface operating clock for CSR access and RC
> +	      initiated MMIO access
> +  Required entries for MT7622:
> +   - axi_ckN :application layer MMIO channel operating clock
> +   - aux_ckN :pe2_mac_bridge and pe2_mac_core operating clock when
> +	      pcie_mac_ck/pcie_pipe_ck is turned off
> +   - obff_ckN :OBFF functional block operating clock
> +   - pipe_ckN :LTSSM and phy/mac layer operating clock

s/phy/PHY/
s/mac/MAC/

> +  where N starting from 0 to the maximum number of root ports.

Probably to "one less than the number of root ports"?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: helgaas@kernel.org (Bjorn Helgaas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 5/5] dt-bindings: PCI: add support for new generation controller
Date: Thu, 3 Aug 2017 17:45:16 -0500	[thread overview]
Message-ID: <20170803224516.GO20308@bhelgaas-glaptop.roam.corp.google.com> (raw)
In-Reply-To: <06c9b3439431221794fc9f723fef52ff59be7ec6.1501122135.git.honghui.zhang@mediatek.com>

On Thu, Jul 27, 2017 at 10:58:39AM +0800, honghui.zhang at mediatek.com wrote:
> From: Ryder Lee <ryder.lee@mediatek.com>
> 
> Add support for MediaTek new generation controller and update related
> properities.
> 
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
> ---
>  .../devicetree/bindings/pci/mediatek-pcie.txt      | 168 ++++++++++++++++++++-
>  1 file changed, 161 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie.txt b/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> index a968f25..179329b 100644
> --- a/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie.txt
> @@ -3,18 +3,31 @@ MediaTek Gen2 PCIe controller
>  Required properties:
>  - compatible: Should contain one of the following string:
>  	"mediatek,mt2701-pcie"
> +	"mediatek,mt2712-pcie"
> +	"mediatek,mt7622-pcie"
>  	"mediatek,mt7623-pcie"
>  - device_type: Must be "pci"
> -- reg: Base addresses and lengths of the PCIe controller.
> +- reg: Base addresses and lengths of the PICe subsys and root ports.

s/PICe/PCIe/

> +- reg-names: Names of the above areas to use during resource look-up.
>  - #address-cells: Address representation for root ports (must be 3)
>  - #size-cells: Size representation for root ports (must be 2)
>  - clocks: Must contain an entry for each entry in clock-names.
>    See ../clocks/clock-bindings.txt for details.
> -- clock-names: Must include the following entries:
> -  - free_ck :for reference clock of PCIe subsys
> -  - sys_ck0 :for clock of Port0
> -  - sys_ck1 :for clock of Port1
> -  - sys_ck2 :for clock of Port2
> +- clock-names:
> +  Mandatory entries:
> +   - sys_ckN :transaction layer and data link layer clock
> +  Required entries for MT2701/MT7623:
> +   - free_ck :for reference clock of PCIe subsys
> +  Required entries for MT2712/MT7622:
> +   - ahb_ckN :AHB slave interface operating clock for CSR access and RC
> +	      initiated MMIO access
> +  Required entries for MT7622:
> +   - axi_ckN :application layer MMIO channel operating clock
> +   - aux_ckN :pe2_mac_bridge and pe2_mac_core operating clock when
> +	      pcie_mac_ck/pcie_pipe_ck is turned off
> +   - obff_ckN :OBFF functional block operating clock
> +   - pipe_ckN :LTSSM and phy/mac layer operating clock

s/phy/PHY/
s/mac/MAC/

> +  where N starting from 0 to the maximum number of root ports.

Probably to "one less than the number of root ports"?

  parent reply	other threads:[~2017-08-03 22:45 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27  2:58 [PATCH v2 0/5] PCI: MediaTek: Add support for new generation host controller honghui.zhang
2017-07-27  2:58 ` honghui.zhang at mediatek.com
2017-07-27  2:58 ` honghui.zhang
2017-07-27  2:58 ` honghui.zhang
2017-07-27  2:58 ` [PATCH v2 1/5] PCI: mediatek: Add a structure to abstract the controller generations honghui.zhang
2017-07-27  2:58   ` honghui.zhang at mediatek.com
2017-07-27  2:58   ` honghui.zhang
2017-07-27  3:19   ` Honghui Zhang
2017-07-27  3:19     ` Honghui Zhang
2017-07-27  3:19     ` Honghui Zhang
2017-07-27  3:19     ` Honghui Zhang
2017-07-27  3:28     ` Honghui Zhang
2017-07-27  3:28       ` Honghui Zhang
2017-07-27  3:28       ` Honghui Zhang
2017-07-27  3:28       ` Honghui Zhang
2017-08-03 22:15   ` Bjorn Helgaas
2017-08-03 22:15     ` Bjorn Helgaas
2017-08-03 22:15     ` Bjorn Helgaas
2017-07-27  2:58 ` [PATCH v2 2/5] PCI: mediatek: switch to use platform_get_resource_byname() honghui.zhang
2017-07-27  2:58   ` honghui.zhang at mediatek.com
2017-07-27  2:58   ` honghui.zhang
2017-07-27  2:58 ` [PATCH v2 3/5] dt-bindings: PCI: rename and cleanup MediaTek binding text honghui.zhang
2017-07-27  2:58   ` honghui.zhang at mediatek.com
2017-07-27  2:58   ` honghui.zhang
2017-07-27  2:58   ` honghui.zhang
2017-08-03 19:10   ` Rob Herring
2017-08-03 19:10     ` Rob Herring
2017-08-03 19:10     ` Rob Herring
2017-08-03 22:17   ` Bjorn Helgaas
2017-08-03 22:17     ` Bjorn Helgaas
2017-08-03 22:17     ` Bjorn Helgaas
2017-07-27  2:58 ` [PATCH v2 4/5] PCI: mediatek: Add new generation controller support honghui.zhang
2017-07-27  2:58   ` honghui.zhang at mediatek.com
2017-07-27  2:58   ` honghui.zhang
2017-08-03 22:42   ` Bjorn Helgaas
2017-08-03 22:42     ` Bjorn Helgaas
2017-08-03 22:42     ` Bjorn Helgaas
2017-08-04  8:39     ` Honghui Zhang
2017-08-04  8:39       ` Honghui Zhang
2017-08-04  8:39       ` Honghui Zhang
2017-08-04 13:18       ` Bjorn Helgaas
2017-08-04 13:18         ` Bjorn Helgaas
2017-08-04 13:18         ` Bjorn Helgaas
2017-08-05  4:52         ` Ryder Lee
2017-08-05  4:52           ` Ryder Lee
2017-08-05  4:52           ` Ryder Lee
2017-08-05  6:16           ` Ryder Lee
2017-08-05  6:16             ` Ryder Lee
2017-08-05  6:16             ` Ryder Lee
2017-08-07  3:40             ` Honghui Zhang
2017-08-07  3:40               ` Honghui Zhang
2017-08-07  3:40               ` Honghui Zhang
2017-08-08 20:16           ` Bjorn Helgaas
2017-08-08 20:16             ` Bjorn Helgaas
2017-08-08 20:16             ` Bjorn Helgaas
2017-08-08 20:16             ` Bjorn Helgaas
2017-08-08 20:19         ` Bjorn Helgaas
2017-08-08 20:19           ` Bjorn Helgaas
2017-08-08 20:19           ` Bjorn Helgaas
2017-08-09  6:49           ` Honghui Zhang
2017-08-09  6:49             ` Honghui Zhang
2017-08-09  6:49             ` Honghui Zhang
2017-08-09 16:43             ` Paul Burton
2017-08-09 16:43               ` Paul Burton
2017-08-09 16:43               ` Paul Burton
2017-07-27  2:58 ` [PATCH v2 5/5] dt-bindings: PCI: add support for new generation controller honghui.zhang
2017-07-27  2:58   ` honghui.zhang at mediatek.com
2017-07-27  2:58   ` honghui.zhang
2017-07-27  2:58   ` honghui.zhang
2017-07-27  3:31   ` Honghui Zhang
2017-07-27  3:31     ` Honghui Zhang
2017-07-27  3:31     ` Honghui Zhang
2017-07-27  3:31     ` Honghui Zhang
2017-07-27  3:38   ` Honghui Zhang
2017-07-27  3:38     ` Honghui Zhang
2017-07-27  3:38     ` Honghui Zhang
2017-07-27  3:38     ` Honghui Zhang
2017-08-03 22:45   ` Bjorn Helgaas [this message]
2017-08-03 22:45     ` Bjorn Helgaas
2017-08-03 22:45     ` Bjorn Helgaas
     [not found] <cover.1501125202.git.honghui.zhang@mediatek.com>
2017-07-27  3:14 ` honghui.zhang
2017-07-27  3:14   ` honghui.zhang at mediatek.com
2017-07-27  3:14   ` honghui.zhang
2017-07-27  3:14   ` honghui.zhang-NuS5LvNUpcJWk0Htik3J/w
2017-08-03 19:12   ` Rob Herring
2017-08-03 19:12     ` Rob Herring
2017-08-03 19:12     ` Rob Herring

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=20170803224516.GO20308@bhelgaas-glaptop.roam.corp.google.com \
    --to=helgaas@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=eddie.huang@mediatek.com \
    --cc=honghui.zhang@mediatek.com \
    --cc=hongkun.cao@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=robh@kerenl.org \
    --cc=ryder.lee@mediatek.com \
    --cc=sean.wang@mediatek.com \
    --cc=xinping.qian@mediatek.com \
    --cc=yingjoe.chen@mediatek.com \
    --cc=yong.wu@mediatek.com \
    --cc=youlin.pei@mediatek.com \
    --cc=yt.shen@mediatek.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 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.