Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1460107lqz; Mon, 1 Apr 2024 07:09:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWrB2ohitzGcDODlA/PUERlb4npsCCdlffYi2utfBzZ+JWDaw2hfbGuXpzj6WE73XxNNWlh+DXqWwVymIuKJweSmeKAb29NG50t6NPpsA== X-Google-Smtp-Source: AGHT+IFkqtXSfqMEIRlCD2QITvgj8GQ4+inY3q6DoGFz2AJmeW9DUg9V17buEHAOS4KbzK/5zRGX X-Received: by 2002:a05:6a20:958b:b0:1a1:776d:15c with SMTP id iu11-20020a056a20958b00b001a1776d015cmr9069393pzb.21.1711980561996; Mon, 01 Apr 2024 07:09:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711980561; cv=pass; d=google.com; s=arc-20160816; b=efnrOgOrOFX91W59UcGq3LhMRYHnsBYtSryE18cPeF+xHzQibGrcOEEuJps7IARSEC EJ5UiS+xuJBVrDzLMWWXhdNWbhcCsY0yt7fYwKhMhtbrpymyTycs3XtKJNnT6zz4Z2Jn Id2FI2fBspbFdokbhgIX8V6sdPlSNlQQkLqt5p0TfcHyDZyFjpj0apZSnehNwzczu+p/ vXTlhxNZuxrIAJc97EUgwk67tJxcjWDwIU4R/0hwOfPPh2SnB9PULj7YSgu+K5umAlQK WkkD1iTg91l7d2t07eCQ+Sv6+x+SkWWM7Yv00DF+09hvrMNCsSX9YjvaZyd+FhViEQoD uzoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=U8RNY2VwaBB9+78UnorAAyutHGMHr1JjOdJ5pLjxTNA=; fh=lY/xMLkS6ouVdRl7G+nFdcRQSMJiZODJHTeQQLnhtrw=; b=LoU2mD7JtPrPg/7PDpm99CuceONV6yYQn7/7zC7i4POuYKMPLbPQMBVqB+Ljb6VSO4 iuRtbczyZV3n6h7BNECpvo5VCuaFz2t8DKlFabt+kguqg5jQm5mCeWCPNBQKzggfxrls IjKo0DkWPrScfRjXEZKXkhcnNMfSPBBux8dRNdmYeG1oGMi4kCLH6DNCRU+cVQe3tUST lyGEKAPrjaDSSwAVr9CTmRncEBn4yHFkrM5Iw8qwlvpoEIxpiDH69wqwmPvB5qciZHon 2pknH0NgPFySuCusaC7eQds/wbJE3ls64kbwUm7ZPxeyZOQdz/ClwnBT+FpGcIT6rr7j iMSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Joh6FUHs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126708-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126708-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t3-20020a170902e84300b001e00879706asi9504753plg.473.2024.04.01.07.09.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 07:09:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126708-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Joh6FUHs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126708-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126708-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1CB7B281AEF for ; Mon, 1 Apr 2024 14:09:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E88044206B; Mon, 1 Apr 2024 14:09:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Joh6FUHs" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 119043FE5F; Mon, 1 Apr 2024 14:09:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711980544; cv=none; b=YIm7A8ZtY+USGyWnIQozHMmO6pKNgTj2np/oOejJt5OsgjtuQSeFpJwRXIHhx3p9+1hyYKgVb+HptSAZk6ukZlHyzGh99wm6rn8NteJTAbwBJEw0jjLTBa1qH9xv2f73ntvQbh8Rpg9TgVf8DiLcfP+WwDS+ow5lb4Pkw4CQa5w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711980544; c=relaxed/simple; bh=ONagSjBbuAOK22vxfdcxGOHSR0JO6sqZwUIbRiywK60=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ZVDJGttIzuYh7bBIZc3ppyo/K4QaV3UArPA3pEmW9qNw2yrlT3LrqleEv6NdSyP+R8XO/2wzmRbAnaZLjg9t6RyenyhdjdIqryvUOs9qlfwJMdAXIiVf6vE9aSH0F7KwktZ6FtvBOoFZIadOy2mo7iopVo19NmkOf9+0ARodtBY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Joh6FUHs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF416C433C7; Mon, 1 Apr 2024 14:08:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711980543; bh=ONagSjBbuAOK22vxfdcxGOHSR0JO6sqZwUIbRiywK60=; h=From:To:Cc:Subject:Date:From; b=Joh6FUHs2IqizXp0hxaAbcEiT8AERojlhQqMv+kVbjux9wLShK/vXUpIiDFxbygvg fcP4iasnpuVm7LGbNA5V4VehmtOrVX/5BrvNz+bKjrzZKN5Jp0BmYTXj/Algu7+L7N qw9Mu955GQz3teRGLcAge50vx8XFMw+ayzK+UFquW0o/heMrBRH+uu8U+TCj7g6QZM MvyjYhaUA0fEDlGQxS00Fja9sMGJwIoWbK/Ioz+r9RYmf8uF9bDtYQfuKqwKrHIzZi 2k3bD61EqxP/TdJw4MfFCZTqdRDsYa0yPKTHtKx4CgDTtqyc7/NAo8EAAvaSw51LoR qCZx0i8Pw98Zg== From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH] arm64: tegra: correct Tegra132 I2C alias Date: Mon, 1 Apr 2024 16:08:54 +0200 Message-Id: <20240401140854.97107-1-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit There is no such device as "as3722@40", because its name is "pmic". Use phandles for aliases to fix relying on full node path. This corrects aliases for RTC devices and also fixes dtc W=1 warning: tegra132-norrin.dts:12.3-36: Warning (alias_paths): /aliases:rtc0: aliases property is not a valid node (/i2c@7000d000/as3722@40) Fixes: 0f279ebdf3ce ("arm64: tegra: Add NVIDIA Tegra132 Norrin support") Cc: Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 4 ++-- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts index 14d58859bb55..683ac124523b 100644 --- a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts +++ b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts @@ -9,8 +9,8 @@ / { compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124"; aliases { - rtc0 = "/i2c@7000d000/as3722@40"; - rtc1 = "/rtc@7000e000"; + rtc0 = &as3722; + rtc1 = &tegra_rtc; serial0 = &uarta; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra132.dtsi b/arch/arm64/boot/dts/nvidia/tegra132.dtsi index 7e24a212c7e4..5bcccfef3f7f 100644 --- a/arch/arm64/boot/dts/nvidia/tegra132.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra132.dtsi @@ -572,7 +572,7 @@ spi@7000de00 { status = "disabled"; }; - rtc@7000e000 { + tegra_rtc: rtc@7000e000 { compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc"; reg = <0x0 0x7000e000 0x0 0x100>; interrupts = ; -- 2.34.1