From patchwork Thu Jun 14 18:08:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 138591 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2436694lji; Thu, 14 Jun 2018 11:09:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIBCgUjwmBrzhltl+E9Xws6TrJc9eVAtxEnSCmKECE/PXSe9wcK6NDxPUyiQpCWa2jKLAlK X-Received: by 2002:a50:de0c:: with SMTP id z12-v6mr3488724edk.245.1528999753727; Thu, 14 Jun 2018 11:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528999753; cv=none; d=google.com; s=arc-20160816; b=dfhaODObXXEjO1SJvzIjCwDjJ7rZFfsVHdaNeILZLXk04dDnIO6Dw22uAv2ni6jf3g 8OUYUUp+r+1JDM/wmtdM24pk+TWaX3E/Ug9+4kaLiwW7mCBhCuAOW7dLjP7Wl5nxxSpp nuUjhJiaSH7OG11XR6a6Mc9QX6/LASiQxNt7GROWhjsGR8foBL0vqnCkKNwvFxmfyBQB 5UJHaZaLs0Lf3gcP/aq0HjTQcWeS9dj4NuMfdekERpFVcS4MaCuTB1W2GvdFCkcOwMev e7Hxqgt/S3t0J5VMmyntiVMCWH+IOxHBAwpYYPC1gvRIXEPDvMB+oaXMnz9BGo6ZJ4Nr NlLQ== 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=bYcRuaZ1JdkRNkEB/kRSM5jfhyiw8ci/0zrIN7mLACQ=; b=o2DdmeR4PKtPIwE48qV38j+vTyeTS8oN1G/qvfX56pAv+XXgi/v3vDUWaLupTIMP6u qBu5UdOVDFJgPXuYpjbonDZ+iANzimFDmGjFSiP6D7MYirjo77eGO6WaOjvgQf2DD0Jv nrLDpkMtSftvH25FaOMUJaR1HR9Qf3iJbVkW73r1WqOFA93gkRT0bVN3NLww8sBUBbxz x9tEOknDqSHjmwVeYNcW8rA0haK23XyyQ48RRAxucF8HrCijlNkOw5KwIIuGwvW1IOsn NFfj8rZyejBLO785qnWUSAuM1m9+mSt60mTA5GuOmUSHZbPduitUqSNi+7rlVXjVGzry eckA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GFca4fXs; 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 5-v6si3535619edj.172.2018.06.14.11.09.13; Thu, 14 Jun 2018 11:09: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=GFca4fXs; 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 376A4C21DF8; Thu, 14 Jun 2018 18:09:06 +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_H3, RCVD_IN_MSPIKE_WL, 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 72EA3C21C27; Thu, 14 Jun 2018 18:09:04 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 227CBC21C27; Thu, 14 Jun 2018 18:09:03 +0000 (UTC) Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by lists.denx.de (Postfix) with ESMTPS id E7F4DC21BE5 for ; Thu, 14 Jun 2018 18:09:00 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id a14-v6so3269231pgw.10 for ; Thu, 14 Jun 2018 11:09:00 -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=eLmXHcVgUKjjFLW+4g3G3CKOQSl3+oROY3MpuFExYwc=; b=GFca4fXsEPHBZEXXDzbP50ZNFEJUyNX+rlf87AqCZM+FCbsH6h1nS+nizFkBVEwFdg V5wOpPT8U0fog99201NOFZHZqxjiFNvy6gGEzdGQPaV8qo72fZHi1vc1CXaHLxMjHVci H3JqnBpkZT41UtcqO//1m7ZB9Phx0G/T2/vAE= 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=eLmXHcVgUKjjFLW+4g3G3CKOQSl3+oROY3MpuFExYwc=; b=bkTK/kevsDWJpBw4cN6YvTtWTUHqVnpRB669Ca30ZgXNV2ZsF/x0lFKSu78CcfCykL DNXZYCOWRrnTn3k2f9mxmQjNe8aUXETqPTRg1uLdycz+wvI9N4x8oh/cgql7x1O/YN/1 2/9mIG8lBmbf+uwug4m778ZMcgAovaM8bXcUiTVL58j83GBAxeqxSIobTZWof9dLf4Xy TEbJy95UFPqeWj7W3wkEjmkYY8wG+BDdJ2qnhKPcZJDW1a2vAYo8mPfHEcTyMr0KxSAU OgwRTZsFaDQ755ymUWudXfoiUioEZnLRju/oqtBR+tHO4vVjnFs0tAH+nroe7IlBVMKi GQkQ== X-Gm-Message-State: APt69E0e//wqBixt6bGgXx8jRDXoDFOtI0FI+t2V6tQE6acm/hDFKT1s rBZfM2+vTYWKLdg13k50pJpm X-Received: by 2002:a63:7b07:: with SMTP id w7-v6mr3078778pgc.199.1528999739186; Thu, 14 Jun 2018 11:08:59 -0700 (PDT) Received: from localhost.localdomain ([2405:204:70c2:bb29:293b:24bf:4980:3a19]) by smtp.gmail.com with ESMTPSA id c74-v6sm11923363pfd.19.2018.06.14.11.08.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 11:08:58 -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: Thu, 14 Jun 2018 23:38:30 +0530 Message-Id: <20180614180839.8494-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 v3 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 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