[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1549536094.4557.8.camel@pengutronix.de>
Date: Thu, 07 Feb 2019 11:41:34 +0100
From: Philipp Zabel <p.zabel@...gutronix.de>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
xuwei5@...ilicon.com, robh+dt@...nel.org
Cc: linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, guodong.xu@...aro.org
Subject: Re: [PATCH 1/3] dt-bindings: reset: Add HI3670 reset controller
binding
Hi Manivannan,
On Fri, 2019-02-01 at 21:08 +0530, Manivannan Sadhasivam wrote:
> HI3670 SoC is architecturally same as the HI3660 SoC. Hence, the same
> driver is reused for HI3670 SoC and the binding is documented here.
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
> ---
> .../devicetree/bindings/reset/hisilicon,hi3660-reset.txt | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt
> index 2bf3344b2a02..5d60ec541331 100644
> --- a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt
> +++ b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.txt
> @@ -5,11 +5,12 @@ Please also refer to reset.txt in this directory for common reset
> controller binding usage.
>
> The reset controller registers are part of the system-ctl block on
> -hi3660 SoC.
> +hi3660 and hi3670 SoCs.
>
> Required properties:
> -- compatible: should be
> +- compatible: should be one of the following:
> "hisilicon,hi3660-reset"
> + "hisilicon,hi3670-reset"
If the HI3670 reset controller is compatible to the HI3660 reset
controller, this could be:
- compatible: should be one of the following:
"hisilicon,hi3660-reset" for HI3660
"hisilicon,hi3670-reset", "hisilicon,hi3660-reset" for HI3670
That way there would be no need to change the driver and it would be
documented that the two reset controllers are compatible.
regards
Philipp
Powered by blists - more mailing lists