From patchwork Wed Jun 13 04:14:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 138402 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp196460lji; Tue, 12 Jun 2018 21:16:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLfP7dMbNoPvCMJi+cnJkFJY3emXgLTRDTgpxImQREyx2DrY64fKHBiUNnxeRqD4q/DaGxA X-Received: by 2002:a50:8d8d:: with SMTP id r13-v6mr2158139edh.86.1528863373760; Tue, 12 Jun 2018 21:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528863373; cv=none; d=google.com; s=arc-20160816; b=cQwGZ+0o0TKNG21KNJn5nEtKGJyjLnhT+UcvurgWrL16dDmF/VSWrq4ANgV8qDwPWo Ka0LHJbQcPz15h0Q6eWCABOf0+A95xTW7VV6myYToFuLmrtA4x/P8bOC9IFpZmiT84Qf gEx35LbB3nZvmq/Wu+Ge8hfirrCz74rMmoDnAY/DW9cvUca1cdjakR36nDtE0cvJEo9i haKbvH+Y2Y4X8q/tiP+2aIrA4n2xRn2+7XWVbkfY138AoQUug8+Ss2WXOm8/6nHUevAY qQyYjY21lne2+stn5h4dSUw7Y9BCYyb1jj/SMbkdoAhvZ5EwCRj8UQOZx6yTu8sbLRE4 vIcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=m3R8IwxS6Bixrx9X7VLhjbn+p2etXr7dYEflvVSPplA=; b=cgi/O+cTcjo0GPISsT8c6RSQAxGBe6iAGdTqFrfaezfVP65WbtCQ61st2/htMAnNjp 9vZGdeuaWhBeHwfRbtUbxtgX0/B5dxa9aZu0Fu0LjQnZs9ye9Bd2La+QpPlUddBVPr/R +pKXnUZ+KpMcKLHyzV8wq6DL+4iWPj5TMpOipG2q+cRS0GIiyuDsrsbXkAHdMuICEi88 lLrY+CgKFg8AwmxC6vrB56usH7H49yPLIlOYTEaaAk3LgTeGPS2pWgXiF4ye/y6jwPRZ Tu55tUoCkyzqaY9JHmdwil8evKlutYeaFLBlXHkKS4rspmrCZm17vYjcxYcA5hngynq7 fWhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="NOkl/aID"; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id h3-v6si1569151edn.439.2018.06.12.21.16.13; Tue, 12 Jun 2018 21:16:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="NOkl/aID"; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 55098C21D74; Wed, 13 Jun 2018 04:16:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=KHOP_BIG_TO_CC, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id F1DE9C21CB6; Wed, 13 Jun 2018 04:16:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E4F56C21CB6; Wed, 13 Jun 2018 04:16:08 +0000 (UTC) Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by lists.denx.de (Postfix) with ESMTPS id 57EC5C21CB1 for ; Wed, 13 Jun 2018 04:16:07 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id a12-v6so675485pfi.3 for ; Tue, 12 Jun 2018 21:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=E5k2qnMuYQZVltRZgjsqa1BBywQsJqTEedapQqRkKWU=; b=NOkl/aIDGGq1D70qmHrIP8xBodRVjeDS/ga0H24+d5Ukp0uVkq4N8dlOI3U8U3hRX0 b8ICZBNmm2STXOWCPDrM/NNGvw9VDId2bLo/6aCuN2CbMl+dqi9NHj8F1CtzHnjGTfTp iT6TH7Xka742+SF/Na/r8pICPwdAXHrjWEl/I= 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; bh=E5k2qnMuYQZVltRZgjsqa1BBywQsJqTEedapQqRkKWU=; b=ax6F/S9NxcKEC+CtYKtacXEEetBHPF4WxoXwD9uPsI3QbrRd+9G04ReVEJjkxhiiC7 t17okDP8g/UUJggieywn4rQg0CGUUIcAT2ePS8/fQaokAaviM56prYd0glOLWlT7i2MI YdeaEkSI2mg3OuAbQSWP4pfCiAMGbpawL4AQ5e9UepIirQ6LAaHXJQXcfgk9NmvpBEyK RMs4ahT/b4lq+eEkGo1ZYC2lATjI0sP2RZYCwnp7zYv756606YjCJnDLkhmfNxAMs6Zx HHMA9Dbpi9X7yEiFDO5PjCes3hWI48NNtY8OiXv/WJ41wM41V7Akm5Qy1ifeqaC0uTgB d78A== X-Gm-Message-State: APt69E24Sjqsl8qCcgbhPuAUQp269hnMzb4vjy8ZoGAegHl6mWOsFxDt 6ogsZYeA4cXD0q0QiJHiVKNf X-Received: by 2002:a65:5c89:: with SMTP id a9-v6mr2622405pgt.51.1528863365645; Tue, 12 Jun 2018 21:16:05 -0700 (PDT) Received: from localhost.localdomain ([2405:204:724b:42:c173:614b:87b0:a740]) by smtp.gmail.com with ESMTPSA id l15-v6sm493904pfg.88.2018.06.12.21.15.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 21:16:05 -0700 (PDT) From: Manivannan Sadhasivam To: albert.u.boot@aribaud.net, sjg@chromium.org, marek.vasut+renesas@gmail.com, u-boot@lists.denx.de Date: Wed, 13 Jun 2018 09:44:59 +0530 Message-Id: <20180613041508.28958-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Cc: daniel.thompson@linaro.org, manivannanece23@gmail.com, bdong@ucrobotics.com, Manivannan Sadhasivam , thomas.liau@actions-semi.com, hzhang@ucrobotics.com, amit.kucheria@linaro.org, liuwei@actions-semi.com, afaerber@suse.de, jeff.chen@actions-semi.com, mp-cs@actions-semi.com Subject: [U-Boot] [PATCH v2 0/9] Add SoC and Board support for Bubblegum-96 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This patchset adds SoC support for Actions Semi S900 SoC and ucRobotics Bubblegum-96 board along with UART and Clock drivers. S900 SoC consists of 4 ARM Cortex-A53 cores up to 1.8GHz with Imagination Power VR G6230 GPU. More information on this SoC can be found in Actions Semi product page: http://www.actions-semi.com/en/productview.aspx?id=204 Bubblegum-96 board is one of the 96Boards Consumer Edition platform based on S900 SoC. This board has 2GB LPDDR3 operating at 533 MHz and 8GB eMMC along with other peripherals required by 96Boards Consumer Edition Specification. More information on this board can be found in 96Boards product page. https://www.96boards.org/product/bubblegum-96/ Most of the code is based on Actions tree found here: https://github.com/96boards-bubblegum/u-boot/ With this patchset, Bubblegum-96 board can boot into U-Boot shell. Thanks, Mani Changes in v2: * Removed clk_owl.c and moved all clk code to clk_s900.c as per Simon's review comments. * Added missing Signed-off by tag for one patch. * Moved arch/arm/mach-owl/Kconfig changes from clk patch to board support patch. Manivannan Sadhasivam (9): arm: Add support for Actions Semi OWL SoC family board: Add uCRobotics Bubblegum-96 board support dt-bindings: clock: Add S900 CMU register definitions arm: dts: s900: Add Clock Management Unit (CMU) nodes clk: Add Actions Semi OWL clock support arm: dts: s900: Add UART node arm: dts: bubblegum_96: Enable UART5 for serial console serial: Add Actions Semi OWL UART support MAINTAINERS: Add entries for Actions Semi OWL family MAINTAINERS | 9 ++ arch/arm/Kconfig | 10 ++ arch/arm/Makefile | 1 + arch/arm/dts/bubblegum_96.dts | 31 +++++ arch/arm/dts/s900.dtsi | 53 +++++++ arch/arm/include/asm/arch-owl/clk_s900.h | 57 ++++++++ arch/arm/include/asm/arch-owl/regs_s900.h | 64 +++++++++ arch/arm/mach-owl/Kconfig | 27 ++++ arch/arm/mach-owl/Makefile | 3 + arch/arm/mach-owl/sysmap-s900.c | 32 +++++ board/ucRobotics/bubblegum_96/Kconfig | 15 ++ board/ucRobotics/bubblegum_96/MAINTAINERS | 6 + board/ucRobotics/bubblegum_96/Makefile | 3 + board/ucRobotics/bubblegum_96/bubblegum_96.c | 56 ++++++++ configs/bubblegum_96_defconfig | 22 +++ drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/owl/Kconfig | 12 ++ drivers/clk/owl/Makefile | 3 + drivers/clk/owl/clk_s900.c | 138 +++++++++++++++++++ drivers/serial/Kconfig | 8 ++ drivers/serial/Makefile | 1 + drivers/serial/serial_owl.c | 136 ++++++++++++++++++ include/configs/bubblegum_96.h | 43 ++++++ include/dt-bindings/clock/s900_cmu.h | 77 +++++++++++ 25 files changed, 809 insertions(+) create mode 100644 arch/arm/dts/bubblegum_96.dts create mode 100644 arch/arm/dts/s900.dtsi create mode 100644 arch/arm/include/asm/arch-owl/clk_s900.h create mode 100644 arch/arm/include/asm/arch-owl/regs_s900.h create mode 100644 arch/arm/mach-owl/Kconfig create mode 100644 arch/arm/mach-owl/Makefile create mode 100644 arch/arm/mach-owl/sysmap-s900.c create mode 100644 board/ucRobotics/bubblegum_96/Kconfig create mode 100644 board/ucRobotics/bubblegum_96/MAINTAINERS create mode 100644 board/ucRobotics/bubblegum_96/Makefile create mode 100644 board/ucRobotics/bubblegum_96/bubblegum_96.c create mode 100644 configs/bubblegum_96_defconfig create mode 100644 drivers/clk/owl/Kconfig create mode 100644 drivers/clk/owl/Makefile create mode 100644 drivers/clk/owl/clk_s900.c create mode 100644 drivers/serial/serial_owl.c create mode 100644 include/configs/bubblegum_96.h create mode 100644 include/dt-bindings/clock/s900_cmu.h