From patchwork Sat Feb 26 18:40:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 546231 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 4B28FC433F5 for ; Sat, 26 Feb 2022 18:40:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232656AbiBZSlc (ORCPT ); Sat, 26 Feb 2022 13:41:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232689AbiBZSl2 (ORCPT ); Sat, 26 Feb 2022 13:41:28 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C82551E64F9 for ; Sat, 26 Feb 2022 10:40:53 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id e13so7461643plh.3 for ; Sat, 26 Feb 2022 10:40: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 :mime-version:content-transfer-encoding; bh=lBZeyokkJ0filn5vP507j526QxesK3K0dUHppgPVykM=; b=B1W8mjoXyaornrojdkdADhQLc4kLAuKLxYDdM68uwF885nNGCpbe10uz++85QniEDl 50P4etoquBx62Y1CLZBMMJuWkWok4ubBKN4+v+UmJUcagw5hj0oS8q5r/jXJBQmGWlKa zUVz3NE4LoTA87+EpLZ3fPdqC049w0DmNurCmDbB7ZrTnrPZ8yzdKhg524BF11Dz0QpF 6tzoJ6xpI0wtZc6ovYa1sSp1UXWTAGRxDKzuQjQWucMFKyxBsI/F/fMLOYfBe6anHcUs XWB1dAp/D+RL3mLHlh7pVlm44JqQjBYh8DKRsguRrNSR16CoXon8k421akGVa555mNi2 2Dfg== 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=lBZeyokkJ0filn5vP507j526QxesK3K0dUHppgPVykM=; b=8BWAHjmDqb+V6ieItpVsfWpJtB0ooE9xPe0eAUNbVtjYKe0fT7uAH1Mdt0kqWqB27T JLdTIIfxIDmbU8aR1udqFW8tU1vwoCgOnILsxfInbhY0WJCDtYemvVyo7HRfeQqN69L5 qgZxtqAbHVa97jxt4F05TRE3RnprMF3MCz0XXz0J/ubzhjR3h7gN9BCsqZBIRy/BbTLF 0HYQ2vuW/1EbnxU5s7wrCBh9hb54aFnRM2rZpKMk1nvZed6FqV/Lqs9VmOCUnSc40rcT pOouxQiEaeNvrvAdihT1T7OdWsu+fhNZ2Gx9KQ44L+IMoZzMSvu0SybbORglU50czinI 177g== X-Gm-Message-State: AOAM530aFrcHqQlUSr1+hU+5ymg8mbLYrRDnNvjong4EKUTEX3yz2A0a zlHVrdLzWvDwaFTwDpdrMMXKRA== X-Google-Smtp-Source: ABdhPJyFqtWQVGiH+rxcf0zDTLOf8QCZE7DBG08FbC3+bzWD/A2yAvBz+1Mv54Lo12yyE86WM5nT2g== X-Received: by 2002:a17:90a:e295:b0:1bd:2c02:7b48 with SMTP id d21-20020a17090ae29500b001bd2c027b48mr1396682pjz.215.1645900853280; Sat, 26 Feb 2022 10:40:53 -0800 (PST) Received: from localhost.localdomain ([223.179.136.225]) by smtp.gmail.com with ESMTPSA id b187-20020a621bc4000000b004f3c8f3b560sm7049319pfb.129.2022.02.26.10.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 10:40:53 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, maz@kernel.org, quic_mkshah@quicinc.com, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, robh+dt@kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring Subject: [PATCH v2 1/4] dt-bindings: qcom,pdc: Add compatible for SM8150 Date: Sun, 27 Feb 2022 00:10:25 +0530 Message-Id: <20220226184028.111566-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220226184028.111566-1-bhupesh.sharma@linaro.org> References: <20220226184028.111566-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the compatible string for SM8150 SoC from Qualcomm. Cc: Bjorn Andersson Cc: Vinod Koul Cc: Marc Zyngier Acked-by: Rob Herring Signed-off-by: Bhupesh Sharma --- .../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 Sat Feb 26 18:40:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 546522 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 10BC9C4167D for ; Sat, 26 Feb 2022 18:41:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232711AbiBZSle (ORCPT ); Sat, 26 Feb 2022 13:41:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232697AbiBZSld (ORCPT ); Sat, 26 Feb 2022 13:41:33 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EA961E64F8 for ; Sat, 26 Feb 2022 10:40:58 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id z2so7442996plg.8 for ; Sat, 26 Feb 2022 10:40:58 -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=NhYp7rvNV+p3QtraK3mzi6k8+sTimZVZsYgYTKLgOjw=; b=ktI7wjlrlnHVlR7gidgss4RFsubYBAMmdP1LjboWTcwBtemI2uUEBev1G0JAAWHJrU gNvV5jaUhrlWBCeloQ8Wk6mFC8Ej9d7c1ejiXJHegJxc0J4W11egy3iFDUPOmtIB3jE0 FXGzchdtuRILbMXxoKmnxDTub6qmaq+mXno9sBbppD/LCZleUgnZ2nNaW0GHT6pVCzCn UimUSDgRSQQcD7plCi78gRIo7cgbBKPYZa/WuHnpRNKLsOk5R9AQhcpESJIKBbRF3h9Q fmsq73BqZMlXS5Jiimc08PyCaTPxEZ1ixvKZVpvwjkqO1DIRKqbUsvLP/rMtb67SJAPJ X3KA== 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=NhYp7rvNV+p3QtraK3mzi6k8+sTimZVZsYgYTKLgOjw=; b=zEfMnOimLWGcz3ayVe7HHltt1XtdZSJPFZzKwCsQhKR0nhEeKKcA6v2VfzrsG70pfI vyDegeCv2+/RECrN01rYXUg7KvUem1osGeqGuKZFcqCNXq27QtBNfz7Pw4qvldIWYVrE D/Idi7Z1fnaQ9pSyb6/g2gOW6H2IWGfk7EdPHVisfvxLDaesuC3KCw8DXcVK0MqlwHXc fwKrokF7OiyZi4li3n9a5FuKMP/+NiFGuA1dtay3r5yqq3dPJrltBgGFjXMNfY53L03+ pwPHs09LS+ncMKO1AGWWuxY0U9aTO4+ohWlHK/1N08HeAlPtkwLn/anGc5nEex1YEx5q sg0Q== X-Gm-Message-State: AOAM531ee+6eOXd8JlxQ809rN8pXioiciK9N6UNcxwTBUoe1ZgiZOvF7 PjsLnYQkBIShlTZqHp35SptZ1A== X-Google-Smtp-Source: ABdhPJww4jzPYcubElE8G9u93oVs9BTdT1cirgioMPIGfdOeCIk//dvrTS0HnJCnk/dhH+SNFhf7Ww== X-Received: by 2002:a17:90b:1054:b0:1bb:fc13:73ab with SMTP id gq20-20020a17090b105400b001bbfc1373abmr8946775pjb.241.1645900857671; Sat, 26 Feb 2022 10:40:57 -0800 (PST) Received: from localhost.localdomain ([223.179.136.225]) by smtp.gmail.com with ESMTPSA id b187-20020a621bc4000000b004f3c8f3b560sm7049319pfb.129.2022.02.26.10.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 10:40:57 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, maz@kernel.org, quic_mkshah@quicinc.com, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, robh+dt@kernel.org, Bjorn Andersson Subject: [PATCH v2 2/4] pinctrl: qcom: sm8150: Specify PDC map Date: Sun, 27 Feb 2022 00:10:26 +0530 Message-Id: <20220226184028.111566-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220226184028.111566-1-bhupesh.sharma@linaro.org> References: <20220226184028.111566-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Specify the PDC mapping for SM8150, so that gpio interrupts are properly mapped to the wakeup IRQs of the PDC. Cc: Maulik Shah Cc: Bjorn Andersson Cc: Linus Walleij Signed-off-by: Bhupesh Sharma Acked-by: Bjorn Andersson --- drivers/pinctrl/qcom/pinctrl-sm8150.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-sm8150.c b/drivers/pinctrl/qcom/pinctrl-sm8150.c index 7359bae68c69..1cc622694553 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,9 @@ 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), + .wakeirq_dual_edge_errata = true, }; static int sm8150_pinctrl_probe(struct platform_device *pdev) From patchwork Sat Feb 26 18:40:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 546230 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 4B0C0C433F5 for ; Sat, 26 Feb 2022 18:41:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232717AbiBZSlj (ORCPT ); Sat, 26 Feb 2022 13:41:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232716AbiBZSlh (ORCPT ); Sat, 26 Feb 2022 13:41:37 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C63471E64FE for ; Sat, 26 Feb 2022 10:41:02 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id gl14-20020a17090b120e00b001bc2182c3d5so9498804pjb.1 for ; Sat, 26 Feb 2022 10:41:02 -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=odwahtVFzAzlKqhquo0uPKSN5JsFWwMZV4g7eN1U7jo=; b=lYLbQXPEa1vpkOtydIcf+0oqQQRMIrmfI1/ytGLK/zehTXihFSDcpMlm498wB9Mwuv OWlRYpORDB/ciXwMkWKBPIsTn1gPP/6INJ4b35jb31krUAr7KA+wrgTx3e15Whf/Ekgg XYLLwU0pG25lnHp4EN3iFFBHi3KixIwxx6jPaAu3z1zRViTyIG8zFIcBhiwGclMvIEsv v3JHrbkpMjQaCooCOxRM7a4m0+m8HA/fwhhaGCZulqpUpw2sHfLbkKbrhcDtThveyxfA 4neppAFCfBlvsd4xts4zVzZLnzTg68OeBXFDjk0Tb7CXKp9E9QS+sXboSF3f7ioFjaFT 464Q== 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=odwahtVFzAzlKqhquo0uPKSN5JsFWwMZV4g7eN1U7jo=; b=QN+EzXm/8YtAvyCltmWy8AR0O+PI0Ofz8E4I6TSXErTjXYGPX/W2WEA0nX8IQWCIGx h/ChUd9pgxTLJdHcFkcZa6Yb4eXVaT7weKZD1sQ8Vd1/qY8ewQdqbdhD8/lv8G2ouloz xTAfpU+qdw7TKA7IfSu8dboDOaIX2aNEWhQ7Cd8ADHw6xXTjYC0w94+ersNlETfKoKhM EUs8np9nD2q5LZ2Autw5s6gl+cSDWsl5eHLQYOLRyteMWQOd1s8DjEA3zMD9AqbcSPpG 7Tzwi0gSDc0nyRHfDBRJEfC5yMwr6CTwgVgADdmzgSKbi8j/SVKshCTP1V1eU/yV+osL 9uAg== X-Gm-Message-State: AOAM5324zVC14fHlTxThe3+lUBhrjvyZcNc0pJ+nqo4OdY5uhigcZvGO VYnl4Mu9dBFuldYSDWhgQSI58w== X-Google-Smtp-Source: ABdhPJwkVmVcpOLaVwOHR/BqAG50M3qFkbhnE4lpEn7vRc0GTxhqyvfU6USBye7jzCaoScptMnmvyg== X-Received: by 2002:a17:902:f70c:b0:14e:f1a4:d894 with SMTP id h12-20020a170902f70c00b0014ef1a4d894mr13096570plo.65.1645900862295; Sat, 26 Feb 2022 10:41:02 -0800 (PST) Received: from localhost.localdomain ([223.179.136.225]) by smtp.gmail.com with ESMTPSA id b187-20020a621bc4000000b004f3c8f3b560sm7049319pfb.129.2022.02.26.10.40.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 10:41:02 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, maz@kernel.org, quic_mkshah@quicinc.com, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, robh+dt@kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring Subject: [PATCH v2 3/4] arm64: dts: qcom: sm8150: Add pdc interrupt controller node Date: Sun, 27 Feb 2022 00:10:27 +0530 Message-Id: <20220226184028.111566-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220226184028.111566-1-bhupesh.sharma@linaro.org> References: <20220226184028.111566-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add pdc interrupt controller for sm8150. Cc: Maulik Shah 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..aaeacd379460 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>; + 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 Sat Feb 26 18:40:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 546521 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 66CACC433F5 for ; Sat, 26 Feb 2022 18:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232738AbiBZSlp (ORCPT ); Sat, 26 Feb 2022 13:41:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232746AbiBZSlp (ORCPT ); Sat, 26 Feb 2022 13:41:45 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A38DC27EC33 for ; Sat, 26 Feb 2022 10:41:08 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id t14so4872546pgr.3 for ; Sat, 26 Feb 2022 10:41:08 -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=yWkjgQc5GaTMGsYymmiKClwt0+YbyyBGXguYRPAW+yA=; b=Eu0uapRjn2wC4kS5EHa8fE5lKLqZkoR+LaAkeaidWEfjT+vS+GS247YSJUBjs/4Ew5 MHF/+6rGDStMlvvSZ1PCbd/j5jTPFr3zp3SLIOG0CSfDpNZSXfksYNsCil0U0QSg8GRX rGwornii8S8E4vBBcPUXngd2t0laT0neWey8QlSgjdjVGQ5KBza6gInmfRzi+iI5anRq Zpvdylv24EL9KqqB1xKgZ53dRw/fToCz5ybQX2iwQvaIy5PQ4rSMTF3ie3NvoON4orkU R6f6oTgY1/N2CxxdoNX3gon7+HLEa68pthIBt/UH++rNfH1WlR5bxHbWQCJA2OWL/jyb uknQ== 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=yWkjgQc5GaTMGsYymmiKClwt0+YbyyBGXguYRPAW+yA=; b=kd8Zjw9rEJL6vVhWohF/sZtgHW0rVT4cts9i5H3yN1Bz5q34sz+lbP5jTdNjkQsTFQ yW8jzz1wUOjMKl8IHV0zCkxHzdLhaBH/ZNTLGLDZAmzam+NQwKQo4onOhh8lUDENeEwN CWnpCWspBBPkBjoNNcIjUBvro74GazqzNdjtmMiYMN4xSOcYfrbaHvd7gG/5VAH9qvcX Unf9wAF0uknGE/AtFjld6AM+hr7C13oWhc6+hc80IwLYYVTt6ym80hWNdT7tOZ2okpkj gd2vs1e3Na82lIZqDmNeThk9d4jtR8Od4B8TxqduPEJn9hY/tKHHBcETPiWYS4pCErae 7oaw== X-Gm-Message-State: AOAM532g5P6a1bwTxG770Rs7sklL4NPNsLiwUIdOARPfX8MDrrPW9Pb4 Hll5CelCmm9vdcbwVvD6dEvLyJw4sTJC8g== X-Google-Smtp-Source: ABdhPJz8U7fmifOHyEShGlwoTHzRdUeqY64mXKnpivuz4+VjwvLzJXYZX0n5/MvUS8+z8s4i5TMRcA== X-Received: by 2002:a05:6a00:2313:b0:4e0:ffa7:bbe0 with SMTP id h19-20020a056a00231300b004e0ffa7bbe0mr13698980pfh.53.1645900867596; Sat, 26 Feb 2022 10:41:07 -0800 (PST) Received: from localhost.localdomain ([223.179.136.225]) by smtp.gmail.com with ESMTPSA id b187-20020a621bc4000000b004f3c8f3b560sm7049319pfb.129.2022.02.26.10.41.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 10:41:07 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, maz@kernel.org, quic_mkshah@quicinc.com, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, robh+dt@kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring Subject: [PATCH v2 4/4] arm64: dts: qcom: sm8150: Add PDC as the interrupt parent for tlmm Date: Sun, 27 Feb 2022 00:10:28 +0530 Message-Id: <20220226184028.111566-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220226184028.111566-1-bhupesh.sharma@linaro.org> References: <20220226184028.111566-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 Reviewed-by: Bjorn Andersson --- 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 aaeacd379460..6e6fa7811c7a 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 {