From patchwork Wed Sep 22 18:30:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 514515 Delivered-To: patch@linaro.org Received: by 2002:a17:906:f46:0:0:0:0 with SMTP id h6csp790582ejj; Wed, 22 Sep 2021 11:31:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNBoKxkPmATUcQwV3hMUSnRJ+kb0IyGE0FKPAk/XzBLm3ipO2OFjFTYMoQEKMZ55WHxdnh X-Received: by 2002:a50:e14c:: with SMTP id i12mr846887edl.125.1632335487261; Wed, 22 Sep 2021 11:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632335487; cv=none; d=google.com; s=arc-20160816; b=z4QLQ+pr1hp7/omFXJ62HTU34HsOdH36xFD29+5iT0Sxo3Zh5JbTgEraeYs3BVHkR/ c2aR0KZTYtpPI24PyqnbKhrDQSd6loUqY9eOhPcANFh9yVFpScrwGuLsnpPGbl2Bc/1O PC/MC2YbsznJ9WIbMgX76T/Nrcy93tOlwg+wyDZA4pJP1Z9a2MHfofGIaMjLNt0wZlns HZQUwLujgm4py52Xt250hynurDN1WUDZi/nMQ1tEz3un7DBuMSdCAaIeYm5feBFtREkp YBgQbKwuejL5KEg0qzGE6qD/CAWVb6ZFWV2/wgh7z6YirEn6cysWD4rWEVBprBIhKpSb 1rrQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Ts6aT/2VMB9VVAUcAvMQOp/1cPYBFENOf5/8JD9fHDg=; b=sFrIxxMTCBR9lZbQRwaXckPeVOCezciYU0u8GYAar0TpIyaepWtIznmDyU0Uz6z6qP KkQQdmsYCaXu+LHOefIWc9NNKJ5GekfG/2+ExmljP1KduZskaWuAPjNnqllbKS6UbOQC 3UinEwsTb89zRRlHOOKgFTxm53Rvw+G8ZIvWxf8y4qQjA29KCZowsNZ88cgUV53yvI0P 3qaTFfnnYPk6Kc5bhvIJdaHGVG3BQROn7xCePfwvjOqFYBQ0hGmWWZpfGhE8OZX1Y195 r4qYqE3nXdIfschXS/kCqW0+saG+eofVJHysdyIIC6YsHxoom6Oklp7ly6M5AMlSu0uk gUGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bWkUwXUL; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz21si3496259ejb.539.2021.09.22.11.31.26; Wed, 22 Sep 2021 11:31:27 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-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=@kernel.org header.s=k20201202 header.b=bWkUwXUL; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237037AbhIVSc4 (ORCPT + 8 others); Wed, 22 Sep 2021 14:32:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:51464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233210AbhIVScz (ORCPT ); Wed, 22 Sep 2021 14:32:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6AC946127B; Wed, 22 Sep 2021 18:31:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632335484; bh=lHHzgiWaDLpQSO9ltbYMVLbwp7mW6qy1fxTQlS+3T2Q=; h=From:To:Cc:Subject:Date:From; b=bWkUwXULmi4uj8834FM7hhBuvItRzSOAIRrBPuITZRDNSNRtWxJLPK+PC/f5cajzg bqO0A91w5xeqyC+nN4U/zSD6fcVVlVff9pFyMTz+1nRNhbA12OL1Zfhyin+CIXnfpx 5smiztHRCpee9eXN8XUrWATG6mBH/FlH8EX8WoFdFDhYYqdPp3LuXo7XTC0WrzUJ84 BmoS3q3cwwRv32BHZqxd44cso0CYeCEWc1ZPNSPchg6ohCDtauNDDte4Kx9gNkAumY Qxvq2DhkJodyEkdZbP0QChQ1G7UvaYZsBBpHxvDehmZuTHp0B6woOBG/86OhUcHqC1 J/Pow5J4B5mAQ== From: Mark Brown To: Jakub Kicinski , "David S . Miller" Cc: netdev@vger.kernel.org, Mark Brown Subject: [PATCH] nfc: st-nci: Add SPI ID matching DT compatible Date: Wed, 22 Sep 2021 19:30:37 +0100 Message-Id: <20210922183037.11977-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=945; h=from:subject; bh=lHHzgiWaDLpQSO9ltbYMVLbwp7mW6qy1fxTQlS+3T2Q=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBhS3XgUsgbXAKWr0RmmEqN2i8+6GJAieLfpEXusIMz 5f3D6GuJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYUt14AAKCRAk1otyXVSH0B9AB/ 9HZi3geac3R0sUIE+5Dm0Uf8k19DwJc87aO5KzppHBHvLR6nPxvghYOCXFoBe628eAVngfArFRI13F YG3hF2axXoJJYRuV8glAaNq3Zm/UG5bEcudF8KOkKgGmnruo6VIM4ar2pv7e4IooEx49GwvFXjupr0 HdNQX8kezDdjv7XkenhFOwFAWyAg8WRhx8Mxopta8EjXNIn5idrJYG9rlnovmtQ5dDmrBPjUnNfElB MxTK4FWNMSw370vp+ChLBI8eWe5G329WfvKv0bTNhILsunNOzcSbei2JyZ7YUpHztr/fcdJnJ94Cqu IL2r850Il0/UyyZTD5aYL/635d+5Ai X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by adding the part name used in the compatible to the list of SPI IDs. Fixes: 96c8395e2166 ("spi: Revert modalias changes") Signed-off-by: Mark Brown --- drivers/nfc/st-nci/spi.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/drivers/nfc/st-nci/spi.c b/drivers/nfc/st-nci/spi.c index a620c34790e6..0875b773fb41 100644 --- a/drivers/nfc/st-nci/spi.c +++ b/drivers/nfc/st-nci/spi.c @@ -278,6 +278,7 @@ static int st_nci_spi_remove(struct spi_device *dev) static struct spi_device_id st_nci_spi_id_table[] = { {ST_NCI_SPI_DRIVER_NAME, 0}, + {"st21nfcb-spi", 0}, {} }; MODULE_DEVICE_TABLE(spi, st_nci_spi_id_table);