Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp686403imm; Fri, 5 Oct 2018 10:03:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV63F6ZDLV0j6BkBHaBpnGySo0gI2Vw3fuB/ubNvMhZfJ9z0f4AquB0yJfOfBKSXAyVxuNTAI X-Received: by 2002:a62:939d:: with SMTP id r29-v6mr12925261pfk.55.1538758998582; Fri, 05 Oct 2018 10:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758998; cv=none; d=google.com; s=arc-20160816; b=QJH4pm4fsPv0htaO/pdF5CMlAimTpIYI14Itd+tdRpo3a2c8un4I2p8GJfD4AvTngM JpSSbiI+7zrfDBD1U7UXNzzXbq/Cm/0kgj8dO7ADTnQfhV3O0WOhu/5R+NQv4RF8sjqM MXp2KHOwvyU/OQnm7v5exvLTLGbQCT0ond9S6D+h4qzgGTvr1FOaGPUz0+YLVpWjVhZD VvyYrf7l3bNzRgryGZ5GIXTpHbN6f3aUPzIoC0Bh+YpHKiFXzQvY+3CnflBcjzuvS8gi 4DUgjG6/trCID3IaLABN7fY+0U47TiODoKohk6hC5x9Xy6Kg2FlXLqB5f96yxj+vkW28 Kh3A== 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 p7-v6si8861053plo.159.2018.10.05.10.03.03; Fri, 05 Oct 2018 10:03:18 -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 S1729093AbeJEX6g (ORCPT + 99 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 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>; -}; -- 2.17.1