From patchwork Mon Nov 7 08:44:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9414487 X-Patchwork-Delegate: agross@codeaurora.org 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 74B0D6022E for ; Mon, 7 Nov 2016 08:44:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65C5328CD9 for ; Mon, 7 Nov 2016 08:44:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AAA228CE0; Mon, 7 Nov 2016 08:44:55 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05E1F28CD9 for ; Mon, 7 Nov 2016 08:44:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752094AbcKGIoy (ORCPT ); Mon, 7 Nov 2016 03:44:54 -0500 Received: from mail-lf0-f52.google.com ([209.85.215.52]:35817 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981AbcKGIox (ORCPT ); Mon, 7 Nov 2016 03:44:53 -0500 Received: by mail-lf0-f52.google.com with SMTP id b14so107275454lfg.2 for ; Mon, 07 Nov 2016 00:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=g8gtTkvfo/MVAq7AdVUnYj99oTn0Ql0JhzcFW/11Iiw=; b=Cz4yRb16djBLWHM2SMjHDwQqsiQp57NzcyiLTmafe2TR4/LA+074W/QqWZjvFlIVXY UvZRnXROXxrb70UyEa1sOu6FEEHYWb/dQwJiMCoJwolIuJKuSTBJTPzXeBsyldir1a7f GYna+CFwGIcOHHH0rm4VcoA1VCW/lHMbFIiUw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=g8gtTkvfo/MVAq7AdVUnYj99oTn0Ql0JhzcFW/11Iiw=; b=f2xoK/kquFvlNyVVoR9Iey7HAu0+K5qEFZzvFmLTRJ4so9lQ3KAVQ2/27aXbxmnraO k8QXMsfhjTEavLfwZIu+wb71MXkIQHfLllulQ4iSsXipPxebdZaFXTVHRjfJZebKkfjA 24qRvBMNtEK+YJXg+kFf9qPe+YQcGGEaT8BN9IearFyyK8aMDc9X4VViOMj8vEvt8SB+ +xEkdRt5hhcNc/oNMVA+otVICJw5HMe7eduOvRoZRQ8jCKEs86thKKEQPm5LKewCR405 dJkDqLbbNLN+U5Dk9aoNClj797beO1DIQHqVLpeOFAb4vJHDaIVXFrqyZF4M9FgvEHjb Xyfw== X-Gm-Message-State: ABUngvdp3KEZJPBIn36idD+mT2FcxQi0TLPRvFbKknIJN4DZiSGTS4ShGaKIglc9SRD11cHH X-Received: by 10.25.25.135 with SMTP id 129mr2342005lfz.75.1478508292092; Mon, 07 Nov 2016 00:44:52 -0800 (PST) Received: from linuslaptop.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id u126sm4864313lja.12.2016.11.07.00.44.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 00:44:51 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Andy Gross , Bjorn Andersson Cc: Stephen Boyd , David Brown , Linus Walleij Subject: [PATCH 2/3 v4] ARM: dts: reference PM8058 as IRQ parent Date: Mon, 7 Nov 2016 09:44:43 +0100 Message-Id: <1478508284-10847-2-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478508284-10847-1-git-send-email-linus.walleij@linaro.org> References: <1478508284-10847-1-git-send-email-linus.walleij@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some nodes are referencing the pm8058_gpio as IRQ parent, but the HW IRQ offset they are supplying is actually that for the parent to that controller: the PM8058 itself. Since that is the proper parent, reference it directly. We can switch this to the pm8058_gpio and the proper offset once we have fixed the SSBI GPIO driver to properly deal with the hierarchical IRQ domain and get proper local offset translation. Acked-by: Bjorn Andersson Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Add Bjorn's ACK. - Follow version numbering of the primary patch. --- arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts index 4a532ddab53a..ea660ffa03ea 100644 --- a/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts +++ b/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts @@ -369,8 +369,8 @@ ak8975@0c { compatible = "asahi-kasei,ak8975"; reg = <0x0c>; - /* GPIO33 has interrupt 224 on the PM8058 */ - interrupt-parent = <&pm8058_gpio>; + /* FIXME: GPIO33 has interrupt 224 on the PM8058 */ + interrupt-parent = <&pm8058>; interrupts = <224 IRQ_TYPE_EDGE_RISING>; pinctrl-names = "default"; pinctrl-0 = <&dragon_ak8975_gpios>; @@ -380,8 +380,8 @@ bmp085@77 { compatible = "bosch,bmp085"; reg = <0x77>; - /* GPIO16 has interrupt 207 on the PM8058 */ - interrupt-parent = <&pm8058_gpio>; + /* FIXME: GPIO16 has interrupt 207 on the PM8058 */ + interrupt-parent = <&pm8058>; interrupts = <207 IRQ_TYPE_EDGE_RISING>; reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>; pinctrl-names = "default";