From patchwork Mon Mar 17 16:15:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 874171 Delivered-To: patch@linaro.org Received: by 2002:a5d:4308:0:b0:38f:210b:807b with SMTP id h8csp2080696wrq; Mon, 17 Mar 2025 09:15:15 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVNUG0N8ODzfYCkZJh+QMLD8lDajtaQCtk1YykgzI54jQMjA4mX2eR8Y1LHufUIVOxwmpzCaw==@linaro.org X-Google-Smtp-Source: AGHT+IGUfh/orAaS7K8ZaVG9j1VMJyJkrZNmCLiyWC22itzzNMydy/V36Vs5fKmBo190lWZftgkJ X-Received: by 2002:a05:6808:1587:b0:3f9:17f9:3099 with SMTP id 5614622812f47-3fea18976e0mr194272b6e.27.1742228115162; Mon, 17 Mar 2025 09:15:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1742228115; cv=none; d=google.com; s=arc-20240605; b=bt4xQOn+sLL7NRhceR8tDPpi/rl5r49guYYeZSyJd7Kjn9V5Zkn0fIUR7qJRcCXUuO 1JdHHZFSyL9BGhuDyhFQA3+5hvDlm1pTXV7zTfGVWMxRqo829A0XWALLvjFTCW54daZV 9eCsGm3rhQuai3B4XQMGuTTg1P0XeS/HCuIatMI+vbpPDXjNd4zmcXwZikdO3eLU6aiw 3E2SHxo1sC++/LaRjU0Q9W3TDXnjB0/PGFwKzg7DYhTK5V33en1+8Va1XBlACdVBKDyU 4He2MG7pqg6LEoAfkBNS9KiLVZLfo69k27fvnkjdupCr8JfNYX/VC3QOqDKDvNqxJS1+ IUWg== 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:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=OlYp+T/WrcCp147ydxryHYMEk/JNE5GvgNZjLLX92/8=; fh=mSg2cuwzy63FM3aK/r2EkBAvRn1vfQloAzdqwul3nnE=; b=Qx7iSwzuPf1K21gVlXOZnx2auFzVwFxcY3rk+oLSAPN8EZ3cgWZ/YCfnIq9tRhmpVE F8zA6VfjcAjzq5hxeBZ1wMLb7ja2LRoSLt/aQ1fdIQG1DKVpz701f+CinstrhzvojiAo WWVUTaBjyjgiUWiPLqMAkmWi6QNXzLZvAhN4WubvL7FSlPF0ilIzrfzu4MbYRadu5EAb llpPLIo76JdQjSs8bamAacp2PDTSfLtI4wN1IV3TqpnIAGusZhtr8nQpXZ6vsOjoeUz2 ewwkx5Dpc5XEqTIzuHoa+c76aypPp/vqppvhCrAHVPLbjsj2tFiTpEu92APFkfJTU4ZH Myiw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DoMAcecQ; 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; dara=neutral header.i=@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 5614622812f47-3fcd62daad6si5381185b6e.233.2025.03.17.09.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 09:15:15 -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=DoMAcecQ; 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; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2FAEC811DF; Mon, 17 Mar 2025 17:15:12 +0100 (CET) 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="DoMAcecQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 059D3800B3; Mon, 17 Mar 2025 17:15:11 +0100 (CET) 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 B10CC80F70 for ; Mon, 17 Mar 2025 17:15:08 +0100 (CET) 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-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3913cf69784so3945163f8f.1 for ; Mon, 17 Mar 2025 09:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1742228108; x=1742832908; darn=lists.denx.de; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=OlYp+T/WrcCp147ydxryHYMEk/JNE5GvgNZjLLX92/8=; b=DoMAcecQTWmDKDOAJ38T6dGWhC+BvSpAQGWHT09JW/X39JK5siaiebtsXIf+Y/IDsu E7xyBbNtyK8DaY9bYKgDfVmxQzsO0N/VHNyxeWETw35xUHelylWaBCHWam77U5ttL/Xi 8SWe1ZhgvYKLiJDPSkSO7jvgFLyynI6FbxfKla+waujCO5OY7S6bvd7U3PxYS/EPcvw0 SnlDRSvpkZKhgsbVKWpr66POB0IFpGUEpG3QzQ1FVGZeLnOMagcPg0/1y4pCpUfbZRvw wZBl47XnbdGBLWzwMVVB0TNCUAJRpox/BmH6KzakrvBqyfGXsD1qcaI97qvZHrhrMVT6 ujbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742228108; x=1742832908; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OlYp+T/WrcCp147ydxryHYMEk/JNE5GvgNZjLLX92/8=; b=uawkUjnR4Aa2bUZqjo4//jf+PYPDHTcENSSUNQqLw2kD4hzY5E+dJEmOAYTVv3WImo kYD6Z+Pqk3sw5waC0SWNsrBwmQgkOSs7An8sMg5e7IfyeUGQwyQGcjXjucnANwDRsOt7 QmRjUTnNsHX57gnb0zjwekoetyZ+TvzFGLTSQU11mVQpb5syx3VR3NQLZBcYvdq1CiKB M4QKU/SdIeF/qUI1xMTXXSVytG7vID6ct26g0vad+52Ym8WVny7Clv42stFu1TmDNCZZ jAUILMy9YrYVzHq5WF0UIhMAMqklo/1aMOnC2a3i6VEC0/oGUIsTpdjCmgPW9gK7J8ZA y+fg== X-Gm-Message-State: AOJu0Yw6COIsP+dwFFwi7gjUMQ6N1cEj2BBDc/K7usvy2cBKi5W89LKU 2JR10DAmZpDd6re+hWYcqhazGnBFH+U3ZXicyC45bUop6XpcC/QeapqkGGWc5Io= X-Gm-Gg: ASbGncvm2h45TsXvpa/CXWo2D8pxPT0ktJiEG6Xqo60y5Fprq+gHZkdOhM8rDceTzyI gYnWjq77Bzv3r2lYuCyBof2C7UxmH7/9hdN5av806HLGqKno2P1PctwVVZ4m8bdrPWZliYXyUAd dZgIdBIebMbSa/YJzWOOEx9ua7nSqXcY6ymrr8Eqkv6sElMzXiTZtT0QkoLKzdCf8SnsbegdWUl uuKJxr3LJMzkrg46G1FmWAP1YWIZJqtLc8QRBpIXQ8j/NbgGwvn0sUFgs/8xqqm5h8+MnCHG7Nz 1hHgu1c+mACAwCiF6RhtQY0ZRnZT5eq2yT8mek3Sy9Yk4O4uwvaN7KwnoQrH X-Received: by 2002:a5d:47ae:0:b0:391:a43:8bbd with SMTP id ffacd0b85a97d-3971e876615mr15190446f8f.21.1742228108001; Mon, 17 Mar 2025 09:15:08 -0700 (PDT) Received: from [192.168.1.116] ([2a0a:ef40:1d11:ab01:670b:cd84:4753:5ae9]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c888167bsm15382001f8f.45.2025.03.17.09.15.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 09:15:07 -0700 (PDT) From: Caleb Connolly Subject: [PATCH 0/2] clk/qcom: fix UFS and MMC clock enable errors Date: Mon, 17 Mar 2025 16:15:00 +0000 Message-Id: <20250317-sc7280-mmc-ufs-clocks-v1-0-38e05c16511b@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIRK2GcC/z2Oy07DMBQFfyXyGiM/Y5MV/4G6cG6Oi0UdF9+2Q qr674QWWM6RzmiugtELWEzDVXRcCpe2bqCfBkHvad1DlmVjYZTxyuogmYKJStZK8pxZ0qHRB8t g1eK9gvMhiu177Mjl6+592z244/O86U+PUcyJIanVWk7ToKAzudFnpNFgTnjR2WQ/0hyNRZxtA LQK4UddwZzuXdPwW+X+q1rHX9JFSyWRFu9cDGQjXg9lTb09t74Xu9vtG+jLRnP7AAAA X-Change-ID: 20250317-sc7280-mmc-ufs-clocks-730d550e4578 To: Lukasz Majewski , Sean Anderson , Tom Rini , Caleb Connolly , Neil Armstrong , Sumit Garg Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=793; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=dUBBxNb/0o/lyAVsoojZAGq5B6OU/TtTrZkIkmyHC1E=; b=owEBbQKS/ZANAwAKAQWDMSsZX2S2AcsmYgBn2EqKIhE3hXe1SlLtEKhK6IShJFKyRfQQ4GmP0 J8nNPdDTW+JAjMEAAEKAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZ9hKigAKCRAFgzErGV9k tjX5EACQcbQj8ylmzAvO9/mq7xsrE3H4sVajfzqn4HslpCwC//5xLOTfglzmWz/rV7gOy7H57KV TcOtVnM4vslYnQ3KccaZGTIwTZ9RRbRF7vkV6PE/1EKb5gWqwPxwKMdMnzu8vRMkHBNEbeAWghe EsLdcvE9FQ2vByDFjQmEzNdqbLuqzJFbOKJwfhSaLpAQbOD8tWb1n8Q+tIxs+HQZ2FPlL2WLBBL HrXdRQQWKfQj3t03DfVxEY5QAh2a95gTlxReEKg0mU2MD4+6h2cFxfBJ2SAne69J3krQ/QcXZZl q957M8AH6ThNlaMIJxXuGGD7ZRBvu8H3Skn87yWA9bRwahbvY9XvuB8ArnK35UKSu/mHrJYh+GM wqDcZ4BW9qlgl570KI2tR+l+0lPYCe/PDVJCSom8NmiKHqx0uPc6QQ2cCVwG+qgY7WV1C/ZxPc6 NVbvl+4kzMC5PAzupwhzXGTy43KnkmCeEGhCvlAvH+1GaFpj6D3tdTXDS578L/pQhS4ty6qyNF+ hj6sHLhDV0rUGfYEPhz9oQXNS7ZGqmSSSqPEcOQJxrBjq+sUIbByYU0hawgCz1HtPkDMsrobps6 PgmfumdjGW1VmlbYACr7VgYX2UJ4e30KkHHLGkqjUqa69+aIHeIglRWHSJckN07sVXRo7soYdIk bp1Owwt1wNxKErA== 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 We're missing a few clocks that the MMC and UFS drivers try to enable on SC7280. These aren't fatal (the clocks are actually already enabled by the previous bootloader stage). But it's good practise to enable them anyway. This doesn't handle programming the RCGs (the parent clocks) since we expect them to be enabled. This depends on https://lore.kernel.org/u-boot/20250314-sc7280-more-clocks-v1-0-ead54487c38e@linaro.org --- Caleb Connolly (2): clk/stub: add sc7280-rpmh clock clk/qcom: sc7280: add missing UFS and MMC clocks drivers/clk/clk-stub.c | 1 + drivers/clk/qcom/clock-sc7280.c | 11 +++++++++++ 2 files changed, 12 insertions(+) --- base-commit: 0e1fc465fea62ebae91f2f56cb823e8b37ee1077 Caleb Connolly