From patchwork Thu Apr 8 07:50:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1463676 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=QB77ZC1l; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FGD3L13FYz9sRf for ; Thu, 8 Apr 2021 17:51:10 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 156AE8166D; Thu, 8 Apr 2021 09:50:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="QB77ZC1l"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1994C812B2; Thu, 8 Apr 2021 09:50:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8FBA680021 for ; Thu, 8 Apr 2021 09:50:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=narmstrong@baylibre.com Received: by mail-wr1-x433.google.com with SMTP id a12so1006521wrq.13 for ; Thu, 08 Apr 2021 00:50:51 -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=qPzwK4r4YeKXcIsvlQaAXJPT5ldS52xtjO38xWtsBhQ=; b=QB77ZC1l9eYO2kaVuXq6/kfAwFxU2iEJZSCNPYXF+0t6jtkcQSrJQXs6rms+KiiuJX SarF5u3qIFWFN2F+cpEtwUaQWL2LD+7ZsaCJhMa/FmEy+Jdt0+ljGvch3cLrAN13/gRj vDVEXKYzWQimdoHsOltEWGjct1exjVvvd++7Z/hbDdBpF7RvxjVOBVlWdXVvwMrx3rCB aBwa5syzyjgQm2cy36aH8obg8u0tUexQvJONmp4OY/KG+VhEJ/9M3IeZFd2bAMjps8br Yk/5xhJlemiJ14FMBqPOu+oU3q4cK4neN9RCIgE8NQKqHGigxZcySqF8GYf9J4TuqeeX rvWw== 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=qPzwK4r4YeKXcIsvlQaAXJPT5ldS52xtjO38xWtsBhQ=; b=IFqOSUu3mkhfroZF6FtFa/8RQLydkUpjGnPoddxYfxID4o0rtcrNhx2wcsnaKNe+1u Wwj6PIbYvJhAAyBlo7IKC66ENizCLF7XPH2pk0W3EUc5TeyTxMa9C3l6dVPiXDxkOtl1 4SvvfW2eNguU717/nAadYlzeNrFDGngWaS45iWBcqqfKqH4clphKbbcOEsxIk+wJlfZm lKVJ5QfdUdAk2NzXKA57YyUW0isxhJEYWInoe/5dOPOUSccGzU993a9OpNSbvKkvQrfS pwwZG1P7ssWcCbAzJF/PcrykEHTTldjOt1MIHCYbt/BArzwR4+XlG+b8wxE2LYW+dXLX IWkQ== X-Gm-Message-State: AOAM530ZHrpJVVHeL7i4XcxEM9sUWfjKn5tW5pV8rZwVEkBUUW/Ei2Yw AeMkGthdqh9I4CbXiLO91eiN3hMS3N8q/wAt X-Google-Smtp-Source: ABdhPJztEBKFlX6WBl/x0OjwCJtlmsEb9tw1Po/aU4mMM0I1GsNM7R88LoPXDMVmCcqAhoFjRxQroQ== X-Received: by 2002:a5d:420f:: with SMTP id n15mr9342778wrq.186.1617868250854; Thu, 08 Apr 2021 00:50:50 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:90c:e290:ad93:e492:9542:d59a]) by smtp.gmail.com with ESMTPSA id d7sm14954249wrw.63.2021.04.08.00.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 00:50:50 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de Cc: u-boot-amlogic@groups.io, Neil Armstrong Subject: [PATCH 0/5] ARM: khadas-vim3: enable PCIe and NVMe Date: Thu, 8 Apr 2021 09:50:42 +0200 Message-Id: <20210408075047.4076954-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean This adds the missing bits to enable PCIe and NVMe support in U-Boot for the Khadas VIM3 & VIM3L board. This serie depends on [1]. [1] https://patchwork.ozlabs.org/project/uboot/cover/20210325144921.1791892-1-narmstrong@baylibre.com/ Neil Armstrong (5): clk: meson-g12a: add PCIe gates phy: meson-g12a-usb3-pcie: add support for PCIe ops arm: dts: meson-khadas-vim3: enable PCIe in U-boot configs: khadas-vim3: enable PCIe and NVMe configs: meson64: add NVME boot target arch/arm/dts/meson-khadas-vim3-u-boot.dtsi | 4 ++ configs/khadas-vim3_defconfig | 5 ++ configs/khadas-vim3l_defconfig | 5 ++ drivers/clk/meson/g12a.c | 2 + drivers/phy/meson-g12a-usb3-pcie.c | 81 ++++++++++++++++++++-- include/configs/meson64.h | 7 ++ 6 files changed, 100 insertions(+), 4 deletions(-)