From patchwork Thu Dec 18 02:26:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 5510081 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9FE5A9F1D4 for ; Thu, 18 Dec 2014 02:26:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E09B8209F9 for ; Thu, 18 Dec 2014 02:26:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1BBED209E3 for ; Thu, 18 Dec 2014 02:26:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751842AbaLRC0O (ORCPT ); Wed, 17 Dec 2014 21:26:14 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:50371 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751839AbaLRC0N (ORCPT ); Wed, 17 Dec 2014 21:26:13 -0500 Received: from avalon.ideasonboard.com (dsl-hkibrasgw3-50ddcc-40.dhcp.inet.fi [80.221.204.40]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 5571720BD8; Thu, 18 Dec 2014 03:22:52 +0100 (CET) From: Laurent Pinchart To: Geert Uytterhoeven Cc: linux-sh@vger.kernel.org Subject: [PATCH 1/4] ARM: shmobile: sh73a0: Set control-parent for all irqpin nodes Date: Thu, 18 Dec 2014 04:26:07 +0200 Message-Id: <1418869570-13529-2-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1418869570-13529-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1418869570-13529-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 sh73a0 INTC can't mask interrupts properly most likely due to a hardware bug. Set the control-parent property to delegate masking to the parent interrupt controller. Signed-off-by: Laurent Pinchart Tested-by: Geert Uytterhoeven --- arch/arm/boot/dts/sh73a0.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi index 5dae3d335a5d..2d2f0766a099 100644 --- a/arch/arm/boot/dts/sh73a0.dtsi +++ b/arch/arm/boot/dts/sh73a0.dtsi @@ -154,6 +154,7 @@ power-domains = <&pd_a4s>; stop-latency = <250000>; start-latency = <250000>; + control-parent; }; irqpin1: irqpin@e6900004 { @@ -201,6 +202,7 @@ power-domains = <&pd_a4s>; stop-latency = <250000>; start-latency = <250000>; + control-parent; }; irqpin3: irqpin@e690000c { @@ -224,6 +226,7 @@ power-domains = <&pd_a4s>; stop-latency = <250000>; start-latency = <250000>; + control-parent; }; i2c0: i2c@e6820000 {