From patchwork Fri Oct 5 16:58:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 148234 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp688895lji; Fri, 5 Oct 2018 09:59:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV61q32WwbscVAoEhKHwCVoZcNsa7UkOzOi5QMztvAOeD0QkX/TO9VoEZcIQDRv9vAjYMC5Ln X-Received: by 2002:a62:4e09:: with SMTP id c9-v6mr12819977pfb.105.1538758744291; Fri, 05 Oct 2018 09:59:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758744; cv=none; d=google.com; s=arc-20160816; b=WSVNWsyzW2S8+le4OmeM00sCMUHs7rEIrwb0rqemAMaaCQybLWSDOns3cnWN4YCiw8 fl3s4ImvrtYAY3CUv/DzKshCBCV1oXTXLkQWzOhihXwGqLNBz8QiSFjda11elfQQp/CU T28IjUTedcnNhYtjBiW91jjmb3Nxt06cZxTSmnAxurYG5iM8Qz1Lqp9GPHCp3rxsnjdU CIwkATVk0GYO/z2/LbiKD+ezQSy+U8+4PwRJlSif6AX0DxfZhfqfmSsM1hcXzV0d8xxh e5Gf7ShlCpO3oQ8ZQilVjilGf3UE0UedaczpQZjq8PPdKYjTJQXJ5VfvxbSa0teo+Mu3 hjvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=OlNXSrgQVk4KWBLGVdUP3P75RriHc27c3ag6VlOGG+E=; b=fZ0REUP0EntbYU3S/50vb6xvXC997FdsmKgO20MVkmLLrFZROPHKHgEpr8feAkJQUg hBDn2aMuuSxHwjCrUDTh62FTKeSOSCaDwteRch/EZUXcIRXGSd64O3H7jTh5zDsDibXl MZtaT33RggtT66gPdupVnUPP/kLbEkbWtA2pK5oI9VS9j/PMElY5jjjz0AHtHsuwHHGQ GL3zpGOuKNrReKkj+XpvI5mOcGmZTJQohNt4BC1s9va4fZ1UNtQ3HOqq2CyV83vhEHRi Dj6jww0su0TmBnz0nir1Yvfq/BRsXp7vtjG2JrPeuvbfI4VaXao54Iuul/mvvwKScgJ8 y6wg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7-v6si8874507plt.21.2018.10.05.09.59.03; Fri, 05 Oct 2018 09:59:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729103AbeJEX6g (ORCPT + 32 others); Fri, 5 Oct 2018 19:58:36 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:38551 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728770AbeJEX6e (ORCPT ); Fri, 5 Oct 2018 19:58:34 -0400 Received: by mail-ot1-f66.google.com with SMTP id l1so28926otj.5; Fri, 05 Oct 2018 09:58:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OlNXSrgQVk4KWBLGVdUP3P75RriHc27c3ag6VlOGG+E=; b=S5rly4akOTXqpBWpHmibVaS2OeZiE/8BZJo1YTkhm6wwePplmNaKTMijNMur5ZyKPb 4GSLP0DQBaHsLCDoxH3lqu9j0UEuYQ3SAMMQW4Bd7ClhLOgZM4nBo51z+qkDDsR6OzEX +4DT3ZCybNj+v2/us5jAay/Mb3pnOziM0LV3rAJv6FwoDtxXB7dE57SokC1LZRo+zY/d hbtwhvM5BlR8DPtSQ33XDQq51hlJvZsbUQZMDBFxcLA/cSAg71OVpIxPzvsni9bWf8/A L5N39I/dhojFs/fyauMRl3ObzMhh3c2NcffrekDxFy2I+xfRZzpeS3VCK+Ylo1waTSAI LyWg== X-Gm-Message-State: ABuFfoi82ukE6qKMuUPWUNSNXXVpdFZ+LNTTnx0N+YPDQpEBAPvj5fPZ juk769qCHtMFl94ZoV23WTO+suNMhA== X-Received: by 2002:a9d:48b9:: with SMTP id d54mr6766139otf.144.1538758738565; Fri, 05 Oct 2018 09:58:58 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id u63-v6sm2904328ota.75.2018.10.05.09.58.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:58:58 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Cc: Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Geert Uytterhoeven , Jonathan Cameron , Bjorn Andersson , Jun Nie , Baoyou Xie , Shawn Guo Subject: [PATCH 06/36] dt-bindings: arm: zte: Move sysctrl bindings to their own doc Date: Fri, 5 Oct 2018 11:58:18 -0500 Message-Id: <20181005165848.3474-7-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005165848.3474-1-robh@kernel.org> References: <20181005165848.3474-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to convert board-level bindings to json-schema, move various misc SoC bindings out to their own file. Cc: Mark Rutland Cc: Jun Nie Cc: Baoyou Xie Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/zte-sysctrl.txt | 30 +++++++++++++++++++ Documentation/devicetree/bindings/arm/zte.txt | 27 +---------------- 2 files changed, 31 insertions(+), 26 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/zte-sysctrl.txt -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/zte-sysctrl.txt b/Documentation/devicetree/bindings/arm/zte-sysctrl.txt new file mode 100644 index 000000000000..7e66b7f7ba96 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/zte-sysctrl.txt @@ -0,0 +1,30 @@ +ZTE sysctrl Registers + +Registers for 'zte,zx296702' SoC: + +System management required properties: + - compatible = "zte,sysctrl" + +Low power management required properties: + - compatible = "zte,zx296702-pcu" + +Bus matrix required properties: + - compatible = "zte,zx-bus-matrix" + + +Registers for 'zte,zx296718' SoC: + +System management required properties: + - compatible = "zte,zx296718-aon-sysctrl" + - compatible = "zte,zx296718-sysctrl" + +Example: +aon_sysctrl: aon-sysctrl@116000 { + compatible = "zte,zx296718-aon-sysctrl", "syscon"; + reg = <0x116000 0x1000>; +}; + +sysctrl: sysctrl@1463000 { + compatible = "zte,zx296718-sysctrl", "syscon"; + reg = <0x1463000 0x1000>; +}; diff --git a/Documentation/devicetree/bindings/arm/zte.txt b/Documentation/devicetree/bindings/arm/zte.txt index 83369785d29c..340612794a37 100644 --- a/Documentation/devicetree/bindings/arm/zte.txt +++ b/Documentation/devicetree/bindings/arm/zte.txt @@ -1,20 +1,10 @@ ZTE platforms device tree bindings ---------------------------------------- +--------------------------------------- - ZX296702 board: Required root node properties: - compatible = "zte,zx296702-ad1", "zte,zx296702" -System management required properties: - - compatible = "zte,sysctrl" - -Low power management required properties: - - compatible = "zte,zx296702-pcu" - -Bus matrix required properties: - - compatible = "zte,zx-bus-matrix" - - --------------------------------------- - ZX296718 SoC: Required root node properties: @@ -22,18 +12,3 @@ Bus matrix required properties: ZX296718 EVB board: - "zte,zx296718-evb" - -System management required properties: - - compatible = "zte,zx296718-aon-sysctrl" - - compatible = "zte,zx296718-sysctrl" - -Example: -aon_sysctrl: aon-sysctrl@116000 { - compatible = "zte,zx296718-aon-sysctrl", "syscon"; - reg = <0x116000 0x1000>; -}; - -sysctrl: sysctrl@1463000 { - compatible = "zte,zx296718-sysctrl", "syscon"; - reg = <0x1463000 0x1000>; -};