Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1571587
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| 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 | Wed, 01 Feb 2017 15:40:01 +0100 |
| Message-ID | <t64eJ-77f-3@gated-at.bofh.it> (permalink) |
| References | <t64eJ-77f-5@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aPbxa8ah0XE+dhDs0+NcSE2Y1lKrBLmO2XqIIPa0q4U=; b=Vw73883YEQxacjy5j1njEDpNdcU21PZ5Bp4R/pj12suR89bhIggYrg52vIeL02AUbq RAw8mEgvm5R+wtc9ZwlBKPE2+hks4uPbkzL+eI2geuQ3zKfvo6UaQzoPfWFd8KVZioVC 6haQwQq+wTfExnExvKZeX+HXlRxzqkACU//CI= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aPbxa8ah0XE+dhDs0+NcSE2Y1lKrBLmO2XqIIPa0q4U=; b=ANKXnOW62V0NeiGEkQSkB67/laO50VH0Orni3ngC84d6KG7+mYumKGrN9FMaU/i9Ud O5imRnpq6+DLiEcsx3IXQevnFZbfysYw3YrXWXyD5w6a20r0QYlAuovzOfc2zouxIomk o0ie6/ZI/pNMHN3hFNhJXtU6/D6h54D/HJZBS4b4qQiZlMRWSwCHVhTdpJyEOFR+lq8x 4iBpMkcan/GxWHk40hdD3aG58vTCSPDnPNPFFVMWIs/0AuE+JQfX4FRB/knHRuFbwlCP DQ1KZPSX8TJD8y9FlDegqT0SjPPO0dgNpjnbnZp3RS+E31AYtT3Cp0hLJTOY3KHZuUuV kTLA== |
| X-Gm-Message-State | AIkVDXJ1X15FMaX60OLp2CWoe52DuoKYc8RJSn9KWdiLeiyx2T650ZItSo4XLBgDtGuLgC4E |
| X-Received | by 10.223.166.181 with SMTP id t50mr2922037wrc.80.1485959518180; Wed, 01 Feb 2017 06:31:58 -0800 (PST) |
| X-Mailer | git-send-email 2.9.3 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 25 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com, Lee Jones <lee.jones@linaro.org> |
| X-Original-Date | Wed, 1 Feb 2017 14:31:40 +0000 |
| X-Original-Message-ID | <20170201143145.31962-6-lee.jones@linaro.org> |
| X-Original-References | <20170201143145.31962-1-lee.jones@linaro.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1571587 |
Show key headers only | 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 e521078..bcf1d33 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 | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines Lee Jones <lee.jones@linaro.org> - 2017-02-01 15:40 +0100 Re: [STLinux Kernel] [PATCH v2 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines Peter Griffin <peter.griffin@linaro.org> - 2017-02-01 16:00 +0100
csiph-web