All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi: efm32: Update binding document to make "efm32,location" property optional
@ 2014-04-07  7:11 Axel Lin
  2014-04-07  9:47 ` Uwe Kleine-König
  2014-04-07  9:56 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2014-04-07  7:11 UTC (permalink / raw)
  To: Mark Brown; +Cc: Uwe Kleine-König, linux-spi-u79uwXL29TY76Z2rM5mHXA

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-8E1dMatC8ynQT0dZR+AlfA@public.gmane.org>
---
 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



--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] spi: efm32: Update binding document to make "efm32,location" property optional
  2014-04-07  7:11 [PATCH] spi: efm32: Update binding document to make "efm32,location" property optional Axel Lin
@ 2014-04-07  9:47 ` Uwe Kleine-König
  2014-04-07  9:56 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2014-04-07  9:47 UTC (permalink / raw)
  To: Axel Lin
  Cc: Mark Brown, Uwe Kleine-König, linux-spi-u79uwXL29TY76Z2rM5mHXA

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-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

> Signed-off-by: Axel Lin <axel.lin-8E1dMatC8ynQT0dZR+AlfA@public.gmane.org>
> ---
>  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
> 
> 
> 
> 

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] spi: efm32: Update binding document to make "efm32,location" property optional
  2014-04-07  7:11 [PATCH] spi: efm32: Update binding document to make "efm32,location" property optional Axel Lin
  2014-04-07  9:47 ` Uwe Kleine-König
@ 2014-04-07  9:56 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2014-04-07  9:56 UTC (permalink / raw)
  To: Axel Lin; +Cc: Uwe Kleine-König, linux-spi-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-07  9:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-07  7:11 [PATCH] spi: efm32: Update binding document to make "efm32,location" property optional Axel Lin
2014-04-07  9:47 ` Uwe Kleine-König
2014-04-07  9:56 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.