From patchwork Fri Jul 10 11:10:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Chuang X-Patchwork-Id: 235219 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp345647ilg; Fri, 10 Jul 2020 04:09:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyX6nbfTqqY0LpUpgH4kasVv6UW2ajI4oRxyVmsnTw0CQkXJmo/bEeJUS5PeLHbARDgjtGH X-Received: by 2002:aa7:d50d:: with SMTP id y13mr76502452edq.230.1594379369135; Fri, 10 Jul 2020 04:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594379369; cv=none; d=google.com; s=arc-20160816; b=Dw2Nl8Wl18Bf0vgmaXRaFkwB+veYURxaFN4Ep1Z1QrmEdYQul55DwZsUqWjT0aXMja d6vinSxdAgGVIa3bNIPwIe/zGyOfAiUUA+6qWs9aKvs+fQ3Sgi85BHpHhoabVzd5mfIA AP4v+WzB3eFkV84VNLqGFvI3n2ON+tlCcnhuMqk93pbbsN1FF6ySZl/4PGogmP9f7o6N 7ClprwJV2/GOGqMg8YBtpDpsTCUw+ibyfCfLqj3B/QhlzdxAqRbsRC50C0VZf/eBrmgF yELgP3MAm6rXMbaTKkV8irIM90PfP1NG4tiT2O8p9dxxKfwfNpWUFZXX2ygtFFUTqheA VCeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ge6tP7aJVA2/arYXridWtv60L0GDRBud+3BiIv4iGwU=; b=BfQk3W6ufiIbF3mGNsc9VvmrDowFJ/1y3l9tHsqCX3Uf6mnzHzCEjyjgGZRx3X/SQ+ 0ttAllUHXLtTYavj4oezNm8vEUYcDUJkZWuL58eTI72b1g/P/Hu1dXf5Ltg6btX2vFE1 a8qnW6In6oWRgWdksJl8P2EdyrS7n3U+Pw4QMIOVvl0iIIH+y5f520S3p2cpCSFGS4is PAS0sb3QwYZOWTqu76KvrvB/9TsmRSXBCBNL4T0Gzat7pYNd10eBJlxFOAYLKIe3WJcR 6lQRmHakLppO6MnAByRAaJUX8Lz73cZi0vEAApNvWoiTM237rjaGQZJ8Nj5hZglHjuH4 6SKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ndy1tJ6F; spf=pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q24si3523779edw.193.2020.07.10.04.09.28; Fri, 10 Jul 2020 04:09:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ndy1tJ6F; spf=pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-mmc-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 S1727059AbgGJLJ2 (ORCPT + 5 others); Fri, 10 Jul 2020 07:09:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbgGJLJ1 (ORCPT ); Fri, 10 Jul 2020 07:09:27 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87B33C08C5CE; Fri, 10 Jul 2020 04:09:27 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id l63so2374060pge.12; Fri, 10 Jul 2020 04:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ge6tP7aJVA2/arYXridWtv60L0GDRBud+3BiIv4iGwU=; b=ndy1tJ6FUeK9nFenN0cCeY/pzoN2bM+a5uOvvfZkluarKIZJG3/oGA5L0cfIPvpEeA 8r0CQvAXwFoZu3qtfitdpGhilU2/uSFamt9n+8IYg4wIrIUuY8iKeODTpG2O9jC0BKdF SMDEdNzXc7QaOlIz+1CImLRK8PmLURkQfxuGjQb4htN7/4o1BrA+0rA2cCuSI6014DAo AJa6nU7TIN6tocfIOzGYbM4scQVfUVVjT+BVCWSdwJ9IzJySvAfjk93zhrz6lLGycwSB juNIXBoNql4x9kkRUz8MTVpaaLQSYnjar7ffF7eALDVnoMINkArMCTSDULNLv1eRqgfH r1lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ge6tP7aJVA2/arYXridWtv60L0GDRBud+3BiIv4iGwU=; b=B/wGM8z82haGLI/kD0zAxTHo/LxI+3j0IUsE2U8y0eTg+Ib/FPO7ZyIUZy0gC9J9jX BZ9bt6hQqtQl7aTVwaeEgqHrq4fLz0iL0hQJ31r6TGIFOv8NxFqilEUqFrlbQZtc+Xzg 5ijwsEdz4vBmptrLurPrPoPjQE8+nzlfeubtO+7tGe4CNjkWOKenZYTgpQ2syTXNYu2Z AjriYvFDSCoLSSKNF4okmeqt9rDxI1f0of0tW/wOZxwn0EDIIWAte9hwtiG+oulbtG5o qilxz/BB5A4TVCBTYAxAtISH5jBrPezMRDIdPga3N3MKsBVRArYAAX7RHkB89qnpFARp nPLA== X-Gm-Message-State: AOAM532fbeyUH59fz+EK7NWsz8cBNM7hSUDzkePzaujicNitNrmZ/Pos QceAHkZKP2YhKFI5zZoP1jo= X-Received: by 2002:a62:4e44:: with SMTP id c65mr26530826pfb.283.1594379367138; Fri, 10 Jul 2020 04:09:27 -0700 (PDT) Received: from gli-arch.genesyslogic.com.tw (60-251-58-169.HINET-IP.hinet.net. [60.251.58.169]) by smtp.gmail.com with ESMTPSA id m1sm5211496pjy.0.2020.07.10.04.09.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 04:09:26 -0700 (PDT) From: Ben Chuang To: adrian.hunter@intel.com, ulf.hansson@linaro.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, ben.chuang@genesyslogic.com.tw, takahiro.akashi@linaro.org, greg.tu@genesyslogic.com.tw, Ben Chuang Subject: [RFC PATCH V3 08/21] mmc: sdhci: add a kernel configuration for enabling UHS-II support Date: Fri, 10 Jul 2020 19:10:10 +0800 Message-Id: <20200710111010.29345-1-benchuanggli@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org 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(+) -- 2.27.0 diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 3b706af35ec3..ffeef38264c0 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