From patchwork Tue Jun 27 08:53:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 113324 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8057156vqr; Tue, 27 Jun 2023 02:16:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5sKEqd+il9QHebRtwrhxRR9mNeQc/nI/caXk4GDbFeAcPwfIAWNdksyK6v2YA2zu0feWrO X-Received: by 2002:a05:6a21:6da7:b0:12a:8ebc:90ba with SMTP id wl39-20020a056a216da700b0012a8ebc90bamr1530288pzb.32.1687857361423; Tue, 27 Jun 2023 02:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687857361; cv=none; d=google.com; s=arc-20160816; b=0P3IbFN78IJTvjBbegvCE6dLogMFKACAZRCJgL87sgGSzs/HpITWnrTdctm7pjlyVJ lsV44j8X8l0spPcgyByS+/5zqiOCYaTpHuIDKY7ULeJum0Y2FacvMxW84oZDN5AOxfL6 m+Mxa1DuuZpjOf/kB/JrpoF+Sf18qdnYplmMki8V163sKwXtT//Sv8YSDCs4Hw8yYpYX 4SQOKAGTjF4GaHJW1NIg4xGSLUZqrXOkI30/CP0PyFrMt7fy9eefuBMd4YmvZefJOQER BN09TjoDgfO7CWDcRalcH6+W8M4dolLDdWiL+AwH0zMMhV8h+o6SOpiMhhjwmQytfpg0 qDDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=munt+Yhb/FitoyrVyICSY7xi+OzmklI9XfznEWs1ER0=; fh=iNOID+ife1OeK89uk6hEq0TVVkF6Rp4tgE9slaCKCHg=; b=sZ6dSTZoMr7+DHeeTREy6CbMbbpyn89MucdLkd1ZBQ/lSp3xb5Px/WB01jfqLtfHRU QzHWL6/G0DHfaToRpUwVIHO7fjXhZJ03z4oZKSIHWzWzsKI58/nBghPjD1fT+IN63OUH uWil88j9OzfHogthkLT89Hjs/qQLuUNbHEly82z4N4+U+5+GVgop2hYdnzYNBsECsq9r 0VkQw6D5DYitKZbEo5XQcxpcEHl+YGiTbnkUxa/jR0l2tiRFdQAeSKx1G48mIJq8OhNK lfGnF8iJPPpAxJ3UmOg0AtglsJvLwpbVMSmY+0FQLwvdw8bWGFr5je/5agS/O0dmOw3X +xGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ORlVk8K3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020a056a00150200b006695704e631si7477813pfu.176.2023.06.27.02.15.48; Tue, 27 Jun 2023 02:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ORlVk8K3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231146AbjF0IzE (ORCPT + 99 others); Tue, 27 Jun 2023 04:55:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbjF0IzC (ORCPT ); Tue, 27 Jun 2023 04:55:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40F2610CC; Tue, 27 Jun 2023 01:55:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CA46261030; Tue, 27 Jun 2023 08:55:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34CFDC433C0; Tue, 27 Jun 2023 08:55:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687856100; bh=s8NUZ3ksYv5mLj2yRtarpDvRohslNYcPlf0NKQbDRhc=; h=From:To:Cc:Subject:Date:From; b=ORlVk8K3VPq2wiNzuL6lPHqGT9sbQqF8HVCXZg2LGQ6usjE2HA2NtqBmPCiebL4bo PK0m2JL/9bzi4ttrpxGNlrkW/2FlKZKknOUKn1BWEShBr7Ba0v2FxHMXoxGXSc6CjX zMG8d+cryctWrZfEPNPgGt2kFSfyLR04OnYZ1Z/t/6NmPsAGAwiEW4WKx0Wxx1W8tU d9w2XkYHYYGYU2BrKInwjs+LJoDKz8q78ulmumPN8D0bP14+mfeXPg9vJcR96zpXHH R0cdvbC+vY283pmR62xzHchZZlR0YAXJyo2J4xMVlw8qkYhV7CUVYWiDxbKOKUOPse F6Yh/ArZMVMdw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1qE4TQ-0001Zq-BO; Tue, 27 Jun 2023 10:54:57 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Patrick Wildt Subject: [PATCH] arm64: dts: qcom: sc8280xp-pmics: add explicit rtc interrupt parent Date: Tue, 27 Jun 2023 10:53:06 +0200 Message-Id: <20230627085306.6033-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769846720498888913?= X-GMAIL-MSGID: =?utf-8?q?1769846720498888913?= Unless explicitly specified the interrupt-parent property is inherited from the parent node on Linux even though this may not be in full compliance with the devicetree specification. Following commit 2d5cab9232ba ("arm64: dts: qcom: sc8280xp-pmics: Specify interrupt parent explicitly"), add an explicit interrupt parent also for the PMIC RTC node for the benefit of other operating systems which may be confused by this omission. Note that any such OS must still implement a fallback to the root interrupt domain as most devicetrees are written under the assumption that the interrupt parent is inherited. Reported-by: Patrick Wildt Signed-off-by: Johan Hovold Reviewed-by: Konrad Dybcio Acked-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index a0ba535bb6c9..80ee12ded4f4 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -101,7 +101,7 @@ pmk8280_rtc: rtc@6100 { compatible = "qcom,pmk8350-rtc"; reg = <0x6100>, <0x6200>; reg-names = "rtc", "alarm"; - interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>; + interrupts-extended = <&spmi_bus 0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>; wakeup-source; status = "disabled"; };