From patchwork Mon Jun 11 15:48:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 138246 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp4215723lji; Mon, 11 Jun 2018 08:49:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIvELrbxuGLfTlEopT2yONdVQ23hbCmTbF1+GzMEQASXtm53Wyb5rxY/HM9i+SHUaPxjwcf X-Received: by 2002:a50:b84e:: with SMTP id k14-v6mr19242054ede.307.1528732149647; Mon, 11 Jun 2018 08:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528732149; cv=none; d=google.com; s=arc-20160816; b=fwFnByC8uQOv9wlLqo2OvV9w4HywggsIKkv5DcjDoEbR8qNtxj9tib6V/G815W41h/ +v3tYlL01Px/Dki/r3HSu7Eduz8QXATj7xmEo6dCb5f3KH9WnMQ55+HJXeUyb6w+b4fO cs+Zoo+A+yJCkdsL55qPAqBoMNLmjqdpkUsySXaE9tcqrNFAM549mRSsC0/JvSraC1L8 A3m1BWWkGX9K0ytoIEjtwqUzZo1j7zfFhkBYZl03hKR4o7VPF7DD+j01hSATz61Y2O/k zPFtP5RWzqpycqSVRBISK76Gb9PpsVUeb57/xfBoCEhWFUAuxFiCbLk22S506TQhbyUV 78YQ== 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=BhclM/oBY+JQY6uAd/SWAxiiqaFlIZYNuwZ9j/dZr5g6iEHsmuHe2wY0r2l2bJos6E sxgxfO5xvix4MHCozLzVIlRPDnLki09jk4Tei9hylP7ouozEffqrc58GBYGglbwDURMc jy1C+ww4qSrLm/cYLY671gdOxVZJ9HNzi+Jh4HsNi+Z56EEU2s6Y5sZxYRTMMVir3kq3 LQ/N9ofRs/mzEpGrPc2Q6CYI83lywZNYoI2+uQbGay2WEmqJvRf4L4iWTdlYArZNTeot /C0sdltS1PzOsOV3713obm8gkB5L4xkVGeEOSnVjkAny6GBlZs/NYD76/Qj2pQt8yy1z 1FJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=B3K8Om13; 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 p32-v6si1958952edp.220.2018.06.11.08.49.09; Mon, 11 Jun 2018 08:49:09 -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=B3K8Om13; 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 38194C21D8E; Mon, 11 Jun 2018 15:49:04 +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 E831CC21C57; Mon, 11 Jun 2018 15:49:01 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2A267C21C57; Mon, 11 Jun 2018 15:49:01 +0000 (UTC) Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by lists.denx.de (Postfix) with ESMTPS id 1210CC21C50 for ; Mon, 11 Jun 2018 15:48:58 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id m5-v6so9945927pgd.3 for ; Mon, 11 Jun 2018 08:48:57 -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=B3K8Om13adTS0EYkeHPzrAfwjur5ZNjr3dBw1+isbIQus1PtVLUIpIB6oxk/jCfKWZ SH7IvV+GleP2LQp1CKVDGAOgpesqgmnB8R3eqYNu5Atz22LkOB7Zl3UnPdrYMvxovVck 3DMMugmxGyRfxLl04X2eg268fhynXy/5Z1rH8= 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=GGj/rH8P6e5poRZZz3OPz7CBmUjd6cjVSJE6Uzh1+1b/T9md29XipouyqbWnqlJCbY WxZv+qs8Ha0e6UwTzaSttQy86ZUG1pksJc8YiDE9I4T0YCvcH8Gu0pyD8LSfG/Cfg8nc ujHQLiyCFwfgnGhCcUKfLnqCFLJLf8TvEPHIPRlwWZ3TSmcqc1ZpUThCK+XjN6vALOUy 2M+pqcIM/Qcz4jKMVS/F4eXZ4svWsznoHtnMuDonF98QYfbF+iMUni6O5seHz+Y2HUSd YVdPbRez0SwgmZ5C/Im3k+Z9HBkxgjNcriihAABl40RMTbS1T5x2movpoKIbMtAy5rp5 WYpw== X-Gm-Message-State: APt69E3c6hB9JdjJGSVFvSBP/VzjuZoMQwCkObFbaBPaI+saTVe/pBZW ByUnyADY2Qhwl5yVhtx5scmp X-Received: by 2002:a62:190d:: with SMTP id 13-v6mr18149351pfz.103.1528732135342; Mon, 11 Jun 2018 08:48:55 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7288:73c5:d4c6:ffd5:c258:b7e0]) by smtp.gmail.com with ESMTPSA id s1-v6sm31638261pgv.48.2018.06.11.08.48.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 08:48:54 -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: Mon, 11 Jun 2018 21:18:23 +0530 Message-Id: <20180611154832.3251-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Cc: daniel.thompson@linaro.org, manivannanece23@gmail.com, 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] [RESEND][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