From patchwork Fri Jan 27 17:27:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 92707 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp342347qgi; Fri, 27 Jan 2017 09:31:07 -0800 (PST) X-Received: by 10.84.198.3 with SMTP id o3mr14181905pld.170.1485538267126; Fri, 27 Jan 2017 09:31:07 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si2457316pgc.59.2017.01.27.09.31.06; Fri, 27 Jan 2017 09:31:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933967AbdA0Rah (ORCPT + 7 others); Fri, 27 Jan 2017 12:30:37 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:33607 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933844AbdA0R2j (ORCPT ); Fri, 27 Jan 2017 12:28:39 -0500 Received: by mail-wm0-f52.google.com with SMTP id d140so15589163wmd.0 for ; Fri, 27 Jan 2017 09:28:39 -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=ESZaoVNreMa92Hg8sXKEg8fx6F0grh58acbcgEfN9dc=; b=ZxdFnTg5AqPXeyxaOMV29vW/Gcm6Uc6WwCUoazTC7Kha5lJlWKz9B0uALPHbBFjnOa m36mh5E9zgqBi7IvK5X6dGv+JlyYu0TYINHDxrUL1Hk7yIYzUDzROo91flSi+QBn3C1O PX12Dyagii2eVvUJr+967NxMJ887p4RUjIMvE= 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=ESZaoVNreMa92Hg8sXKEg8fx6F0grh58acbcgEfN9dc=; b=t6Di/FIZePQgJI86eN+3oZR3/XbUDoHLFRVdpQrEK/EU8AEXuvERPBuiujOsENQXW/ eViIFuE07EMPqXGWUuQ5lgoXXzd6sTJa1RkGScsxaEqy0ChMqAqIqkrzChDDPnRKFF+y IGGz28X7PjF54UpOb5iXDmMG/qdnp3zkWyamCpEHFK94gyJcZwZ22gHLtgnChxkK8fMV 9SxF1dlXNlhZP3KUi4VRxFEgamzQRGPhEp61Ycfa/bTq5TgI2uQ/y53xFJtHljSV+Y3/ tTONXb6KUPdWaLCc+oPLv8qVTXukwxPhjaEYbtpzbIlC6Tgy24yIvSbQejG3TKHZ0M64 FaaA== X-Gm-Message-State: AIkVDXKKeu0Iy7RvAjBBA4PBgW+Sm4+HVoUo/wye1qFdSiuE64j0Wo/vBYxu9bLY6iHd2K84 X-Received: by 10.28.195.70 with SMTP id t67mr4214519wmf.98.1485538108170; Fri, 27 Jan 2017 09:28:28 -0800 (PST) Received: from localhost.localdomain ([2a01:4c8:1b:eeec:f122:1b92:9371:359c]) by smtp.gmail.com with ESMTPSA id k4sm4822140wmf.22.2017.01.27.09.28.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2017 09:28:27 -0800 (PST) From: Lee Jones To: gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, dt@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 v2 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines Date: Fri, 27 Jan 2017 17:27:59 +0000 Message-Id: <20170127172804.23881-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170127172804.23881-1-lee.jones@linaro.org> References: <20170127172804.23881-1-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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. Signed-off-by: Lee Jones --- drivers/tty/serial/st-asc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;