From patchwork Mon May 1 12:45:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9706515 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3CA6960387 for ; Mon, 1 May 2017 12:55:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29FB622B27 for ; Mon, 1 May 2017 12:55:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BB842807E; Mon, 1 May 2017 12:55:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7772D22B27 for ; Mon, 1 May 2017 12:55:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=q61UfmHLyQ7BsT2DyDAlCNyqmPXe2xmdSAkGTyRnl+w=; b=JF1XrZU+vllNITe0yejRJq3ZKB Jhw/yOQJ3sxT4n3KbKrxhV1JBSVIxTEfoOZQQiG6NTf0twHxbUNifCn6i6tI012FnckkyWzxDj5zH dUQ2EBIYP8k3/4RYtjnMsWsQmYVVKfd+hyC3XCC9hbynS9bQ1ofM0PLSmLUOId3mkERxrteGZRAWD Pc6/J+LZgh6VFh6NSuTtkU5k5pOFH7esBKt41vP/5H0M3tZCw9dzFjlXN+srsbk1UDdzr7wAt9Kh8 SfAsxtC2uq2+BsGdDaKjFkJ3UqGYt0vTvUHQpqwUNaqHA7y9wqleSuyhNrjE8ea8pMcGc8axPz7hc 28GonmOw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d5ArG-00023i-42; Mon, 01 May 2017 12:55:18 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d5Aki-0002JT-1w for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2017 12:48:33 +0000 Received: by mail-wr0-x244.google.com with SMTP id w50so13709380wrc.0 for ; Mon, 01 May 2017 05:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/yk4S0orBtzFfsmOk9hA+yB6BF4iRvcmA34ApT1g474=; b=h3cCrSZGqmYMmjnvcX2aQJC5tZk/fPjh2DINRwRUmO095xAvFezfTnDA+WueEwN8TS X2/BVcqfT55fDshkRD3VjoanwB9lq4VHoti0mp84zC/5aAHMJhkNLew13wdPNGEPW0vs lr4rGv+T31h58YFWeNnMpjkuJgLqUn9wkJbFAc/XTvsVjc+m42Och3lIRZZ9qPkOfZD8 YY2KEybisLNAoOiZYhpcOVj5VfB2CyfGLpNeISMW+6eqcYwbH50dS62owgE+YOSmmV1M zZ1/DqX/AjQf1YOD4JhGNIdWQiRpZ/O8qpdIJNxn4zceKvbo5ugJLGl9OwCyvZ7Ylrzw fmJg== 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=/yk4S0orBtzFfsmOk9hA+yB6BF4iRvcmA34ApT1g474=; b=nIzwm8uD2OTnyPhDJuaAPpp0UrSHKv+mVUpVec4n34FLEc+BsOPlL0WRZm/0x2PQQ2 EXwxANA/4q0gpCe6szAz43H6NAupR79yphlGwdVI3d1sFbdKR7naXkl2wSfHCzExsqSn h6BnaphFQPfJEbSl8n9oGF7U5LPxkC4rU9yAU5qL+sa1D4x2SXgsSVZJ9WMJIMfb371E 07mSNKJVXdk3F8n0S50mHcWqGTq4HQdY9i5ZrKNNfSt4s600h7EHd5TgsGvPLW9Loi09 o1MGDKhObGJcCIp5qLeov3CCYjpk+MPCA8oJ1m4V7jo1vh8Grfx1RU7FKbF/m2hwducJ v1LQ== X-Gm-Message-State: AN3rC/4QaNNFu26ZOChx7Z8i4LQpJ/jchKaKvqGR1cmT3qDUKs14+U28 3jIyPPItm5xmvA== X-Received: by 10.223.164.208 with SMTP id h16mr7595479wrb.142.1493642891033; Mon, 01 May 2017 05:48:11 -0700 (PDT) Received: from Red.local (LFbn-1-7035-57.w90-116.abo.wanadoo.fr. [90.116.208.57]) by smtp.googlemail.com with ESMTPSA id 4sm3364514wrv.33.2017.05.01.05.48.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 May 2017 05:48:10 -0700 (PDT) From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com Subject: [PATCH v5 04/20] dt-bindings: syscon: Add DT bindings documentation for Allwinner syscon Date: Mon, 1 May 2017 14:45:04 +0200 Message-Id: <20170501124520.3769-5-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170501124520.3769-1-clabbe.montjoie@gmail.com> References: <20170501124520.3769-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170501_054832_376875_15FAF78E X-CRM114-Status: GOOD ( 12.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Corentin Labbe , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds documentation for Device-Tree bindings for the syscon present in allwinner devices. Signed-off-by: Corentin Labbe Acked-by: Rob Herring --- .../devicetree/bindings/misc/allwinner,syscon.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/allwinner,syscon.txt diff --git a/Documentation/devicetree/bindings/misc/allwinner,syscon.txt b/Documentation/devicetree/bindings/misc/allwinner,syscon.txt new file mode 100644 index 0000000..cb57691 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/allwinner,syscon.txt @@ -0,0 +1,19 @@ +* Allwinner sun8i system controller + +This file describes the bindings for the system controller present in +Allwinner SoC H3, A83T and A64. +The principal function of this syscon is to control EMAC PHY choice and +config. + +Required properties for the system controller: +- reg: address and length of the register for the device. +- compatible: should be "syscon" and one of the following string: + "allwinner,sun8i-h3-system-controller" + "allwinner,sun50i-a64-system-controller" + "allwinner,sun8i-a83t-system-controller" + +Example: +syscon: syscon@1c00000 { + compatible = "allwinner,sun8i-h3-system-controller", "syscon"; + reg = <0x01c00000 0x1000>; +};