From patchwork Tue Jul 14 13:39:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 6787241 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E264F9F3E6 for ; Tue, 14 Jul 2015 13:45:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 10B7D206F5 for ; Tue, 14 Jul 2015 13:45:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3AC51206E3 for ; Tue, 14 Jul 2015 13:45:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF0UA-0008I4-G5; Tue, 14 Jul 2015 13:43:02 +0000 Received: from mail-lb0-x244.google.com ([2a00:1450:4010:c04::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF0TE-000777-Vt for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2015 13:42:05 +0000 Received: by lblf12 with SMTP id f12so440908lbl.3 for ; Tue, 14 Jul 2015 06:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=n/HUV5n144Py1D+tzVJllwvsQxXt8lXajbn0NSHc92U=; b=Kdf3y6OCbzrht2L+R1YQIQoTdefR5SYd+U1v9ImPN3eGlRGyL9hs4B9CXxDA8U+BuS +5hjv/VGdESwfS0T2dkBo4kIjnBXX2zeTYev/ySsL9/7qRS7F3K/dI0M/DEDjwvPOlC5 xdiWT0B7Xn6l78xM6Fdy7zB89kKtcEhZDcCNQpdJrGyGs5/oOXaPO4B8UqlEZmsDTcco oVRNwkGlt5bdTRom3v2y0EvZrTcU3Pf+by4plq6hnGuMKAGeHE+yQrcgel6tQAbtHrW7 WpxZqIQcIUB8rCxuxeBqq1SiPOZj+isR/VW4Pbh4A2He5JltUMxzc15Clg+yOjezto4V zn9g== X-Received: by 10.153.4.40 with SMTP id cb8mr37193371lad.39.1436881303515; Tue, 14 Jul 2015 06:41:43 -0700 (PDT) Received: from localhost.localdomain (141.89-11-213.nextgentel.com. [89.11.213.141]) by smtp.gmail.com with ESMTPSA id gg1sm292585lbc.27.2015.07.14.06.41.40 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jul 2015 06:41:43 -0700 (PDT) From: Joachim Eastwood To: arnd@arndb.de, khilman@kernel.org, olof@lixom.net Subject: [PATCH 08/17] ARM: dts: lpc18xx: add creg (syscon) node Date: Tue, 14 Jul 2015 15:39:43 +0200 Message-Id: <1436881192-23930-9-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1436881192-23930-1-git-send-email-manabian@gmail.com> References: <1436881192-23930-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150714_064205_206989_35FAACD8 X-CRM114-Status: UNSURE ( 7.04 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joachim Eastwood , arm@kernel.org, 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-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The CREG block contains a collection of miscellaneous configuration register like Ethernet phy mode, low power clocks and DMA multiplexer. These registers needs to be accessed from other drivers and syscon provides this capability. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index 0562f9629b9d..563435aaee57 100644 --- a/arch/arm/boot/dts/lpc18xx.dtsi +++ b/arch/arm/boot/dts/lpc18xx.dtsi @@ -78,6 +78,12 @@ status = "disabled"; }; + creg: syscon@40043000 { + compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd"; + reg = <0x40043000 0x1000>; + clocks = <&ccu1 CLK_CPU_CREG>; + }; + cgu: clock-controller@40050000 { compatible = "nxp,lpc1850-cgu"; reg = <0x40050000 0x1000>;