From patchwork Thu Apr 8 07:50:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 1463677 X-Patchwork-Delegate: narmstrong@baylibre.com 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=mDTQebQ7; 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 4FGD3n4PpDz9sRf for ; Thu, 8 Apr 2021 17:51:33 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AD4CA80C6D; Thu, 8 Apr 2021 09:51:12 +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="mDTQebQ7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 89B9480023; Thu, 8 Apr 2021 09:50:57 +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-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 ADC3380023 for ; Thu, 8 Apr 2021 09:50:52 +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-wm1-x32c.google.com with SMTP id u5-20020a7bcb050000b029010e9316b9d5so708574wmj.2 for ; Thu, 08 Apr 2021 00:50:52 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=T4UK1HGpwacgQnIR66GrbloBcdaZEV/lJ1M+Zn93Zu4=; b=mDTQebQ7ijvs2C6BIUUzZEFt+d6T6LEK+QuqoepbPvbL8ksIQ2oE0OS+J81dwCvOAu L23YkSlySnV9XCfYqPeykd4ToEBOb//7si7+mSXBDSfm3gyPa+UxnBf673XRyTRRu1X6 odD3RSQvRzLOQypzEZQPg06QmkxaHrMAhTheykmeOCV5ZzJHDNx73K3RyQ5ggqQIzI75 UpuuK6qAEFSdnGQ6mr8GGN7cEQDqRwdkvnlLmHzZA0N9mY+14PxHwA+QDVPzLbAEU3k7 i+wsg8dn957maysx8n69nveFfjK6q2j8MNXrvweL9qXwqGByBrD55SlZB1hwFRI+vNHQ DIDQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=T4UK1HGpwacgQnIR66GrbloBcdaZEV/lJ1M+Zn93Zu4=; b=P98MewuxbrJemccu/e6QV3ja+ONenVxckGALLCVbNX+1eb1a9vRkWZsqHtwEsctMBg 0tpZcirtRh6KfBE+UQjZNvOHMDUjFfdS74d9hNFsTU1wIai0JSYjVTefvdE8jABeqP2d ERL8Qt5MPCe+hhdGegacMkulYFXzlnSMZKfyTma9sS5CPGd+tusHJ0oCE0rHpT8Uq4pm z882p91kdzCdZYDJ7pJQsjmNPpoZz2RBlz7Ez9bHb61pZ2FzwVFpU8a9+c/9uMtYQ1OX pBOMUwElncS0AdhJrUSvZp5uXVazo/KG7KNECfKbo7cxHEpSM9mQiGfe/OYv3yih2zvz M96A== X-Gm-Message-State: AOAM531p64CCJxT0j3j41lBe8fP8uqOVL+5G99szEjaDQTgxgIJ7Yiil Zj4YKJgVQIJzvNpaf0JdvolL+jWE8QyejtFI X-Google-Smtp-Source: ABdhPJzRMCJsuUA5gbcFuQ3fKM+X42XXTnyaqIW80k0lrk65HaIa66e82WV1yFjDxrXmsruFrx2Y9g== X-Received: by 2002:a1c:23c7:: with SMTP id j190mr6999415wmj.130.1617868251903; Thu, 08 Apr 2021 00:50:51 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 00:50:51 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de Cc: u-boot-amlogic@groups.io, Neil Armstrong Subject: [PATCH 1/5] clk: meson-g12a: add PCIe gates Date: Thu, 8 Apr 2021 09:50:43 +0200 Message-Id: <20210408075047.4076954-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408075047.4076954-1-narmstrong@baylibre.com> References: <20210408075047.4076954-1-narmstrong@baylibre.com> 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 Add missing gates used for PCIe. Signed-off-by: Neil Armstrong --- drivers/clk/meson/g12a.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index 5058db1a47..e4fed8ddfb 100644 --- a/drivers/clk/meson/g12a.c +++ b/drivers/clk/meson/g12a.c @@ -120,7 +120,9 @@ static struct meson_gate gates[NUM_CLKS] = { MESON_GATE(CLKID_SD_EMMC_C, HHI_GCLK_MPEG0, 26), MESON_GATE(CLKID_ETH, HHI_GCLK_MPEG1, 3), MESON_GATE(CLKID_UART1, HHI_GCLK_MPEG1, 16), + MESON_GATE(CLKID_PCIE_COMB, HHI_GCLK_MPEG1, 24), MESON_GATE(CLKID_USB, HHI_GCLK_MPEG1, 25), + MESON_GATE(CLKID_PCIE_PHY, HHI_GCLK_MPEG1, 27), MESON_GATE(CLKID_HTX_PCLK, HHI_GCLK_MPEG2, 4), MESON_GATE(CLKID_USB1_DDR_BRIDGE, HHI_GCLK_MPEG2, 8), MESON_GATE(CLKID_VPU_INTR, HHI_GCLK_MPEG2, 25),