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 {