From patchwork Wed Feb 1 14:31:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 93034 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2443614qgi; Wed, 1 Feb 2017 06:32:22 -0800 (PST) X-Received: by 10.99.238.5 with SMTP id e5mr4021250pgi.49.1485959541965; Wed, 01 Feb 2017 06:32:21 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m32si19326794pld.31.2017.02.01.06.32.21; Wed, 01 Feb 2017 06:32:21 -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 S1751795AbdBAOcB (ORCPT + 7 others); Wed, 1 Feb 2017 09:32:01 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:37060 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751743AbdBAOb7 (ORCPT ); Wed, 1 Feb 2017 09:31:59 -0500 Received: by mail-wm0-f46.google.com with SMTP id v77so40599775wmv.0 for ; Wed, 01 Feb 2017 06:31:59 -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=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=onUAq4XR5J2pCGQ5tt5L5RO3V76BI2I7uipV5mAZbpTcaAILLqTXpqnVfVWYgeKptW nlxjv3vrIAJhpkrlr/yQ++/eDEKBXc1AcnvOss+9PW7FkCGQFgmv3eirAQBhDqlNWhet 6ABQCWgyWNq2V5hlybhSm+5ymKqNKssln90Zz4gsIa/+GbIUx4X+gp1YrusOooz8weWb cB+HZia8J76igKoJKp0yBUm1VPX3lW4HaEt5EmmySpCfQ1ySESwYGuCLZn14kGorzAA1 eZt9hjXVPUXTDkHbWKA9oGkKFlsZ6yJvLgNVvFddvSiM0qE9wstfl5OSVhH2UwLnvWMX j6cQ== X-Gm-Message-State: AIkVDXKXPVWQfFBLTuBj/hCII4XiYcl1Ej1Pnch4dKUaiiOklYAMWucblSYc83CJ/iD7Ijax X-Received: by 10.223.166.181 with SMTP id t50mr2922037wrc.80.1485959518180; Wed, 01 Feb 2017 06:31:58 -0800 (PST) Received: from localhost.localdomain (host81-158-165-111.range81-158.btcentralplus.com. [81.158.165.111]) by smtp.gmail.com with ESMTPSA id l37sm34420245wrc.41.2017.02.01.06.31.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Feb 2017 06:31:57 -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: Wed, 1 Feb 2017 14:31:40 +0000 Message-Id: <20170201143145.31962-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170201143145.31962-1-lee.jones@linaro.org> References: <20170201143145.31962-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 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;