Message ID | 1396854706.27810.1.camel@phoenix (mailing list archive) |
---|---|
State | Accepted |
Commit | e2872090ca825a6625be93555c125072e52a7819 |
Headers | show |
On Mon, Apr 07, 2014 at 03:11:46PM +0800, Axel Lin wrote: > If "efm32,location" property is not provided, keeping what is already > configured in the hardware, so its either the reset default 0 or whatever > the bootloader did. Now I like it, thanks Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> > Signed-off-by: Axel Lin <axel.lin@ingics.com> > --- > Documentation/devicetree/bindings/spi/efm32-spi.txt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/spi/efm32-spi.txt b/Documentation/devicetree/bindings/spi/efm32-spi.txt > index 8f081c9..130cd17 100644 > --- a/Documentation/devicetree/bindings/spi/efm32-spi.txt > +++ b/Documentation/devicetree/bindings/spi/efm32-spi.txt > @@ -8,7 +8,13 @@ Required properties: > - interrupts: pair specifying rx and tx irq > - clocks: phandle to the spi clock > - cs-gpios: see spi-bus.txt > -- efm32,location: Value to write to the ROUTE register's LOCATION bitfield to configure the pinmux for the device, see datasheet for values. > + > +Recommended properties : > +- efm32,location: Value to write to the ROUTE register's LOCATION bitfield to > + configure the pinmux for the device, see datasheet for values. > + If "efm32,location" property is not provided, keeping what is > + already configured in the hardware, so its either the reset > + default 0 or whatever the bootloader did. > > Example: > > -- > 1.8.3.2 > > > >
On Mon, Apr 07, 2014 at 03:11:46PM +0800, Axel Lin wrote: > If "efm32,location" property is not provided, keeping what is already > configured in the hardware, so its either the reset default 0 or whatever > the bootloader did. Applied, thanks.
diff --git a/Documentation/devicetree/bindings/spi/efm32-spi.txt b/Documentation/devicetree/bindings/spi/efm32-spi.txt index 8f081c9..130cd17 100644 --- a/Documentation/devicetree/bindings/spi/efm32-spi.txt +++ b/Documentation/devicetree/bindings/spi/efm32-spi.txt @@ -8,7 +8,13 @@ Required properties: - interrupts: pair specifying rx and tx irq - clocks: phandle to the spi clock - cs-gpios: see spi-bus.txt -- efm32,location: Value to write to the ROUTE register's LOCATION bitfield to configure the pinmux for the device, see datasheet for values. + +Recommended properties : +- efm32,location: Value to write to the ROUTE register's LOCATION bitfield to + configure the pinmux for the device, see datasheet for values. + If "efm32,location" property is not provided, keeping what is + already configured in the hardware, so its either the reset + default 0 or whatever the bootloader did. Example:
If "efm32,location" property is not provided, keeping what is already configured in the hardware, so its either the reset default 0 or whatever the bootloader did. Signed-off-by: Axel Lin <axel.lin@ingics.com> --- Documentation/devicetree/bindings/spi/efm32-spi.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)