Message ID | 20190415093239.27509-1-thierry.reding@gmail.com |
---|---|
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aIfHh9Po"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44jNZr1ySSz9s0W for <incoming@patchwork.ozlabs.org>; Mon, 15 Apr 2019 19:32:50 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D1BCEC21E44; Mon, 15 Apr 2019 09:32:45 +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=FREEMAIL_FROM, 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 AE302C21DD4; Mon, 15 Apr 2019 09:32:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 783C7C21DC1; Mon, 15 Apr 2019 09:32:41 +0000 (UTC) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by lists.denx.de (Postfix) with ESMTPS id 254AAC21DB3 for <u-boot@lists.denx.de>; Mon, 15 Apr 2019 09:32:41 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id w15so19447151wmc.3 for <u-boot@lists.denx.de>; Mon, 15 Apr 2019 02:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zC2dlkOlLhZDtvLl0fQdY+Yzk+Z4/IbVmAxHi9Ifsko=; b=aIfHh9PothpLsDg3pud4fp8/Z6QA8cGdlMOBOYQQixVNHyHHaoYZgb+cnJ6udvux+y B+TpneuwZOFs0sfjtKMLVC1sEJOVAZ3nXpBGsN3GOEDn0LNYIulntmy4jLgS1v8XYWWV DN3Ya7Xq2L649TiKHsKaXg+welu6qd5U6bmQmX7cxT9TrL5WrX/5xVQ2eGPOLgeB8ul+ wRXfQpbGkn3AiPMpMFAtyXuNi7yclcIZS9TybJ3NDGuM4Dw2dVVPgCINo1evIBIL6fAU 45eYLAMc8hNjWL7KhBBuWC24iqtfKyvo+aFdn+/LbOa09kR75t33Hb6rPM97cIa0xp3Q l1PA== 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=zC2dlkOlLhZDtvLl0fQdY+Yzk+Z4/IbVmAxHi9Ifsko=; b=CP2CE8Ax+lk7qNef3eknk8qV3MgDsJjMjr4xHhQw6ArmBqfc5f0uyf3y54OVCpgzA7 Z3h8WSia8aVZu4nS7rVyIjZFOCsazX2qrzWr3Jg40+qcDLEzanlHngwA7JMplZHsMjMd Q8Vo5Ogfuv9aIOhD3LRb9EWRViz0KPAvTkTuIFLEp9aklRTbWwX2GM/Q8KjvdMt1JjKL mvZUytnsvCF9tG8Pwy7IYPZZU01QY4Fzvbgd13BfDdKRtyZNylkiOrqjFWLO3VR2sa3C W3ImHles0+KREVtxyeuULdeslCnFvXkLWopvQ6/7SjAPao2xsql3rduA9csLkXhg+jpi KR9Q== X-Gm-Message-State: APjAAAWpeidHUrzlEokTl9Z6iR+/2HVbFJudy6G53dy7fyK8bomCjJ5j oolzqYfgPP6KEOtbzsIha0Q= X-Google-Smtp-Source: APXvYqzVTmsepVxslptQi1HKfLPkZPreYpjFbVDSxFbusLTuUheDBXQfOXHVv4+l39JeV3307Ws32A== X-Received: by 2002:a1c:544f:: with SMTP id p15mr20601185wmi.65.1555320760670; Mon, 15 Apr 2019 02:32:40 -0700 (PDT) Received: from localhost (p2E5BE61D.dip0.t-ipconnect.de. [46.91.230.29]) by smtp.gmail.com with ESMTPSA id b3sm49276709wrx.57.2019.04.15.02.32.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Apr 2019 02:32:40 -0700 (PDT) From: Thierry Reding <thierry.reding@gmail.com> To: Tom Warren <twarren@nvidia.com>, Simon Glass <sjg@chromium.org> Date: Mon, 15 Apr 2019 11:32:12 +0200 Message-Id: <20190415093239.27509-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: u-boot@lists.denx.de, Jon Hunter <jonathanh@nvidia.com> Subject: [U-Boot] [PATCH v5 00/27] ARM: tegra: Miscalleneous improvements X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
ARM: tegra: Miscalleneous improvements
|
expand
|
From: Thierry Reding <treding@nvidia.com> Hi Tom, Stephen, this in the fifth installment of this series of miscellaneous improvements for Tegra support. The main changes since the last version are: - Add two patches from the "framebuffer carveout" series since Simon has already picked up the libfdt and fdtdec specific parts. - Fix the MAC address regression found by Stephen's test system. This is done by writing the MAC address to U-Boot's control DTB rather than storing it in the environment and thereby confusing Ethernet drivers if more than one device are present in the system. - I've also added the Jetson Nano patch to the series since it has changed slightly. The issue of the pinmux spreadsheet is still open, so this isn't quite ready to be merged, but I wanted to solicit more feedback, so that this is already reviewed by the time the pinmux spreadsheet issue is resolved. Simon, I've included another patch for a new fdtdec function in this series because the first user is introduced here. It'd be great if you could provide an Acked-by on the first patch so that Tom can pick it up and send out as part of the PR for the entire series once it's been reviewed and passed Stephen's test system. The second patch is also required later in the series. There's no explicit maintainer for lib/string.c, but you show up in the output for scripts/get_maintainer.pl for the second patch, so perhaps you could also give an Acked-by on that? Alternatively you could pick up patches 1 and 2 so that Tom can base his PR on your tree (or master, later on), if that's what you guys prefer. Actually, this might be better anyway, since there might be a tiny merge conflict between the fdtdec patch in this series and the other ones that I sent out earlier. Thanks, Thierry Thierry Reding (27): fdtdec: Add fdtdec_set_ethernet_mac_address() lib: Implement strndup() ARM: tegra: Fix mux type for disp1 and disp2 clocks on Tegra210 ARM: tegra: Remove disp1 clock initialization on Tegra210 ARM: tegra: Use common header for PMU declarations ARM: tegra: Guard clock code with a Kconfig symbol ARM: tegra: Guard GP pad control code with a Kconfig symbol ARM: tegra: Guard memory controller code with a Kconfig symbol ARM: tegra: Guard pin controller code with a Kconfig symbol ARM: tegra: Guard powergate code with a Kconfig symbol ARM: tegra: Fix save_boot_params() prototype ARM: tegra: Allow boards to override boot target devices ARM: tegra: Support TZ-only access to PMC ARM: tegra: Workaround UDC boot issues only if necessary ARM: tegra: Restore DRAM bank count ARM: tegra: Unify Tegra186 builds ARM: tegra: Implement cboot_save_boot_params() in C ARM: tegra: Implement cboot_get_ethaddr() ARM: tegra: Import cbootargs value from cboot DTB ARM: tegra: Enable position independent build for 64-bit p2371-2180: Pass Ethernet MAC to the kernel p2771-0000: Pass Ethernet MAC to the kernel p2371-2180: Add support for framebuffer carveouts p2771-0000: Add support for framebuffer carveouts ARM: tegra: Rename pcie-controller to pcie ARM: tegra: Mark built-in Ethernet as default on Jetson TX2 ARM: tegra: Add NVIDIA Jetson Nano Developer Kit support arch/arm/dts/Makefile | 3 +- arch/arm/dts/tegra124-apalis.dts | 2 +- arch/arm/dts/tegra124-cei-tk1-som.dts | 2 +- arch/arm/dts/tegra124-jetson-tk1.dts | 2 +- arch/arm/dts/tegra124.dtsi | 2 +- arch/arm/dts/tegra186-p2771-0000-000.dts | 2 +- arch/arm/dts/tegra186-p2771-0000-500.dts | 2 +- arch/arm/dts/tegra186-p2771-0000.dtsi | 2 + arch/arm/dts/tegra186.dtsi | 2 +- arch/arm/dts/tegra20-harmony.dts | 2 +- arch/arm/dts/tegra20-trimslice.dts | 2 +- arch/arm/dts/tegra20.dtsi | 2 +- arch/arm/dts/tegra210-p2371-2180.dts | 2 +- arch/arm/dts/tegra210-p3450-0000.dts | 135 ++++ arch/arm/dts/tegra210.dtsi | 2 +- arch/arm/dts/tegra30-apalis.dts | 2 +- arch/arm/dts/tegra30-beaver.dts | 2 +- arch/arm/dts/tegra30-cardhu.dts | 2 +- arch/arm/dts/tegra30.dtsi | 2 +- arch/arm/include/asm/arch-tegra/cboot.h | 45 ++ arch/arm/include/asm/arch-tegra/pmc.h | 20 +- .../asm/{arch-tegra20 => arch-tegra}/pmu.h | 6 +- arch/arm/include/asm/arch-tegra/tegra.h | 6 + arch/arm/include/asm/arch-tegra114/pmu.h | 12 - arch/arm/include/asm/arch-tegra124/pmu.h | 13 - arch/arm/include/asm/arch-tegra210/pmu.h | 13 - arch/arm/include/asm/arch-tegra30/pmu.h | 12 - arch/arm/mach-tegra/Kconfig | 32 + arch/arm/mach-tegra/Makefile | 16 +- arch/arm/mach-tegra/board.c | 41 +- arch/arm/mach-tegra/board186.c | 32 - arch/arm/mach-tegra/board2.c | 37 +- arch/arm/mach-tegra/cache.c | 2 + arch/arm/mach-tegra/cboot.c | 620 ++++++++++++++++++ arch/arm/mach-tegra/clock.c | 13 +- arch/arm/mach-tegra/cmd_enterrcm.c | 6 +- arch/arm/mach-tegra/cpu.c | 20 +- arch/arm/mach-tegra/emc.c | 2 +- arch/arm/mach-tegra/lowlevel_init.S | 39 -- arch/arm/mach-tegra/pmc.c | 92 +++ arch/arm/mach-tegra/powergate.c | 11 +- arch/arm/mach-tegra/tegra186/Makefile | 4 - arch/arm/mach-tegra/tegra186/nvtboot_board.c | 332 ---------- arch/arm/mach-tegra/tegra186/nvtboot_ll.S | 20 - arch/arm/mach-tegra/tegra186/nvtboot_mem.c | 172 ----- arch/arm/mach-tegra/tegra210/Kconfig | 7 + arch/arm/mach-tegra/tegra210/clock.c | 11 +- board/nvidia/p2371-2180/p2371-2180.c | 97 +++ board/nvidia/p2771-0000/p2771-0000.c | 111 +++- board/nvidia/p3450-0000/Kconfig | 12 + board/nvidia/p3450-0000/MAINTAINERS | 6 + board/nvidia/p3450-0000/Makefile | 8 + board/nvidia/p3450-0000/p3450-0000.c | 198 ++++++ .../p3450-0000/pinmux-config-p3450-0000.h | 265 ++++++++ configs/e2220-1170_defconfig | 2 +- configs/p2371-0000_defconfig | 2 +- configs/p2371-2180_defconfig | 3 +- configs/p2571_defconfig | 2 +- configs/p2771-0000-000_defconfig | 3 +- configs/p2771-0000-500_defconfig | 3 +- configs/p3450-0000_defconfig | 55 ++ include/configs/p3450-0000.h | 34 + include/configs/tegra-common-post.h | 2 + include/fdtdec.h | 24 + include/linux/string.h | 1 + lib/fdtdec.c | 29 + lib/string.c | 23 + 67 files changed, 1964 insertions(+), 724 deletions(-) create mode 100644 arch/arm/dts/tegra210-p3450-0000.dts create mode 100644 arch/arm/include/asm/arch-tegra/cboot.h rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/pmu.h (73%) delete mode 100644 arch/arm/include/asm/arch-tegra114/pmu.h delete mode 100644 arch/arm/include/asm/arch-tegra124/pmu.h delete mode 100644 arch/arm/include/asm/arch-tegra210/pmu.h delete mode 100644 arch/arm/include/asm/arch-tegra30/pmu.h delete mode 100644 arch/arm/mach-tegra/board186.c create mode 100644 arch/arm/mach-tegra/cboot.c delete mode 100644 arch/arm/mach-tegra/lowlevel_init.S create mode 100644 arch/arm/mach-tegra/pmc.c delete mode 100644 arch/arm/mach-tegra/tegra186/nvtboot_board.c delete mode 100644 arch/arm/mach-tegra/tegra186/nvtboot_ll.S delete mode 100644 arch/arm/mach-tegra/tegra186/nvtboot_mem.c create mode 100644 board/nvidia/p3450-0000/Kconfig create mode 100644 board/nvidia/p3450-0000/MAINTAINERS create mode 100644 board/nvidia/p3450-0000/Makefile create mode 100644 board/nvidia/p3450-0000/p3450-0000.c create mode 100644 board/nvidia/p3450-0000/pinmux-config-p3450-0000.h create mode 100644 configs/p3450-0000_defconfig create mode 100644 include/configs/p3450-0000.h