From patchwork Mon May 27 17:12:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 799231 Delivered-To: patch@linaro.org Received: by 2002:a5d:6a47:0:b0:354:fb4b:99cd with SMTP id t7csp1977911wrw; Mon, 27 May 2024 10:12:36 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVprUV75Y7U7fKPaMK7q1MwI5OjLpID1hp92wJPwxpRc1IZ3IBGmjJXwFCR6qsbNcJqXVypBq+9WQq9k3uD8IAx X-Google-Smtp-Source: AGHT+IHiKAVR93v9H6HJScUWGxKZcsxSmrsfxmtg65MYY6Ztkbth3x/rG5joewld91TdmzfiE2kA X-Received: by 2002:a19:ac0d:0:b0:51b:e46c:19fc with SMTP id 2adb3069b0e04-52966ca9178mr5515270e87.58.1716829956471; Mon, 27 May 2024 10:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716829956; cv=none; d=google.com; s=arc-20160816; b=OlLhjRJz9EujIg6qGeOrUFlraNEcLQEh+Wn/RBMXhhO3HuYR2JlBrrH/ZOusHNprj9 zvyNbT+tPFNNiWKxD8tQTrYgdcS3Pk2owlcervDJY3tZnN775ridJnbwQ2bKk/QpEV9S PnKGqqpSXYnuoqwa6wKt3rFGh3xWXMmECRGPUI6sI61txJo9xkAT6Lkno3cs8I3fGTyE Nb92S0ZOHaVNGoAxLd1VoishQt9ecyeqFE+u9YBF/Rv5k6xc7cJjXSBrLkZJfuXlUWua fXW1tVlYw4CQ+Zu2YbNWYgtFWPBbo7aDynmAlUXgtWKRg3xLJ04dkuElhNKCILizT+F2 4G7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=c73lmDzoggzLalXI0aOUnTjbEGf7tlD5nh2ao3784ws=; fh=IUn6p9DZeHVd0udYrJ3zSAp3raFJZlqm6KdDTpJh1fw=; b=AAqasHjTC/N1aFQHZ5N9YzxGpiuEH5vBhXRNus2NADJqU3/Vj20xVSRPrMk3BAYv5S Y88euqJcGBck2L/yBU4VAoX8K5vSRtOb/fVP2STeuyKvIVYDnoRA8GYstLG51l2VLxGG tzFzRA5dBoh9WHY2R3ODrzSlp2YD5ZWTZhRduLcWsdmJ6YWUW1lwcl9LNUIe4s+B6zTF 0n1BQt2dloUz0ORlR/vLCsIMJSHTJ5zcD+vM5bjmK46a8RAn09Nj8H9iApA6d+T8c+JM tL5/irf7Z/cEpAAqHmR+YhtGAwmSIjxeJWhtzUYHvS289uEvkOHfCTY+c/AO8gwBhi1j OBqw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D35aOUbC; 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 Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-a626c80108fsi411755966b.118.2024.05.27.10.12.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 10:12:36 -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=D35aOUbC; 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 Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9B10A88167; Mon, 27 May 2024 19:12:20 +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="D35aOUbC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7BC6887F6F; Mon, 27 May 2024 19:12:17 +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, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 9386C88167 for ; Mon, 27 May 2024 19:12:14 +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-lf1-x130.google.com with SMTP id 2adb3069b0e04-5295e488248so3843986e87.2 for ; Mon, 27 May 2024 10:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716829933; x=1717434733; 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=c73lmDzoggzLalXI0aOUnTjbEGf7tlD5nh2ao3784ws=; b=D35aOUbCdR+rjfDCCtVvT+jUm4cr6h9BafigggVh5YcvCSq50iUhGAAJC35D8qRkQZ JkbYzdYellBoH5xLBt69CECMj4N7pMXfG04ovraiZ2ACWLZMugIqpFVdgnI6sg5dqOMU 9lrCYgj1SuobiPxxglyvtkGEghVLw0efqFRksTZ9IMGDqmhe6fmHsv9nGoaf2GX/ix55 biTP09TPPq1pgRQQ6lhjXAErzJYxCAdz/VChw4o/CiVwbIF1Flx94d+X/VYC6FWA0pCL 9z0i4E/LBvmVt3IKhyF4SgEPTZmMWk5e8TtdDRhNLBx5h9AQ1IjSvf8dalvtxya1k+Ti 2RPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716829934; x=1717434734; 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=c73lmDzoggzLalXI0aOUnTjbEGf7tlD5nh2ao3784ws=; b=YSsoowQPS5uytvxTwXoG9kzIZFzow57PgyymPAxYy+2gm9kFHssPIYGn+DutE0uAtb EFNmQlkqk8PW/ZoSzWItvKTvnbBhtZ+5KmGQaAELIGS+QZ7uoxOc/A2/GsWnBzXWoMz4 yrfQ91xUkcZVJTmb/6Co0NwA5equoX/f4W3h8D7qV12eC9Jwg0HDEUllDt6QZas8+Yl4 P53Pk+ebgZegBl+2hnpAcGhLyEPT+EqPLan3ys3xPUvfRZ6ozrd58+YACjL1yAqb+BDO h4mAWKdhLDSTbf75MsKC2Y4hwfud4Fv56Q4WthjOCZbUkn67JyMNj8+ytcN3P3L5mALD yIkQ== X-Forwarded-Encrypted: i=1; AJvYcCUQ3uRsJiMLNfEl3VePXxAsUppjieGzPHfWHLz5Kf8fxS3DLdOjTI/dT0WxxVLH5J80yUazye+RoQLN7P9GrKeF5P98SA== X-Gm-Message-State: AOJu0YwF38ALAW8hoBLb2E8k61TJrojiNb2//R7YSKvONe9hhA3RIuDF 6QibaA0MVrju6nYj7lTvYmszxOzuXSDwbV4yQsRxVH/nWPfEgDOUydXN1FalADA6e7OQ8cP6O99 yeXw+hQ== X-Received: by 2002:a19:7502:0:b0:524:68f8:9566 with SMTP id 2adb3069b0e04-52964bb2c9dmr5864218e87.30.1716829933590; Mon, 27 May 2024 10:12:13 -0700 (PDT) Received: from [192.168.0.113] ([2a02:8109:aa0d:be00::8bb3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cda7cd3sm508009566b.216.2024.05.27.10.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 10:12:13 -0700 (PDT) From: Caleb Connolly Date: Mon, 27 May 2024 19:12:07 +0200 Subject: [PATCH v2 1/2] clk: add stub clock driver MIME-Version: 1.0 Message-Id: <20240527-b4-clk-stub-v2-1-29013855e343@linaro.org> References: <20240527-b4-clk-stub-v2-0-29013855e343@linaro.org> In-Reply-To: <20240527-b4-clk-stub-v2-0-29013855e343@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=3450; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=PwpFiXjAnydMjt8UR0PoPKsrt1R+GU+Vc9dPW5XIQyo=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBmVL7r+Y13TZNXrpDyigTyZSZ57s9mCFbKxDnha C4zDOOo0FmJAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZlS+6wAKCRAFgzErGV9k tuMeEACBkB3+ETph7+2npLZBCDuv5tGvsFp/VTur16pLwpatHi6nHd1KraFKwTCYoHG9EpbmuDx LPUUZrfz2UNgKN71F8Hp7L11cnZFiXkEcDw9XsMRITSe2dDE4dXFOntEyFPojv4iqwgMPPViYqV F9pgqvkCBGc/Y/E7rOvY55tu219FUXRZS/fBGELNt4+lN8ogblsxkypSlJH/OPhCIGdkxknoPqj XXOM5gzyI+yNQrugDNBbnTXSGuUbi9tBjvo6P7dkSKuHi9Xld4i3M9IxMQGkBiI2ZlQFaHUjIiC P8db2qr0QRwKbN+vmN87qofoiOfVdEl/FbohMVKLqiq3GwnwyIwsCOAUsUL+ikQxSQiZLfWJjV9 giClgLmQsLrASpGFbFxXtmfo0yZmSZ5xE8mYY6z4Xn65eV7IdGjcgFTKYJU6NI0AFEBPjMjM5KR xHokBtBaTDJ12S+jDIjNtR8yah4MVjNACUzGGmG5itinrYqwY0PUS+epRzV0Pf0J9OmyU0qo/bn c0ELhoLOUZPVosJOiWMHKWJHffepqnE+h5Fac9a4lD1oyoCcEH2Uax//ONy40ybHDSsJ0d0J/V2 Ei2tQOZcXU4Z/JK/Ahsdhbk8KVuUuQzt08+U2WTj41BcYYoZaI06MhJo3SUTXlx1T8jTDDNF+iV nBdIZxk4H9tdNfg== 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. Signed-off-by: Caleb Connolly --- drivers/clk/Kconfig | 7 ++++++ drivers/clk/Makefile | 1 + drivers/clk/clk-stub.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 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..3f9c758ef115 --- /dev/null +++ b/drivers/clk/clk-stub.c @@ -0,0 +1,63 @@ +// 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" }, + { } +}; + +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 May 27 17:12:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 799232 Delivered-To: patch@linaro.org Received: by 2002:a5d:6a47:0:b0:354:fb4b:99cd with SMTP id t7csp1978015wrw; Mon, 27 May 2024 10:12:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWR6skV1SlhbaqXrTJ1/LCU5JmpJ/sSxa1vTUUIQ0lEST4n9e300FQFJDgl+X3r2nDnpNOFF63UBGkqhMyzinaC X-Google-Smtp-Source: AGHT+IHuTufGP1UmS0dgOHY8a7ngHH3V9K+jUCSet0582fc3ykSqO6YokSNbnSUzZ82vhlozOpk1 X-Received: by 2002:a17:907:9510:b0:a59:a977:a154 with SMTP id a640c23a62f3a-a626536ac20mr593024966b.64.1716829972277; Mon, 27 May 2024 10:12:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716829972; cv=none; d=google.com; s=arc-20160816; b=jz7qRYAExKQwedQmznEr/16OdqoIfCLL2SDXkL149lMyu5L7qHXa3IoYjK/sfLmWf1 iFhzb9AK/cVoaYqh5qer609DuiRIwGJMfb1Fdxm7h5Btp2R8KAz12q3ZN7FvQ4H4oEY4 LvJSFjC5Dpx5u+wKgL/djb/E6CUMxktSQshZvsRunULpqWnKfOrl7fch1N20jogVgZNm zDedUWCq58yPT3glAGmi/dNmQ+c79TiGKZaVjhrX56FK/C7PinGeIKrlOQ2P0uJfT72a 61BQQtTAcJRzBdDGelm12KBz/01sQQQtfVhpIubQsp/bR4LkW8qXRLdFShaLTh7HV0ZV eGHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=Vie2XlRXPYNDzkCg+RbgF81aGatbHX57xVfle/ZK7/8=; fh=4BHrC1i6OsOO0uiyQs5sx7KqeIyO2+BenbniD+YD8Q0=; b=S5NMtPZPpsToE/q8P4Ni7Z8L8deRm0PbG3zuZNuo9Cao+Fh+6ACUX2ZBfpmIBsALgr i1Y2CxLW5d4E4FIybmTvGL+36JikDH6emEBgYtIFK1YP3GSJk7htunVqhwm6IC9K01HN B5KjSATBehPC3UAmO5K93oBQ5aKFGmgZaT+dxl7Jw1n4fy5SZucN1SjW7HWLqPI69PJx BXb1gsWtedIWwpKFKiY+YhD9K1Ayem1PH7p2w4riMYZUuiLXrDqXGIDSvTwAS11RXBxC SM2bfKxoHc23TitDOpijGD5m2Ojdq4DO5abROXAmpuTHCWpQel889/y/KKejLXGrmdgu 16Rg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PzV3xaXc; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc38b39si413683766b.377.2024.05.27.10.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 10:12:52 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PzV3xaXc; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F094788348; Mon, 27 May 2024 19:12:20 +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="PzV3xaXc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8923888167; Mon, 27 May 2024 19:12:17 +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, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 6889F88224 for ; Mon, 27 May 2024 19:12:15 +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-ej1-x633.google.com with SMTP id a640c23a62f3a-a63036f2daaso1098666b.1 for ; Mon, 27 May 2024 10:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716829934; x=1717434734; 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=Vie2XlRXPYNDzkCg+RbgF81aGatbHX57xVfle/ZK7/8=; b=PzV3xaXc+z41en9+9FKuY+Q9Xt1z084WNwAmpk7lJCTUoL5ufiXM7fRq+ODN/Mupds W9FD1D/UY+TjSLWOlY9zFePMzEJ9NX5kZMKPzgXXqL4C+1cUYVg0qufYtcYFEaC5QJtp Jm2jy9m5e/VqTPK6dB6hcuFpqZXmC0KzzaqqthIrsutefU70yfQ2jANTBD3Llcp/bpfz jpl+nD+YEfiICzfOWDZKOJRMcQgrn4QPOAxjIg5g4dFcpNBGQj8hW4cnG/N+g2X/VdZz NQW2ExJt9zXmSGa/fXySvIY5LejTEuTqmPXdZryRuk7gLw/dRZt6KM06W/z9uAZcu1tM pAQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716829934; x=1717434734; 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=Vie2XlRXPYNDzkCg+RbgF81aGatbHX57xVfle/ZK7/8=; b=llSZWDpe7noa+m5KAT+fDRCCkvHLOVNvRESmE6Sq29s9zU4TYgG9ndtnamzc7Jzt0M XSTJHQLvK1zR5dC0Q57geEiI4zYNaYkuwYCmq1m2+PHQ9IheG69KwfiKhr3o6Qhix58a g9zqTq7vKAaXxRB94EFDo9AHoE0Gd/wh5RofBsrbRXD1V44ILzJ5ZMFWboMx+PVlXgl9 SoHj1Z8MfAnNxcL4nhD57SP7XaHF1YJh9CsV/IH/FpNnSHZExMLltulWCoZkwK80BI+q fRoDgPomQ34PnsFQwZ11jPiqy+48enP/QmCs21VOUkveeAAuWZ8lqti3E1TCk04q+LOV AbhQ== X-Forwarded-Encrypted: i=1; AJvYcCVl+Q/e4yora/8JrLT8CDCL6jVrPOHsnkvJdSmMPtU8fzBz0I7nSeDJT9g1PbU1zysAh9jlNCV0cIZbzYNRq+kmKJq5qQ== X-Gm-Message-State: AOJu0YzVwHqzXLu4qVuqWAh1CCitBoXn62ihkCrrbfDwtelnr7O8M10n 046/PUXLaCUmUUFNpPl6sVc40QhPA/xQxRAYzBlUgzwZgkePRXMlj8ooWFH2jdzy9wNV2mzBNg9 nSH8drA== X-Received: by 2002:a17:906:fcb7:b0:a59:c209:3e33 with SMTP id a640c23a62f3a-a62642daa9emr665539666b.15.1716829934607; Mon, 27 May 2024 10:12:14 -0700 (PDT) Received: from [192.168.0.113] ([2a02:8109:aa0d:be00::8bb3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cda7cd3sm508009566b.216.2024.05.27.10.12.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 10:12:14 -0700 (PDT) From: Caleb Connolly Date: Mon, 27 May 2024 19:12:08 +0200 Subject: [PATCH v2 2/2] qcom_defconfig: enable stub clock MIME-Version: 1.0 Message-Id: <20240527-b4-clk-stub-v2-2-29013855e343@linaro.org> References: <20240527-b4-clk-stub-v2-0-29013855e343@linaro.org> In-Reply-To: <20240527-b4-clk-stub-v2-0-29013855e343@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=609; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=3jbLgjTFX96+/h/GNL7n9rZTxvtZUEtwrjieI1Xxg6E=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBmVL7rj55nkDfov1GjIMI7AJOZy3rIvMZBNm1WY R6fFcwMB4GJAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZlS+6wAKCRAFgzErGV9k tjRrD/99lyvkIIjYhr+yuENX5vVkiBHXuaBvJxIoKAPlUqTX+p3YbTrkMJZllUjxO25ghiCqKGP /8SDZvZ8bALLZukWwo/+xWXf4Ituwg+gTGne+SBBslzffTtdsvWqLB9eqKHWJDd9mAhWzSFuI8q CKHCOSBcTmK9Llw89JBylrE7m+rrfyftUe08m3Fo2FmyqfAAVxuvMacdSS5zK4TX4sa6xVBshLG Ssccv2YsmL6YpG1c7w97mJbRjjqH8VC7zDnC0VzLOvfpvRdIuoQRjIiBjU5uEld6c7Gr8+keEsR uLKvcQJpk+r7HanTsxFp/Zb3wAowq0pOBaeRID3abTQJz29idlSu5ka3TYlIsmqW/NqJqOStnG1 BSlef+NkfeJaYuA0CvQjHoFQ4PjYGSQExS7uS/q5lpwgIeOmD4zODSV5vjxVm7h97YTWH0+k7f7 +RY91RcjBGL1pZI8Qd4BB0joKY/HSpFmWucM6AdvA4+835M59SeRWqKqBSPFIyNhbX6YexMC4L2 uUt2lH9OwbGA0KN6be3n2JcELlUazoBoJAkvKVKo1CxxQNR9K8IhJy3UQFuo5x8Hd0j4oimWiW6 b6p8ZOBY8Udv7UyERuVrCFC0D7KdYJFK/1OxyWC/W0F1rIjLuGVXvutFYnPYif4sX8SUZ3PRVKo WwKsX0toNjjQsUg== 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 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 80ad3b32e139..65f13ae7a089 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -43,8 +43,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