dt-bindings: regulator: update fixed-regulator example
authorJohan Hovold <johan@kernel.org>
Fri, 8 Feb 2019 14:04:25 +0000 (15:04 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 8 Feb 2019 16:48:57 +0000 (16:48 +0000)
commitb735f41dcb06ae06acab2618b8814fe2dd1fca90
treecf8306e45ecd7157fb3518c7b37f4722a215a66d
parentdd4cae9ce661d3c6c7643bba2c19200cb7dd5339
dt-bindings: regulator: update fixed-regulator example

Fixed regulators do not have associated bus addresses and are typically
placed directly under the root node where their names must still be
unique despite not having a unit address.

Fix the malformed example node which had a unit address but no "reg"
property by dropping the unit address.

Also, try to make the example more useful by using the recommended
generic node name "regulator", but with a suffix reflecting the
regulator name in order to make it unique.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/fixed-regulator.yaml