From patchwork Wed Apr 12 11:13:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9677183 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 A932560325 for ; Wed, 12 Apr 2017 11:16:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9851E2862E for ; Wed, 12 Apr 2017 11:16:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B83D28635; Wed, 12 Apr 2017 11:16:53 +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 208A12862E for ; Wed, 12 Apr 2017 11:16:52 +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=FDqTQmp7RsSEOiYPNEXWiZBXNxrYvoGNLOQCeNvRnEY=; b=sVTDXlwG2AGkSoIiZ0TcG46iPZ IKUrzg+7uSrmwjDtzM5aZbZCFSr0btG3uU8jysiAiETHyMt+aGY2lRs+fwQg53lYjgy6QRiXb5St3 ilRJFUJMVIStOmMyb1k2GtGXsI8+sOENRu1Rx8NpTvr2h7goBRxcoE/RWPk7maahuOxSVUu61dQp3 +osvEX4gVqdcJq84Znh6w2briz0D/uytN8UV0NHT/5IhCIXYdvP/P4Jw2sAWvf11zjhkQBkxJrYXk 8UCOGd+AgKv6aFaLtSqCAEBMpeXaNhzAEXXZ3HItUA8qnsrqR+Gegi12tRuizTdDg0ryKafncnLn2 w1lu9a4A==; 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 1cyGGa-00047s-3W; Wed, 12 Apr 2017 11:16:52 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cyGGG-0003mR-OK for linux-arm-kernel@lists.infradead.org; Wed, 12 Apr 2017 11:16:35 +0000 Received: by mail-wm0-x243.google.com with SMTP id q125so5706202wmd.3 for ; Wed, 12 Apr 2017 04:16: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=O/oCTw2R1ilo6oko5YGTbZUYO7DZaZkP0RAHSW1yqBs=; b=g633ZoEz9wmiWy1wJKRffTsNCLHJsoyUA2G83B71lJJXB/1gUH3yiYw8wzJXxy6QW0 A/1HdqF0Y6yillZA8NvH54ShVkDi9OYDVMoBb8Sr/UJGR38Fiuy97TzIiaXJzs5Qeu6y X3C+8KLjLwSMCD0Cv4Prxhu10zq/d528RkXDR5NhJX2S+YkdxLYlRBwtbpXTvqjBDNfN 6Qg+F8Gh1Z/Fz7b2d+YiyMdlwiJ/2I6+8w6muOOzlOf7wCZ/bntlvWdS3HVRhe9KLfBl 1mv1FhGXi8MJ8GuvSxF9zyqpl8KH2e0UNAXv92q5fH55HR14YmS3ZifbfmUAz0fleYQl UvyA== 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=O/oCTw2R1ilo6oko5YGTbZUYO7DZaZkP0RAHSW1yqBs=; b=Cc0ujcmCa/1L93qBnEYOKa9AUZYilXrlCGsL8HBUwK2zE14Juw5qHqLVCc3C3sPD48 wn8Qwd+asNi5AnahzKFbkQH36nLEf5qMNzdgjMbUyCeOkKjwtNOL0ZE9om2fku506yVi 46ko8xGvL5UF+UMFQrWrWTiyavkdDY8lJJUnOrUu+F9+DRfgOFNT21vxqYj2NNfUFuyZ ScDPhU57fWIYks0Y4LcI9/A477IhI1yv3QCCpD+JmNmCm/4y4E/pSAPXiGDbjh9m+RAY 9QYwjxjZ1lD5MYQ3P6GMZ921KIq7w0OiX0lu7E/oIaU+8R9QvySl5qfFVLaVi19fSj2a Kjqg== X-Gm-Message-State: AN3rC/71X2vK9AsZMO1qh8J+ElPvh50CkbJrk8ItJAu26he8WePGPjjB 6De1iJTzN3+E7g== X-Received: by 10.28.218.71 with SMTP id r68mr19929142wmg.59.1491995771629; Wed, 12 Apr 2017 04:16: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 z84sm4727104wmh.27.2017.04.12.04.16.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Apr 2017 04:16:11 -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 v4 04/18] dt-bindings: syscon: Add DT bindings documentation for Allwinner syscon Date: Wed, 12 Apr 2017 13:13:46 +0200 Message-Id: <20170412111400.2296-5-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170412111400.2296-1-clabbe.montjoie@gmail.com> References: <20170412111400.2296-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170412_041633_135036_4AAB0CBC X-CRM114-Status: GOOD ( 12.19 ) 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, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe , linux-arm-kernel@lists.infradead.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..c056c5b --- /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,sun8i-a64-system-controller" + "allwinner,sun8i-a83t-system-controller" + +Example: +syscon: syscon@01c00000 { + compatible = "allwinner,sun8i-h3-system-controller", "syscon"; + reg = <0x01c00000 0x1000>; +};