Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2368824rwb; Sun, 6 Aug 2023 16:58:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHec4UJjj2WG/F5o+SdoWEzmwzX7221oie3Zk9bUOe8noFmP4X5ginAQoyPo2ySfasZwVDf X-Received: by 2002:a17:902:a40b:b0:1bc:2d43:c741 with SMTP id p11-20020a170902a40b00b001bc2d43c741mr7019006plq.66.1691366320768; Sun, 06 Aug 2023 16:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691366320; cv=none; d=google.com; s=arc-20160816; b=wC+hZnk9jQo72ckoTZqvV8/CA/CoaC6Ydy6Woy+Q5iGFB8DpbABPa6PfK/paUwf+qP 3eMShY6XAtlF/siECdesOK3yX6QHffZdPJLl6YSh0wAvksV+8KbV0IxF7ROknr94kMDi y7Y0xI+uyhJvGJinrHQ1NgytOg+C8CaiiDbhpU54lyZ+UfqWHscExxNW6OXaiXW2M3GE 00rMizyYqtDktEphgVr+vz/n+aNDsd08id8ffHAAqBcyZSroWMc22V3U/L2sVr4K0ELO 01cCi/ihZ24CYzbj5CiC34qcL6DS/wq+WumAXovoWcc5WxM0Bxj889rztOzTB0WrnMvB SoiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=JUlUeVUC5StFr1+uAYzg+P/QF0FcI+bk5VzEE447slQ=; fh=Dfq1ts06sYxGvIJVVjUTMJpGr2FA7xlp2Nabj023Yrw=; b=R4ZDh2a7IxsDAYme4iZ+NR4i+eVOmRfouTlUkNAxL4Ug2bru9gsRcsKm2ZtgeP5ZLy 11nV3GDOeibq78Hzb0g8Op9VV2Bu3kFKjg+y+oUOkUnwqCOdQikVUOBPWmhY6dbHF4jd P5q2attoPLfpgOQOdaZLZirPQ0+SIrdmb78qehAjB2rRpd+L6z0ELoHXKxJZJq7w2/I/ +zgvEBRzAtsA07zM0+Mh4uxDSeh8VpnIB4o6eDyjJjqsiIZFRJJ9dLAyVI5CQDkr55Th XYK6Cojp3xvgA55nj3kaSICiXRM61aTH9OWJrUqNWcN2/o7r9Gl4cFWnnABlVHEfSTHF n8zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ErSAgGPv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iw6-20020a170903044600b001bbd2805e05si4797727plb.603.2023.08.06.16.58.28; Sun, 06 Aug 2023 16:58:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ErSAgGPv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230088AbjHFXEF (ORCPT + 99 others); Sun, 6 Aug 2023 19:04:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjHFXEE (ORCPT ); Sun, 6 Aug 2023 19:04:04 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAAE2170B for ; Sun, 6 Aug 2023 16:04:03 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-267fcd6985cso2783080a91.2 for ; Sun, 06 Aug 2023 16:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691363043; x=1691967843; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=JUlUeVUC5StFr1+uAYzg+P/QF0FcI+bk5VzEE447slQ=; b=ErSAgGPvjUhLEGa61Q7MlM2pAugzQK2gvE0bEmDLgraoxjgu9TQBexPIuTnc3LoBjF jgq2xtLn1Ay//oE+jqrpMUk3nWEKGK6udZqYmywb9MrsjM7SJDjaVWG4TF1prpN6VT7u Q9i710tKnl/V5UoBiA72LHcHdBfMMdPDmumHFQzjGgXS9OmiHvSvFnpO+QlwBE0CajQL DgQsl4YvE42GV2UGJumIIoK5w4q8tS0CDP4B2x//FsQx278Yj4mPeb+YUQi4Ng10qsXg 6hSc2YB/yiuTxIprV7B2uaT25ifxrU/7HnCHLGYOHrYOioGR+Ymar4zI3tngkov0TFmh xaVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691363043; x=1691967843; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JUlUeVUC5StFr1+uAYzg+P/QF0FcI+bk5VzEE447slQ=; b=lDQhyojhN24BBYIBKO2lb7wfzzIKwmXF2BNNSlMiodLfEbfXWV4zmnfqSKNG0LjuFE ZLtVSm010hkNDY5Mn47Pw05rmKHggFTXqbeiCsPmnNKQDAweraNINRpqSK/91/4LEDWK cMYUiFI5tV25M7GyiBs04GZ7TwFlb3B6AmJ8IZnPqsRsNQ9N0SnZICWVS75Nwp88uh27 /hgN4YM8Bwy1Aba8lHd3ssWP/aFo7f61+5dkRX0yUhWcD/h9bdm2gEjexrlgloT0uuo+ nzYRamjLYaSTNud3i3XA6X6lxlY4Dt+1GQZ/BCEj7/aY+qOc475QF6Vap9bMr+n8HuBn rbeA== X-Gm-Message-State: AOJu0YxarzK/o5EaIacyFBHFshXJGx6aOXZ0eSX5qN5vvN8+cVHgu2cK BLRrCgqvx68BBhzFGfCvJE9EY+/tZB09aqgZXNQ0/N4JK8k= X-Received: by 2002:a17:90a:dc06:b0:261:2a59:dc38 with SMTP id i6-20020a17090adc0600b002612a59dc38mr8193088pjv.25.1691363043082; Sun, 06 Aug 2023 16:04:03 -0700 (PDT) MIME-Version: 1.0 From: Adam Ford Date: Sun, 6 Aug 2023 18:03:51 -0500 Message-ID: Subject: Possible regression from "arm64: dts: imx8mp: don't initialize audio clocks from CCM node" To: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Richard Cochran , arm-soc , Linux Kernel Mailing List , Lucas Stach Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lucas, I can't find the original e-mail or I would have replied to that, so my apologies. This patch removed the clock configurations for AUDIO_PLL1 and PLL2, but it went beyond just that by also removing the clock parenting for IMX8MP_CLK_AUDIO_AHB, and IMX8MP_CLK_AUDIO_AXI_SRC which are tied into the SDMA2/3 systems. With this parenting removed, the SDMA2 and SDMA3 clocks are slowed to 24MHz. Per the TRM, "The SDMA2/3 target frequency is 400MHz IPG and 400MHz AHB, always 1:1 mode, to make sure there is enough throughput for all the audio use cases." With the parenting and clock rates restored for IMX8MP_CLK_AUDIO_AHB, and IMX8MP_CLK_AUDIO_AXI_SRC, it appears the SDMA2 and SDMA3 run at 400MHz. This also matches the NXP downstream kernel. Any objections if I partially revert your patch so IMX8MP_CLK_AUDIO_AHB and IMX8MP_CLK_AUDIO_AXI_SRC return to their previous condition? If you don't like it on the clk node, we could move the clock-parenting and rate setting to the audio_blk_ctrl node since the sdma2 and sdma3 both reference these clocks. It just needs to be set somewhere before the clocks are turned on or we cannot reparent them. I won't plan to revert the Audio_PLL1 or AUDIO_PLL2 clock stuff as that is board specific, but I would like to fix 16c984524862 ("arm64: dts: imx8mp: don't initialize audio clocks from CCM node") Let me know your thoughts. thanks, adam