[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230712170840.3d66da6a@kernel.org>
Date: Wed, 12 Jul 2023 17:08:40 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Dinh Nguyen <dinguyen@...nel.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
joabreu@...opsys.com, pabeni@...hat.com, robh+dt@...nel.org,
krzysztof.kozlowskii+dt@...aro.org, conor+dt@...nel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH 2/2] net: dwmac_socfpga: use the standard "ahb" reset
On Mon, 10 Jul 2023 16:13:13 -0500 Dinh Nguyen wrote:
> - dwmac->stmmac_ocp_rst = devm_reset_control_get_optional(dev, "stmmaceth-ocp");
> - if (IS_ERR(dwmac->stmmac_ocp_rst)) {
> - ret = PTR_ERR(dwmac->stmmac_ocp_rst);
> - dev_err(dev, "error getting reset control of ocp %d\n", ret);
> - goto err_remove_config_dt;
> - }
> -
> - reset_control_deassert(dwmac->stmmac_ocp_rst);
Noob question, perhaps - what's the best practice for incompatible
device tree changes? Updating the in-tree definitions is good enough?
Seems like we could quite easily continue to support "stmmaceth-ocp"
but no point complicating the code if not required.
Powered by blists - more mailing lists