From patchwork Fri Feb 3 10:23:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 93169 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp525759qgi; Fri, 3 Feb 2017 02:25:46 -0800 (PST) X-Received: by 10.99.36.7 with SMTP id k7mr16875623pgk.199.1486117546533; Fri, 03 Feb 2017 02:25:46 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h88si25113185pfk.4.2017.02.03.02.25.46; Fri, 03 Feb 2017 02:25:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753301AbdBCKY6 (ORCPT + 25 others); Fri, 3 Feb 2017 05:24:58 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38412 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753153AbdBCKXa (ORCPT ); Fri, 3 Feb 2017 05:23:30 -0500 Received: by mail-wm0-f53.google.com with SMTP id r141so20573986wmg.1 for ; Fri, 03 Feb 2017 02:23:30 -0800 (PST) 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=dGtoBy0dmfKpjsFsEkVW6lmd++y7adbq+gpnwQxMgJM=; b=AFmuxXJsCJvO0ke0pNj7WamPKW4DG0PxrEBV334J48uRuYDCdC61o6Q0nH75aXmAqG Bac17POyjDiH9oqVfzeLgkkx3A9mFhCBheZ5/TqvcOiMScEArHwX1v0wykNbl5wvMpHl cwOBHcEb4RhEfl8V4tQ13Z/yCqROqLL4PeiaQ= 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=dGtoBy0dmfKpjsFsEkVW6lmd++y7adbq+gpnwQxMgJM=; b=Q31qpE+z0Amey2ZNrm+k461P43VE1gNQeCnzZZ+9EQH6+kAdAIT2q+tZ8pXnaG4qoa IkccBo5pfX22Wnc9WP+K4zHv9fEVJ/R2aTMP/SP1yo+WvlccCBjbrw1OUt3zcIczqmW9 EB118tZo1JU9ugrzAAYH9/lJWlAswhpO0+TO48KIfaLGuJBR8Qa/HtcYnN8qJSVtl6cX NFxd3cYv4CVgCRFqnpTxPWFhJO5wn0KXKV0rfD/ouhRpFPSGxQUv2bTezr8Xs0LL8f5T uilcqc2Rt6mFYE10Y8DWQT+ycKysKwVZjqYj/b2P1UwqBdUQTpRW8njLcLOOJOGf9WyA VMDw== X-Gm-Message-State: AIkVDXKiYgAcG4td1Zor102rYdwOOD2GPAfuFEqz5cWfgv11BBpSCm1i+3iMnruNbOYEceSP X-Received: by 10.223.153.98 with SMTP id x89mr11276809wrb.181.1486117409014; Fri, 03 Feb 2017 02:23:29 -0800 (PST) Received: from dell.Home ([2a02:c7d:1faf:e900:a188:db10:388f:f973]) by smtp.gmail.com with ESMTPSA id z90sm44668100wrc.24.2017.02.03.02.23.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 02:23:28 -0800 (PST) From: Lee Jones To: gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com, Lee Jones Subject: [PATCH v4 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines Date: Fri, 3 Feb 2017 10:23:14 +0000 Message-Id: <20170203102319.23489-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170203102319.23489-1-lee.jones@linaro.org> References: <20170203102319.23489-1-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Acked-by: Peter Griffin Signed-off-by: Lee Jones --- drivers/tty/serial/st-asc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.3 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;