From patchwork Wed Oct 19 11:06:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Shih X-Patchwork-Id: 5322 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp285371wrs; Wed, 19 Oct 2022 05:07:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6hBwXl+GZnvoCuPVbd+72yYsfJMLGGS7UhnPMsrv2hfz7aZlulZXuqIA/DFhdszHfxibdK X-Received: by 2002:a17:902:7589:b0:178:4ded:a90a with SMTP id j9-20020a170902758900b001784deda90amr8147037pll.74.1666181260244; Wed, 19 Oct 2022 05:07:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666181260; cv=none; d=google.com; s=arc-20160816; b=FupnxuQXiwHmgY/HVuKhU8DzqSgasCkJObgt6ewUbk4iVxz9DDe1eCZ0NopFW0yM8m I0QfETleTSZRDgQsdwLYuLahquW5L33S0ozHS8+34eiV/Cxl67Jjx3Rdn0z2B9fdtLiK 9ie6MtUJXFoEkuwjvMx/mxCifeukaFtSxQAlAaQUqs4tcx3xOGmR4zfqusJZ0WTtxIO+ wCSpdtYcGlPsn65zuYHnybzY7bmXl0eeMKUJLQfb9KJZv0H0ParBgcHLnma8osc51POo Iuk/B5ub04YKD3t0WR3oblXEyxZxILGetFOI4JU0Oi857HC27Fgre4gFlRqEh4cYSdNb oeFQ== 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=ZZ56b3Pd2/JFz9ikCbuTIxSmT+ihwbhXOqm2bkZLHfk=; b=zQJIlOW3FQwcfx1GQ/84twNTvbjEQJL4bLOUeL/zbHmT3gnep0NjlQD2ZALn7+9yyV XjXsU431Wb5qT0aAAkp8Vq4yfUiGnm5W7zPs+xDoMXQDTc3d3ET//2/uDujB38Tf0qJt q/aSiVQobBN/kVzTK/I2bNeVgiYn5Fcp+jvrvA8xhidpi9r+wzYI1PLAFewx5UZ7If+B W8t/tlPSKQo+DF+z0TIKemcUf15ZDsbr0juloOcnEZrVddY5EpJLKoE7B7wtEDfcTKuj gC3l0rzNE7iU9cxvuZCdKUw0ZzjgIkHIjEmWxunGhOdjN1I4pM3SUWQV2LgfpjWMB/Pc iZfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L8YBH+bJ; 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 w15-20020a63fb4f000000b00460fb53730fsi18468270pgj.706.2022.10.19.05.07.25; Wed, 19 Oct 2022 05:07: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=20210112 header.b=L8YBH+bJ; 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 S232397AbiJSMFg (ORCPT + 99 others); Wed, 19 Oct 2022 08:05:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232383AbiJSMFL (ORCPT ); Wed, 19 Oct 2022 08:05:11 -0400 Received: from mail-vk1-xa32.google.com (mail-vk1-xa32.google.com [IPv6:2607:f8b0:4864:20::a32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67E44422F1; Wed, 19 Oct 2022 04:41:24 -0700 (PDT) Received: by mail-vk1-xa32.google.com with SMTP id s185so8199243vkb.0; Wed, 19 Oct 2022 04:41:24 -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=ZZ56b3Pd2/JFz9ikCbuTIxSmT+ihwbhXOqm2bkZLHfk=; b=L8YBH+bJRG7658QN/fyihnDWDpl7YNkmWYkfpF3lr13cw5o52FPW6xP3dTsqejrdye 4FJrG10jFh5zZcTdKgli0C5Me929K7orCjqtgph6H7lW5uAiyAcPql5ZcHEeoKNQbUYb Ib8or7ALte4+3ZYegAdJNVLguIUsfg2nf1VX4sco0sx5PkbWMribnsEtFYJ9977JwyIW BGbCQU8S5xEIx6ORFIX9iemmF4umWb82fnYmR4734dXDFP2zymZrZeUIg+mJe+mGU1Xd jt8kVMuYGydiltoumeobjT6wvdKfudyGb+bjJT5B3NsTUDH8Am4+arK+TBvtDS/mGp6n Dc1g== 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=ZZ56b3Pd2/JFz9ikCbuTIxSmT+ihwbhXOqm2bkZLHfk=; b=QCrs0wSIACZKI9J64vZ6IFcHdf3h04JoBM7YSPYgEGzypCqQf0tdTjeekIufZ0JD6S HVzKvPaaQOkqi2+hFlxXJJw0C3PzoDtqu/hBB7V1F2vm4xj7qN3Ssh3gtoKhgZjLFYDu ULg+e/ZhTgYMwb2jYrZNAOcxWBk6Pj37Tq1eoB4H5JnhTqSUbKQzxKq0QVARKTqOCd0U X6KAlFYD28l3sM7/LjW+SsbYHlXasZ7gGKpzlXWZVfa43LqizcIMAipps4ocxFkQTzx0 2x2zoupE5O9whYXRjtNV/n4pW41k2NSvX/IHELOR+PSw6tP404Vo+9n33QnBqbnCHj4Y GHbw== X-Gm-Message-State: ACrzQf2iTeiyjvM0blyXsXpFUuatN/eK0ymPXgSAgsMwC2yMtzoDL8Ef mtbX6mJZFQbICs3W1H+F3eOZlNUj394= X-Received: by 2002:a17:902:b597:b0:182:8547:ae57 with SMTP id a23-20020a170902b59700b001828547ae57mr7940543pls.92.1666177637658; Wed, 19 Oct 2022 04:07:17 -0700 (PDT) Received: from localhost.localdomain (2001-b400-e258-8c34-821b-9613-557f-bd8d.emome-ip6.hinet.net. [2001:b400:e258:8c34:821b:9613:557f:bd8d]) by smtp.gmail.com with ESMTPSA id cc11-20020a17090af10b00b0020dc318a43esm8696225pjb.25.2022.10.19.04.07.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 04:07:17 -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: Wed, 19 Oct 2022 19:06:28 +0800 Message-Id: <20221019110647.11076-8-victor.shih@genesyslogic.com.tw> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019110647.11076-1-victor.shih@genesyslogic.com.tw> References: <20221019110647.11076-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?1747117680964112762?= X-GMAIL-MSGID: =?utf-8?q?1747117680964112762?= 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 f324daadaf70..7e53cca97934 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