Re: [PATCH] memory: tegra210-emc: Support Device Tree EMC Tables
From: Aaron Kling
Date: Sun May 04 2025 - 13:18:44 EST
On Sun, May 4, 2025 at 11:13 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
>
> On 04/05/2025 17:58, Aaron Kling wrote:
> >>> +static int tegra210_emc_parse_dt(struct tegra210_emc *emc)
> >>> +{
> >>> + struct device_node *node, *np = emc->dev->of_node;
> >>> + int ram_code, ret = 0;
> >>> +
> >>> + if (!np) {
> >>> + dev_err(emc->dev, "Unable to find emc node\n");
> >>> + return -ENODEV;
> >>> + }
> >>> +
> >>> + if (of_find_property(np, "nvidia,use-ram-code", NULL)) {
> >>
> >> I cannot find the bindings for this. Where is your DTS? Was it tested?
> >>
> >> It seems nothing here is documented.
> >
> > The relevant nodes are filled in by the bootloader. I had hoped that
> > the early stage bootloader would be able to copy that into the
>
> It does not matter. You cannot have compatibles and ABI here without
> documenting that ABI.
Understood, I will keep that in mind should the situation arise again.
And it will be rectified for this patch in v2.
Sincerely,
Aaron