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: 80617 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp531638qge; Thu, 3 Nov 2016 02:13:32 -0700 (PDT) X-Received: by 10.98.95.193 with SMTP id t184mr14826795pfb.85.1478164412817; Thu, 03 Nov 2016 02:13:32 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si7029935pav.184.2016.11.03.02.13.31; Thu, 03 Nov 2016 02:13:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756834AbcKCJNZ (ORCPT + 10 others); 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 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 --- arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Bjorn Andersson 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";