Re: bug in DT docs vs mcp251x.c driver
From: Fabio Estevam <hidden>
Date: 2017-02-21 18:47:51
Also in:
linux-can
From: Fabio Estevam <hidden>
Date: 2017-02-21 18:47:51
Also in:
linux-can
Hi Janusz, On Tue, Feb 21, 2017 at 3:08 PM, Janusz Użycki [off-list ref] wrote:
Hi, We've noticed the inconsistency in DT which still exist in kernel v4.10: devm_regulator_get(&spi->dev, "vdd") in drivers/net/can/mcp251x.c vs vdd-supply: Regulator that powers the CAN controller. in bindings/net/can/microchip,mcp251x.txt
This is correct. When the regulator is retrieved as devm_regulator_get(dev, "xyz") then it searches for a xyz-supply in the dts. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html