Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3286800lqp; Tue, 26 Mar 2024 05:23:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWewYBDnTvzhRS1Lmr8V2yqX2omY7Wi05HqTvdj2F+t8uKYJi5eMkS/3aGozfsJs4RW3cSrGGIUMMaOH8pktY4XC5UI2wCHIOwOta0QPg== X-Google-Smtp-Source: AGHT+IGUIaSjyf+pzIpAVE4uJhp2L8fNUna8t7WQ2GkKqn4Qy0LjPSsv8UYFzRBpiY3yEPZOjKVr X-Received: by 2002:a17:903:22cb:b0:1dd:bf6c:8973 with SMTP id y11-20020a17090322cb00b001ddbf6c8973mr11795576plg.68.1711455791831; Tue, 26 Mar 2024 05:23:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711455791; cv=pass; d=google.com; s=arc-20160816; b=davZKNHXv0lNRCiKBXwmEluiJ+g3YRo2aT9pog+hugykDdQgropTlMgXMuJM3FoVvW mRyqQ2GCCEklZx1uVvaTNXdYbzaXoMN7idxBHYEmaC4ZZ55H+qnuK1YHdihWjRkfdQwk TyKHBcXPZoHTuCFrhVS7NKbX5tQF+9i0m5Qf4qP8+zPzvU11QGAJ0SdZf2UNT4QQmfjo LrG04ipVtzGh0yGE1IBflTxxN4y3U704z4XlMF7oJiQ5BeeDtAHlS3YlAI8KpcRI0eZz iJ75bqs3lERFefBIGdk6ZtWqvPOfFkXPt8m7KPdozYN4yNFn2TAqISf+xC1nFWKMKa/Y Nkuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WoURj/14G0NifwtISNU+J95pRmo7RZa6RxObycfeSr8=; fh=DQfWcJ7a6lABpgAjlslbt+lALChD4jPOSQFW0XC7h54=; b=NCdVlGxnLUfbiVjmadyBZ7KrWStKKeTpdiqrjbwHWV+VqlF/TU4w5KZuC308n/ojDZ t38zOOFMbxCk1hq/deEnXapDQl17rdF7ggprs5TAF/vFbsJjfSY+4sAL9/+Jn8LDZ+VN FfevqgVL8n4wYQKNOjQYrxX7BH75A0VtjY8nv1vJ4MoqrN5hXIsHJ4nqj6ttPFKYQgaG wcW5u9ifFpQB4nehsm/1X9HdxmlVAw2KnJAtarCzgS15i4pFJFC+8fIlposYGXT5dANq Bp7bg8cPKeL+B/OVwNDYfRd76dbomG3LkMPNS9/YWUGrvvINcpOdFac+eqJ3amxcDbN2 xq/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="hGcr//8f"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-118633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118633-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n1-20020a170902e54100b001e09468e715si5804818plf.92.2024.03.26.05.23.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 05:23:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="hGcr//8f"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-118633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118633-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C5875B21BD7 for ; Tue, 26 Mar 2024 09:21:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4D765B1EB; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hGcr//8f" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79C07482FE; Tue, 26 Mar 2024 09:20:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711444840; cv=none; b=X1CnFEbwlhvTUE65VgCzepCRHrSMq8IHnxbd6xa9/9Lgg77/ZyhiVaOfZRKt2wxe34q+pa0jA4ZjSRzTME8CTKSlHU9WNH+uyTtTccmlAae9ih6DZAXdCdjRXFVpdu9tzy1w/O4GacBskNamblIjNWcHqNk1Wo6huWtfYMD9PTA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711444840; c=relaxed/simple; bh=WiRSAn42/ezrkipYNOyyOGrQPGEGFtC64bdKfjRQmaM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=S2J97ak9lG05Het39rSdIXQP6/6sQpgi5/HbL3HI9GF8FfbmBd0kXJZVD7nZ/gUfPTAvZONzvHu6bC9wmZGzZyIheqFnTPVbHKucWYbnljP/lsBEWrutBwyDcV+Xf8x9cS3HHEllyiSrVcYsfwf7maMARYhlS4iBqCo20GgTIMo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hGcr//8f; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711444840; x=1742980840; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WiRSAn42/ezrkipYNOyyOGrQPGEGFtC64bdKfjRQmaM=; b=hGcr//8f9yRcPlHDN0T/OA275aE3SIYLZ2rRYY6mIBIsSc+ay73bciBr SwLbkwMI6L0FWR5cEb0poMkOa+QqFxJz5fMBtMcUf6NqUoOYIfqt8ffMi kLTJ21PE+JJZtyoYOGP5AxXGW45Q1i9huVBxJ/FVjdWW7ox5ynCqjbZfT d2DkFlQ3GtOmUuzy09Lj2LHdUsYRHUo5lXZTMl0P4ooeCZWvKAh3V51uM lGzAgBE+rFDnAzzj8qtc0Rn9gce8/2YZgNObQxIpEP8iNOftXzfxdozxG GyisYxNZn7m8aTW+7XjvtlUyKGN6m3yu64+lvgQ6bxGkKY/7QltYjUXg8 A==; X-IronPort-AV: E=McAfee;i="6600,9927,11024"; a="6350336" X-IronPort-AV: E=Sophos;i="6.07,155,1708416000"; d="scan'208";a="6350336" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 02:20:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,155,1708416000"; d="scan'208";a="16293260" Received: from yungchua-ws.ostc.intel.com (HELO yungchua-ws.intel.com) ([10.54.69.90]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 02:20:36 -0700 From: Bard Liao To: linux-sound@vger.kernel.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH 1/7] soundwire: cadence: show the bus frequency and frame shape Date: Tue, 26 Mar 2024 09:20:24 +0000 Message-Id: <20240326092030.1062802-2-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326092030.1062802-1-yung-chuan.liao@linux.intel.com> References: <20240326092030.1062802-1-yung-chuan.liao@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Pierre-Louis Bossart This log is useful when trying different configurations, specifically to make sure ACPI initrd overrides have been taken into account. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao --- drivers/soundwire/cadence_master.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/soundwire/cadence_master.c b/drivers/soundwire/cadence_master.c index c2c1463a5c53..74da99034dab 100644 --- a/drivers/soundwire/cadence_master.c +++ b/drivers/soundwire/cadence_master.c @@ -1319,6 +1319,12 @@ static void cdns_init_clock_ctrl(struct sdw_cdns *cdns) u32 ssp_interval; int divider; + dev_dbg(cdns->dev, "mclk %d max %d row %d col %d\n", + prop->mclk_freq, + prop->max_clk_freq, + prop->default_row, + prop->default_col); + /* Set clock divider */ divider = (prop->mclk_freq / prop->max_clk_freq) - 1; -- 2.34.1