From patchwork Tue Nov 25 16:25:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 41492 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 09B36246DF for ; Tue, 25 Nov 2014 16:26:47 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id y19sf638655wgg.7 for ; Tue, 25 Nov 2014 08:26:46 -0800 (PST) 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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=2pvPGzQrV2StyQiwF9R8y7650NZ4tN3BlYQElCDzHoU=; b=GPx7GxFNmYHuo4zQrvWFXiAkwhGNdCjxLzdKyecwCT3dX24acSrTjJYH5OPkOu9XEY K1IRawUdPmnc/lD1TNjUfn5yuH6rFhhfEV+RAiA0958nGWCbRDYi1M6LW61vjYjgHLtF gPVn4RcSiMJRyXN8YNmFeGr59I7xfk3rcH5V1xPJF31BTr62iK488V/NESZhdgB3D0wQ xsCwpRM5Iw2RpENqPlTa6aCYvCy1cvKpBOMz+48QH+WiLpl//OLMLQmuj5wDCDHGUmRH zuLD0bLfJP2RVP6iwyJqkEeoKPth3iXxKHaUrMVHC0QN0/zz+J34unpbVR+bh6TXBH8F nyhA== X-Gm-Message-State: ALoCoQnLXNfW0JIvUj57NuQECae3QSalNNFKrgKbFFuXWYBUVH678OZHPDonTTJZr3zITujzascs X-Received: by 10.152.30.66 with SMTP id q2mr7901614lah.2.1416932806266; Tue, 25 Nov 2014 08:26:46 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.100 with SMTP id 4ls358778lal.89.gmail; Tue, 25 Nov 2014 08:26:46 -0800 (PST) X-Received: by 10.152.25.168 with SMTP id d8mr28567224lag.41.1416932806086; Tue, 25 Nov 2014 08:26:46 -0800 (PST) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id e1si1839794lab.66.2014.11.25.08.26.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 08:26:46 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id f15so894282lbj.41 for ; Tue, 25 Nov 2014 08:26:46 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr28013644lbo.32.1416932805982; Tue, 25 Nov 2014 08:26:45 -0800 (PST) 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.112.184.201 with SMTP id ew9csp465109lbc; Tue, 25 Nov 2014 08:26:43 -0800 (PST) X-Received: by 10.66.161.103 with SMTP id xr7mr44722568pab.87.1416932802954; Tue, 25 Nov 2014 08:26:42 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id eu3si2748497pdb.61.2014.11.25.08.26.42 for ; Tue, 25 Nov 2014 08:26:42 -0800 (PST) Received-SPF: none (google.com: linux-kernel-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 S1751517AbaKYQ0j (ORCPT + 26 others); Tue, 25 Nov 2014 11:26:39 -0500 Received: from mail-ie0-f172.google.com ([209.85.223.172]:61843 "EHLO mail-ie0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751313AbaKYQZe (ORCPT ); Tue, 25 Nov 2014 11:25:34 -0500 Received: by mail-ie0-f172.google.com with SMTP id tr6so851662ieb.31 for ; Tue, 25 Nov 2014 08:25:33 -0800 (PST) X-Received: by 10.50.30.202 with SMTP id u10mr18107551igh.35.1416932733772; Tue, 25 Nov 2014 08:25:33 -0800 (PST) Received: from localhost.localdomain (host109-148-232-11.range109-148.btcentralplus.com. [109.148.232.11]) by mx.google.com with ESMTPSA id b123sm790112iob.4.2014.11.25.08.25.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Nov 2014 08:25:33 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, tglx@linutronix.de, jason@lakedaemon.net, devicetree@vger.kernel.org Subject: [PATCH v2 5/8] ARM: STi: STiH416: Enable PMU IRQs Date: Tue, 25 Nov 2014 16:25:02 +0000 Message-Id: <1416932705-16880-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416932705-16880-1-git-send-email-lee.jones@linaro.org> References: <1416932705-16880-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@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.217.182 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: , This driver is used to enable System Configuration Register controlled External, CTI (Core Sight), PMU (Performance Management), and PL310 L2 Cache IRQs prior to use. Here we are enabling PMU IRQs on both channels. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index badefd6..d98ce91 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -11,6 +11,7 @@ #include "stih416-pinctrl.dtsi" #include #include +#include / { L2: cache-controller { compatible = "arm,pl310-cache"; @@ -90,6 +91,15 @@ reg = <0xfe4b5100 0x8>; }; + irq-syscfg { + compatible = "st,stih416-irq-syscfg"; + st,syscfg = <&syscfg_cpu>; + st,irq-device = , + ; + st,fiq-device = , + ; + }; + serial2: serial@fed32000{ compatible = "st,asc"; status = "disabled";