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: 13500150 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C16D3FE2B; Wed, 20 Dec 2023 13:59:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MKHZDJnn" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-40c39ef63d9so61872465e9.3; 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=1703080793; x=1703685593; darn=vger.kernel.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=MKHZDJnnIv4a9okH/DSijf+tTeafAxTba5nSnHr0Fxpt675o0uvTDFE4QAeK2qp9HG aHPWCir+63NR28bwOmtuQUZyJr5rYJn7yoUU/J3nk9FuBEg0MzPmm+UJF5xUJYue2z30 gXZKNtEHL/VwsGoeAnZ0Dch1stIudgWWsqA4ANei+y+bz981Yg/Ox1iPREiv1nbcSf4j G/wRlsF8WjNpooTiEYZaofINQnKT1QOTYea/UghzU7ZYCfzwzaW35/1z/yjxqgsYf7Kd qIm8kwJLuf4EXPy3wXsxZNI1YATnEBV6FeclrWbqfe9U9sXJcMoq/SAmEqHmQNoVjXup Kh+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=mgH+/uizanv8Upkr43J0Uc+Egv7kV5swSdZJ8bkJU6YBIDCv6Fl5/13xliDCKLKVVy Wgraw2HaT1vrl+hYww8ZCRV9kilKFxHAfAAivn/v8fxDwG5XPDDaqlbLTCKcqaR4X1A/ CD+qJQGkIHNyj0e5qAGuu/FiBXmp+XKcx/9KVpCh312CZuj0of9Jb2/y6iIQXTKg/2S9 Yk/zOR/pmzILp1sIUKHb6wZvANNlBmf4dd7/mnTA05Sdk/298gC/0xFihIMU6P1g/Yz2 dyZ4zuUcHqqBya9nFluV625qVdz9ryIri1OYK6h6r4RZ+O/NTsqlsYUq6QRFdorf/v8p iETw== X-Gm-Message-State: AOJu0YwgAf5u9n8EfZEODMzzox981pHwygKm88EILLd5wIpziW28ti0E DDTFWd4x/J89C8EaF2wpDXM= 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 Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 13500151 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9EE53FE3D; Wed, 20 Dec 2023 13:59:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WeVgKMHU" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-33662243274so464594f8f.1; 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=vger.kernel.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=WeVgKMHUcT+VWe6yjx1xpwWOU2bgzx3lWvSHAU9bo6KpjZWKlUZRc+czjAtAIq20CL yzZDmuKeLnvfecN4HPbVbf+ZmstRRLKS31iHxG1au/L063WVFB3RsOFE/ciHER/iuUYp LVC9ntI1RK3+w1sXQNmxVccwJw3zNCLB6yP+C14O5OpJbWOR/HqZdWUr5FGDZji4+ZXL D3C/+iaQBqyf0OYVEM9jh3DHzM8EDWMCfX0oZqxEOx+CnoWGHH9Zp2yQn7jEh39qOzrV wuYd0acTb8AsbBA+QItQnx+dl0dQdSSD/CY27d3jc20JofREQ2YbpC7+AhChvWkWI7qH O2kg== 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=BBrXJCJYD9ChpCzEstu8z8SgAeuQjY2iterWNAzGlO0MDmQeCk8lXJSfNWg3MbvFQF IVrNE+iL2K2y//8FVHtBb+N3pf5EL4syDN/bGNz30T3RlPfAt/AIUylWW4xr9Zkhsw1+ mkoRaLCidMbBdbSyHidWkAE6czrcKO6ihVo9GeD/Yq0Ot9s7gdCuBebARhQXZsYwRd0V FmtK6rNCUO0UaUIdSb0zOkwX654HE9rilfkRB46F1Qsvn1IZG1DJh9XR9LJFOqbhmeIl G0mAgDyYZ8DqCVLZkKbMhTlaj8tV3hhUfv0DYmgFTsYIdR9D6Ra4sZcvJyWsegvoetHm cPYA== X-Gm-Message-State: AOJu0Yw9C0939cDUKGq7g4YlawEn/dGR9Hr/ezesPKdoHfABt2Yx67E4 JMKLdjMOQZdwJRvDSUfTyBg= 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> Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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.