Re: bug in DT docs vs mcp251x.c driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Janusz,

On Tue, Feb 21, 2017 at 3:08 PM, Janusz Użycki
<j.uzycki@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux