Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1568555

[PATCH v2 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v2 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines
Date 2017-01-27 18:40 +0100
Message-ID <t4iFe-74B-71@gated-at.bofh.it> (permalink)
References <t4ivv-70N-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The initial binding 'st,hw-flow-control' isn't used anywhere, in neither
in upstream nor downstream kernels.  It isn't even documented in
dt-bindings, so we can safely assume it's safe to swap to the generic
one.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/tty/serial/st-asc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c
index 713d7bb..85d8783 100644
--- a/drivers/tty/serial/st-asc.c
+++ b/drivers/tty/serial/st-asc.c
@@ -794,7 +794,7 @@ static struct asc_port *asc_of_get_asc_port(struct platform_device *pdev)
 		return NULL;
 
 	asc_ports[id].hw_flow_control = of_property_read_bool(np,
-							"st,hw-flow-control");
+							"uart-has-rtscts");
 	asc_ports[id].force_m1 =  of_property_read_bool(np, "st,force_m1");
 	asc_ports[id].port.line = id;
 	asc_ports[id].rts = NULL;
-- 
2.9.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/10] serial: st-asc: Allow handling of RTS line Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:30 +0100
  [PATCH v2 03/10] serial: st-asc: Read in all Pinctrl states Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:30 +0100
  [PATCH v2 06/10] dt-bindings: serial: Update 'uart-has-rtscts' description Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:30 +0100
  [PATCH v2 02/10] serial: st-asc: Provide RTS functionality Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:30 +0100
  [PATCH v2 09/10] ARM: dts: STiH407-family: Use new Pinctrl groups Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:40 +0100
    Re: [PATCH v2 09/10] ARM: dts: STiH407-family: Use new Pinctrl groups Patrice CHOTARD <patrice.chotard@st.com> - 2017-01-30 12:10 +0100
  [PATCH v2 04/10] serial: st-asc: (De)Register GPIOD and swap Pinctrl profiles Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:40 +0100
  [PATCH v2 10/10] ARM: dts: STiH410-b2260: Enable HW flow-control Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:40 +0100
  [PATCH v2 08/10] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:40 +0100
  [PATCH v2 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:40 +0100
  [PATCH v2 01/10] serial: st-asc: Ignore the parity error bit if 8-bit mode is enabled Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:40 +0100
  [PATCH v2 07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line Lee Jones <lee.jones@linaro.org> - 2017-01-27 18:40 +0100

csiph-web