From patchwork Mon Sep 9 10:30:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 826575 Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp1923402wrb; Mon, 9 Sep 2024 03:30:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWQLdFqEMUjPRN1ey9dXacW7AiVEDtSloi+sipyXEhLKhGGQdTGy2wj96CY5QNSwfTC+vetxA==@linaro.org X-Google-Smtp-Source: AGHT+IENR6aDzM0dLYX8wSXPF/NFqSiD2e/WRhK+c2/9ez7FDrS1jTvAqv7Afioaq+nWmbc6QfzP X-Received: by 2002:a17:906:4796:b0:a77:f2c5:84b3 with SMTP id a640c23a62f3a-a8a885f7981mr742702666b.22.1725877848183; Mon, 09 Sep 2024 03:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725877848; cv=none; d=google.com; s=arc-20240605; b=Ra5oDpRPqJpnFe0Z2SKVdPv8kzC7Tapj6EEVfnFCDSuwDxLjGp6VKAFtted88Bx7Ms vs2hwIMNmCBKpp8jfVxlTgfwgZvEEeZbM7meyCHFV7VSHlgRxP3MgLs0BxQYlwERRqFd m6M7dsTwHuLUzkdQZCNlOH4gVF048EnmK4pOa67oL5VcWh9UXNEayz8luf4ZVl4cJxLf e/mQfCCY1BdPWyNmd/Sl4Ipr+0vLH0Jr/dAb13L7E6LKr3eazZE+Yx2Mb8Nr+S8Usd/0 iH0vkXYgdA/338fsYRQnERaGVvJhfXZd3Q/wI897dBB/WXm/KWkrvhWveyV7obFG2fLi qXEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=+Tg0yGhCeynPoopXMy/zO+g/9tX24fuKz6fxt4JmCcE=; fh=9Kl1VwS0WhPVmWyxzGMRoi23UnAnPklcf5gQy/htzDY=; b=O030/MATQlk739HCgapPBAhakCVvjRMhiABhDDGw5ZyTAwqoZLzdohV83aHOsB6PAw Zl/i+bzbul/DN3Qy4eIcsMvPUt4hlBK5gqTok6OS5YbbevHQ+tPaWqn5lMxm2/vw5r09 /MSxdUweBTo8WacEskwn2Rzyee/SMFlVFpjKecE8I0lTl1WK2E/8vITqFb9ZFWv5n0QK gjhfo3vY/CllyKsHz+kwFoRE50YxRWjSrXYNjoIjX/iI55OCtd44679CMW9zdDS7saW6 ZFXXzZYSralEkOxJoKmrs/y2ZfRlpTe4e2cvxd5KkQQJ6Nx7VXfCM1oWNx4TZadoSnkO ryxA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hbxWnKrB; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-a8d25d65d03si343731266b.822.2024.09.09.03.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 03:30:48 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hbxWnKrB; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8B0DB88D92; Mon, 9 Sep 2024 12:30:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="hbxWnKrB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E63DC88D9E; Mon, 9 Sep 2024 12:30:39 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 0280C88D90 for ; Mon, 9 Sep 2024 12:30:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5c25f01879fso5150936a12.1 for ; Mon, 09 Sep 2024 03:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725877836; x=1726482636; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=+Tg0yGhCeynPoopXMy/zO+g/9tX24fuKz6fxt4JmCcE=; b=hbxWnKrBZ9M2hYJpZJmmizpvYEqdno3pkob4akME2EwFU8WHk7xAib18LMy5FM1wEG DSk6EEJWrgxH4oiu9ZnDq66HSM5Yj2plwvwtT/nIHZlPgpd5cH0KZcM2ltmUAD2t6vA1 IWl0/xFFNBLWd1fHU8UAEBbkMAAe+AzVkOGkujh+aimlAW37Wl51hl5kkv8xirpkDTNZ 1GoBi+9tmlvPueanyVyaoWh3a4/EDMggwCQZnJX9p+2QgICXQvI7WJ8UBpFlVlzkbrYW sGcr/y8Hj7UIJr6tKc7bhPG5hL4BYHKU6UNk156sIvtO8YzBHRbf1pdz83fCwd+pgdPI LZ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725877836; x=1726482636; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+Tg0yGhCeynPoopXMy/zO+g/9tX24fuKz6fxt4JmCcE=; b=mWnJyznYYnxFEyRGQF0ugIUfOylAzv4AsV9lj73VDteqY7eNXvOTiD4bmr+N4nst5s Tbm3buJaTXEMXPrVuopuJzdkR4XdoM9NgqT7Wpc7BsFA296rCnquhBZ91Rh4JHxVLUJk vYWDeHNpAf9szg2/0if7AvlBYgjFtUIIRuqwY9cqIEH8DOiaRDC1nIcNp2PBD7Y/T3Dp kO4F56MRKKfGn8IGYAtof9htIxrNhIoxYTWRQxwkNGBe+E3GS8rzC8/qEMIVsSIr+4AP 7+P4MeRY2uVXhPy35Fm5qe08V7dPZC9CTxsWoxqIKCK1gfukTRTQ4bjfUWw9pXg73j1v O5fA== X-Forwarded-Encrypted: i=1; AJvYcCVrDOu7X5yNiWBAb98kAsAEkxgryLlue8uXK/Q+zXDwxy+eYN/g3aVNREyHudZECuNoQbAgPM0=@lists.denx.de X-Gm-Message-State: AOJu0YyEom8jMDLaL1GSMSPJMAfg4aHqDi6/91/1kqmHkhq4TNpUZgv3 I2aD3p0kVCi0+cxkHYraFCoHw9zxbSxR6oi7xbz1/22n7odVXUZeLDZlfK9ag2M= X-Received: by 2002:a05:6402:210f:b0:5be:eaf1:807d with SMTP id 4fb4d7f45d1cf-5c3dc7c6ac3mr7644330a12.29.1725877836260; Mon, 09 Sep 2024 03:30:36 -0700 (PDT) Received: from lion.localdomain ([2a02:8109:aa0d:be00::8db]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c3ebd46733sm2822287a12.27.2024.09.09.03.30.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 03:30:35 -0700 (PDT) From: Caleb Connolly Date: Mon, 09 Sep 2024 12:30:32 +0200 Subject: [PATCH v3 1/2] clk: add stub clock driver MIME-Version: 1.0 Message-Id: <20240909-b4-clk-stub-v3-1-ef09307534d5@linaro.org> References: <20240909-b4-clk-stub-v3-0-ef09307534d5@linaro.org> In-Reply-To: <20240909-b4-clk-stub-v3-0-ef09307534d5@linaro.org> To: Tom Rini , Lukasz Majewski , Sean Anderson , Caleb Connolly , Neil Armstrong , Sumit Garg Cc: Heinrich Schuchardt , Ilias Apalodimas , u-boot@lists.denx.de, u-boot-qcom@groups.io X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=3700; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=ZIk8UXySrEHliSvXd9uuEZL7QA5mJlIxGrtnmtGB8mA=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhrR75zxsNx4JUIo98EZI8tcvU8M/ejM3pem3mMTs4A6Wm iJlwPmmo5SFQZCDQVZMkUX8xDLLprWX7TW2L7gAM4eVCWQIAxenAEykfB/D/xCdbX/krrQE1iUG 6j99+9fzrb6rcXM7a7dwwcQvLeZbPzEyLPoj3LuZp3s79/5DM7byCXxa9CfBql655YekYvKpTew rMwE= X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean Add a stub clock driver which can be used to bind clock controllers which aren't required for the platform to boot, but which are needed for U-Boot drivers to work. In addition, add a NOP parent driver to allow for binding the parent nodes of the clock. Initially this driver supports a Qualcomm platform where the MMC driver tries to fetch the RPM clock controller, which is not actually required for the device to work. Reviewed-by: Neil Armstrong Acked-by: Ilias Apalodimas Signed-off-by: Caleb Connolly --- drivers/clk/Kconfig | 7 ++++++ drivers/clk/Makefile | 1 + drivers/clk/clk-stub.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 9acbc47fe8ed..965bc4959403 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -95,8 +95,15 @@ config SPL_CLK_GPIO help Enable this option to add GPIO-controlled clock gate driver in U-Boot SPL. +config CLK_STUB + bool "Stub clock driver" + depends on CLK + help + Enable this to provide a stub clock driver for non-essential clock + controllers. + config CLK_BCM6345 bool "Clock controller driver for BCM6345" depends on CLK && ARCH_BMIPS default y diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 847b9b291100..b2cea41419b7 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -10,8 +10,9 @@ obj-$(CONFIG_$(SPL_TPL_)CLK) += clk_fixed_factor.o obj-$(CONFIG_$(SPL_TPL_)CLK_CCF) += clk.o clk-divider.o clk-mux.o clk-gate.o obj-$(CONFIG_$(SPL_TPL_)CLK_CCF) += clk-fixed-factor.o obj-$(CONFIG_$(SPL_TPL_)CLK_COMPOSITE_CCF) += clk-composite.o obj-$(CONFIG_$(SPL_TPL_)CLK_GPIO) += clk-gpio.o +obj-$(CONFIG_CLK_STUB) += clk-stub.o obj-y += adi/ obj-y += analogbits/ obj-y += imx/ diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c new file mode 100644 index 000000000000..ea817031fa6c --- /dev/null +++ b/drivers/clk/clk-stub.c @@ -0,0 +1,66 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Stub clk driver for non-essential clocks. + * + * This driver should be used for clock controllers + * which are described as dependencies in DT but aren't + * actually necessary for hardware functionality. + */ + +#include +#include + +/* NOP parent nodes to stub clocks */ +static const struct udevice_id nop_parent_ids[] = { + { .compatible = "qcom,rpm-proc" }, + { .compatible = "qcom,glink-rpm" }, + { .compatible = "qcom,rpm-sm6115" }, + { } +}; + +U_BOOT_DRIVER(nop_parent) = { + .name = "nop_parent", + .id = UCLASS_NOP, + .of_match = nop_parent_ids, + .bind = dm_scan_fdt_dev, + .flags = DM_FLAG_DEFAULT_PD_CTRL_OFF, +}; + +static ulong stub_clk_set_rate(struct clk *clk, ulong rate) +{ + return (clk->rate = rate); +} + +static ulong stub_clk_get_rate(struct clk *clk) +{ + return clk->rate; +} + +static int stub_clk_nop(struct clk *clk) +{ + return 0; +} + +static struct clk_ops stub_clk_ops = { + .set_rate = stub_clk_set_rate, + .get_rate = stub_clk_get_rate, + .enable = stub_clk_nop, + .disable = stub_clk_nop, +}; + +static const struct udevice_id stub_clk_ids[] = { + { .compatible = "qcom,rpmcc" }, + { .compatible = "qcom,sm8250-rpmh-clk" }, + { .compatible = "qcom,sm8550-rpmh-clk" }, + { .compatible = "qcom,sm8650-rpmh-clk" }, + { } +}; + +U_BOOT_DRIVER(clk_stub) = { + .name = "clk_stub", + .id = UCLASS_CLK, + .ops = &stub_clk_ops, + .of_match = stub_clk_ids, + .flags = DM_FLAG_DEFAULT_PD_CTRL_OFF, +}; + From patchwork Mon Sep 9 10:30:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 826576 Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp1923464wrb; Mon, 9 Sep 2024 03:30:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXhQBntsNZBdSklr+kANFEtUs1exgjraGhFA5Dy2P0KgHRkzr8A6nbTV7u6S3ZWZDBFwzth9g==@linaro.org X-Google-Smtp-Source: AGHT+IGzZGjoyhi/hYupBhuvFNEAq9zeOUnh+ODjNOJGmngSAoD/iSUmiLv/BvRWOMp+VMDePKqV X-Received: by 2002:a17:907:7ea1:b0:a8b:6ee7:ba2c with SMTP id a640c23a62f3a-a8b70ee9409mr605925966b.16.1725877857429; Mon, 09 Sep 2024 03:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725877857; cv=none; d=google.com; s=arc-20240605; b=a23GGUHLXWvjGPaDDXubHTmdTQWQnRaa2XdROmmHFaB6ohNB6SPykqktdod7MU1tgQ 8RCK5OJ4RhpDGz2Q/9yVdHyZV6HSrH0A7UDNfcuvsDDL28IA7tr5fgyIdiasExkH7tsU EPO7MmcmJlER9sCOnVlQQiG+qazCBG4Irf+4ey5/bi2C1UnALiJTsz1WGbHg9HkkL/lN 3W3qXxZSPU2p+k3QESXF8l0lgvqHlzo6PYqBP7IPcVwBMd7eo+OLqMwuaUi79FDE9mi5 VmkcoMBv+kArYLvdcdKuJN5wGURbmoh0fTlfuMV4BtOZDGYC7ma+mz69N1VW61AfZzFz wy3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Mi15XKWYmicpB8d0P38/d1YCpd8kNtO2VsH8ZAQ+ugQ=; fh=FjGimutPTTdB/yF2dEc0GoXbh9mTs2iSL8l/vAyRSNQ=; b=VBd9UqDpYtTpNPdzBy4cll1iVEkJdmT3MwsGifioNL7Evhs80QeUlr5Ny1zgVarJEU 1+at9yY/iyA8Le/tkKhGh/ZpWB+qOeACStfCoaaUWW0xWPk1sAVyHbTM2kjMMmn52wta PDIq4tQQOblFU7xjREloFuyvLeYhFkUUlARYM47yrb3cGPr0Npsh01V4D9x9qLa/uhT5 afKsF6HOqt15aaQL0eJldNz1zNWrF+eLlAiWNE49jHpriOcjXuP1WIeg2p5CNB8hDCBd y/sMzp7AhvZYLCrZfntBYOlq/ojK3+sXplkgcDSdRcMtb1ysT34uKDzZMhHPBCZqbwc3 BWHw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GZCJ6i/L"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-a8d2586477asi348293666b.140.2024.09.09.03.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 03:30:57 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GZCJ6i/L"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E83EE88D9C; Mon, 9 Sep 2024 12:30:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="GZCJ6i/L"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A96DF88D94; Mon, 9 Sep 2024 12:30:40 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 C227988D9A for ; Mon, 9 Sep 2024 12:30:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5c2561e8041so4573388a12.2 for ; Mon, 09 Sep 2024 03:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725877838; x=1726482638; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Mi15XKWYmicpB8d0P38/d1YCpd8kNtO2VsH8ZAQ+ugQ=; b=GZCJ6i/L70fCFvSYDoSuPUQ0MBkrAgOlf6h9P0XzesUxQX53JPPjucKFjYNLT7gRas 2zOXe5k9y8DDG0yTL+VZFy1kHEu15jRQyUttGb716Krageljpl15bGUNvVdRP3dU/jBo /yufOYn4G/8AV6RyVT7m2NI+2eR3XOqCwRL6mBVDB12XlHK5QMBydl9RTrmZTFbJx5U3 LihpOxCJTKFyT/FYYgHME/7V2b1qOhPgvoiVK8Jlz+F9gYT5KifrZHf7cWdjpZIb+xl0 LDfE0rWHmgx7gnSBH6CrMrCNIw9XbwzjKPgJfOA3oLAL30w3CNwoW/BgUUh5Owku2K8o HA1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725877838; x=1726482638; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Mi15XKWYmicpB8d0P38/d1YCpd8kNtO2VsH8ZAQ+ugQ=; b=Urz1BKw8R3oJauqDICDcHgVAFF39Zhmn0VcZONs+GcJw9+MHnu4UWIENvcR7bXlkfe tC79xufF+fQp9FuIrmyWb/Sbtik8DHWHwoEPDu5I9CE6j405hSoA88ehxcaMoKEWtz6v ecaPV9IFiUKmlqJckbpDR8r2cAA6PZoPs8ddZLtWCX1EzQUQYhpvpMqR+qV7Kkl9MMT7 w4oIKIXypyyK5cPd25JLs+O4ZmPne1pkyvgbK2sFD4MDMuTsRwzYKewvcTiVsxoHn925 V5W42fM6oomXwHZCFbZYfUmryuXQjuTaiiKUY8i0DhRPq7Fpts1TNVLahrGWmrxMx5T7 rgdQ== X-Forwarded-Encrypted: i=1; AJvYcCUItVri7N4p5o0rnGjaPUjzlPI5Ecb8r6MTPXEHOJ/0ue/nk5T77ZhUYf3xG0Dc2CdtBoEGvhk=@lists.denx.de X-Gm-Message-State: AOJu0YxMD8oumYYZD5z82w9d0En+eLEBe3j3kUGhsc1Rq8INpl2PFNkx kIYhGgkym/HjckwPaknj1PCKhZlASk5OUTS9UxataDGr0fehVAZ6ZECFZhLsxd0= X-Received: by 2002:a05:6402:35c1:b0:5c2:112e:f106 with SMTP id 4fb4d7f45d1cf-5c3e95354f8mr5028043a12.3.1725877838028; Mon, 09 Sep 2024 03:30:38 -0700 (PDT) Received: from lion.localdomain ([2a02:8109:aa0d:be00::8db]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c3ebd46733sm2822287a12.27.2024.09.09.03.30.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 03:30:36 -0700 (PDT) From: Caleb Connolly Date: Mon, 09 Sep 2024 12:30:33 +0200 Subject: [PATCH v3 2/2] qcom_defconfig: enable stub clock MIME-Version: 1.0 Message-Id: <20240909-b4-clk-stub-v3-2-ef09307534d5@linaro.org> References: <20240909-b4-clk-stub-v3-0-ef09307534d5@linaro.org> In-Reply-To: <20240909-b4-clk-stub-v3-0-ef09307534d5@linaro.org> To: Tom Rini , Lukasz Majewski , Sean Anderson , Caleb Connolly , Neil Armstrong , Sumit Garg Cc: Heinrich Schuchardt , Ilias Apalodimas , u-boot@lists.denx.de, u-boot-qcom@groups.io X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=724; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=S563xq/0B3eIs5xDd1khgPjrL40NOHgJDl9j8z56vEY=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhrR75zy+T734cmnAk5lv7FjeKdf82bj21D6lJu821ztyR c42Pb63OkpZGAQ5GGTFFFnETyyzbFp72V5j+4ILMHNYmUCGMHBxCsBETmgz/Hffq7/VurdkdV60 8RVjaa4boedO/zDZ8X/jzDWxWXwR69oZ/lcf667MZ65I4z96Sab70YU1rIIN2d/NlE5+rV64xGt qgA4A X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean Enable the stub clock driver for rpmcc Reviewed-by: Neil Armstrong Acked-by: Ilias Apalodimas Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index edbb624baf0c..2e8422dc1a88 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -48,8 +48,9 @@ CONFIG_CLK_QCOM_SDM845=y CONFIG_CLK_QCOM_SM6115=y CONFIG_CLK_QCOM_SM8250=y CONFIG_CLK_QCOM_SM8550=y CONFIG_CLK_QCOM_SM8650=y +CONFIG_CLK_STUB=y CONFIG_MSM_GPIO=y CONFIG_QCOM_PMIC_GPIO=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_QUP=y