From patchwork Thu Nov 3 09:13:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9410599 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 5697F60585 for ; Thu, 3 Nov 2016 09:13:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BE332A93E for ; Thu, 3 Nov 2016 09:13:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FD7B2A930; Thu, 3 Nov 2016 09:13:26 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 B8C2E2A925 for ; Thu, 3 Nov 2016 09:13:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756834AbcKCJNZ (ORCPT ); Thu, 3 Nov 2016 05:13:25 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:36193 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756821AbcKCJNY (ORCPT ); Thu, 3 Nov 2016 05:13:24 -0400 Received: by mail-lf0-f51.google.com with SMTP id t196so32535530lff.3 for ; Thu, 03 Nov 2016 02:13:23 -0700 (PDT) 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=tdxuL0naNr/fX6smODyHJ2TAN8xSXESlsn32nUUM/kU=; b=IFbB1GnbF5Td+0oKeC1BkNJ/8ZUosQvnXOS8i+UoTfCOdj1qIh0vB4UkfnwKZDKI6o YbjplBeGNnyJDKttr2oAQlHHPSg0Krss0auLxUWD3NDKW/AP0WDmlubZwwdWcmcu0M1M Udg+/3FgFnV2dIxQ/UAV+D7/CrxSi60kUuTjg= 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=tdxuL0naNr/fX6smODyHJ2TAN8xSXESlsn32nUUM/kU=; b=UGGbFBV1sNm/uysfaexb9wvXJQEc7Jpe79KQtPSqlmVw4pdZ5iU+YRiVZg/O0yl/fg 68s7ARHoPv4T4qb5wcxkohMmKubmQ8vtvJGymx6iL2NbBDSgSLOgz8VwQsRQq8JOBTp+ khB3kCYIWQDnlylBEkJPtA4wFdye9XNCcTzRgdV5g6FPOnOdMyZhra2/mGrYm1210oso lYVV+IH9sP2nTsSMEwFfYpQ5udkdYP7NOxXKhcOwlSrANJGTvwjsVf7OCq1xate9eje9 WDrSreMAH8n5O5OM/poe4ASMA/Ajd4zjk1VsNMVf135C+2kg2KeayUJfiYny0ueBP/dU 1RFA== X-Gm-Message-State: ABUngveFa50UO/Ghr1lLXLvhxRNwAPBV0aBSU14wWeV2t3k1O4B0Q/dVTe1co4wFPgmFJm1n X-Received: by 10.25.163.132 with SMTP id m126mr4836968lfe.9.1478164402234; Thu, 03 Nov 2016 02:13:22 -0700 (PDT) Received: from linuslaptop.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 89sm1221976lja.42.2016.11.03.02.13.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Nov 2016 02:13:21 -0700 (PDT) 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] ARM: dts: reference PM8058 as IRQ parent Date: Thu, 3 Nov 2016 10:13:09 +0100 Message-Id: <1478164390-21613-2-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478164390-21613-1-git-send-email-linus.walleij@linaro.org> References: <1478164390-21613-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. Signed-off-by: Linus Walleij Acked-by: Bjorn Andersson --- 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";