From patchwork Wed Dec 20 13:59:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13500160 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3D851C3DA6E for ; Wed, 20 Dec 2023 14:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=lc9/mfXJRo715BfgueJEMk563HXj+HkkLfSEVb5Cndg=; b=aiyWXMsmfTwEYf TXlxCiyj9v0oBxg4bHepTI/24LLTbYsUhGy1oWlQuTK3VOoQAGSC546kRAJiadsLyLuSdLDD3gjIg jdd8k9DB4Lob8psZjsse7/oNuYvLfz8cLYLAhzKjai50Zn0m2Qzb5d4Bkf6P8wKtMRkjdM8ZaEwgA IMa1jWqqEGBMReyEJ6w7/Yj1ZfT0SS4ZZn3ra6uAqsywpK/8rHmdo3TSVLl2Sh7MPz8gqizYso7g9 +Zmx+jQ30Uzk8QDJwIY26ZPTSNl4naoppgeBhZAcsB0mxboBYASHhhR43oF12dQYm8p0gDUaNBAuC mQ6twut7G17ZVK+E7Baw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFx7J-0000os-1o; Wed, 20 Dec 2023 14:00:09 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFx79-0000jH-17 for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2023 14:00:01 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40c3fe6c1b5so61944885e9.2 for ; Wed, 20 Dec 2023 05:59:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703080793; x=1703685593; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=E0iVmziROlq72RMXzu834ciMgyzu2aToyegIGJ3TFKw=; b=MyPi7i9nP2r1ODI8FE137cZ0QfaoPCw/FDkOfUAcG7fgbsmpIz879PVOvesYsxl1Qg cnfJJgro0XRUeKMJDgmUXbYZwqTYKUVGAvS2x9co34BNXP/eP6WcAdvrHs50QMJzVwMG ZOBfimVRRDwmRhutAOEldxZFi5lLSw8/P2GGt7acmf8BGKKQJF3K6yu87RbMTD2vcijC 7UKDDrwWZR2iDO2DemRVpFjT6zqutqtQv8I3t1KDMMhBeViLopYQkC8qIqdAWuyi5WEE gPqMUe2h13oFkZFsSnGXqYRiCNFXk37BR5f3Ud7RoawIr+fEPxxfA1wQvvcq/l3/Sj6C SA/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703080793; x=1703685593; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=E0iVmziROlq72RMXzu834ciMgyzu2aToyegIGJ3TFKw=; b=xMP7fTRfrm/+xlbDRSN1jf20MRFFRJ4xxJNuXi383yNyJ0j7Ztv7POsjitnObUEj5d XiG7n4iSD/gx1UCRJHcaut8fTznOkG0fjT+Fn4GZtERsyomY4m6hgm0qRzXfjQFjwR1U cAO6fF++/dvFQLsBZEN/TuRIT4MkyV9bVlv1Ya/GsWg6IBcVBpxj+asu/cX8sZWv/LPQ bu9hVDI9ZerH6upWr9JwaaCVqsanI74ETVglh1NR6jAlJSabH7zqluK5ep6wjxRijkzV C1wYyDKOnYaSYtWljUJDOAUlOc1PC12BaxPSDbW1hIvEZl3+fhSM+bvaLA4/sKG7Zaig BLkQ== X-Gm-Message-State: AOJu0Yw2gBoDnNl+rlY5ce7QZCFAOCbZy++SPksm1cMEt3466/ay8mK+ xC5o0jVGXChupdrjLwvEzUI= X-Google-Smtp-Source: AGHT+IF7nMAj8DT2uFwVeQAmhgwNYP1xh1ISAnPqTCZQung9/18pW22fFH48zFNaszExOhgsp4hrgQ== X-Received: by 2002:a7b:cbd4:0:b0:40c:317b:a3fb with SMTP id n20-20020a7bcbd4000000b0040c317ba3fbmr9729581wmi.117.1703080793362; Wed, 20 Dec 2023 05:59:53 -0800 (PST) Received: from morpheus.home.roving-it.com (2.1.9.e.d.3.3.1.6.1.e.d.5.3.a.e.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:ea35:de16:133d:e912]) by smtp.googlemail.com with ESMTPSA id t3-20020a05600c450300b0040c4acaa4bfsm7513588wmo.19.2023.12.20.05.59.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 05:59:53 -0800 (PST) From: Peter Robinson To: Ulf Hansson , Adrian Hunter , Faiz Abbas , Kishon Vijay Abraham I , Tony Lindgren , linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Peter Robinson Subject: [PATCH 1/2] mmc: sdhci_am654: Fix TI SoC dependencies Date: Wed, 20 Dec 2023 13:59:46 +0000 Message-ID: <20231220135950.433588-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231220_055959_402308_CA7A105A X-CRM114-Status: GOOD ( 12.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The sdhci_am654 is specific to recent TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports. Fixes: 41fd4caeb00b ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver") Signed-off-by: Peter Robinson --- drivers/mmc/host/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 58bd5fe4cd25..24ce5576b61a 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -1041,14 +1041,15 @@ config MMC_SDHCI_OMAP config MMC_SDHCI_AM654 tristate "Support for the SDHCI Controller in TI's AM654 SOCs" + depends on ARCH_K3 || COMPILE_TEST depends on MMC_SDHCI_PLTFM && OF select MMC_SDHCI_IO_ACCESSORS select MMC_CQHCI select REGMAP_MMIO help This selects the Secure Digital Host Controller Interface (SDHCI) - support present in TI's AM654 SOCs. The controller supports - SD/MMC/SDIO devices. + support present in TI's AM65x/AM64x/AM62x/J721E SOCs. The controller + supports SD/MMC/SDIO devices. If you have a controller with this interface, say Y or M here. From patchwork Wed Dec 20 13:59:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13500159 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA536C3DA6E for ; Wed, 20 Dec 2023 14:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mBnPOtU5HOq+VTiKEvbFDiP1vwY7qujIfQlpTcpBTTE=; b=CFNUOslroHV+ox LUVf2fV5Y8B8353Lnx13BASypALnbo0f72nOpBZZ68kiMLNp6olWzPw4MoD+VFAraN3/Q8y740dA8 PnIN8GMoMqJarP9Pm22v9nxYbg9RTQXuy2cw+raSZXcDjfFsOKD+W1QRlxo1YFP01rwzq4t4Tby4O o/fs/ckWCv6ieJ79GexBUSQecagaREkaltIA7U9kZxsul/RAYnV4Xz5fdmydqYi67H3W1epZWwTVH YAMlMXwFDxHJvaVs10eRec/GURYsM+zuzynIkYOUp/JDunCPSp2vgx2J5Sys6LEzLeuHRLDJoxybw HEEthlhj1zvTfe+NoFUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFx7B-0000ly-1e; Wed, 20 Dec 2023 14:00:01 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFx79-0000jL-0s for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2023 14:00:00 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40d22d3e751so4747175e9.1 for ; Wed, 20 Dec 2023 05:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703080794; x=1703685594; darn=lists.infradead.org; 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=1luSLAowvvRtdMQZpU+cNi6jQOPA0wTcpry6O/W+TOQ=; b=c+6f1eVTCYoasF1KhrZPXXSdp1RCXrxs1G5OmrLtWi97CZRFSF5WE+sKIkNdBMcBHo nkKJHeLYpWjFAux0P7YTrz8r0K6RC/qiH98Q9Ce6/vF1Di4qHuF7fFVAjXm4xqm9pKgj fiVDGEgXHWOn2yQczba8RYBP7R8XGRuuADElJ7723HbKBMrysH962HslAQ8I2c5fgs9a khgAtRMGlMIN3lJ9rE8H+zorr17Yi8g5IGD7hX64Id0H8F/kkcc1QXCLX/uq9JhoyT/B xhnPAxtdsG3pm/EVHStP85i3cr1c7RLgqQk9G5egGUeZpw5Kn2zTREhd4tPwDN+R3Z3r TbPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703080794; x=1703685594; 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=1luSLAowvvRtdMQZpU+cNi6jQOPA0wTcpry6O/W+TOQ=; b=HuHVT9Jwej/2buZYsmk9Ato9u2qJQlTq7SoLrfTpcWE4v0Nu4sX0OeATsm8LukpHD+ Y46fpcfTo3rScR3HfxEZBuE8TRXEdEREvxoZtSO+6lG7fY/wi3WslBwDQ8QdQLNwOidp mEryIMScluc1xJzR8DOI1YR+shroBA3u5raHj+F4GtJmGhdT97UkWgG7Ohh4Yc0Ur3aL rUm5NXriru+g1SnvP1J7ZvaUvHNfd2W1okcLde1PQGQaAXdZwr7PRgxm6evg/b5d2RVz eUBeFVotmlRdTSYnBXYSRPj54HSFMrRtmoA0bmvZ7GrKOiHZ5I7OruiwTrJb5D5x2yEx B6mg== X-Gm-Message-State: AOJu0YyTn1H/nbjEy9D2EaPf8GUqbbNLeVda7ybtT7iGQYnDxyKRp8s2 FLJoh0R31u4Sr1wROs0T3hY= X-Google-Smtp-Source: AGHT+IHZLxcIpS9u3riJAcmw8sb3s9Qg9hXaZW5mKtW8ORqAOpWEK+tYa/PBN9psW/5xtADJlENvhw== X-Received: by 2002:a05:600c:3798:b0:40d:3141:8086 with SMTP id o24-20020a05600c379800b0040d31418086mr830531wmr.101.1703080793927; Wed, 20 Dec 2023 05:59:53 -0800 (PST) Received: from morpheus.home.roving-it.com (2.1.9.e.d.3.3.1.6.1.e.d.5.3.a.e.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:ea35:de16:133d:e912]) by smtp.googlemail.com with ESMTPSA id t3-20020a05600c450300b0040c4acaa4bfsm7513588wmo.19.2023.12.20.05.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 05:59:53 -0800 (PST) From: Peter Robinson To: Ulf Hansson , Adrian Hunter , Faiz Abbas , Kishon Vijay Abraham I , Tony Lindgren , linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Peter Robinson Subject: [PATCH 2/2] mmc: sdhci_omap: Fix TI SoC dependencies Date: Wed, 20 Dec 2023 13:59:47 +0000 Message-ID: <20231220135950.433588-2-pbrobinson@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231220135950.433588-1-pbrobinson@gmail.com> References: <20231220135950.433588-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231220_055959_313191_FF10C691 X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The sdhci_omap is specific to older TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports. Fixes: 7d326930d352 ("mmc: sdhci-omap: Add OMAP SDHCI driver") Signed-off-by: Peter Robinson --- drivers/mmc/host/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 24ce5576b61a..81f2c4e05287 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -1026,14 +1026,15 @@ config MMC_SDHCI_XENON config MMC_SDHCI_OMAP tristate "TI SDHCI Controller Support" + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST depends on MMC_SDHCI_PLTFM && OF select THERMAL imply TI_SOC_THERMAL select MMC_SDHCI_EXTERNAL_DMA if DMA_ENGINE help This selects the Secure Digital Host Controller Interface (SDHCI) - support present in TI's DRA7 SOCs. The controller supports - SD/MMC/SDIO devices. + support present in TI's Keystone/OMAP2+/DRA7 SOCs. The controller + supports SD/MMC/SDIO devices. If you have a controller with this interface, say Y or M here.