Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp682072imw; Mon, 4 Jul 2022 17:51:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1srOSgfqx5bD4XiphyjqWIDfTK14iuvwHd+t8SJa+6bNVacsxCeH51q6x0rPc0UkZ/ChcNb X-Received: by 2002:a17:906:9c84:b0:6e0:7c75:6f01 with SMTP id fj4-20020a1709069c8400b006e07c756f01mr31356646ejc.103.1656982312374; Mon, 04 Jul 2022 17:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656982312; cv=none; d=google.com; s=arc-20160816; b=j5cnz0A3l8G93mLc7J5dSkfLP3+6SLO7sP5HgiJy/gImTE0TW25eRWuK0Q7K3mVkRk hOQyeJ3lE86ORSS4nV8wIRkOh9/KoX2WBIfALGqIeWWBR7c4HeRFPsF7zqtb7Q2pWwOw rn3IHkV8MlIre2CK+ivJi8EKdAxlBu8sifNcv0Gp6YLIMmr1u7Q0g2vjxDWaL30ETxW1 IU3bhHtbcATCyvqmy4GD5nYtcDw6tAWDdRfbxaVcqMqxoWBArHlAFXIHLbzMgMGmU6Ga m+6/r54vaKcQb1YVXXmy0Nk5tENH1heMPC/0umj5u0Kj9IkKNX58QOw2TWNgChMg77yk kKIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=nXvJxR90Rt4/+tTG+sHkx/Q/nA1jXNywfZNn4ag0N3Q=; b=0dh5y7eWbHrH2sBDaa1Vn7/diW+Y6oQ3KVxxNciNzudd110EFJfuSHIcHnTnXjCvTA 8EaBcTI+gP+CRwnZ8I5IsNcHuwZwzLNmzipj6ZYAEXC3dYX33+7pT2vglK2g0zTjsKZG Bw2he1aOdoJKeVutgDFicOyjJiFqe8Qgd3sJjPSliZf0tPrQRptBJqmxN5Gyap10Rnf6 HddkIWI9GPGfadTEkiWTyRg5FhQ+CjDeg3tsdTQlipfboqmAg+AWfqWOV/9E34ufvTxP AIto+HNhTLn9MrDyRE7mWXLHIVOR4+9RO77uqpz6RFPCKwhly1rR+I3Hl2cSxUoGsy7i PntQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jn5EktiJ; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a1709063cea00b00703cb42f1bdsi13739306ejh.181.2022.07.04.17.51.27; Mon, 04 Jul 2022 17:51:52 -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=@samsung.com header.s=mail20170921 header.b=jn5EktiJ; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231740AbiGEAR1 (ORCPT + 99 others); Mon, 4 Jul 2022 20:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231713AbiGEARY (ORCPT ); Mon, 4 Jul 2022 20:17:24 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F39AB7C4 for ; Mon, 4 Jul 2022 17:17:18 -0700 (PDT) Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220705001712epoutp0394b51610588a9013330696cef1dba504~_xr4ePypj2370323703epoutp03X for ; Tue, 5 Jul 2022 00:17:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220705001712epoutp0394b51610588a9013330696cef1dba504~_xr4ePypj2370323703epoutp03X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1656980232; bh=nXvJxR90Rt4/+tTG+sHkx/Q/nA1jXNywfZNn4ag0N3Q=; h=From:To:Cc:Subject:Date:References:From; b=jn5EktiJPA52RWRcRJK9B8uBCqZKVkAZ+8eocAjgGdarY5ulekdnHivoMjWqbXCxi uWYdb8vZblTF0ckKU2K+Ss0YW962dJngpEfIc0Ws8ycGCVg3TnAaw4rffklpYgnS06 RDdHfO6QF3yE+LwwmGwSOZ7otAPl1/w0H7s4bNlc= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20220705001711epcas1p19bff97cb752c14a26f52a5acb7d71eb2~_xr3oaJ5u2973829738epcas1p1X; Tue, 5 Jul 2022 00:17:11 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.38.241]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4LcNXR3hwxz4x9Pp; Tue, 5 Jul 2022 00:17:11 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 5C.7D.09661.70383C26; Tue, 5 Jul 2022 09:17:11 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20220705001710epcas1p40c6411bd768b39a9cff1d6ce09d445dd~_xr2ZeamZ1726517265epcas1p4w; Tue, 5 Jul 2022 00:17:10 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220705001710epsmtrp2a88d2827d98723d9d028f8b200c7eb43~_xr2YI7u22425024250epsmtrp2c; Tue, 5 Jul 2022 00:17:10 +0000 (GMT) X-AuditID: b6c32a37-2b9ff700000025bd-01-62c3830774ef Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id B0.ED.08905.60383C26; Tue, 5 Jul 2022 09:17:10 +0900 (KST) Received: from localhost.localdomain (unknown [10.253.101.71]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220705001710epsmtip273847a6ad0af2ba75255a7b46aa05d37~_xr2HjXsh0648506485epsmtip2D; Tue, 5 Jul 2022 00:17:10 +0000 (GMT) From: Seunghui Lee To: ult.hansson@linaro.org, u.kleine-koenig@pengutronix.de, gregkh@linuxfoundation.org, linux@dominikbrodowski.net, alexandre.belloni@bootlin.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: grant.jung@samsung.com, jt77.jang@samsung.com, dh0421.hwang@samsung.com, junwoo80.lee@samsung.com, jangsub.yi@samsung.com, cw9316.lee@samsung.com, sh8267.baek@samsung.com, wkon.kim@samsung.com, seunghwan.hyun@samsung.com, Seunghui Lee Subject: [PATCH] mmc: print clock frequency with recognization Date: Tue, 5 Jul 2022 09:49:29 +0900 Message-Id: <20220705004929.14143-1-sh043.lee@samsung.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBJsWRmVeSWpSXmKPExsWy7bCmni578+Ekg/aJMhbt75axW8w41cZq se/aSXaLX3/Xs1s0L17PZtGxdTKTxY7nZ9gtdv1tZrK4vGsOm8WR//2MFgtaPrBanDv5idWi 6c8+FotrZ06wWtyeOJnRYtpCC4vNl76xOAh6zFtT7XFhJ7fHnWt72Dz2z13D7tH/18Cjb8sq Ro/Pm+QC2KOybTJSE1NSixRS85LzU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dd X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220705001710epcas1p40c6411bd768b39a9cff1d6ce09d445dd References: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 It's easy to figure out how fast frequency it has from the log. e.g. mmc0: new ultra high speed SDR104 SDXC card at address aaaa(clk 202000000) Signed-off-by: Seunghui Lee --- drivers/mmc/core/bus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c index 58a60afa650b..3623cc27a61c 100644 --- a/drivers/mmc/core/bus.c +++ b/drivers/mmc/core/bus.c @@ -348,7 +348,7 @@ int mmc_add_card(struct mmc_card *card) mmc_card_ddr52(card) ? "DDR " : "", type); } else { - pr_info("%s: new %s%s%s%s%s%s card at address %04x\n", + pr_info("%s: new %s%s%s%s%s%s card at address %04x(clk %u)\n", mmc_hostname(card->host), mmc_card_uhs(card) ? "ultra high speed " : (mmc_card_hs(card) ? "high speed " : ""), @@ -356,7 +356,8 @@ int mmc_add_card(struct mmc_card *card) (mmc_card_hs200(card) ? "HS200 " : ""), mmc_card_hs400es(card) ? "Enhanced strobe " : "", mmc_card_ddr52(card) ? "DDR " : "", - uhs_bus_speed_mode, type, card->rca); + uhs_bus_speed_mode, type, card->rca, + card->host->ios.clock); } #ifdef CONFIG_DEBUG_FS -- 2.29.0