All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] serdev binding for QCA7000 UART driver
@ 2017-03-13 16:10 Stefan Wahren
  0 siblings, 0 replies; only message in thread
From: Stefan Wahren @ 2017-03-13 16:10 UTC (permalink / raw)
  To: Rob Herring, Frank Rowand
  Cc: Greg Kroah-Hartman, Jiri Slaby,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA

|Hi Rob, since serdev has been merged, i'm currently working on a
suitable ethernet driver for the QCA7000 [1]. In order to provide a plug
and play solution for the network interface i suggest the following
binding, which uses common properties for UART configuration: * Qualcomm
QCA7000 (Ethernet over UART protocol) Note: The QCA7000 is also useable
as a UART slave device. Required properties: - compatible : Should be
"qca,qca7000-uart" Optional properties: - local-mac-address : 6 bytes,
specifies MAC address - current-speed : Specifies current serial device
speed in bits per second (default = 115200) - data-bits : Specifies
number of data bits (default = 8) - use-parity : If present, this
enables the parity error detection (default = off) - odd-parity : If
present, this specifies that the parity of each character must be odd
(default = even) Example: /* Freescale i.MX28 UART */ auart0:
serial@8006a000 { compatible = "fsl,imx28-auart", "fsl,imx23-auart"; reg
= <0x8006a000 0x2000>; pinctrl-names = "default"; pinctrl-0 =
<&auart0_2pins_a>; status = "okay"; qca7000: ethernet { compatible =
"qca,qca7000-uart"; local-mac-address = [ A0 B0 C0 D0 E0 F0 ];
current-speed = <38400>; data-bits = <8>; use-parity; odd-parity; }; };
Is it okay for you or do you want a different kind of configuration? Are
there any plans for parity handling? Thanks Stefan |

[1] - https://lwn.net/Articles/701225/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-13 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-13 16:10 [RFC] serdev binding for QCA7000 UART driver Stefan Wahren

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.