From patchwork Wed May 31 07:18:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9756039 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 60DA3602CC for ; Wed, 31 May 2017 07:26:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53C1A2848B for ; Wed, 31 May 2017 07:26:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 48602284A6; Wed, 31 May 2017 07:26:10 +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 C4F892848B for ; Wed, 31 May 2017 07:26:09 +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=DA0483OD7yaAl2+SDukoUV/Kr83TgpNFnB2od3x2OXY=; b=J6BTUoUoYLcOlW1R1J2U4+ZjY3 jHPVZZupq/Fkw3v+BKc5vwgiHxt3Ca5QY9K8kLjOn9lMpVmlro+X3f04MmthsO4BbjrMNWgToTHxs HPwGKV8a7ssUVGKqpNxvFPXjDtSJTl5V4/ZfL6p1KBgWwEaMabFR0QrtjOWNiFj/yZdZGvNBnGARG A2IXrP/Y9ebkJz09Zpxqq5oa4YkP5feqVOG1+mjRfFvDBa8RPjphuJ4VlrnlTjCN4nydp4oy0K7vw S8BzGauWeH8Z9ZoWgberaIqJD6ZDSC0iAaqLV7isGw8iDfqSiAeBqgd1uSy2roVO9u+l5OVjCk3Ad 6VLRXOUw==; 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 1dFy1A-0003jX-HX; Wed, 31 May 2017 07:26:08 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dFxxP-0006zP-T1 for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2017 07:22:18 +0000 Received: by mail-wr0-x242.google.com with SMTP id 6so685833wrb.1 for ; Wed, 31 May 2017 00:21:56 -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=SYOKzOD75zoKyvbGWpCPBsXknVpxi1w7sdN4/aoMTq4=; b=MFSq1aCNQnsFOapWyTs7vKz/hQDdgxx04/vR1zRjfYpy5YKYaCczb34xtq4uE+s3vy AA7N6nYBI7H5V/1HZBP7ZvrfNm+m3Fe4hI8Dhlf6nhDYxEY3l0krKdmhUA8O93k1ywjs cNnf2Xb5ulvWTiArP49xyl1+bhmv5OyYlwg5sd6XhFTEHR/fiRWwLguxP+Iknj5rcogm YbZE+OYmc9hYMXU++sKeOol12DLbT9uWkpU6vOtxqQaJy1EIRCRrFy/pOeqNcj6ij2H+ BCB07dsVlxeu4y8XuPH2iJo5OJD4ZyInUyzn+ImM9stZVu+658Tke/F9PLqwkjEhNmlN WF0w== 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=SYOKzOD75zoKyvbGWpCPBsXknVpxi1w7sdN4/aoMTq4=; b=Ee2amxd4kxqk1qUKaoDON3so1LHMY96GobeO50i3p5qA/WPTVW4sdoMoI1ZdTecZot Kj3DaA65xWVKp150F7C3GdkxMNxHOTJb5sViUDGRXrzLxtSVfR1KSmWysahrTLvzF/H7 AtqFLBCQw7ceYIfDsZteXcoSInwPA7b/Rtkz1dpwZhbExB2B53NMOl4NvJpJL9pR8Eog QJVQaT7QMJbJiqXaFsCkEcLtUSrkYZurVZ+kml0p+AkjLfzCGr27I48OFE88/1l9JfD3 Nkp5MklsbyD09D4EzBdS+ls9Nlfk2slJoL9vcR8pKFU1BEqP2NjjSRwtGJtlGSxIthVR pZuQ== X-Gm-Message-State: AODbwcBLNWvzYtZewIfjL+NGEVXKcL7HZQG8SatTIZ6EIid+eKIW+sVN yex6E9wnn+finw== X-Received: by 10.223.151.148 with SMTP id s20mr15828302wrb.159.1496215315079; Wed, 31 May 2017 00:21:55 -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 r130sm12528169wmg.4.2017.05.31.00.21.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 May 2017 00:21:54 -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 v6 04/21] dt-bindings: syscon: Add DT bindings documentation for Allwinner syscon Date: Wed, 31 May 2017 09:18:35 +0200 Message-Id: <20170531071852.12422-5-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170531071852.12422-1-clabbe.montjoie@gmail.com> References: <20170531071852.12422-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170531_002216_099198_215DE114 X-CRM114-Status: GOOD ( 12.05 ) 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 000000000000..cb5769137c6c --- /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>; +};