From patchwork Tue Mar 14 14:18:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9623533 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 AD659604CC for ; Tue, 14 Mar 2017 14:24:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DA94285A3 for ; Tue, 14 Mar 2017 14:24:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92424285B5; Tue, 14 Mar 2017 14:24:49 +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 28908285A3 for ; Tue, 14 Mar 2017 14:24:49 +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=9mKXQMRY1iYNezMnhSOvzzkCTu0PQttQ4Zihinr2TGA=; b=TB99ZbBftvmtL9c22DldHgG/o4 dgQaMVURduuqbsWyWFtmylB8zrWyA9EUZCFZu6wIHOvALQx4rAgleE+d0wqYennMeIZSO1fmQsHOR 8Ekn5ZpTgZavwjvkcOLLpXBkMv/vox4B0sr6e/UYWZFb1rm8GfFDFo5CW9kARVUz0VobfepcsL7NF bRfSVVLSrgo+wpg4ra3JVVvEyRDDUtsgXOql8NKvsYVZ7K7I7dTvdk9fT3ZbWK1IcJCpKXpVCxfmh Sm8aI3Tr93THk4Ud2TS8CbZPeGTV9PaGcEs8sYK7dtpHJIW0F9/UtD3UHgWOpWoOvwGS+2iE5DK0N CIdoDiEQ==; 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 1cnnNS-0000HN-KZ; Tue, 14 Mar 2017 14:24:42 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cnnKU-0006sO-7a for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2017 14:21:41 +0000 Received: by mail-wm0-x244.google.com with SMTP id z63so38984wmg.2 for ; Tue, 14 Mar 2017 07:21:17 -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=ZFv/Nb7bN7zE7b67iBR6owVgERRWbo/qNO8YS3tCaLM=; b=LX12E1ZM7NgoK2Kc11axD2Mbx4Ju9v2JXF1v2WDxfqvtX155ej6qLFoQWqSHROwirs OveBDaoqj5R0AuwGEufCwLvwv57RLhBSsguRWD7sBIs14dXd5OrNHndN/sPdZs5g02U8 5oXsisIhM4f0iu7Z+0NIzzndqDn+Yj6uC4ZjMIjfeMIEuqA4fjVEO4o7wZiPgE+YfLER fUV+lSmyvIopjIZ3L3+EPuBfmylqeBWM3cGa1GMKr5ib7zavKjlaFgiWxNwCwscMEuu7 xqckyZzIQWwcIKkJyNcsiUUv5qqCQErPlrxa0TjvSlyzWJFR79J9HfwSGXZZwcBMeHSX O7rA== 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=ZFv/Nb7bN7zE7b67iBR6owVgERRWbo/qNO8YS3tCaLM=; b=cp9DzfHJ7LwkeuFwwy39voXr8QRpZPaxomqwzfTFKnCoAmtAA+1aMncAPuDcTrGlGC NM6rn2QV/XgrI+B8XWRHo+U7EdCflfBV/Kzw+SpDyxcZq1vxu0VNIFfqhOuoU6u4pVcn jFbssftg+lS30T4LHlNyvXpi0U5Uj55+EirD5Vss/1jprv8nP0Qm1fc5sZ+F4D6wIrO9 yLGneZOMKXy2P/IUPCTHju2irJH2F7IjsVoVnV6YpRjCpLgKbnwjptQeK2kg4Re2JZp0 p44z7NgnpQMHbKuAE8U9+lzxe5X7MJ9BhelZA+RrUKpB+CuVHrSVYi787yWAcFpnlnCJ xzoQ== X-Gm-Message-State: AFeK/H1pGNwL+2MQ2SiRgIV+TlPe9D9mWYUd0s5v5jse0hkQT5wG98hB+cJgQTAetfQz6w== X-Received: by 10.28.158.87 with SMTP id h84mr15282184wme.4.1489501276381; Tue, 14 Mar 2017 07:21:16 -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 o143sm49526wmd.3.2017.03.14.07.21.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Mar 2017 07:21:15 -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, davem@davemloft.net Subject: [PATCH v2 04/20] ARM: sun8i: dt: Add DT bindings documentation for Allwinner syscon Date: Tue, 14 Mar 2017 15:18:40 +0100 Message-Id: <20170314141856.24560-5-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170314141856.24560-1-clabbe.montjoie@gmail.com> References: <20170314141856.24560-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170314_072138_490174_2FD239DA X-CRM114-Status: GOOD ( 11.64 ) 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, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 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 Signed-off-by: Corentin Labbe --- .../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..9f5f1f5 --- /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 = "syscon", "allwinner,sun8i-h3-system-controller"; + reg = <0x01c00000 0x1000>; +};