Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp676148imw; Mon, 4 Jul 2022 17:43:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v5w12nE+MBOkuqSDy3RsH54FuFt/+4/Eq3RrR5Ln3I5ucARSG4/wvwvgjff+kwX3b1CjFV X-Received: by 2002:a17:907:d26:b0:726:6d3a:a336 with SMTP id gn38-20020a1709070d2600b007266d3aa336mr31711172ejc.469.1656981806793; Mon, 04 Jul 2022 17:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656981806; cv=none; d=google.com; s=arc-20160816; b=bT5eJhJgwkwi46zVOKD6Jgs5htJoxLoXx/lZNFrGhx35IygcHMrtPSaVwNzJXCkQ2s OIA7ogVXvuOzVIajdHPhANEOA0hhYxN0h3i/Sjo/OZbRwg6yTCs+y4s+D/i9W0F4Kgn3 y7Ne1Fnv+SSBHYF1VzprTSFnp8AO/V1H4ZHtROXHbXUEAU28AT700KQKZrZLMVyt2Jme JGL2FDNa0B6lBgdm6C4tbHhOEi3n8oSmCHMn8K3KcW4TtaFoQuPy4ZniDZFs+QmAgCGn woxb64G5zt4ljU0UazAmIzyDn0h1xdz7evqaP2aJmy0opzdl7X7P7KXIEgY+5541MB2q Wu0Q== 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=M6otGQPXByCmqQOEZb6NfsRysBs03c79Nvh2GFDoJtmhvqXzPS3GQZyvsN3DTA8P7U +Nyf46QJLmaM9FZBdrM9mdGXb22zCkienqKlY393utTUKhMKn66tv8v4lYsGLcyzBz+m 09eTo4+9H54oN+kVAIQyyjC+RqvHz7fa/a1iW4IahwVkpEtO2UNHtdNL41JMeBEjrkt+ +NUHJRkWXGiZCgyPHZsT5yjQqcekXftlcrfsgkIWn7fW2/X5mrZxmdRdr1Y47UhZklyB e8/3Hwh5eD5/lSTuMUGgNjHd7l0su2RxQwpS5HCw61HswxSCHecS9RNMvGhyiMg7vjIl XxNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=K5jw+2Lg; 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 f14-20020a056402354e00b0043580e5e8bdsi16903263edd.459.2022.07.04.17.43.02; Mon, 04 Jul 2022 17:43:26 -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=K5jw+2Lg; 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 S231758AbiGEASV (ORCPT + 99 others); Mon, 4 Jul 2022 20:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbiGEASU (ORCPT ); Mon, 4 Jul 2022 20:18:20 -0400 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F850B7C4 for ; Mon, 4 Jul 2022 17:18:18 -0700 (PDT) Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20220705001816epoutp0213251dc2f52b5007f1822f932a79f408~_xsz3bVOc0225802258epoutp02J for ; Tue, 5 Jul 2022 00:18:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20220705001816epoutp0213251dc2f52b5007f1822f932a79f408~_xsz3bVOc0225802258epoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1656980296; bh=nXvJxR90Rt4/+tTG+sHkx/Q/nA1jXNywfZNn4ag0N3Q=; h=From:To:Cc:Subject:Date:References:From; b=K5jw+2Lg3WsZ7cAxMKCSVSoZsSvOj00OnyMKwim1Q7S4yOLLjTz40M1ODYww8P1hc KDYfvItCR05zqgyksZcNyQVABIc9qLVYWvp5NgtXvwTk9QlQUaP1Sh+EORPMLcK8r1 fpdDSG8g+/UglRZz0IlCRIzf1xDqW4gn9FUlcINc= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20220705001815epcas1p3fcb0562e6c0c9856ce5bfb21b8169bfb~_xszHY5lk0586705867epcas1p38; Tue, 5 Jul 2022 00:18:15 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.36.223]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4LcNYg2jjtz4x9Q7; Tue, 5 Jul 2022 00:18:15 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id D8.49.09657.74383C26; Tue, 5 Jul 2022 09:18:15 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20220705001814epcas1p40a4eadbf8429f01a98bdb56f00ba3310~_xsyW3e421272212722epcas1p4-; Tue, 5 Jul 2022 00:18:14 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220705001814epsmtrp1b0b4e9c61824d267cc1e2186ef5fb2ce~_xsyVXYhE2344523445epsmtrp1k; Tue, 5 Jul 2022 00:18:14 +0000 (GMT) X-AuditID: b6c32a35-733ff700000025b9-41-62c383471cb5 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 2D.1B.08802.64383C26; Tue, 5 Jul 2022 09:18:14 +0900 (KST) Received: from localhost.localdomain (unknown [10.253.101.71]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220705001814epsmtip27f827b29108ec939aca3f257405085fc~_xsyFoXX_0649106491epsmtip2T; Tue, 5 Jul 2022 00:18:14 +0000 (GMT) From: Seunghui Lee To: ulf.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:50:35 +0900 Message-Id: <20220705005035.14195-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+NgFtrOJsWRmVeSWpSXmKPExsWy7bCmga578+Ekg4u7BC3a3y1jt5hxqo3V Yt+1k+wWv/6uZ7doXryezaJj62Qmix3Pz7Bb7PrbzGRxedccNosj//sZLRa0fGC1OHfyE6tF 0599LBbXzpxgtbg9cTKjxfG14RabL31jcRD0mLem2uPCTm6PO9f2sHnsn7uG3aP/r4FH35ZV jB6fN8kFsEdl22SkJqakFimk5iXnp2TmpdsqeQfH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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: 20220705001814epcas1p40a4eadbf8429f01a98bdb56f00ba3310 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, 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