From: Krzysztof Kozlowski <krzk@kernel.org>
To: Svyatoslav Ryhel <clamor95@gmail.com>
Cc: Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Mikko Perttunen <mperttunen@nvidia.com>,
Sumit Gupta <sumitg@nvidia.com>,
Dmitry Osipenko <digetx@gmail.com>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-tegra@vger.kernel.org
Subject: Re: [PATCH v1 5/5] memory: tegra: Add Tegra114 EMC driver
Date: Tue, 17 Feb 2026 09:33:30 +0100 [thread overview]
Message-ID: <34767079-77aa-47b5-ac59-6e6c1aafcd41@kernel.org> (raw)
In-Reply-To: <CAPVz0n3ZS=VidMxX61mKxjCCgvArK-DWo=VUKoaMhbLAt_CE-Q@mail.gmail.com>
On 17/02/2026 09:29, Svyatoslav Ryhel wrote:
>>>>>
>>>>> obj-$(CONFIG_TEGRA20_EMC) += tegra20-emc.o
>>>>> obj-$(CONFIG_TEGRA30_EMC) += tegra30-emc.o
>>>>> +obj-$(CONFIG_TEGRA114_EMC) += tegra114-emc.o
>>>>> obj-$(CONFIG_TEGRA124_EMC) += tegra124-emc.o
>>>>> obj-$(CONFIG_TEGRA210_EMC_TABLE) += tegra210-emc-table.o
>>>>> obj-$(CONFIG_TEGRA210_EMC) += tegra210-emc.o
>>>>> diff --git a/drivers/memory/tegra/tegra114-emc.c b/drivers/memory/tegra/tegra114-emc.c
>>>>> new file mode 100644
>>>>> index 000000000000..789b8e959a68
>>>>> --- /dev/null
>>>>> +++ b/drivers/memory/tegra/tegra114-emc.c
>>>>> @@ -0,0 +1,1463 @@
>>>>> +// SPDX-License-Identifier: GPL-2.0-only
>>>>> +/*
>>>>> + * Tegra114 External Memory Controller driver
>>>>> + *
>>>>> + * Based on downstream driver from NVIDIA and tegra124-emc.c
>>>>> + * Copyright (C) 2011-2014 NVIDIA Corporation
>>>>> + *
>>>>> + * Copyright (C) 2024 Svyatoslav Ryhel <clamor95@gmail.com>
>>>>> + */
>>>>> +
>>>>> +#include <linux/clk-provider.h>
>>>>
>>>> Where is it used?
>>>>
>>>>> +#include <linux/clk.h>
>>>>> +#include <linux/clkdev.h>
>>>>
>>>> Where is it used?
>>>>
>>>>> +#include <linux/clk/tegra.h>
>>>>
>>>> Where is it used?
>>>>
>>>
>>> All 4 by tegra124_clk_set_emc_callbacks
>>
>> What? That's not how C works.
>>
>> There is no definition of tegra124_clk_set_emc_callbacks here in this
>> patch, so the headers are not used. Point me to any symbols from these
>> headers being used in this patch.
>>
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/clk/tegra.h?h=v6.19#n199
>
This is different header, I asked for using in this patch (or rather
this C unit). Plus that header does not even use things I asked above -
no clkdev, no interconnect, no clk provider.
Best regards,
Krzysztof
prev parent reply other threads:[~2026-02-17 8:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 19:07 [PATCH v1 0/5] Tegra114: implement EMC support Svyatoslav Ryhel
2026-01-26 19:07 ` [PATCH v1 1/5] dt-bindings: memory: Document Tegra114 Memory Controller Svyatoslav Ryhel
2026-01-26 19:07 ` [PATCH v1 2/5] memory: tegra: implement EMEM regs and ICC ops for Tegra114 Svyatoslav Ryhel
2026-01-26 19:07 ` [PATCH v1 3/5] dt-bindings: memory: Add Tegra114 memory client IDs Svyatoslav Ryhel
2026-02-17 7:22 ` Krzysztof Kozlowski
2026-02-17 8:02 ` Svyatoslav Ryhel
2026-02-17 8:15 ` Krzysztof Kozlowski
2026-02-17 8:24 ` Svyatoslav Ryhel
2026-03-27 23:53 ` Thierry Reding
2026-03-28 11:40 ` Krzysztof Kozlowski
2026-03-28 12:11 ` Krzysztof Kozlowski
2026-01-26 19:07 ` [PATCH v1 4/5] dt-bindings: memory: Document Tegra114 External Memory Controller Svyatoslav Ryhel
2026-01-26 19:07 ` [PATCH v1 5/5] memory: tegra: Add Tegra114 EMC driver Svyatoslav Ryhel
2026-02-17 7:21 ` Krzysztof Kozlowski
2026-02-17 7:51 ` Svyatoslav Ryhel
2026-02-17 8:18 ` Krzysztof Kozlowski
2026-02-17 8:29 ` Svyatoslav Ryhel
2026-02-17 8:33 ` Krzysztof Kozlowski [this message]
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=34767079-77aa-47b5-ac59-6e6c1aafcd41@kernel.org \
--to=krzk@kernel.org \
--cc=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=digetx@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mperttunen@nvidia.com \
--cc=robh@kernel.org \
--cc=sumitg@nvidia.com \
--cc=thierry.reding@gmail.com \
/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
Powered by JetHome