From patchwork Wed Jan 19 20:31:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 533300 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62875C433EF for ; Wed, 19 Jan 2022 20:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357344AbiASUcH (ORCPT ); Wed, 19 Jan 2022 15:32:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357329AbiASUcG (ORCPT ); Wed, 19 Jan 2022 15:32:06 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0F71C06173F for ; Wed, 19 Jan 2022 12:32:05 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id c5so3652827pgk.12 for ; Wed, 19 Jan 2022 12:32:05 -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 :mime-version:content-transfer-encoding; bh=OZ6TQT4GWeSGbapYTD8zwcnou6pSe/ETGXSsIZZ2vnA=; b=prfhzT8lrBnwGRfOY1VDCvBcn7r8eAjiAa8UlC2fZL/WDAb9Xa6THPiAfb3wWjCG5S w0cW8LqkQXM6lLGTSi/LnYOUL8IDyIGL3RSgT2mycnOwwsHhah5X2x1eFkJB12yJYnD7 gjVU8AW4CyWL8sy21AhCvXFpzi4DMwGkoTufPSyqIffu9h/ASnUZxm393hy5pXVbpNJW Xgwf38qNiXxDJQf8K1PUqkjI6fyTo6IOCRLuKrxgqwkys70X1HjzeIecPVw+uGiJ/K4C 9NaFMsXQnmgMcyTsp2KeUaiFqBuY7bP44Anwi78nOSSG5UzeofXJ39MkK/Z0u6Bq9ppc F7mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OZ6TQT4GWeSGbapYTD8zwcnou6pSe/ETGXSsIZZ2vnA=; b=UCRJF7vVuPyDNaMD7ng8mTEDH9aYsPMbIVuMZp01lxuHPahK2W4PO1kG36/w5VLQIp ulUBcKTLr8TY5wWZtkZoRhXb+VndzhRmF0FUqe1Wxm22uN4ay2U3M833YFkpIn5utsEG 0LoPnAIpJ4SejR1Cey9fveEpzJcxO1fTSXft3y68WWJ+unDc/MJLAugLdCgsu52qNCoF RAoWRMHBmJSbSzoj3NePT2dFNlaU56vYzhJlWYjF1C4JNi7b//0+oxlnhhA9Zn68rfBO vVjoZvJg3SxY8A5EBuBrTTgzEBCQL+p8PFEwYIuDDkG9BrfUDRH2bnfAv0mm3dV/J2jI p4Vg== X-Gm-Message-State: AOAM5301PeH7XwMvg8D3fGgnqjybJoxx5k7zEIiz/OTFbqanZ7g9g1vS +PbRJtm+Os8Cl2kqRw7I6N0kuSwO3pBYnw== X-Google-Smtp-Source: ABdhPJz4y06xkJGOJqeAXdWqbUCFk1aGCBSrYDYCHhZULINBiM2pNNpqBKKrRn6waq/R36zJvAqSmg== X-Received: by 2002:a65:460c:: with SMTP id v12mr28021917pgq.58.1642624325264; Wed, 19 Jan 2022 12:32:05 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1f3a:47e5:8bff:a3f8:a494:acd0]) by smtp.gmail.com with ESMTPSA id x13sm6807552pjq.43.2022.01.19.12.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 12:32:05 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org, Vinod Koul , Rob Herring , Marc Zyngier Subject: [PATCH 1/4] dt-bindings: qcom,pdc: Add compatible for SM8150 Date: Thu, 20 Jan 2022 02:01:30 +0530 Message-Id: <20220119203133.467264-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220119203133.467264-1-bhupesh.sharma@linaro.org> References: <20220119203133.467264-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the compatible string for SM8150 SoC from Qualcomm. Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Cc: Marc Zyngier Signed-off-by: Bhupesh Sharma Acked-by: Rob Herring --- .../devicetree/bindings/interrupt-controller/qcom,pdc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt b/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt index 98d89e53013d..bd3539644d3f 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt @@ -21,6 +21,7 @@ Properties: - "qcom,sc7180-pdc": For SC7180 - "qcom,sc7280-pdc": For SC7280 - "qcom,sdm845-pdc": For SDM845 + - "qcom,sdm8150-pdc": For SM8150 - "qcom,sdm8250-pdc": For SM8250 - "qcom,sdm8350-pdc": For SM8350 From patchwork Wed Jan 19 20:31:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 533653 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05649C433EF for ; Wed, 19 Jan 2022 20:32:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357350AbiASUcL (ORCPT ); Wed, 19 Jan 2022 15:32:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357359AbiASUcK (ORCPT ); Wed, 19 Jan 2022 15:32:10 -0500 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77460C061748 for ; Wed, 19 Jan 2022 12:32:10 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id i129so3310052pfe.13 for ; Wed, 19 Jan 2022 12:32:10 -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 :mime-version:content-transfer-encoding; bh=DbN3aXRh0tW2nxOBZ+2r3Fa7kNORZifU05Up9v4Gb14=; b=W8+mnjkxgiFJIPna5wr33XhcJnB5V3DbA6K4E3maWzb5FOZZ261wvwlhSfpbuHYwcE XcSywcI0HsIrAhLLy+Vp7SY6tdshYOubSjUjW6a2lOJOP+iE7NKpcCruPTIDF3X4b94T DPt0+By8COMRqBZnnQM8IDAqFUyJyccU08Pf1s/EZaMHgF0Rk1Xxv1rGQKm9l6w74dgN m99geXbQ/5OUVwGau1lAw+LTXE0yKjhoZG97t583HHbFSZ0eYJAYmL+8YFc0RHGQ5t1m UY/ByJA5eE21/oBNfXI3edIGamyyJCdlKjPhO9M0t+bPL9aZuiNBZmOWxpKzExvUOvUA 6bdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DbN3aXRh0tW2nxOBZ+2r3Fa7kNORZifU05Up9v4Gb14=; b=G2I0Faq1EzTjhy2sadlMhX0xOWSao574Dr2IzKFeb8jQzN5q0OIOWazUxyl2b5xSoo F+cno/X5eL8XsSukYOHsp1lsg+l5oRVqV91IJTfZHr+kdhJ29ma4Z6cSxWGBhGGd5+zP bP9KX4cPSZ0BJQ/Qa+XiSAgKbgrTy03coSqphahzuLhjt+Dmq+NJrJgwjwntbcsfSahF fsbqR6FXP6wqfUTL0loSELXeOEHpe0BEU150Thm0VoaMwUOLJjOh+OOHe2DydRNrGQFo mS1tsnutvg5ighy4MnrI3zO/kG/+MCc4glvDTz7YMNIrGu+69lCYKWxQ3P0nf7tzh2md 7hxg== X-Gm-Message-State: AOAM530En4vO6iQCkfsoacvv1F9L5ZQ4eXhg+l+6/C/fHmRVk/sy2Kqk kYkHZEpwLM11RwjMhMZF/Y9naeaZv6vl3w== X-Google-Smtp-Source: ABdhPJz8orUKdY2yDkn04tiT6KnfcjLggVN+L8/kUQ0lOLoizjGD2fDGP0KarfyeAc6wgRYRcfVhzQ== X-Received: by 2002:aa7:91c3:0:b0:4b0:eebe:49c0 with SMTP id z3-20020aa791c3000000b004b0eebe49c0mr33012000pfa.6.1642624329793; Wed, 19 Jan 2022 12:32:09 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1f3a:47e5:8bff:a3f8:a494:acd0]) by smtp.gmail.com with ESMTPSA id x13sm6807552pjq.43.2022.01.19.12.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 12:32:09 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org Subject: [PATCH 2/4] pinctrl: qcom: sm8150: Specify PDC map Date: Thu, 20 Jan 2022 02:01:31 +0530 Message-Id: <20220119203133.467264-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220119203133.467264-1-bhupesh.sharma@linaro.org> References: <20220119203133.467264-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Specify the PDC mapping for SM8150, so that gpio interrupts are propertly mapped to the wakeup IRQs of the PDC. Cc: Bjorn Andersson Cc: Linus Walleij Signed-off-by: Bhupesh Sharma --- drivers/pinctrl/qcom/pinctrl-sm8150.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-sm8150.c b/drivers/pinctrl/qcom/pinctrl-sm8150.c index 7359bae68c69..499dd05c3e3d 100644 --- a/drivers/pinctrl/qcom/pinctrl-sm8150.c +++ b/drivers/pinctrl/qcom/pinctrl-sm8150.c @@ -1500,6 +1500,25 @@ static const struct msm_pingroup sm8150_groups[] = { [178] = SDC_QDSD_PINGROUP(sdc2_data, 0xB2000, 9, 0), }; +static const struct msm_gpio_wakeirq_map sm8150_pdc_map[] = { + { 3, 31 }, { 5, 32 }, { 8, 33 }, { 9, 34 }, { 10, 100 }, + { 12, 104 }, { 24, 37 }, { 26, 38 }, { 27, 41 }, { 28, 42 }, + { 30, 39 }, { 36, 43 }, { 37, 44 }, { 38, 30 }, { 39, 118 }, + { 39, 125 }, { 41, 47 }, { 42, 48 }, { 46, 50 }, { 47, 49 }, + { 48, 51 }, { 49, 53 }, { 50, 52 }, { 51, 116 }, { 51, 123 }, + { 53, 54 }, { 54, 55 }, { 55, 56 }, { 56, 57 }, { 58, 58 }, + { 60, 60 }, { 61, 61 }, { 68, 62 }, { 70, 63 }, { 76, 71 }, + { 77, 66 }, { 81, 64 }, { 83, 65 }, { 86, 67 }, { 87, 84 }, + { 88, 117 }, { 88, 124 }, { 90, 69 }, { 91, 70 }, { 93, 75 }, + { 95, 72 }, { 96, 73 }, { 97, 74 }, { 101, 40 }, { 103, 77 }, + { 104, 78 }, { 108, 79 }, { 112, 80 }, { 113, 81 }, { 114, 82 }, + { 117, 85 }, { 118, 101 }, { 119, 87 }, { 120, 88 }, { 121, 89 }, + { 122, 90 }, { 123, 91 }, { 124, 92 }, { 125, 93 }, { 129, 94 }, + { 132, 105 }, { 133, 83 }, { 134, 36 }, { 136, 97 }, { 142, 103 }, + { 144, 115 }, { 144, 122 }, { 147, 102 }, { 150, 107 }, + { 152, 108 }, { 153, 109 } +}; + static const struct msm_pinctrl_soc_data sm8150_pinctrl = { .pins = sm8150_pins, .npins = ARRAY_SIZE(sm8150_pins), @@ -1510,6 +1529,8 @@ static const struct msm_pinctrl_soc_data sm8150_pinctrl = { .ngpios = 176, .tiles = sm8150_tiles, .ntiles = ARRAY_SIZE(sm8150_tiles), + .wakeirq_map = sm8150_pdc_map, + .nwakeirq_map = ARRAY_SIZE(sm8150_pdc_map), }; static int sm8150_pinctrl_probe(struct platform_device *pdev) From patchwork Wed Jan 19 20:31:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 533299 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0839C4332F for ; Wed, 19 Jan 2022 20:32:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357373AbiASUcQ (ORCPT ); Wed, 19 Jan 2022 15:32:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357362AbiASUcP (ORCPT ); Wed, 19 Jan 2022 15:32:15 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7B8EC061746 for ; Wed, 19 Jan 2022 12:32:14 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id n16-20020a17090a091000b001b46196d572so3701504pjn.5 for ; Wed, 19 Jan 2022 12:32:14 -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 :mime-version:content-transfer-encoding; bh=HwsflDgvI505/t3UhW0BwfP38dYCTKy65mKeXmMyTyw=; b=RLT9d9TpGUOWh5DKrG8VAcsEP0GmJ1cgSg7Qw/D4EvELZej0kEMIItMUJ5E6/+5wrY EpdaGYCsx4dC4xZhFV+O5Py3WA3WWxYn+izdFo4jFN3qAiolyQpOyjgCw/nGG/czXYZM JuoEGKpr4DPXqpIik/ApT2mmbNdJ7LZjTJGjMybPjW2tF+IW0lKv04xBSkXiJC9uTfGP HHMy4oTyehA3Ib+3FK3Yss09UVgUmZzTmM4hiacw6QWKh7oQTbf3NK180jSmGQt2RO3a dSTNd08Tk3TxXaGoIDPQLviU0Qw507CW/qY2pvC+OEEz7GGKW2XdSx3qeIcLosBHkBTW sWHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HwsflDgvI505/t3UhW0BwfP38dYCTKy65mKeXmMyTyw=; b=opRaQSorlv5XHhC8oL6wtnge6svCxR51ac4YrCZdvDBFXaXPXRrQa1si4a0DP4f/0B LJ5lYDem2hUO3jhzBP8QivHJRiQ4s8WuKkJpqo2Sv1kNkjSLHvoqSyFV3+hBISMT5aRs QMkEsJ86H7h/LQ8oU+cj/mJ7kGXi3R3xLyvkQRVvz+5wgPYwNq0iPebKXTvUyI86IoyX GStq1w6YtVMItJ9G2Mi0FrFSIUmXN3DljCm/h2271+SlOAGtCf/hR3tyFbnOCW2gjv46 jJuBFplYPrkMRPwESKLxyIW45vFfbTctM3zVA5DM8Ss5jpB0TxsXSBDuwdqRF45R+Ihe DZzg== X-Gm-Message-State: AOAM531wXSsdBgPaJwn4CpGfYB2J9ANO2k9W6tCmoS7NMujUVVboUp79 TXqX+Je553kDk+SK6uoFLrQ4f00EyWa1+A== X-Google-Smtp-Source: ABdhPJzR8RsGmSCP59KaXeZcZ2RONSqBSLHC6zlef0+G3rfVJ/fwAIQeOopH8GykNFFpCffKXvN7fA== X-Received: by 2002:a17:903:32c2:b0:14a:2099:eb38 with SMTP id i2-20020a17090332c200b0014a2099eb38mr34751945plr.58.1642624334053; Wed, 19 Jan 2022 12:32:14 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1f3a:47e5:8bff:a3f8:a494:acd0]) by smtp.gmail.com with ESMTPSA id x13sm6807552pjq.43.2022.01.19.12.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 12:32:13 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org, Vinod Koul , Rob Herring Subject: [PATCH 3/4] arm64: dts: qcom: sm8150: Add pdc interrupt controller node Date: Thu, 20 Jan 2022 02:01:32 +0530 Message-Id: <20220119203133.467264-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220119203133.467264-1-bhupesh.sharma@linaro.org> References: <20220119203133.467264-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add pdc interrupt controller for sm8150. Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 6012322a5984..cc4dc11b2585 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1626,6 +1626,16 @@ system-cache-controller@9200000 { interrupts = ; }; + pdc: interrupt-controller@b220000 { + compatible = "qcom,sm8150-pdc", "qcom,pdc"; + reg = <0 0x0b220000 0 0x400>, <0 0x17c000f0 0 0x60>; + qcom,pdc-ranges = <0 480 94>, <94 609 31>, + <125 63 1>; + #interrupt-cells = <2>; + interrupt-parent = <&intc>; + interrupt-controller; + }; + ufs_mem_hc: ufshc@1d84000 { compatible = "qcom,sm8150-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; From patchwork Wed Jan 19 20:31:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 533652 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02D9EC4332F for ; Wed, 19 Jan 2022 20:32:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244673AbiASUc0 (ORCPT ); Wed, 19 Jan 2022 15:32:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357384AbiASUcW (ORCPT ); Wed, 19 Jan 2022 15:32:22 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1945AC061748 for ; Wed, 19 Jan 2022 12:32:19 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id p125so3688989pga.2 for ; Wed, 19 Jan 2022 12:32:19 -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 :mime-version:content-transfer-encoding; bh=GqXihKucmnytz8M1n0VHglkxlU7U954wHoSK4Xv6rQc=; b=vwQ+Z9Nq6jlaXRSAni70Sjj94YsAimviM58py95W8vr9oQwd0Apg+P5YuFXh/jAPF5 WoMqRl6nGQkA8kcU7ASPwksXlso0bcxvXqV6OD4oeOuJDbroWKg09GNeuiSTkxqMR8tK 9qcer4hTx0JXIBnlZIMRO4/TGjv7cdOINiu28BRNiRY9JIvJDrfkuL4Uv66KGc4LlxnT HnVA9Pfsa9WuZaoHgTeeRt0c3Qrfbw8LYucW97CVGg2bZ5OheBVTQWJL9m9ejSNCd70u eCjBYfNBFxm0mVz6aBPW7KuDwLJxGZDrmXkgYy5kQcUXzU5ktJKD51eHERqdX9yLfPma 9k8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GqXihKucmnytz8M1n0VHglkxlU7U954wHoSK4Xv6rQc=; b=agMFL0STBYC//YFcQ5S4+w8OkCoJlL8uIZxeuTROasV1Uh/CuwxG/Yk5Ee32HhOZaS 06VhqAMmPw3Qc9edSqSOe4mwqqxp1lpRYmptmZScgN1vmR+A0LcQktyOMtNJyyBVD5nN qgIq2nyCAcPtCd0oxTxR/safy4ikP6D21eBytWKBHqXlTNeiGqATreVg+xpPLS8BcFxD 3PGXnRONQrnnqZYoTgzgGgBG+tef6JQRCw5WhINPefad8tjk5qiy5Sg2IahjC107iO9P OSvjySkUtPahrXSq9Hx/DBx73A+3U4WS+RL747IBkc3T4XeGkzfu/JIuj3lhYQjK+4x3 doRA== X-Gm-Message-State: AOAM53192IZKVD9QKgzz1Ard4rpeiD2Ls4UHHLhCLytJ3w7IqygiqUFa TzRElKTGCpdbFrxAyVPm7JOHX79EcpAKig== X-Google-Smtp-Source: ABdhPJyI9L708yeOZbuCJ5HXqNsradzR/S5DMtbz5n9jptiSXc9EmrmxrjwUGSLQdzHasWxQu5djGQ== X-Received: by 2002:a05:6a00:234e:b0:4ae:2e0d:cc68 with SMTP id j14-20020a056a00234e00b004ae2e0dcc68mr32396719pfj.60.1642624338369; Wed, 19 Jan 2022 12:32:18 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1f3a:47e5:8bff:a3f8:a494:acd0]) by smtp.gmail.com with ESMTPSA id x13sm6807552pjq.43.2022.01.19.12.32.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 12:32:18 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org, Vinod Koul , Rob Herring Subject: [PATCH 4/4] arm64: dts: qcom: sm8150: Add PDC as the interrupt parent for tlmm Date: Thu, 20 Jan 2022 02:01:33 +0530 Message-Id: <20220119203133.467264-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220119203133.467264-1-bhupesh.sharma@linaro.org> References: <20220119203133.467264-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Several wakeup gpios supported by the Top Level Mode Multiplexer (TLMM) block on sm8150 can be used as interrupt sources and these interrupts are routed to the PDC interrupt controller. So, specify PDC as the interrupt parent for the TLMM block. Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index cc4dc11b2585..aa7e949a2bea 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1937,6 +1937,7 @@ tlmm: pinctrl@3100000 { #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + wakeup-parent = <&pdc>; qup_i2c0_default: qup-i2c0-default { mux {