diff mbox series

[1/3] dt-bindings: ufs: Add HI3670 UFS controller binding

Message ID 20181207175151.8969-2-manivannan.sadhasivam@linaro.org
State Accepted
Commit cc8ed1a9d65c537742b40658d94e0ebea9cb0e81
Headers show
Series Add UFS controller support for HI3670 SoC | expand

Commit Message

Manivannan Sadhasivam Dec. 7, 2018, 5:51 p.m. UTC
Add devicetree binding for HI3670 UFS controller. HI3760 SoC is very
similar to HI3660 SoC with almost same IPs. Only major difference interms
of UFS is the PHY. HI3670 has 10nm PHY.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

---
 Documentation/devicetree/bindings/ufs/ufs-hisi.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.17.1

Comments

Rob Herring Dec. 20, 2018, 5:12 p.m. UTC | #1
On Fri, Dec 07, 2018 at 11:21:49PM +0530, Manivannan Sadhasivam wrote:
> Add devicetree binding for HI3670 UFS controller. HI3760 SoC is very

> similar to HI3660 SoC with almost same IPs. Only major difference interms


s/interms/in terms/

> of UFS is the PHY. HI3670 has 10nm PHY.

> 

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> ---

>  Documentation/devicetree/bindings/ufs/ufs-hisi.txt | 4 +++-

>  1 file changed, 3 insertions(+), 1 deletion(-)

> 

> diff --git a/Documentation/devicetree/bindings/ufs/ufs-hisi.txt b/Documentation/devicetree/bindings/ufs/ufs-hisi.txt

> index a48c44817367..a327c1e24365 100644

> --- a/Documentation/devicetree/bindings/ufs/ufs-hisi.txt

> +++ b/Documentation/devicetree/bindings/ufs/ufs-hisi.txt

> @@ -6,7 +6,9 @@ Each UFS Host Controller should have its own node.

>  Required properties:

>  - compatible        : compatible list, contains one of the following -

>  					"hisilicon,hi3660-ufs", "jedec,ufs-1.1" for hisi ufs

> -					host controller present on Hi36xx chipset.

> +					host controller present on Hi3660 chipset.

> +					"hisilicon,hi3670-ufs", "jedec,ufs-2.1" for hisi ufs

> +					host controller present on Hi3670 chipset.


From the description, sounds like having "hisilicon,hi3660-ufs" as a 
fallback would be appropriate?

>  - reg               : should contain UFS register address space & UFS SYS CTRL register address,

>  - interrupt-parent  : interrupt device


Don't document interrupt-parent. It is implied.

>  - interrupts        : interrupt number

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/ufs/ufs-hisi.txt b/Documentation/devicetree/bindings/ufs/ufs-hisi.txt
index a48c44817367..a327c1e24365 100644
--- a/Documentation/devicetree/bindings/ufs/ufs-hisi.txt
+++ b/Documentation/devicetree/bindings/ufs/ufs-hisi.txt
@@ -6,7 +6,9 @@  Each UFS Host Controller should have its own node.
 Required properties:
 - compatible        : compatible list, contains one of the following -
 					"hisilicon,hi3660-ufs", "jedec,ufs-1.1" for hisi ufs
-					host controller present on Hi36xx chipset.
+					host controller present on Hi3660 chipset.
+					"hisilicon,hi3670-ufs", "jedec,ufs-2.1" for hisi ufs
+					host controller present on Hi3670 chipset.
 - reg               : should contain UFS register address space & UFS SYS CTRL register address,
 - interrupt-parent  : interrupt device
 - interrupts        : interrupt number