From patchwork Fri Nov 6 02:27:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 320718 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp949221ilc; Thu, 5 Nov 2020 18:29:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJQp4giQYH4/CoeODDYHB05tHr/rtWaN2gwlaY9kFxrisg/BOTptZus1ukeeoD0HZ2abhQ X-Received: by 2002:a05:6402:1352:: with SMTP id y18mr5773052edw.378.1604629783072; Thu, 05 Nov 2020 18:29:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604629783; cv=none; d=google.com; s=arc-20160816; b=yQ56UG8DYPTUZqvfiMz9Xtu+DFVVvSfDZjXrpnV3VUx6kcjtxgk4VRaiKhRcRYuk4X 0a8ChIvwylAs6oVLHHmm7LSKjNfUEl5KzXYPNZdlcaszWkglrGLAwwhmEgO9uL12b57b hJZ7cq55ia9IT3wGR7AzTJMCf5D2CFHZHhmZFuOsR65XW1JKsCnxifm4QIdp8Dixk2rN 2lP9hHvTZLErXiyKZvrjc7yM/Hmf+Prd68jwGhndEKPU9s8yeURvnTVYdBjxZXs9cHFz dKaiR2hgtIPOMRMNz0QZ9qG9WKm8XjEEDzwehDPm64AL5tBCMUeTjTwLHeGqFdg5n8HO sjsA== 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=OI2O9qBwcer8FBwT8kwD3fyAcbKrenke7SFTi0wM+zw=; b=GQnN8EuOnf1yehd8RZIdWtT3lGNXCMiaJlBXqZY3U976nccI/xMej7s5fid2ae5Sd9 Mk7WaUIVvbpI41zdTryZsoCFX/GqBqX+6aU3krSJMzmlb/yIf9r0enCEkUBf2PnYeaYD vW2/KB4rqv9TMJu47SflmzygcHYQ6bLzDMvj7wSrzm0SV3MTrQVqLbOGXvoSzqUly7KS R+E7n3MzMXRp4dl0cZZCu4VyoWEWGL+06wKORKqG4Bx/Y/c8ZFHL8B/cImnfJdDxXz6Y co6h72LXFfhVn5yHmLG0Xpxz8yH7jn7C4Udf4OjXSPiGxu5FRZapiOeGrqts5O6lZW0o 61pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HUbyyeHq; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pj24si2482774ejb.567.2020.11.05.18.29.42; Thu, 05 Nov 2020 18:29:43 -0800 (PST) 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=@linaro.org header.s=google header.b=HUbyyeHq; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726031AbgKFC2Y (ORCPT + 4 others); Thu, 5 Nov 2020 21:28:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726056AbgKFC2W (ORCPT ); Thu, 5 Nov 2020 21:28:22 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73546C0613D2 for ; Thu, 5 Nov 2020 18:28:22 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id f21so1725212plr.5 for ; Thu, 05 Nov 2020 18:28:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OI2O9qBwcer8FBwT8kwD3fyAcbKrenke7SFTi0wM+zw=; b=HUbyyeHqM0UEsor4Pdaf7iY685ttM6RXNhjHTYXuAkBIBo+cYtxJ2Ji67VtLeSEABo Ngimmgq56azBbvOdpPDLj2YGh+ltEOrd2rfb5i792zlPOxX4mJqIEgxQiB1h+BzgR99k Py1wGyHoxOOcNbPS0D4WzdTn8lt+8rPMrXnDyp2wtMlAfAXXJRlbhSfdqcOv1SNGoSxh ADzs1qqnwR8eOkDFzf7A9K7n2GA/dVUafBYGm2n6bIX/yz0IzjAleoFRMNl3OdkKAmJs RmodTXljzfknVbFxAgayckyNlgT7iIjlQozx15yinsP99ctt8k8zmFnBWLcgb+L3KOz2 E9KA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=OI2O9qBwcer8FBwT8kwD3fyAcbKrenke7SFTi0wM+zw=; b=V8+mZBrEP2hcVRbWRJpXjNU2gsMkqv3y3LRHOKaGvYQMkldZhY2LgwzauvU40HCNXZ JP0RaeQL5Swa7hEkz/5GJN01vTk/2glPxOj84fJavDhb+BYKTqwj8IXOuIJLUtezg2Di fY4VOgEVv24bDkR3XVmm8upnk0C3nZFf1ogzDxG2M/Vk4gy+lp+fTNyddKFVkGRFUiZm WgIotI0/PFLytuZaesdjYB/qS5RI/oEY1dngMY6aFB2hnXlpmQBD+ZVhx5Zr7zLizHQZ jCvpWjo9mhB5aia1qRiGkl5d/XyRFQbxJ+Hab2TE9pBE2rGPmxnnusQJiv40cDqoCDsS VSKA== X-Gm-Message-State: AOAM5339jEKYQbjHyyEMSwPg3+lJmMgTGsYtVE4kwU5qxORKg4unNQha v5rCKIJB3pkhna8nR4ewLlC7ug== X-Received: by 2002:a17:902:9889:b029:d6:5337:a758 with SMTP id s9-20020a1709029889b02900d65337a758mr4645836plp.28.1604629701958; Thu, 05 Nov 2020 18:28:21 -0800 (PST) Received: from localhost.localdomain (p784a66b9.tkyea130.ap.so-net.ne.jp. [120.74.102.185]) by smtp.gmail.com with ESMTPSA id m13sm3703040pjr.30.2020.11.05.18.28.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 18:28:21 -0800 (PST) From: AKASHI Takahiro To: ulf.hansson@linaro.org, adrian.hunter@intel.com Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, ben.chuang@genesyslogic.com.tw, greg.tu@genesyslogic.com.tw, AKASHI Takahiro Subject: [RFC PATCH v3.1 08/27] mmc: sdhci: add a kernel configuration for enabling UHS-II support Date: Fri, 6 Nov 2020 11:27:07 +0900 Message-Id: <20201106022726.19831-9-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201106022726.19831-1-takahiro.akashi@linaro.org> References: <20201106022726.19831-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org 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.28.0 diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 31481c9fcc2e..5ca9ac03db40 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