All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Kishon Vijay Abraham I <kishon@ti.com>, Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>
Subject: [PATCH v4 05/11] dt-bindings: phy-mtk-tphy: add the properties about address mapping
Date: Tue, 12 Nov 2019 16:36:30 +0800	[thread overview]
Message-ID: <1573547796-29566-5-git-send-email-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <1573547796-29566-1-git-send-email-chunfeng.yun@mediatek.com>

Add three required properties about the address mapping, including
'#address-cells', '#size-cells' and 'ranges'

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
v3~v4: no changes

v2: add Reviewed-by Rob
---
 Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
index a859b0db4051..dd75b676b71d 100644
--- a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
+++ b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
@@ -14,6 +14,16 @@ Required properties (controller (parent) node):
 		  make use of "mediatek,generic-tphy-v1" on mt2701 instead and
 		  "mediatek,generic-tphy-v2" on mt2712 instead.
 
+- #address-cells:	the number of cells used to represent physical
+		base addresses.
+- #size-cells:	the number of cells used to represent the size of an address.
+- ranges:	the address mapping relationship to the parent, defined with
+		- empty value: if optional 'reg' is used.
+		- non-empty value: if optional 'reg' is not used. should set
+			the child's base address to 0, the physical address
+			within parent's address space, and the length of
+			the address map.
+
 Required nodes	: a sub-node is required for each port the controller
 		  provides. Address range information including the usual
 		  'reg' property is used inside these nodes to describe
-- 
2.23.0

WARNING: multiple messages have this Message-ID (diff)
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Kishon Vijay Abraham I <kishon@ti.com>, Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	linux-mediatek@lists.infradead.org,
	Matthias Brugger <matthias.bgg@gmail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 05/11] dt-bindings: phy-mtk-tphy: add the properties about address mapping
Date: Tue, 12 Nov 2019 16:36:30 +0800	[thread overview]
Message-ID: <1573547796-29566-5-git-send-email-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <1573547796-29566-1-git-send-email-chunfeng.yun@mediatek.com>

Add three required properties about the address mapping, including
'#address-cells', '#size-cells' and 'ranges'

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
v3~v4: no changes

v2: add Reviewed-by Rob
---
 Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
index a859b0db4051..dd75b676b71d 100644
--- a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
+++ b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
@@ -14,6 +14,16 @@ Required properties (controller (parent) node):
 		  make use of "mediatek,generic-tphy-v1" on mt2701 instead and
 		  "mediatek,generic-tphy-v2" on mt2712 instead.
 
+- #address-cells:	the number of cells used to represent physical
+		base addresses.
+- #size-cells:	the number of cells used to represent the size of an address.
+- ranges:	the address mapping relationship to the parent, defined with
+		- empty value: if optional 'reg' is used.
+		- non-empty value: if optional 'reg' is not used. should set
+			the child's base address to 0, the physical address
+			within parent's address space, and the length of
+			the address map.
+
 Required nodes	: a sub-node is required for each port the controller
 		  provides. Address range information including the usual
 		  'reg' property is used inside these nodes to describe
-- 
2.23.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: Kishon Vijay Abraham I <kishon@ti.com>, Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	linux-mediatek@lists.infradead.org,
	Matthias Brugger <matthias.bgg@gmail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 05/11] dt-bindings: phy-mtk-tphy: add the properties about address mapping
Date: Tue, 12 Nov 2019 16:36:30 +0800	[thread overview]
Message-ID: <1573547796-29566-5-git-send-email-chunfeng.yun@mediatek.com> (raw)
In-Reply-To: <1573547796-29566-1-git-send-email-chunfeng.yun@mediatek.com>

Add three required properties about the address mapping, including
'#address-cells', '#size-cells' and 'ranges'

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
v3~v4: no changes

v2: add Reviewed-by Rob
---
 Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
index a859b0db4051..dd75b676b71d 100644
--- a/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
+++ b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
@@ -14,6 +14,16 @@ Required properties (controller (parent) node):
 		  make use of "mediatek,generic-tphy-v1" on mt2701 instead and
 		  "mediatek,generic-tphy-v2" on mt2712 instead.
 
+- #address-cells:	the number of cells used to represent physical
+		base addresses.
+- #size-cells:	the number of cells used to represent the size of an address.
+- ranges:	the address mapping relationship to the parent, defined with
+		- empty value: if optional 'reg' is used.
+		- non-empty value: if optional 'reg' is not used. should set
+			the child's base address to 0, the physical address
+			within parent's address space, and the length of
+			the address map.
+
 Required nodes	: a sub-node is required for each port the controller
 		  provides. Address range information including the usual
 		  'reg' property is used inside these nodes to describe
-- 
2.23.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-11-12  8:37 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12  8:36 [PATCH v4 01/11] dt-bindings: phy-mtk-tphy: add two optional properties for u2phy Chunfeng Yun
2019-11-12  8:36 ` Chunfeng Yun
2019-11-12  8:36 ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 02/11] dt-bindings: phy-mtk-tphy: make the ref clock optional Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 03/11] dt-bindings: phy-mtk-tphy: remove unused u3phya_ref clock Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 04/11] dt-bindings: phy-mtk-tphy: add a new reference clock Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` Chunfeng Yun [this message]
2019-11-12  8:36   ` [PATCH v4 05/11] dt-bindings: phy-mtk-tphy: add the properties about address mapping Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 06/11] phy: phy-mtk-tphy: add a property for disconnect threshold Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 07/11] phy: phy-mtk-tphy: add a property for internal resistance Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 08/11] phy: phy-mtk-tphy: make the ref clock optional Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 09/11] phy: phy-mtk-tphy: remove unused u3phya_ref clock Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 10/11] phy: phy-mtk-tphy: add a new reference clock Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36 ` [PATCH v4 11/11] arm64: dts: mt2712: use non-empty ranges for usb-phy Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12  8:36   ` Chunfeng Yun
2019-11-12 13:12   ` Matthias Brugger
2019-11-12 13:12     ` Matthias Brugger
2019-11-12 13:12     ` Matthias Brugger
2019-11-13  3:18     ` Chunfeng Yun
2019-11-13  3:18       ` Chunfeng Yun
2019-11-13  3:18       ` Chunfeng Yun
2019-11-18 16:50 ` [PATCH v4 01/11] dt-bindings: phy-mtk-tphy: add two optional properties for u2phy Rob Herring
2019-11-18 16:50   ` Rob Herring
2019-11-18 16:50   ` 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=1573547796-29566-5-git-send-email-chunfeng.yun@mediatek.com \
    --to=chunfeng.yun@mediatek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.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.