From: Krzysztof Kozlowski <krzk@kernel.org>
To: Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com>
Cc: Drew Fustini <dfustini@oss.tenstorrent.com>,
Joel Stanley <jms@oss.tenstorrent.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
linux-riscv@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
joel@jms.id.au, fustini@kernel.org, mpe@kernel.org,
mpe@oss.tenstorrent.com, npiggin@oss.tenstorrent.com,
agross@kernel.org, agross@oss.tenstorrent.com,
bmasney@redhat.com
Subject: Re: [PATCH v5 2/3] reset: tenstorrent: Add reset controller for Atlantis
Date: Thu, 5 Feb 2026 10:27:02 +0100 [thread overview]
Message-ID: <20260205-spiffy-bizarre-doberman-184d2b@quoll> (raw)
In-Reply-To: <20260202-atlantis-clocks-v5-2-0922e43acaba@oss.tenstorrent.com>
On Mon, Feb 02, 2026 at 01:46:50PM -0600, Anirudh Srinivasan wrote:
> diff --git a/include/soc/tenstorrent/atlantis-prcm.h b/include/soc/tenstorrent/atlantis-prcm.h
> new file mode 100644
> index 000000000000..841516cbefd9
> --- /dev/null
> +++ b/include/soc/tenstorrent/atlantis-prcm.h
> @@ -0,0 +1,31 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +/*
> + * Shared definitions for Atlantis PRCM Clock and Reset Drivers
> + *
> + * Copyright (c) 2026 Tenstorrent
> + */
> +#ifndef __SOC_ATLANTIS_PRCM_H__
> +#define __SOC_ATLANTIS_PRCM_H__
> +
> +#include <linux/bits.h>
> +#include <linux/types.h>
> +
> +struct atlantis_prcm_adev {
> + struct auxiliary_device adev;
> + struct regmap *regmap;
> +};
Drop, there is no driver-wide user of this.
> +
> +static inline struct atlantis_prcm_adev *
> +to_atlantis_prcm_adev(struct auxiliary_device *adev)
Same here.
Do not add symbols to headers which nothing uses. These are private to
the driver so they must stay ONLY in the driver.
Best regards,
Krzysztof
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-02-05 9:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-02 19:46 [PATCH v5 0/3] Add Tenstorrent Atlantis Clock/Reset Controller Anirudh Srinivasan
2026-02-02 19:46 ` [PATCH v5 1/3] dt-bindings: clk: tenstorrent: Add tenstorrent,atlantis-prcm Anirudh Srinivasan
2026-02-05 9:23 ` Krzysztof Kozlowski
2026-02-05 14:31 ` Anirudh Srinivasan
2026-02-05 18:45 ` Krzysztof Kozlowski
2026-02-07 4:18 ` Anirudh Srinivasan
2026-02-07 9:37 ` Krzysztof Kozlowski
2026-02-07 14:54 ` Conor Dooley
2026-02-07 18:39 ` Krzysztof Kozlowski
2026-02-08 21:39 ` Anirudh Srinivasan
2026-02-09 18:54 ` Conor Dooley
2026-02-02 19:46 ` [PATCH v5 2/3] reset: tenstorrent: Add reset controller for Atlantis Anirudh Srinivasan
2026-02-05 9:27 ` Krzysztof Kozlowski [this message]
2026-02-05 14:18 ` Anirudh Srinivasan
2026-02-05 18:47 ` Krzysztof Kozlowski
2026-02-07 4:10 ` Anirudh Srinivasan
2026-02-02 19:46 ` [PATCH v5 3/3] clk: tenstorrent: Add Atlantis clock controller driver Anirudh Srinivasan
2026-02-05 9:25 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260205-spiffy-bizarre-doberman-184d2b@quoll \
--to=krzk@kernel.org \
--cc=agross@kernel.org \
--cc=agross@oss.tenstorrent.com \
--cc=asrinivasan@oss.tenstorrent.com \
--cc=bmasney@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dfustini@oss.tenstorrent.com \
--cc=fustini@kernel.org \
--cc=jms@oss.tenstorrent.com \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mpe@kernel.org \
--cc=mpe@oss.tenstorrent.com \
--cc=mturquette@baylibre.com \
--cc=npiggin@oss.tenstorrent.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox