From patchwork Mon Jun 11 04:42:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 138213 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp3898501lji; Mon, 11 Jun 2018 03:54:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJqdjoBm7WNTjKbwb4Vdp53iDak9WQrhdbJfQ+j/zgBiWcVilThrLfszUUZa4RYtGN0LN2O X-Received: by 2002:a50:91d5:: with SMTP id h21-v6mr15442652eda.3.1528714448430; Mon, 11 Jun 2018 03:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528714448; cv=none; d=google.com; s=arc-20160816; b=Bo9N5EtRUNfFthlV6LZ9Prh7KVONOAJH+7op+jKgt9He3WFhR6ywpa1rqq9BL/67rO YDv8Dj2DuG+FWBBCvc0iXyyF1PT/sNqmsea9m+qPZbLBUDNFrM5fK/aW1Pb1beGkeEbn /kJY+yWmERUWqvrL3LnNX5aVPbScHuibCD7FLbzzd77NjUfLZUnh0qhJhFKZkVFyv18E IKVk+GZg18M56pHko8gihB7cCnONbYs/9rYpvLyjFJSYAcwQh3IUMwYg5HOL2JHhbWX4 5QsXepffbjzoKEzzqu9hHGmY8ltTd7wz+jRcMStwEoJBKGlu6Y7UMcgvt7bAW/YGDmFM m88A== 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=5PCPv1Q5SfrDpbit83o62/MW2c7wkuuNs/wfkqb7MvA=; b=l2XPpnzkh68hLl2N7tK0pkM4UX2yYl/wg9lOoK5vPnB6Qz4Uw5aLE48DwMgc5ve9V1 x+9/CfEtI+bM7bzGOeMIW4F2cfrwMGs1vj6FYxNZGoEM4Mgpf1bCjgNuaFLi5rQ9hKR7 BJHkHWNHMXYl0K2DslxipafmN+VLF4Z6hJ3Ol7O/3d1MMLPL+KyCvOYPabmgQ/dc/1hI vrQFsOxC8QH2pE3UK8Rh3sPdMVtFVuRRS3WvzCtvUpRdhXt5t4f1BIwbFkYF6gMwFgFR Qx48x5be9sx4IQapWARfDBg5s2WJC9eiqs4w8begdKUqcCFbet300EErwBJzBI9PeTOA 7sIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=E5WKiyWu; 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 f5-v6si261901edn.275.2018.06.11.03.54.08; Mon, 11 Jun 2018 03:54:08 -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=E5WKiyWu; 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 0046FC21DDC; Mon, 11 Jun 2018 10:53: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=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 1017BC21D8E; Mon, 11 Jun 2018 10:52:54 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E0D9EC21C50; Mon, 11 Jun 2018 04:43:27 +0000 (UTC) Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by lists.denx.de (Postfix) with ESMTPS id 054D3C21C27 for ; Mon, 11 Jun 2018 04:43:25 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id az12-v6so11570736plb.8 for ; Sun, 10 Jun 2018 21:43:24 -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=iSO3QlKNYX2sie7BLZGCJAMrdKGYSXGSPMlfjGlKqjM=; b=E5WKiyWutxF15qgnF2XWpAvr4ncmMfcego3ZD0VGDHdVlX2mA8R22n0qIUPzBDNCM3 33QTgN8Kue3N8obdQtMJ+AR1qSCdpVh89P/ZD8PJsOVAzJskftOdGl0wKcXMCJKipgth z7BfxmVggz+pKUB31Y8jkR27X5Rjs1L7jn/Ts= 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=iSO3QlKNYX2sie7BLZGCJAMrdKGYSXGSPMlfjGlKqjM=; b=h7+AlqCUXNc6C8peATqqVvTM5ZS6vcdZMLAhj93AzAC21QG/RqFkByOCbj/L3qrENj i9Wij0PLy9+IcML3KPpIIS1Iw3LE8+OM4VXW6jLXx07n7ksbbRo1dtnU2JxCBBsQ6pkk FAF92BqvoGI8jKbZiou8Kj135GIQwiOTnyu5XVBwMcx35hdylrV58wOHEUndZWHQVvk8 nF+cMxvDGkj5SQ9ww+Hxi/CUPZNgGIuD7GdoHgfw1umezy8NT+TNDb7wvxuoe/bDttQq ykH8EOW6e5ADGQ7K2475gjhVSW3tS6/kF3fx5GMCMx9Oqx2a9AOzhjfBxOvw39pmI/D7 pqrw== X-Gm-Message-State: APt69E2/FnR55JVDWD+fc4esQYkd7SySPNukLIDGv6MhJn0NYjSNrX1H RTprtdHcXHWAnK1jIdyeZsZlZtl4rA== X-Received: by 2002:a17:902:301:: with SMTP id 1-v6mr16771345pld.127.1528692203234; Sun, 10 Jun 2018 21:43:23 -0700 (PDT) Received: from localhost.localdomain ([2405:204:714c:560c:5161:793c:10bb:7502]) by smtp.gmail.com with ESMTPSA id j15-v6sm35232298pgv.17.2018.06.10.21.43.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 21:43:22 -0700 (PDT) From: Manivannan Sadhasivam To: u-boot@lists.denx.de Date: Mon, 11 Jun 2018 10:12:56 +0530 Message-Id: <20180611044305.4009-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Mon, 11 Jun 2018 10:52:50 +0000 Cc: daniel.thompson@linaro.org, bdong@ucrobotics.com, 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 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_owl.h | 61 +++++++++ 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 | 4 + drivers/clk/owl/clk_owl.c | 60 ++++++++ drivers/clk/owl/clk_s900.c | 104 ++++++++++++++ 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 +++++++++++ 26 files changed, 840 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_owl.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_owl.c 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