From patchwork Fri Oct 11 15:33:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1175294 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="GhakUyDU"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46qX783Q1xz9sNx for ; Sat, 12 Oct 2019 02:34:12 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 112C2C21C38; Fri, 11 Oct 2019 15:34: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=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 5CB53C21C38; Fri, 11 Oct 2019 15:34:04 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 18A64C21C2F; Fri, 11 Oct 2019 15:34:03 +0000 (UTC) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by lists.denx.de (Postfix) with ESMTPS id B7698C21BE5 for ; Fri, 11 Oct 2019 15:34:02 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id 5so10893538wmg.0 for ; Fri, 11 Oct 2019 08:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rvmDKD3KEDAfPy6WEdt2Eh3n5PUt/plWNnz3VgcO+6w=; b=GhakUyDUdObiQwWl47UK4ORJqmLI1hqbX7hZfv1zc/Q2qQUebiSIheJQw/J28M0x1s wV8fPfq0D7u19wnUueAuUx21CwlThDcjY0Q3uRiPWB+ZW2gElaJOfO0zCqsPSW6vbyGZ bIwCkTWpjMoYmaXbQRspv07AhgZNiavy/QkbRYjx5JT/VONNkkuLCvTVpDBj/P/2MVdX 0zH83gEKLv56eEegODCUz1HM1Eqy0VRVq5DBOxtlTJ8JDNJbyOYYIR5+zLZDtFLEukXb ecsGPgmXIlhbH693SXSVexyplHlJTqR2k3bz4HUPlP+vW20kciYMUBFJPbVPpuxjiWKp dOFA== 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=rvmDKD3KEDAfPy6WEdt2Eh3n5PUt/plWNnz3VgcO+6w=; b=hRt3cyljr2bws9NkVcg5ceazl6AmCfcYskABm3CubKKQC/kUF21XoOSOKcQdOAk7La ZqyEn5rkzumLZRRUmfwwVrUWXgSjdiUPXnpr5zRmY7LlEhDVt4zblN+lxblFFMBM6jsa ztMh79dNtjgxhjWktByXdmpRQx26v1KmXf8s92C16M5OOjxsORT+1n6KyM8Ys/cuXujv rZYoQ4ov1npC2/avnp0SBrgDHqlHbkpvLO+Meo90wKvL0nhVpWKR0eMYLaxEqb6ilA/m o7zG7DJKCeTOV7ZzIclKuDK0scBge+Dhsl/l3miBvaQNfJUo8UWGUlV6BmjIiCCb7CCk JuRQ== X-Gm-Message-State: APjAAAUcNFERUYerdJ1US0oT2uYNsCvRd3n7Pl5KoVaNcB42KZiNipBH bTW5voJDzVgAOJH8UbAkDsIC+aPvNoUl4A== X-Google-Smtp-Source: APXvYqzx+xsx2vn9ceDF3VNbbXL2OW/SICqjRo+0cTrLZbiYE2QiPJCgWDVf0CSPB8ryveBIv1/TaA== X-Received: by 2002:a7b:c444:: with SMTP id l4mr3753750wmi.49.1570808041916; Fri, 11 Oct 2019 08:34:01 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id r2sm13689541wrm.3.2019.10.11.08.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 08:34:01 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de Date: Fri, 11 Oct 2019 17:33:50 +0200 Message-Id: <20191011153358.29739-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Cc: u-boot-amlogic@groups.io Subject: [U-Boot] [PATCH 0/8] amlogic: add SEI610 support 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add support for the customer board SEI610 manufactured by SEI Robotics with the following specifications: - Amlogic S905X3 ARM Cortex-A35 quad-core SoC - 2GB DDR4 SDRAM - 10/100 Ethernet (Internal PHY) - 1 x USB 3.0 Host - 1 x USB Type-C DRD - 1 x FTDI USB Serial Debug Interface - eMMC - SDcard - Infrared receiver - SDIO WiFi Module Like it's SEI510 counterpart, the boot flow is designed to boot Android AOSP built for the Yukawa Android device. The SM1 SoC is very close to G12A, so it uses the same arm board code and reuses what was pushed for SEI510. For that it needs to reuse the SEI510 android boot flow into a common flow with custom partitions for each board. Guillaume La Roque (2): configs: sei510: rework header and fix userdata size configs: sei610: Add config file to fix userdata size Neil Armstrong (6): ARM: meson: add SM1 SoC id mmc: meson-gx: add support for mmc-pwrseq-emmc clk: meson-sm1: add compatible ARM: dts: Import SEI610 DT from Linux 5.4-rc2 ARM: dts: meson-sm1: add U-Boot specific DT for graphics boards: amlogic: add SEI610 support MAINTAINERS | 1 + arch/arm/dts/Makefile | 3 +- ...boot.dtsi => meson-g12-common-u-boot.dtsi} | 0 arch/arm/dts/meson-g12a-sei510-u-boot.dtsi | 2 +- arch/arm/dts/meson-g12a-u200-u-boot.dtsi | 2 +- arch/arm/dts/meson-g12b-odroid-n2-u-boot.dtsi | 2 +- arch/arm/dts/meson-sm1-sei610-u-boot.dtsi | 7 + arch/arm/dts/meson-sm1-sei610.dts | 383 ++++++++++++++++++ arch/arm/dts/meson-sm1.dtsi | 147 +++++++ arch/arm/mach-meson/board-info.c | 2 + board/amlogic/sei610/MAINTAINERS | 7 + board/amlogic/sei610/Makefile | 6 + board/amlogic/sei610/README | 119 ++++++ board/amlogic/sei610/sei610.c | 26 ++ configs/sei610_defconfig | 76 ++++ drivers/clk/meson/g12a.c | 1 + drivers/mmc/meson_gx_mmc.c | 51 +++ include/configs/meson64_android.h | 136 +++++++ include/configs/sei510.h | 121 +----- include/configs/sei610.h | 31 ++ include/dt-bindings/power/meson-sm1-power.h | 18 + 21 files changed, 1018 insertions(+), 123 deletions(-) rename arch/arm/dts/{meson-g12a-u-boot.dtsi => meson-g12-common-u-boot.dtsi} (100%) create mode 100644 arch/arm/dts/meson-sm1-sei610-u-boot.dtsi create mode 100644 arch/arm/dts/meson-sm1-sei610.dts create mode 100644 arch/arm/dts/meson-sm1.dtsi create mode 100644 board/amlogic/sei610/MAINTAINERS create mode 100644 board/amlogic/sei610/Makefile create mode 100644 board/amlogic/sei610/README create mode 100644 board/amlogic/sei610/sei610.c create mode 100644 configs/sei610_defconfig create mode 100644 include/configs/meson64_android.h create mode 100644 include/configs/sei610.h create mode 100644 include/dt-bindings/power/meson-sm1-power.h