From patchwork Wed Jul 17 09:59:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13735289 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 A3C37C3DA42 for ; Wed, 17 Jul 2024 10:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=amrVpkReNAyiimWeQowsinwIaArzCQ2FW3boe6SuL6w=; b=Oof6AIG/QiNzJMmZswhT/2mk8F 0EaxgkCTGXazvIXOdtUrGcuBuLJJNINdna9JweM22JlgTJFCewWGjkuJ7QVivnK1oRRCPibk6aFYK H3gMnIMc/Qmb0e32e6xUbN4QuizMfFwQ1JzH2iMldxKAd2/Rwl3forvvyl4pb8pbPKL1NYl96zHNH pq+W1OmeaO3GhGeBLPkwFFjpIOqqxvSkw/So/1znSGBnYQuMS75UNapJCzE29frlU2FqjXp5KOdJe ewmy4l6ZDyXSiStRXausdl4YgD8o/wN7J2aqQP3lUnxXi9bZfEcrfDDchNcot727JiQSAyOrHBS1C BLm5Efbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sU1SZ-0000000DPUO-0DNl; Wed, 17 Jul 2024 10:00:31 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sU1SF-0000000DPRI-23oz for linux-arm-kernel@bombadil.infradead.org; Wed, 17 Jul 2024 10:00:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=amrVpkReNAyiimWeQowsinwIaArzCQ2FW3boe6SuL6w=; b=XU9sJ2iw2hwvc186lj5Jz91WL7 xBlEFNIE541oTDuclRieCBNO73CeZtAChKNQB764tahLcwSQWIeXGMWQicksrKue/B0bOaW46RszB IYsU10in0dvQMMhA62VEhzI1/Rre4VL8EaFOoPTFXtF+GB8/PWI6r61oFOIJBiIY3iWeCbwNJF3Og UKSY1vo5Jch4+hL2sNCY7xLleXNbes8Z1qGKOnoGMmFHg7x019R4zAyLeVbtY2gScVUPiYCPaQbut QGY/pJwLEIQMEp2XP+OIYt9bc6q/hjNe2KM8kzTti7ojhu5xtToXA9KKWe8ho92wIpQnbuYLZkUdT hFzwYrhw==; Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sU1SA-00000002ILE-3jQe for linux-arm-kernel@lists.infradead.org; Wed, 17 Jul 2024 10:00:10 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 95F0361504; Wed, 17 Jul 2024 10:00:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F4AEC4AF0E; Wed, 17 Jul 2024 10:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721210405; bh=FB+gkQhT8RGDWncY72r8oB3sgk2ZpbFKbtUPoW8K3ro=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cLbf45OZYqiYbIcHcRNJb4KrYMYYjFMhVimjgs0C0QtbTsC8jVsjoIGa0WdzLMRZu v/ehkUUqnYmNv+4ZN30fHK0wAy7eCfMWWSUcj/eP7/thoYBkOLgCqQZoFBoEb8Kowo fb2pUCLKEDsj0E+wEdXHcPm/3CES4y6qwaiyuR3B0G99mDFFiew3/xTL1/BPy0+dCw +FZ539tYFAxVVD3CVemJJZv0gq5Otw0iIGy2kkJE5mADZ3MglTn5d+Rd9Mt8/BWdTi yIlyiwoaYff/AsfsylnZP7Tb2yEehaAYB9BinUTP8xbNPLdgoc/lEgvYzatsGTGrkY YD19Ehnp1QLoQ== From: Conor Dooley To: linux-kernel@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Mark Brown , Maxime Ripard , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org Subject: [PATCH v1 2/3] spi: spidev: add correct compatible for Rohm BH2228FV Date: Wed, 17 Jul 2024 10:59:49 +0100 Message-ID: <20240717-ventricle-strewn-a7678c509e85@spud> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240717-impotence-zippy-254b86593069@spud> References: <20240717-impotence-zippy-254b86593069@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1283; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=CcLwP+5TB3urQavRjMU4fiPAsz1HM8MlYRRdrepViDs=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDGnTp4nceKp5cWXHwjXRd7fOEkrkmbDX6bDe+3Pe/2s/8 P7evL/XoqOUhUGMg0FWTJEl8XZfi9T6Py47nHvewsxhZQIZwsDFKQATaaxi+J9b9ovrqNg+x8Rb bq9KHjIstVARn2gYeifsurOtWdyBV6KMDPeWn2898GnGgotrL97pFZh0Yd7StcknX7boTVvdu1a TdS4zAA== X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240717_110007_894907_C62606F1 X-CRM114-Status: GOOD ( 13.77 ) 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 From: Conor Dooley When Maxime originally added the BH2228FV to the spidev driver, he spelt it incorrectly - the d should have been a b. Add the correctly spelt compatible to the driver. Although the majority of users of this compatible are abusers, there is at least one board that validly uses the incorrect spelt compatible, so keep it in the driver to avoid breaking the few real users it has. Fixes: 8fad805bdc52 ("spi: spidev: Add Rohm DH2228FV DAC compatible string") Signed-off-by: Conor Dooley --- drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 95fb5f1c91c1..05e6d007f9a7 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -734,6 +734,7 @@ static const struct of_device_id spidev_dt_ids[] = { { .compatible = "lwn,bk4", .data = &spidev_of_check }, { .compatible = "menlo,m53cpld", .data = &spidev_of_check }, { .compatible = "micron,spi-authenta", .data = &spidev_of_check }, + { .compatible = "rohm,bh2228fv", .data = &spidev_of_check }, { .compatible = "rohm,dh2228fv", .data = &spidev_of_check }, { .compatible = "semtech,sx1301", .data = &spidev_of_check }, { .compatible = "silabs,em3581", .data = &spidev_of_check },