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: 151501 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2917579ljp; Mon, 19 Nov 2018 09:10:51 -0800 (PST) X-Google-Smtp-Source: AFSGD/XmqP8rfygtWi+wgQHwFlDQTgE6/XEpCjK+Q4jvXP0qzJhyjDZ+mkgPGoXRCzHgyH0jr4de X-Received: by 2002:a63:165e:: with SMTP id 30mr8596791pgw.103.1542647450812; Mon, 19 Nov 2018 09:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542647450; cv=none; d=google.com; s=arc-20160816; b=FmdFMb7n6mhqDh5wiwCLA2VAdCYliscgxVsQDuSp0Ps3XMfIJk8xKnhgSu5iYpmn6R xLUkxMS3zPH2rIzvqKy1ENWJNMeE9HjSJcegm0DP3PhIZbYN3LSXc3PpPo2gWLRiDq/H T2u+dULvu9OVINSEyTm6RkzLbIQtxN8jGjI9MbBX/qeAwgiykiiTFpyzDY7fR3C9fDEh r1Sfzot9TYk7z/lNsxiFnXS2kBSCUrgPLvwfNAFfqHG8xX/xqD0Z5CFrk2wWJeWAVDWd gM1hyU4hmKMeXsvu2qAM8vFBz1nwW9Lyvbk7NnWaLmZuW9Du6XYN75JBIFoSoSzSmdqw YAbA== 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=qCZivCgaYoODtSXyMh3z9hNOSS+exlqJP9yjA/wGX9E=; b=VN06qpbRqV71ZeHIX6b42Zv1vuN5yxD0mxflst9v/YN2eipGWbEVAAcKjjWTwlq7cS D4kBEKNoqSJWkydnlOyGvOBtukxBujYOMCNPWkmYgZ9xOOfz5qZH4I7zmcr/DV6CPIsr 8ymVFihs9jmmwXBp2wzd8iivv685WeFAjD7TE43JXt+dN7YGVBdiwa+50sUHMRiBG5BG fj63cI8hDIIT9B83vfI3e59gd0/gbopXJiMLOX0OqS1GdfFpLvWoIg4zifMlpuxhQaFa 23SS2w7mZUwvtPj4sWrQU1AMd2FrU2bm3RPUM3dO87HXm3mHolRAzhQM8KU9ZMyNEoKd lFXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fKp4iaSf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a59-v6si38442822plc.48.2018.11.19.09.10.49; Mon, 19 Nov 2018 09:10:50 -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 header.s=google header.b=fKp4iaSf; 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 S2405697AbeKTDfG (ORCPT + 32 others); Mon, 19 Nov 2018 22:35:06 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37714 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406694AbeKTDfG (ORCPT ); Mon, 19 Nov 2018 22:35:06 -0500 Received: by mail-pf1-f194.google.com with SMTP id u3-v6so12472466pfm.4 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=e0qd52dd357RWpNrWFWXgn69opcmKDYHy0Kmef9Exb6/wv7t2az/FlYOxIERaBntdX 9x1S3KlAMjBsQXZfMYBhXMEr8Z48pdTjoTkDGH92/09QaOF9/IVL6sBYX4graHXEfnVz vi+M/8TpzEYq3nSrlH/euZIzqNgZXDYC5LBQKyUZnVJqF/148I7GI/KgS3WUo+xp4C4C fV8RBQEseGj0MUR8cwdDKSYM6Kpsj602OThfjKm9Dz12d0qKo+77hOjCQiVjf/5vieBt +W0jPbVBWlVWKC7rXRzwTWr/AkiowuXUTyha16buqODbQf1HFLnpsGDlQ1jraaN8/FgO JYuw== X-Gm-Message-State: AGRZ1gKP2xt+xSWRxKgkG5OmVh59o4JU+xl2AOWRDOcthVnLo0r5Kvga aqULQId3B1BRlmnvGE+cTR9X 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, zhao_steven@263.net, service@rdamicro.com, Manivannan Sadhasivam 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1