# Re: bug in DT docs vs mcp251x.c driver

- From: Janusz Użycki \<hidden\>
- Date: 2017-02-22 08:00:06 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2017/02/8135656
- Thread: https://ratatoskr.run/linux-can/2017/02/8135656/t.md

```text
Hi Alexander.

You are right.
According to the source code printf adds the "-supply" indeed.
I've not verified the code as I got a report for 3.14 that the driver
does not work with vdd-supply in DT, works with vdd property
and the supply was verified electrically.
Now I have to investigate the problem better.

best regards

Janusz


W dniu 2017-02-22 o 06:53, Alexander Shiyan pisze:
>> Вторник, 21 февраля 2017, 21:08 +03:00 от Janusz Użycki [ref]:
>> 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
> I do not see the bug here, could you clarify?
>
> ---

--
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
```
