From nobody Sat Jul 25 03:20:31 2026 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 B54F93932F4; Mon, 20 Jul 2026 06:31:20 +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=1784529080; cv=none; b=r+SMC6xqNrsW0xS5eNciUJAlk6EAUDN3R/SvkcK+eYa1Us7r+fUo28ESsIaxHi8yCfqP/RSpCKkux9ilIhdx6ynRjod37jOwmRrbzrrQlm2TYd1mwJ2OMHIsoJAT8Cu8CWB1hpjN+xyc0+HFmAmalFIAEfLe/BJo9gvQbywLzJ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784529080; c=relaxed/simple; bh=1hDSMLgLyG4r7aDcrmuTyFVxz5iMDULMMz9gLYjmuFc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=okdV/FaK8D0NP5NXIEPQA8M47C/mtnXgtGxLaYNmypJ2PZaQ6aJwBIeZHiERulWQ3wXQRFLUe81qeSarg6Xf6+6VyaIQkucRXrKoaLl6PRJVK9mvv/QaOH9tXBw3GwLd3EOYoXvC64+520T5qU1DKXh60BUpxr2yL5whPg7IVvo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AlndT2eg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AlndT2eg" Received: by smtp.kernel.org (Postfix) with ESMTPS id 22181C2BCB8; Mon, 20 Jul 2026 06:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784529080; bh=1hDSMLgLyG4r7aDcrmuTyFVxz5iMDULMMz9gLYjmuFc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=AlndT2egxHJ8v0JIV4gTdyw6Y5BFSHHO/4f7RZISFcjUTloVFle7AC0qgcD13QZgh s5Ha+FQ1TIH02bgPIwW60Fkhcf4yG6a7H6Y8I7Js58EAYAPMvesgU96zN+e0k5kyqF Dx/M7lCWaQMVo4cCiOFcbMk9ZQuyNLvH/YJb14q6/47GksT3mSWyvawlREj48QzedT 8HHQ8Q5mikW1PIYC61DiHDXD+HQYaaubHcrZsPrU8yhc86+xvMnXzRak+yA4sfL19r UMplhyah8Bd2Kd237TKmAvLAIJ3IfURsMuPjS0oN/VTeqRh51v/uqHy0msFSr+HW8i Qrfm0EVLuo0Aw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2B92C44515; Mon, 20 Jul 2026 06:31:19 +0000 (UTC) From: Aaron Kling via B4 Relay Date: Mon, 20 Jul 2026 01:31:15 -0500 Subject: [PATCH v2 1/2] dt-bindings: soc: tegra: pmc: Document Tegra210B01 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260720-t210b01-pmc-v2-1-ca5317f8507b@gmail.com> References: <20260720-t210b01-pmc-v2-0-ca5317f8507b@gmail.com> In-Reply-To: <20260720-t210b01-pmc-v2-0-ca5317f8507b@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter Cc: Thierry Reding , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Aaron Kling X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784529079; l=1150; i=webgeek1234@gmail.com; s=20250217; h=from:subject:message-id; bh=yw+m2fOBOYUMmvsIg1cUM1xOEdkHn5gdrf48UjW2H8k=; b=27TZwk3eilNkHuxizTrcGSCzkeKKTFvhxFV48HhzMR1bJ9B5+hw1tZZY8qi//lw1cRR+4dOCi Lg/chziQ9zPAL5pIqTUlpGW2nBcfmfDB3PHwZOw6OIefdPkSWu6LTT3 X-Developer-Key: i=webgeek1234@gmail.com; a=ed25519; pk=TQwd6q26txw7bkK7B8qtI/kcAohZc7bHHGSD7domdrU= X-Endpoint-Received: by B4 Relay for webgeek1234@gmail.com/20250217 with auth_id=342 X-Original-From: Aaron Kling Reply-To: webgeek1234@gmail.com From: Aaron Kling The PMC in Tegra210B01 is very similar to the one in the original Tegra210, but has a few powergate differences. Document this soc. Signed-off-by: Aaron Kling Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml | 5 ++= ++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc= .yaml b/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml index f516960dbbefb..8ec36c49f9594 100644 --- a/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml +++ b/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml @@ -18,6 +18,7 @@ properties: - nvidia,tegra114-pmc - nvidia,tegra124-pmc - nvidia,tegra210-pmc + - nvidia,tegra210b01-pmc =20 reg: maxItems: 1 @@ -346,7 +347,9 @@ allOf: properties: compatible: contains: - const: nvidia,tegra210-pmc + enum: + - nvidia,tegra210-pmc + - nvidia,tegra210b01-pmc then: properties: pinmux: --=20 2.54.0 From nobody Sat Jul 25 03:20:31 2026 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 89BCC38C407; Mon, 20 Jul 2026 06:31:20 +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=1784529080; cv=none; b=Ob0Wo2YkNlNxYR65GsrjeD0HeXDLd4tpcCSOvmZHPAYs5N6e2+eMjeXpk1SHv8U0RvCf+DBcTNYbL13q6BTdiwsa6irdUzKtemom/QfA6M/xqc8V1osNex5afRue7L9U1qcVa5wm9QRERKPoJWmLXdpAJf0BkQevKIvTx0tfTus= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784529080; c=relaxed/simple; bh=J8hxdhnFc0sk7XaGYGkjEgWWvWc2qtBEd55lDS0JjW4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=O9Da49vF1ILy9XUYMbsz+EnuTejeOgKB2tosJcxJUfxsE9UGjZNATt6K74dg4ItwsLAJ1Uvf4xhlL2gwEcPpiCPS0GffbB0FVAeGEd/T2CJYB7Zcnb3mhiGxXNl1dmd4MWxIM5nPRg71I9miAOZk5GM+wpccpAF/BedswemtGP8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bKjPMrc3; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bKjPMrc3" Received: by smtp.kernel.org (Postfix) with ESMTPS id 37A3CC2BCFC; Mon, 20 Jul 2026 06:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784529080; bh=J8hxdhnFc0sk7XaGYGkjEgWWvWc2qtBEd55lDS0JjW4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=bKjPMrc3zIiDaeqy+lB8xS4bBZl2npx1LOjpbRu9RCXi1mPIcyd+i2A40EtsRA+gU 4tkRJVxK9JMI8IW15hQIFAjV5FSdNuZwHWSHG3VmxdXFtdZM2+VthVIY0h8Y1zVNqC Ju3Nfl4NTGnDZ9TEy/CbBs/MDspNBJle4FfiUiVZCwH8VKr1kgBqeFUlfba2GdB71g CjZIxuzdrv+K2IWQ4sM3w6Xg5NJ0jYK03zKLiauhI1s6aeYR8wpJZKMGJwHHSjRIts 4xa+5GiSExeyyLpnEBXjPD8/va1JNr+k7ya+Pw4xTaKff6BqEq5O7uOmcvxb/n5waR miYGFWfKGyLjQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B5F8C44524; Mon, 20 Jul 2026 06:31:20 +0000 (UTC) From: Aaron Kling via B4 Relay Date: Mon, 20 Jul 2026 01:31:16 -0500 Subject: [PATCH v2 2/2] soc/tegra: pmc: Add Tegra210B01 support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260720-t210b01-pmc-v2-2-ca5317f8507b@gmail.com> References: <20260720-t210b01-pmc-v2-0-ca5317f8507b@gmail.com> In-Reply-To: <20260720-t210b01-pmc-v2-0-ca5317f8507b@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter Cc: Thierry Reding , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Aaron Kling , Azkali Manad , Thomas Makin X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784529079; l=3863; i=webgeek1234@gmail.com; s=20250217; h=from:subject:message-id; bh=xOoYGaWgQowKYJwxc31J4RLh/H7wPv3thOHHfWFl0Nk=; b=mFqT+DisMSq6+VhHKXG7KZzJ/xYTNseQ8XJotUNJhrTbi1egJ9F4fcQVWHjzBB5BQKb0s5A3V pZnhloD4qBMD2QDLZ8H/pdrU6/TnRnfPAmP+UDGGLsuAgH7sXSao3nG X-Developer-Key: i=webgeek1234@gmail.com; a=ed25519; pk=TQwd6q26txw7bkK7B8qtI/kcAohZc7bHHGSD7domdrU= X-Endpoint-Received: by B4 Relay for webgeek1234@gmail.com/20250217 with auth_id=342 X-Original-From: Aaron Kling Reply-To: webgeek1234@gmail.com From: Azkali Manad The PMC in Tegra210B01 is very similar to the one in the original Tegra210, but has a few powergate differences. Add support for this soc. Signed-off-by: Azkali Manad Co-developed-by: Thomas Makin Signed-off-by: Thomas Makin Co-developed-by: Aaron Kling Signed-off-by: Aaron Kling --- drivers/soc/tegra/pmc.c | 62 +++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 62 insertions(+) diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index f419a5395545f..48ae4ff3f00db 100644 --- a/drivers/soc/tegra/pmc.c +++ b/drivers/soc/tegra/pmc.c @@ -3897,6 +3897,67 @@ static const struct tegra_pmc_soc tegra210_pmc_soc = =3D { .has_single_mmio_aperture =3D true, }; =20 +static const char * const tegra210b01_powergates[] =3D { + [TEGRA_POWERGATE_CPU] =3D "crail", + [TEGRA_POWERGATE_3D] =3D "3d", + [TEGRA_POWERGATE_PCIE] =3D "pcie", + [TEGRA_POWERGATE_MPE] =3D "mpe", + [TEGRA_POWERGATE_SATA] =3D "sata", + [TEGRA_POWERGATE_CPU1] =3D "cpu1", + [TEGRA_POWERGATE_CPU2] =3D "cpu2", + [TEGRA_POWERGATE_CPU3] =3D "cpu3", + [TEGRA_POWERGATE_CPU0] =3D "cpu0", + [TEGRA_POWERGATE_C0NC] =3D "c0nc", + [TEGRA_POWERGATE_SOR] =3D "sor", + [TEGRA_POWERGATE_DIS] =3D "dis", + [TEGRA_POWERGATE_DISB] =3D "disb", + [TEGRA_POWERGATE_XUSBA] =3D "xusba", + [TEGRA_POWERGATE_XUSBB] =3D "xusbb", + [TEGRA_POWERGATE_XUSBC] =3D "xusbc", + [TEGRA_POWERGATE_VIC] =3D "vic", + [TEGRA_POWERGATE_IRAM] =3D "iram", + [TEGRA_POWERGATE_NVDEC] =3D "nvdec", + [TEGRA_POWERGATE_NVJPG] =3D "nvjpg", + [TEGRA_POWERGATE_AUD] =3D "aud", + [TEGRA_POWERGATE_DFD] =3D "dfd", +}; + +static const struct tegra_pmc_soc tegra210b01_pmc_soc =3D { + .supports_core_domain =3D false, + .num_powergates =3D ARRAY_SIZE(tegra210b01_powergates), + .powergates =3D tegra210b01_powergates, + .num_cpu_powergates =3D ARRAY_SIZE(tegra210_cpu_powergates), + .cpu_powergates =3D tegra210_cpu_powergates, + .has_tsense_reset =3D true, + .has_gpu_clamps =3D true, + .needs_mbist_war =3D false, + .has_io_pad_wren =3D false, + .maybe_tz_only =3D true, + .num_io_pads =3D ARRAY_SIZE(tegra210_io_pads), + .io_pads =3D tegra210_io_pads, + .num_io_pad_vctrls =3D ARRAY_SIZE(tegra210_io_pad_vctrls), + .io_pad_vctrls =3D tegra210_io_pad_vctrls, + .num_pin_descs =3D ARRAY_SIZE(tegra210_pin_descs), + .pin_descs =3D tegra210_pin_descs, + .regs =3D &tegra20_pmc_regs, + .init =3D tegra20_pmc_init, + .setup_irq_polarity =3D tegra20_pmc_setup_irq_polarity, + .powergate_set =3D tegra114_powergate_set, + .irq_set_wake =3D tegra210_pmc_irq_set_wake, + .irq_set_type =3D tegra210_pmc_irq_set_type, + .reset_sources =3D tegra210_reset_sources, + .num_reset_sources =3D ARRAY_SIZE(tegra210_reset_sources), + .reset_levels =3D NULL, + .num_reset_levels =3D 0, + .num_wake_events =3D ARRAY_SIZE(tegra210_wake_events), + .wake_events =3D tegra210_wake_events, + .pmc_clks_data =3D tegra_pmc_clks_data, + .num_pmc_clks =3D ARRAY_SIZE(tegra_pmc_clks_data), + .has_blink_output =3D true, + .has_usb_sleepwalk =3D true, + .has_single_mmio_aperture =3D true, +}; + static const struct tegra_io_pad_soc tegra186_io_pads[] =3D { TEGRA_IO_PAD(TEGRA_IO_PAD_CSIA, 0, 0x74, 0x78, "csia"), TEGRA_IO_PAD(TEGRA_IO_PAD_CSIB, 1, 0x74, 0x78, "csib"), @@ -4824,6 +4885,7 @@ static const struct of_device_id tegra_pmc_match[] = =3D { { .compatible =3D "nvidia,tegra194-pmc", .data =3D &tegra194_pmc_soc }, { .compatible =3D "nvidia,tegra186-pmc", .data =3D &tegra186_pmc_soc }, { .compatible =3D "nvidia,tegra210-pmc", .data =3D &tegra210_pmc_soc }, + { .compatible =3D "nvidia,tegra210b01-pmc", .data =3D &tegra210b01_pmc_so= c }, { .compatible =3D "nvidia,tegra132-pmc", .data =3D &tegra124_pmc_soc }, { .compatible =3D "nvidia,tegra124-pmc", .data =3D &tegra124_pmc_soc }, { .compatible =3D "nvidia,tegra114-pmc", .data =3D &tegra114_pmc_soc }, --=20 2.54.0