Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17708042rwd; Tue, 27 Jun 2023 06:43:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RVYoZY0+bIfszrvmM8xMwgyXY/sBhGsj/+cn2+hInS2UOL6cW9lC/9b5X0xX3TtexlJAm X-Received: by 2002:a05:6402:9:b0:518:791e:1af with SMTP id d9-20020a056402000900b00518791e01afmr22558039edu.1.1687873400968; Tue, 27 Jun 2023 06:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687873400; cv=none; d=google.com; s=arc-20160816; b=S9vobUEURdvVIZb8eTvMLSz5n7ZLnhMSIMKFEUqIoSjr7PRKsHxmI2xJ/ojQ7B0eyM 2DM1P+zym91jpBOZ4d/zALLsyzcDPkG1easAj+5Ln7UVqkoxDFTIMjqIy0avlbUC1mVL ovWE9+BmCCZ2uF2+/PZV+4Becj0JjYERoGhhsf1b0X7n7Eyu3w7DxDWD568eh4i2n+uU RNbh4GvYU/K/j88VQvbOlO72aeEFFRynwZQl4scLnbAZzVnyAYQjbzK+BRTAkxbivEjU aV+1nabxlJOvGbiJ29KzRIhZshckTzGFcw5yu/2I07aAuSMctPacjh5akz7oR4XXhT7l tlKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Y02hN0PNekjOd5szuk9Ub9WcGYvupKGth45H8Ct66UY=; fh=wAZUs7/kk/Tg6zjEu6BcVyF/Grvs702lum5i0mL057A=; b=nYUscjnJ6KYXN2B8+PYKeU1RYj1JX5dhI4XFybw9w4XZvgHhdN4qkCeXpf0wyuT7VL ZcNk6J+gm4dsnCtwpbFGILSSH7VO6JrbNBnsgzDZ3mJcRlnraFtYIjlm1u7qWUiu4qBy mrobCEE7bcHkeZsBCOh3Ju7bc91B2mCSPdtsXoiOmNaBtKuwncg2PgS210WVGl4jjq6q WteJJZ4JlxES3NgLJaBRj5qzuaTmo3eyo8BbWyC9cR/fT0TjoxKys+gPT3R0HX3CRPC/ t6er/I8Mcbp/J8bHkKhK9VPa2HzL1dX4bCOlRVnrKXOvCX1bNlmHv/uwhAtnXm2S9WA2 8+pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IRjeNnOm; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020aa7c447000000b0051daf0a9c72si543567edr.660.2023.06.27.06.42.53; Tue, 27 Jun 2023 06:43:20 -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=@linaro.org header.s=google header.b=IRjeNnOm; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230195AbjF0NYW (ORCPT + 99 others); Tue, 27 Jun 2023 09:24:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbjF0NYQ (ORCPT ); Tue, 27 Jun 2023 09:24:16 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A4141987 for ; Tue, 27 Jun 2023 06:24:14 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-66f5faba829so1899231b3a.3 for ; Tue, 27 Jun 2023 06:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687872254; x=1690464254; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Y02hN0PNekjOd5szuk9Ub9WcGYvupKGth45H8Ct66UY=; b=IRjeNnOm4E4Z+pIzRr/Di7z/oSbw5+dbir8tihAqnEil/TvIC7fsGDSw2X/YZLPFqo GAZ+hSGoAgUCgnlB3sS5kstebfnK/iSKbUWe2XyxZuYTHbo+mBws+m+EM2MlmTIY54/R vgXH2d7Nu6b49+mRnvDN6OPuRyLuPsjHHzLlcDAJuM5yGJ7ud/XMPItYri16GetafB8j z6lY4T9sCyHz1GrTJnHsHqMSXi3hHEKLK9nIsJp2cma02Te9I21k24fotjDqzmJ2MdaV Qxbr2ZI36ctG3umjd/xKHbol5V7lZMXcKOJE/jiU7a5GG5cLdY2tzR4F9TOeISJiM7tA T7vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687872254; x=1690464254; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Y02hN0PNekjOd5szuk9Ub9WcGYvupKGth45H8Ct66UY=; b=kNB+W1y9WnSLcwzgUl3t4zOkIXzSXewHUG0d56n0xAYUY3JUofyhBOpQMO/KpB0JmW vNg76OEEAczQpxdQUWWRA4eVjB0Ej66BOplGLnKafDc8y+yRUqeh8UU/31b3Gth1GUBo jRSk3sFH7V0hC8yq/Zod2Eq80kJghIJmLc1T5suPYE3/OWFc1PD+BeMCWE3mb9BoHJze 4x0ju2MUnugtBsMlsy4qOrBf8g4ELTivGFrLxN7uFhj8xuhkfbmzVit1UN5J3MN9UMUf OM5VSoHRUBnfUO21OUrVNinrlCl6GGeCGDCldqDtinHOWz3zqYQWqsTsm9VuXOtJoq8V dAIg== X-Gm-Message-State: AC+VfDx8u6G0NBjyCrHbJIOpgO/R6M+d1qQl1F6lXx1BFJ7FiaSRzI8u V+bN90C2JLaBxmMOyEclLYjxV2h/tPA6TVKmig== X-Received: by 2002:a05:6a00:398f:b0:64f:aea5:7b49 with SMTP id fi15-20020a056a00398f00b0064faea57b49mr30320035pfb.17.1687872253752; Tue, 27 Jun 2023 06:24:13 -0700 (PDT) Received: from thinkpad ([117.217.176.90]) by smtp.gmail.com with ESMTPSA id u23-20020a62ed17000000b00668821499c3sm5416179pfh.156.2023.06.27.06.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 06:24:13 -0700 (PDT) Date: Tue, 27 Jun 2023 18:54:06 +0530 From: Manivannan Sadhasivam To: Johan Hovold Cc: Bjorn Andersson , Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Patrick Wildt Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-pmics: add explicit rtc interrupt parent Message-ID: <20230627132406.GA5490@thinkpad> References: <20230627085306.6033-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230627085306.6033-1-johan+linaro@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Tue, Jun 27, 2023 at 10:53:06AM +0200, Johan Hovold wrote: > 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 It is good to encode this in the binding and fix other such instances. Acked-by: Manivannan Sadhasivam - Mani > --- > 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"; > }; > -- > 2.39.3 > -- மணிவண்ணன் சதாசிவம்