From patchwork Sun Jan 27 01:04:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 156683 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1943091jaa; Sat, 26 Jan 2019 17:04:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN4BWKrhiPXiPW8BWbQ9cukixszHE+/SythSpuS/DPakdYQqs6BEo1+WzQxXoTIBmGewlekC X-Received: by 2002:a63:fd0a:: with SMTP id d10mr15125242pgh.164.1548551060419; Sat, 26 Jan 2019 17:04:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548551060; cv=none; d=google.com; s=arc-20160816; b=TuY06Anb+P5tUUkAHuZaMpB+2w0jp3W2/BVp+l+MPIbmJ4bvumtJA5J/62s5xcKSCx QCj4T8E2fB2eoZJ7nHyyNOkHjwmUStMKBI9BxvOl7uDf/UoYBfJGx5PxHcFPukXOUmvI /MAKGB4s6PdGghQRTpvIH8hAhblw+TBdLQFIycB9QG7XGyeHcSpYcgsS/oSGu5JFXe8O ETaBKnCUg4pzX2kzZ3YOsO2hRlkmB1q8dEgjqcYdGzey1Dwlrjd79QTu0FceLDRL4y/e g/Fcl+TJsdE0/4njU1zJx8BtYRH6jzieWVAcZTViHbCcyoQJ+bayQtucC9gl7RieDzOr Dgpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2P5mzpaRpRtdhGHbSVOXWeBVX4uOH++uDSwZrSBj15c=; b=VOoepnL/IAw5EpxneIyhCBJgfIi4fWhcLHzPNqYA03DM9g78Pld4dI2lGb0Ei5zN+A FTNT1ZCGzmNpMpl4lpJIxjwHQll9fQXxYAH9JlNi/orV1f3BuksPutQCTRAy2dO5BJf8 H+AmKXLNjVqS7LbFUhcN6BfpPHsz0MKQVhqP1chydwbf6vEa9img0jkwybRnDrZCQaBc 3uFmz6ojgxRgwExB35z9SWt6cn04bMT6Ekh2zokNUotcPipaUAROceicKKB1TdScO4SR qsCtxwQPEvU35EvnWKIZPH2tFZ+HZ4EyxnS+5/5+xpCfO1yhDN9Ho4dxrkreu/QCIa/A 3+3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q1sb+2GM; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e129si28607368pgc.333.2019.01.26.17.04.20; Sat, 26 Jan 2019 17:04:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-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 header.s=google header.b=Q1sb+2GM; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 S1726249AbfA0BES (ORCPT + 2 others); Sat, 26 Jan 2019 20:04:18 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:39493 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726384AbfA0BES (ORCPT ); Sat, 26 Jan 2019 20:04:18 -0500 Received: by mail-lj1-f195.google.com with SMTP id t9-v6so11325862ljh.6 for ; Sat, 26 Jan 2019 17:04:17 -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:mime-version :content-transfer-encoding; bh=2P5mzpaRpRtdhGHbSVOXWeBVX4uOH++uDSwZrSBj15c=; b=Q1sb+2GMfHJpLDEwXYD/8JIAk31mcdNglwNs16vD1Nuv8ieaVq4BdwITPKljUjT8Zm C2OZjjkZ5Fwwoe2Go1BP662cH+oW04YwrBjK490Mve4Rx8u39/8WU+8/Q5XFZw1chPsx 3zfVM4OR39YGAXKqWy6nwbmQVXXEc4JYQGpIo= 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:mime-version :content-transfer-encoding; bh=2P5mzpaRpRtdhGHbSVOXWeBVX4uOH++uDSwZrSBj15c=; b=fRTFqtIIK2XW109J2hims6ffVl1zoKNhbYPlh4+yLMMnqao9xyNOvjDFApDkf4M6Ah 3ghNEWqfIfF218oVWUP4As5yj9PUn59AL4OhzHHQIfkF+E83q9VDo1AAaNdpG7kDNPlH rgdAXnBpIl/TIiicUXr+jBZEydOjH4KdsWzMgjinSWYxTHwH06DB0SHgQ16xyAjagG1m WY7CYqUjJ1pJ80azW3CCQUDTH6hsO7lIPZG70S8nYZtGOMK8l2ILl5Q5u0kq9PpJ9cd5 EPDtOjPVsgkccaP9QyN4tSjGAtcYekBIxoq3SJ9HUBM/VRPmC/pT9Dw7x8rzckarQH8f xH4w== X-Gm-Message-State: AJcUukdWELwnk5AJ4EMQPNyGWvcU0U5R47vMRq+9n3Zp4F28gRhvBvsY nEppRO12KpO3DFQX8sI/E3I3Ilb3egc= X-Received: by 2002:a2e:7e04:: with SMTP id z4-v6mr13622355ljc.97.1548551056322; Sat, 26 Jan 2019 17:04:16 -0800 (PST) Received: from linux.local (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id t9-v6sm2298954ljj.87.2019.01.26.17.04.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 26 Jan 2019 17:04:14 -0800 (PST) From: Linus Walleij To: linux-serial@vger.kernel.org, Greg Kroah-Hartman Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH] serial: 8250: Add OF support for Xscale variant Date: Sun, 27 Jan 2019 02:04:04 +0100 Message-Id: <20190127010404.7668-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org This adds support for device tree probing for the Intel Xscale 8250 variant needed to support device tree on the Intel IXP4xx platforms. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- Documentation/devicetree/bindings/serial/8250.txt | 1 + drivers/tty/serial/8250/8250_of.c | 1 + 2 files changed, 2 insertions(+) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/serial/8250.txt b/Documentation/devicetree/bindings/serial/8250.txt index da50321da34d..3cba12f855b7 100644 --- a/Documentation/devicetree/bindings/serial/8250.txt +++ b/Documentation/devicetree/bindings/serial/8250.txt @@ -21,6 +21,7 @@ Required properties: - "altr,16550-FIFO128" - "fsl,16550-FIFO64" - "fsl,ns16550" + - "intel,xscale-uart" - "ti,da830-uart" - "aspeed,ast2400-vuart" - "aspeed,ast2500-vuart" diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index a1a85805d010..17da8af36aa1 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -327,6 +327,7 @@ static const struct of_device_id of_platform_serial_table[] = { { .compatible = "nvidia,tegra20-uart", .data = (void *)PORT_TEGRA, }, { .compatible = "nxp,lpc3220-uart", .data = (void *)PORT_LPC3220, }, { .compatible = "ralink,rt2880-uart", .data = (void *)PORT_RT2880, }, + { .compatible = "intel,xscale-uart", .data = (void *)PORT_XSCALE, }, { .compatible = "altr,16550-FIFO32", .data = (void *)PORT_ALTR_16550_F32, }, { .compatible = "altr,16550-FIFO64",