From patchwork Fri Oct 14 11:45:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Shih X-Patchwork-Id: 2668 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp137765wrs; Fri, 14 Oct 2022 04:49:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7qIfHmzu2yoEWJ+N3yzGY/VNPxLoSUb4tO2qt5RCyoU1p7sjARFxLrVwrSqIAQZyYXLbP8 X-Received: by 2002:a63:b5d:0:b0:45f:d7d0:5808 with SMTP id a29-20020a630b5d000000b0045fd7d05808mr4186053pgl.330.1665748141590; Fri, 14 Oct 2022 04:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665748141; cv=none; d=google.com; s=arc-20160816; b=DaYhW3spkv55XIRbq0OnVl2jFo9SX78Z+P1lCUL/K74v3QmrF8jE/yM3+6y4epj7q5 gwAGws75wtWxNuKzQb/jgphYN1aqeCVWcR1yDLbr9qSQHfXKkPqr4CEjWNZBf0OvQhJL pQktisPm8PBJzlntDQwBJtHYU+Q/brjb5am382fBPUvI+FGhNC1xd8EyTnM+EHqhCJWp O6xcGgjOVbfwZkjvb63t/Ak+RONY+ZFkla2lGEoiFFbDwAHiJT78hmpFin3iQyau9JVf p1ovDalao9XO2SEWSX1v9G3vU/PfmUB61XVV0d/wALKTWM1ouNL8Vtd9+nvlbXiXtnjP LW+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pndTdcmBYUOsi9vNLnQJgPVCRSImYXTUpjmesPh3caE=; b=r33FjojTpbZBMCTIkmqcq57Wzs/Js3eRXNL5PTqoxRGPjlf2bEi8CUNTXfAXc2z8vU 6c6mmgMGKKPfd6274by7/Ucl6T1mvwHdaWhSNCIHttHwd7htvFQO8q54yWnf7I2BODx0 YeI1aYF9me/XqtMSoPi6hAH/3lZrDbJ6FT0VsB6Rdv0M3pL3PsVogDapPs6hcGhL7G/9 xfIcldbecQiGgo5pNGJVlIM+JL/dMqIIpG+SI3CCQM68ZIyra/pXkQL+nQMK103WRuav Dir8bYLDy19sBr4hb3xRQ/iHCZns7UgT5Bpc9pDJhMFHpOSKvFWWyCSo8papSMPnmPxW OFYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OIK0HUXY; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e20-20020a056a001a9400b00562be402e14si2777250pfv.353.2022.10.14.04.48.48; Fri, 14 Oct 2022 04:49:01 -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=20210112 header.b=OIK0HUXY; 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 S230010AbiJNLrt (ORCPT + 99 others); Fri, 14 Oct 2022 07:47:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbiJNLrm (ORCPT ); Fri, 14 Oct 2022 07:47:42 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF5541CA595; Fri, 14 Oct 2022 04:47:31 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so7667032pjq.3; Fri, 14 Oct 2022 04:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pndTdcmBYUOsi9vNLnQJgPVCRSImYXTUpjmesPh3caE=; b=OIK0HUXYxLkLmDR1b5O1tpDl+0bj/jV/c1+RX+tkeIc6bvZfYRy+E0FzY4SKaALiPH 3oxkVICIKJmHTQey6MEn7/1KRMXBwQFxQqlx2/6H6fRszD2yJSfSeTaR4FDD46YOKnsM VWV7nlEzNqBb7loX3jMHvdFa6kCobHqZO9krFhWImxrMZjzxMfLuqJ0BvpdXIBbuHs38 hXWIOTw+llzDE5l+cqSg3E0USlEthoNrwlkKVW4GShrjSKWCBl7S67s8vaL/8bJnI+pL MGP7j0W/hEXvn756vGt6QTstFwcmA6aWd9oYMIG52WGN8+uqdPHrHiLaT4Ufa2sG7JUB 9lDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pndTdcmBYUOsi9vNLnQJgPVCRSImYXTUpjmesPh3caE=; b=DLK4hDw5W6rGNt9CQgX4yGnxxaFrcrAinBKmCjBwhABdfXoBpOoqE+x3rJCFLHQroH tSGIgrDS69OvxN/kPfZd6c4U3M7mIVjEdyU89QBNpe6OpUQLZH//F0xS8vm804XMnlUe 5ZR+g/XXtIxIhEa1nyd6luPPMkAGtq0dHnMQYKA0Akfm+3WvRza262ZxAM0ZK93lH/4L c2CsgECa347Qzg4bGKM6jmfj2q1XyUK+AMpGXPbKi94obKb20LcjkziTJOuzZWQlWosy DiAPs72hjq3pV/+qiYM+8qgV6+bEGDEE6rjWemuPlBqxZqCiZDUuwzE/o4cGzLrJOiQ8 FQFw== X-Gm-Message-State: ACrzQf2jPbjtXaizc/WSTQRf54bp1bJcdugJerGNmsgmpZFO2oyaG8TF tCOjoWMwuiUdOjxvNmZ+okQ= X-Received: by 2002:a17:902:724a:b0:177:fd96:37bf with SMTP id c10-20020a170902724a00b00177fd9637bfmr4439901pll.25.1665748050772; Fri, 14 Oct 2022 04:47:30 -0700 (PDT) Received: from localhost.localdomain (2001-b400-e282-2aaa-c1aa-06c8-0e68-c5ee.emome-ip6.hinet.net. [2001:b400:e282:2aaa:c1aa:6c8:e68:c5ee]) by smtp.gmail.com with ESMTPSA id x8-20020a170902ec8800b001746f66244asm1606678plg.18.2022.10.14.04.47.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 04:47:30 -0700 (PDT) From: Victor Shih X-Google-Original-From: Victor Shih To: ulf.hansson@linaro.org, adrian.hunter@intel.com Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, benchuanggli@gmail.com, HL.Liu@genesyslogic.com.tw, Greg.tu@genesyslogic.com.tw, takahiro.akashi@linaro.org, dlunev@chromium.org, Victor Shih , Ben Chuang Subject: [PATCH V5 07/26] mmc: sdhci: add a kernel configuration for enabling UHS-II support Date: Fri, 14 Oct 2022 19:45:42 +0800 Message-Id: <20221014114601.15594-8-victor.shih@genesyslogic.com.tw> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221014114601.15594-1-victor.shih@genesyslogic.com.tw> References: <20221014114601.15594-1-victor.shih@genesyslogic.com.tw> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746663523695700813?= X-GMAIL-MSGID: =?utf-8?q?1746663523695700813?= From: AKASHI Takahiro This kernel configuration, CONFIG_MMC_SDHCI_UHS2, will be used in the following commits to indicate UHS-II specific code in sdhci controllers. Signed-off-by: Ben Chuang Signed-off-by: AKASHI Takahiro --- drivers/mmc/host/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index e63608834411..d89e7bf91c35 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -89,6 +89,15 @@ config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER This is the case for the Nintendo Wii SDHCI. +config MMC_SDHCI_UHS2 + tristate "UHS2 support on SDHCI controller" + depends on MMC_SDHCI + help + This option is selected by SDHCI controller drivers that want to + support UHS2-capable devices. + + If you have a controller with this feature, say Y or M here. + config MMC_SDHCI_PCI tristate "SDHCI support on PCI bus" depends on MMC_SDHCI && PCI