Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1674743 > unrolled thread
| Started by | Bich HEMON <bich.hemon@st.com> |
|---|---|
| First post | 2017-06-26 15:00 +0200 |
| Last post | 2017-06-28 20:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 02/20] dt-bindings: serial: each stm32 usart needs an alias Bich HEMON <bich.hemon@st.com> - 2017-06-26 15:00 +0200
Re: [PATCH 02/20] dt-bindings: serial: each stm32 usart needs an alias Rob Herring <robh@kernel.org> - 2017-06-28 20:10 +0200
| From | Bich HEMON <bich.hemon@st.com> |
|---|---|
| Date | 2017-06-26 15:00 +0200 |
| Subject | [PATCH 02/20] dt-bindings: serial: each stm32 usart needs an alias |
| Message-ID | <tWBMu-2tb-25@gated-at.bofh.it> |
From: Bich Hemon <bich.hemon@st.com>
Each usart controller should have an alias correctly
numbered in "aliases" node.
Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
---
Documentation/devicetree/bindings/serial/st,stm32-usart.txt | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/st,stm32-usart.txt b/Documentation/devicetree/bindings/serial/st,stm32-usart.txt
index 85ec5f2..a229b14 100644
--- a/Documentation/devicetree/bindings/serial/st,stm32-usart.txt
+++ b/Documentation/devicetree/bindings/serial/st,stm32-usart.txt
@@ -15,14 +15,23 @@ Optional properties:
- dmas: phandle(s) to DMA controller node(s). Refer to stm32-dma.txt
- dma-names: "rx" and/or "tx"
+Note: Each usart controller should have an alias correctly numbered
+in "aliases" node.
+
Examples:
-usart4: serial@40004c00 {
+aliases {
+ serial0 = &usart1;
+ serial1 = &usart2;
+ serial3 = &uart4;
+};
+
+uart4: serial@40004c00 {
compatible = "st,stm32-uart";
reg = <0x40004c00 0x400>;
interrupts = <52>;
clocks = <&clk_pclk1>;
pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_usart4>;
+ pinctrl-0 = <&pinctrl_uart4>;
};
usart2: serial@40004400 {
--
1.9.1
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-06-28 20:10 +0200 |
| Subject | Re: [PATCH 02/20] dt-bindings: serial: each stm32 usart needs an alias |
| Message-ID | <tXpzA-NY-7@gated-at.bofh.it> |
| In reply to | #1674743 |
On Mon, Jun 26, 2017 at 12:49:09PM +0000, Bich HEMON wrote: > From: Bich Hemon <bich.hemon@st.com> > > Each usart controller should have an alias correctly > numbered in "aliases" node. This is board specific typically and doesn't need to be in the binding doc. Rob
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web