From patchwork Mon Nov 19 17:09:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10688931 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4AD9C14DB for ; Mon, 19 Nov 2018 17:11:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 301512A2AF for ; Mon, 19 Nov 2018 17:11:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 246D12A2DD; Mon, 19 Nov 2018 17:11:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A9E142A2AF for ; Mon, 19 Nov 2018 17:11:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=FNwsbBTVbdkj6j3waA9kczRN7wbEa2lWusMreWtFO1c=; b=ZVmpmLAH2GT2oO IdtVDUAoE6TIZpiDSFDlr1mXz5EbCcAZVNEaXSHozEFTbzNd/Uffr4Fa1788N8D9qrRw/Rk/+aaj/ MRpR3HJqllDUQML3df+aTE6gl5HI6p5vxfivbyR6svdt7H1o7DiTt041lw/eR/pH3uMyRVqcsiMbz /CL77nOxrWqaCEuM8IXfCGaEHxOs78Gt7PAWRCu8BdQxccrRGdNGAyFu5+6lqeUexoUyFxBDWV0Vc lmX7MwgYEOoIFv5pUUhwypaL6qSigQfPgPq93CxDbLzd2HW+knZiDxOHBYVzSQBR/Ue2lPWhxOHVC RaBGwQRDLebnCg0o4gkw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOn4f-0000Rm-JF; Mon, 19 Nov 2018 17:11:01 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOn4b-0000RI-Ow for linux-arm-kernel@lists.infradead.org; Mon, 19 Nov 2018 17:10:59 +0000 Received: by mail-pf1-x442.google.com with SMTP id q1so7152368pfi.5 for ; Mon, 19 Nov 2018 09:10:47 -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=qCZivCgaYoODtSXyMh3z9hNOSS+exlqJP9yjA/wGX9E=; b=fKp4iaSff4+HLHN8BH5+saBSjXnbHoXnF4KwePYxpsKBbDKQ8+x71i7dTD3NWO3Uxm cpoIfWs0tIa93P6cRV3MfpKGmRBZUSAPLSLNXYkyagjOhpcOhDwAE9ZsIu3+PeGgh4ao jf5/mXJ6+clQTgUNAkcgwFWboPTaTl7EOXhOU= 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=qCZivCgaYoODtSXyMh3z9hNOSS+exlqJP9yjA/wGX9E=; b=AdVGFMqhm9EriN3WNuI+jo9NdtlGIMEgrS9x7U+UFxAmFKTxTkZGP8WFW2K+nvcy+i QrJLL0Vge9Hj0Otzt8q65U0++DhE1OapZyQ4xC//IzFVQIKZcNY5muAHQEk41RTTPDnl ng/nyVE/p/XWk4lQaQWJVitESDQdLfjlvZURo+f+PYrA4vvzysDttOY9ZrZtUICqy5nk ngnZ5OvFmXOz85D2EqTQ0V7l7PRtpRE+Qoy6uaIDI41ZCm/0eOChBNASpMJ90Ry2E1jY WUm2zcmll77XXoSn14cxhsGXAGkI1NBFlFmagscxl2TwERBFFVaDjgW2LBMFhv7d1faT W2Fw== X-Gm-Message-State: AGRZ1gLIUpsnPNI1OPwaKnCP4zYPzqgLHsl6pnmb7xCxjvTcuVENmG4f Um4HPuEICb61o/MGivjHrq7M X-Google-Smtp-Source: AJdET5eV3RogFfbMUb7hFcy6axqtFrUsZK9hX6UfsuRobKUo1hTyEndALqoiC4Zo6CuOEKnMp+Tkxg== X-Received: by 2002:a63:d547:: with SMTP id v7mr20500295pgi.339.1542647446477; Mon, 19 Nov 2018 09:10:46 -0800 (PST) Received: from localhost.localdomain ([2409:4072:631b:44eb:3905:6402:e2fb:2d7]) by smtp.gmail.com with ESMTPSA id 186-v6sm46175458pfe.39.2018.11.19.09.10.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Nov 2018 09:10:45 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, robh+dt@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, daniel.lezcano@linaro.org Subject: [PATCH 00/16] Add initial RDA8810PL SoC and Orange Pi boards support Date: Mon, 19 Nov 2018 22:39:23 +0530 Message-Id: <20181119170939.19153-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181119_091057_813817_9AF8EF11 X-CRM114-Status: GOOD ( 13.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linus.walleij@linaro.org, service@rdamicro.com, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org, zhao_steven@263.net Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This patchset adds initial RDA8810PL SoC and Orange Pi boards (2G IoT and i96) support. RDA8810PL is an ARM Cortex A5 based SoC with Vivante's GC860 GPU. The SoC has been added as a new ARM sub architecture with myself and Andreas as the maintainers. More information about the boards can be found in below links: 1. Orange Pi 2G-IoT - http://www.orangepi.org/OrangePi2GIOT/ 2. Orange Pi i96 - https://www.96boards.org/product/orangepi-i96/ This patchset is based on the initial revision sent out by Andreas long back (http://lists.infradead.org/pipermail/linux-arm-kernel/2017-June/515951.html). I have extended his patchset with proper irqchip and UART drivers. Now, boards can boot into initramfs with console at UART2. Thanks, Mani Andreas Färber (4): dt-bindings: Add RDA Micro vendor prefix dt-bindings: arm: Document RDA8810PL and reference boards ARM: Prepare RDA8810PL SoC dt-bindings: serial: Document RDA Micro UART Manivannan Sadhasivam (12): arm: dts: Add devicetree for RDA8810PL SoC arm: dts: Add devicetree for OrangePi 2G IoT board arm: dts: Add devicetree for OrangePi i96 board dt-bindings: interrupt-controller: Document RDA8810PL intc arm: dts: rda8810pl: Add interrupt controller support irqchip: Add RDA8810PL interrupt driver dt-bindings: timer: Document RDA8810PL SoC timer arm: dts: rda8810pl: Add timer support clocksource: Add clock driver for RDA8810PL SoC arm: dts: rda8810pl: Add interrupt support for UART tty: serial: Add RDA8810PL UART driver MAINTAINERS: Add entry for RDA Micro SoC architecture .../admin-guide/kernel-parameters.txt | 6 + Documentation/devicetree/bindings/arm/rda.txt | 17 + .../interrupt-controller/rda,8810pl-intc.txt | 61 ++ .../bindings/serial/rda,8810pl-uart.txt | 15 + .../bindings/timer/rda,8810pl-timer.txt | 21 + .../devicetree/bindings/vendor-prefixes.txt | 1 + MAINTAINERS | 14 + arch/arm/Kconfig | 2 + arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 3 + .../boot/dts/rda8810pl-orangepi-2g-iot.dts | 35 + arch/arm/boot/dts/rda8810pl-orangepi-i96.dts | 35 + arch/arm/boot/dts/rda8810pl.dtsi | 116 +++ arch/arm/mach-rda/Kconfig | 9 + arch/arm/mach-rda/Makefile | 1 + drivers/clocksource/Kconfig | 7 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-rda.c | 187 ++++ drivers/irqchip/Kconfig | 4 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-rda-intc.c | 116 +++ drivers/tty/serial/Kconfig | 19 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/rda-uart.c | 831 ++++++++++++++++++ include/uapi/linux/serial_core.h | 3 + 25 files changed, 1507 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/rda.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt create mode 100644 Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt create mode 100644 Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt create mode 100644 arch/arm/boot/dts/rda8810pl-orangepi-2g-iot.dts create mode 100644 arch/arm/boot/dts/rda8810pl-orangepi-i96.dts create mode 100644 arch/arm/boot/dts/rda8810pl.dtsi create mode 100644 arch/arm/mach-rda/Kconfig create mode 100644 arch/arm/mach-rda/Makefile create mode 100644 drivers/clocksource/timer-rda.c create mode 100644 drivers/irqchip/irq-rda-intc.c create mode 100644 drivers/tty/serial/rda-uart.c