From patchwork Thu Jul 10 07:26:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 33392 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5EF9B203C0 for ; Thu, 10 Jul 2014 07:27:50 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id m20sf29212317qcx.1 for ; Thu, 10 Jul 2014 00:27:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=xMHOKU0y4i5dkSJx+CpIIqtr2AxZ99GQI3h1b1i63vg=; b=CbRCyUAlN9nXYAhNnuXayZTKZOO7Q8iRT0vhqLohXZy5JkDTGnluLxXyyXzHPeWcV4 Lwu+4oDrRkEL57It4+rfj8klMy4VG7a0M5dEisXESKp9ZWOwsvb3TDZkA1uFE4s9MhF2 QzC2j7MTGDlUnLuItt1pbpe29YthnL6o/FklrXLvg4cCBIZV+N1UX1GbtdoDMB/tN4b8 dx0QGB1dW9+9tHQwV7XVTmV6q0aLN9pYHV9QebVOioGCNiVBaLpB0x1dNVGu2A8zrc8j sB6VmzP+VPRMuTwsqSAOB5l68LWR24un9ERkEyOJANmDcp8hxauhgM9Dod1lBTbwuZ+v s+pA== X-Gm-Message-State: ALoCoQmzxFV61RLrjtWbcbnrTHa+oVNIBH+OuxhjrcJadOPSOeC0VQJJDPhjSunoxxTod+IM/QJp X-Received: by 10.58.154.198 with SMTP id vq6mr2259888veb.42.1404977270169; Thu, 10 Jul 2014 00:27:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.19.173 with SMTP id 42ls2834424qgh.27.gmail; Thu, 10 Jul 2014 00:27:50 -0700 (PDT) X-Received: by 10.52.119.179 with SMTP id kv19mr36897295vdb.3.1404977270047; Thu, 10 Jul 2014 00:27:50 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id n9si22637196vex.51.2014.07.10.00.27.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Jul 2014 00:27:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id hy4so9656392vcb.6 for ; Thu, 10 Jul 2014 00:27:50 -0700 (PDT) X-Received: by 10.221.4.66 with SMTP id ob2mr1889658vcb.28.1404977269938; Thu, 10 Jul 2014 00:27:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp111232vcb; Thu, 10 Jul 2014 00:27:47 -0700 (PDT) X-Received: by 10.68.211.195 with SMTP id ne3mr19686010pbc.121.1404977267335; Thu, 10 Jul 2014 00:27:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o15si8263265pdl.440.2014.07.10.00.27.46; Thu, 10 Jul 2014 00:27:46 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751321AbaGJH1p (ORCPT + 8 others); Thu, 10 Jul 2014 03:27:45 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:61446 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbaGJH1p (ORCPT ); Thu, 10 Jul 2014 03:27:45 -0400 Received: by mail-pd0-f177.google.com with SMTP id y10so10348333pdj.36 for ; Thu, 10 Jul 2014 00:27:44 -0700 (PDT) X-Received: by 10.66.155.227 with SMTP id vz3mr44985881pab.26.1404977264640; Thu, 10 Jul 2014 00:27:44 -0700 (PDT) Received: from localhost ([122.167.123.210]) by mx.google.com with ESMTPSA id oa17sm31280387pdb.46.2014.07.10.00.27.40 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 10 Jul 2014 00:27:44 -0700 (PDT) From: Viresh Kumar To: arnd@linaro.org, olof@lixom.net Cc: linux-arm-kernel@lists.infradead.org, spear-devel@list.st.com, b.zolnierkie@samsung.com, bhelgaas@google.com, mark@nicholnet.com, linux-pci@vger.kernel.org, Pratyush Anand , devicetree@vger.kernel.org, Viresh Kumar Subject: [PATCH V9 5/7] ARM: SPEAr13xx: Add bindings and dt node for misc block Date: Thu, 10 Jul 2014 12:56:36 +0530 Message-Id: <23080439ce6c96dbbe9f73e085fc4391c28cf785.1404976059.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.0.0.rc2 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Pratyush Anand SPEAr SOCs have some miscellaneous registers which are used to configure peripheral. This patch adds dt node and binding information for this block. Acked-by: Arnd Bergmann Signed-off-by: Pratyush Anand Cc: devicetree@vger.kernel.org [viresh: fixed logs/cclist] Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/arm/spear-misc.txt | 9 +++++++++ arch/arm/boot/dts/spear13xx.dtsi | 5 +++++ arch/arm/mach-spear/Kconfig | 1 + 3 files changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/spear-misc.txt diff --git a/Documentation/devicetree/bindings/arm/spear-misc.txt b/Documentation/devicetree/bindings/arm/spear-misc.txt new file mode 100644 index 0000000..cf64982 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/spear-misc.txt @@ -0,0 +1,9 @@ +SPEAr Misc configuration +=========================== +SPEAr SOCs have some miscellaneous registers which are used to configure +few properties of different peripheral controllers. + +misc node required properties: + +- compatible Should be "st,spear1340-misc", "syscon". +- reg: Address range of misc space upto 8K diff --git a/arch/arm/boot/dts/spear13xx.dtsi b/arch/arm/boot/dts/spear13xx.dtsi index 4382547..3a72508 100644 --- a/arch/arm/boot/dts/spear13xx.dtsi +++ b/arch/arm/boot/dts/spear13xx.dtsi @@ -220,6 +220,11 @@ 0xd8000000 0xd8000000 0x01000000 0xe0000000 0xe0000000 0x10000000>; + misc: syscon@e0700000 { + compatible = "st,spear1340-misc", "syscon"; + reg = <0xe0700000 0x1000>; + }; + gpio0: gpio@e0600000 { compatible = "arm,pl061", "arm,primecell"; reg = <0xe0600000 0x1000>; diff --git a/arch/arm/mach-spear/Kconfig b/arch/arm/mach-spear/Kconfig index 90df202..ba57677 100644 --- a/arch/arm/mach-spear/Kconfig +++ b/arch/arm/mach-spear/Kconfig @@ -19,6 +19,7 @@ config ARCH_SPEAR13XX select HAVE_ARM_SCU if SMP select HAVE_ARM_TWD if SMP select PINCTRL + select MFD_SYSCON help Supports for ARM's SPEAR13XX family