From patchwork Fri Aug 11 20:48:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 713403 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 038FBC001B0 for ; Fri, 11 Aug 2023 20:49:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236735AbjHKUtN (ORCPT ); Fri, 11 Aug 2023 16:49:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236131AbjHKUst (ORCPT ); Fri, 11 Aug 2023 16:48:49 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4360930D0 for ; Fri, 11 Aug 2023 13:48:48 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4fe27849e6aso3789303e87.1 for ; Fri, 11 Aug 2023 13:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691786926; x=1692391726; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Zbe6rwLIqAzfnDpJ3MJUpo4QwqSNk+XAj+k3Lr/1SgI=; b=X46Gf6vMDFNYaY53fAVYDltZHoWEgQf3ko2XbNsFQKFeym06D38HqXIm+JxdRueYC2 8RYmby4BSsY7RzedpPRe57xxNb9Rj9WiCC8mnk+hisEkCp6Qp/gCNxi4g7C4FWhXTkWJ FUKnCm0zjjjzbL0dKw48zuKSNSYub280HkDSv/9Lku3xvG/6ttC/0PA2Bl1HFvMXy8ni NiH+jM1MDNoFs0SmNJELTHMnPFMyzXt1Yiolh0bG35aw+4z91vIoIaLwKyNTGYdM8SvR /pQkuO5b1jQhVqs20lNe5B8lNRNceHUbKGKRQBhKWsFbGcygmLyWgdAgBzeaoUw9EeVb WDiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691786926; x=1692391726; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zbe6rwLIqAzfnDpJ3MJUpo4QwqSNk+XAj+k3Lr/1SgI=; b=fPwRsffR7oTNAxaxxKYaXIu/AY4AICXTKZ/Mv0XJRpwkCYKoeqbTBqVw1c3pT/yCPw ixwTyAltZncOeAs6VI3ebq7SIsuOrvENMfSPQlIqy+h8Cj2SdA134qgL6MUFMrQ0Uf5P LgHD9Rxw6zWOKHo2CVzLWCZhjlZAPXsgCjFlAp+VgYa2JxhoY6fdRYphYDlJr4MJ3oTG JHGvZSZKDLqze5SJypW8VCPYrP+IEYLRPvZpDMuAddbSY8mVG695rU23oOjv9YZaIRi9 cEulGDKtGfnt+7bJMN55XRw0KBW50gTYyKY8NpEvx5g5lBwaZ2H5tmHJ4H6RMC58xt0y /H1Q== X-Gm-Message-State: AOJu0Yw1JgJCy/58ebIVKBDiYJegr7LN54BF1Rm01ctX4XAywbI9JxDg Rk+LjldD3hTno2NvmTjzcg3ofQ== X-Google-Smtp-Source: AGHT+IE28w/RRIwwZ6DOTisDKzxi/o9RRQAr6KDMUn21Z1qmRFMoHuIcy1IeSg6C5Q0r3Lu8//8+8g== X-Received: by 2002:a05:6512:104b:b0:4fe:1a99:45e3 with SMTP id c11-20020a056512104b00b004fe1a9945e3mr2722908lfb.30.1691786926671; Fri, 11 Aug 2023 13:48:46 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id w1-20020ac24421000000b004fe8d684172sm843603lfl.234.2023.08.11.13.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 13:48:46 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 22:48:38 +0200 Subject: [PATCH 5/6] arm64: dts: qcom: sdm670: Hook up PDC as wakeup-parent of TLMM MIME-Version: 1.0 Message-Id: <20230811-topic-tlmm_wakeup-v1-5-5616a7da1fff@linaro.org> References: <20230811-topic-tlmm_wakeup-v1-0-5616a7da1fff@linaro.org> In-Reply-To: <20230811-topic-tlmm_wakeup-v1-0-5616a7da1fff@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Gleixner , Marc Zyngier Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691786918; l=749; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=noEdJDXBq+yIg8vLz/heyQKfgGe2fGcgrZnodZXu4VU=; b=JcI1HqpLHV7+mVhfa+Rgpgw8Ur/EObC7sGINBPp/i7We3U3MqoU9hgNmah+LsiEc3xETe95b6 QI0TGXgnKsECQUAC7VN6Cym1/rjKj/svvCl9LD/IL6h7p4aLanDmQnb X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Some TLMM pins are wakeup-capable. Describe the relationship between these two peripherals to enable this functionality. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi index da10f0a6d92e..a2354fe94d98 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -969,6 +969,7 @@ tlmm: pinctrl@3400000 { interrupt-controller; #interrupt-cells = <2>; gpio-ranges = <&tlmm 0 0 151>; + wakeup-parent = <&pdc>; qup_i2c0_default: qup-i2c0-default-state { pins = "gpio0", "gpio1";