Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18918588rwd; Wed, 28 Jun 2023 02:28:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6L9uNy/TNXHUyCoZ/Ae8Hk6vD6ppvI0v/00xJ32bk9KqsF64wSO8zLY1zKWz/UOX8+J09+ X-Received: by 2002:a05:651c:105b:b0:2b6:9884:98c7 with SMTP id x27-20020a05651c105b00b002b6988498c7mr6476751ljm.44.1687944504735; Wed, 28 Jun 2023 02:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687944504; cv=none; d=google.com; s=arc-20160816; b=ULp44n+AzqA2bDP5uhsoz/2TOpicPjxj4xKrz881S9ZbtaMuKqGVt/NdsN9NSjyoiy Uzl/e2uIWq9VTVZyIAsAcXFZEPwR3gLfhYH5uyumcf/uRwrcOLLNZmKnp85FlHu8i5lQ HP/9zvXgnYoo1mIzvFB5U6m1Ybi5SXkiKVXTkldwWEpWmkWtDS4KaOKygVsM+mvM5Dxx 2Inb266dJ/qE+QGWpMnevOBxjO07zCbiBY92c4vzhUayhI9ZA0xJeVgfFCrKGzc+2v2d n8Op1CATNFxl7FTde8Y+kkKljpsfwKt5gv4TkAAGUv4U1F4WAqgjtDhUxvpiPk6l4MSH Wu4Q== 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=yrvm5bTEl9UaDLgLqzKqxh95tG/h5MjHSOjcuXurS4s=; fh=yVHDfZf4Dhsq8US7W1SdidM3R9qGpQ9o3nkapbQgnUE=; b=lneddBLRUbGA2lW1Evq3+0V4oj0d2YNLOd6o/Xmf+Pj4ra4a373D4iGA/v0Zk5fgdW yVsFwGumRczmFXZ4crTr+SrwQqQZGlfuwUIpfL3jI4Y8TMqU+VfSADKxXLXEClq0eZUo zBTHMZWeJxjl+FZiKTaIgbpV5DclV/+yhlplUCRQOswUYpnmIM/qDaLcGzSxljmZVDPw WiXmwZeX88bMxCsfYakNBge57KzZwH1AKJyHV7qZXD4hmkHl1tvcU3HHd5AlukzIeh0e kVAKIqeS9PIoej7d1sPZcNpRZ6xLlDNcZ9EJn7ys+h9e3YeCKFff8GhyG7HFmdNHbxeW j/lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nD3x2Wty; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q26-20020aa7da9a000000b0051db87d7184si805745eds.308.2023.06.28.02.28.00; Wed, 28 Jun 2023 02:28:24 -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=nD3x2Wty; 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 S237238AbjF1JJM (ORCPT + 99 others); Wed, 28 Jun 2023 05:09:12 -0400 Received: from dfw.source.kernel.org ([139.178.84.217]:34604 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234202AbjF1JEt (ORCPT ); Wed, 28 Jun 2023 05:04:49 -0400 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 6F8C9612E7; Wed, 28 Jun 2023 05:26:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40C1BC433C8; Wed, 28 Jun 2023 05:26:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687929970; bh=IH62veiH3zIYuVJb9DYDwfF8k41UKiAEys/EwODuy9k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nD3x2WtyHP7OAhdwhay6wu4zjy9AnccHAXQ0D+HQEePHiWumleGtjGZ70t7F2vYZE sHCOMfeIw/pJatS+AHKUWHJ0caP9PBdYnRHnRNACIvGaYMOkQYWgYu9EjoExqda1y+ IAy/vcrebVwg/xhAhqTTHog76PI59TPllZ5NISPTqCABM7g+nuIblMbRYF/8z+NbfE ESMbt1Dq4fWoy0VZma3zizVKAw/IdTVZt3zEbP/U+010MEUiP5h6RK/x1If6BQR4OC 3HEZSc+0jgbK75LNX/xYUIY25MrYXiQ4C3LuZ91uN6QjgOp+qi3RcsVQmntwegAEt6 qAoWxk6E2/LMA== Date: Wed, 28 Jun 2023 10:55:57 +0530 From: Manivannan Sadhasivam To: Johan Hovold Cc: Manivannan Sadhasivam , Johan Hovold , 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: <20230628052557.GB20477@thinkpad> References: <20230627085306.6033-1-johan+linaro@kernel.org> <20230627132406.GA5490@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 27, 2023 at 05:27:32PM +0200, Johan Hovold wrote: > On Tue, Jun 27, 2023 at 06:54:06PM +0530, Manivannan Sadhasivam wrote: > > 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. > > Not sure about that. Perhaps the spec should be updated to match reality > instead... We have many more instances like this, even for this very > SoC, but apparently OpenBSD or whatever OS needs this falls back to the > root domain then. > Just because linux is doing it in a different way doesn't warrant an amendment to the spec IMO. > Changing this for the rtc node for consistency after you changed the > others is a no-brainer, but not sure about trying to do this tree-wide. > We already have too many of these one-line DT cleanups... > I agree that this is going to be a one-line cleanup but someone has to do it. (not asking you to do since I also skipped it during 2d5cab9232ba). We can put it in the back burner. - Mani > Johan -- மணிவண்ணன் சதாசிவம்