mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xinliang Liu <xinliang.liu@linaro.org>
To: p.zabel@pengutronix.de
Cc: linux-kernel@vger.kernel.org, robh+dt@kernel.org,
	xuwei5@hisilicon.com, puck.chen@hisilicon.com,
	saberlily.xia@hisilicon.com, kong.kongxinwei@hisilicon.com,
	guodong.xu@linaro.org, Xinliang Liu <xinliang.liu@linaro.org>
Subject: [PATCH v3 1/4] reset: hisilicon: Add media reset controller binding
Date: Mon, 20 Jun 2016 11:50:04 +0800	[thread overview]
Message-ID: <20160620035007.229629-2-xinliang.liu@linaro.org> (raw)
In-Reply-To: <20160620035007.229629-1-xinliang.liu@linaro.org>

Add compatible for media reset controller.

Actually, there are two reset controllers in hi6220 SoC:
The peripheral reset controller bits are part of sysctrl registers.
The media reset controller bits are part of mediactrl registers.
So for the compatible part, it should contain "syscon" for both peripheral
and media reset controller.

Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
---
 Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt b/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
index e0b185a944ba..c25da39df707 100644
--- a/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
+++ b/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
@@ -8,7 +8,9 @@ The reset controller registers are part of the system-ctl block on
 hi6220 SoC.
 
 Required properties:
-- compatible: may be "hisilicon,hi6220-sysctrl"
+- compatible: should be one of the following:
+  - "hisilicon,hi6220-sysctrl", "syscon" : For peripheral reset controller.
+  - "hisilicon,hi6220-mediactrl", "syscon" : For media reset controller.
 - reg: should be register base and length as documented in the
   datasheet
 - #reset-cells: 1, see below
-- 
2.8.3

  reply	other threads:[~2016-06-20  3:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20  3:50 [PATCH v3 0/4] Add hi6220 media subsystem reset controller driver Xinliang Liu
2016-06-20  3:50 ` Xinliang Liu [this message]
2016-06-20 12:07   ` [PATCH v3 1/4] reset: hisilicon: Add media reset controller binding Philipp Zabel
2016-06-20 13:55     ` Xinliang Liu
2016-06-20  3:50 ` [PATCH v3 2/4] arm64: dts: hi6220: Add media subsystem reset dts Xinliang Liu
2016-06-20  3:50 ` [PATCH v3 3/4] reset: hisilicon: Change to syscon register access Xinliang Liu
2016-06-20  3:50 ` [PATCH v3 4/4] reset: hisilicon: Add hi6220 media subsystem reset support Xinliang Liu

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=20160620035007.229629-2-xinliang.liu@linaro.org \
    --to=xinliang.liu@linaro.org \
    --cc=guodong.xu@linaro.org \
    --cc=kong.kongxinwei@hisilicon.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=puck.chen@hisilicon.com \
    --cc=robh+dt@kernel.org \
    --cc=saberlily.xia@hisilicon.com \
    --cc=xuwei5@hisilicon.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®