From patchwork Thu Dec 9 05:50:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 12695453 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 20867C433EF for ; Thu, 9 Dec 2021 05:53:07 +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=PXcvdwckbsQFzTc70dLzXPiUQ0B6D+fz6CyztRWgzbA=; b=2N01RV5DC8D7Hf A6lFWLk2NwPWkI4jA6dWsdgqeJuawhs0uMOLO7AhzuO2xgeUlsMTjY9980Gm9Iu8lGBV9k0aZ0E/m 3nWwNDysJKI2exkmLUH17Iis8aLUESxSnPK/bw0Ku0GU0HGDRMXLv8IsHtISvZpWp2NqeHENR6oUg SWVns5tpZg/cDmxkLcagxDJfRDq0PTYbont7m0qAAIk20nI5rpNeReCDGutVpWPJZ3xm0oR/u25sm FyG3NI+8Gb2XjvRjDZ/QAauUI/PsdBAoHiOb8Wyb7Wue4XNwEtyds/jJyFePrLKPQt0CU1SENHja4 pw2mYlIZ5m5+ER8tDWxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvCL5-00F1Gy-Mp; Thu, 09 Dec 2021 05:51:31 +0000 Received: from marcansoft.com ([212.63.210.85] helo=mail.marcansoft.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvCKm-00F1Cw-2F for linux-arm-kernel@lists.infradead.org; Thu, 09 Dec 2021 05:51:13 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hector@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id 0218F41EA7; Thu, 9 Dec 2021 05:51:07 +0000 (UTC) From: Hector Martin To: Sven Peter , Jassi Brar , Rob Herring Cc: Hector Martin , Alyssa Rosenzweig , Mark Kettenis , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] mailbox: apple: Bind to generic compatibles Date: Thu, 9 Dec 2021 14:50:49 +0900 Message-Id: <20211209055049.99205-3-marcan@marcan.st> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211209055049.99205-1-marcan@marcan.st> References: <20211209055049.99205-1-marcan@marcan.st> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211208_215112_300288_4DAC44D4 X-CRM114-Status: GOOD ( 11.21 ) 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 As with other blocks, we intend to have drivers bind to generic compatibles as long as there are no SoC-specific quirks. This allows forward-compatibility with future SoCs. No upstream DTs instantiate this yet, so it's still safe to make this breaking change. Signed-off-by: Hector Martin --- drivers/mailbox/apple-mailbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mailbox/apple-mailbox.c b/drivers/mailbox/apple-mailbox.c index 72942002a54a..f9704332cda3 100644 --- a/drivers/mailbox/apple-mailbox.c +++ b/drivers/mailbox/apple-mailbox.c @@ -364,8 +364,8 @@ static const struct apple_mbox_hw apple_mbox_m3_hw = { }; static const struct of_device_id apple_mbox_of_match[] = { - { .compatible = "apple,t8103-asc-mailbox", .data = &apple_mbox_asc_hw }, - { .compatible = "apple,t8103-m3-mailbox", .data = &apple_mbox_m3_hw }, + { .compatible = "apple,asc-mailbox", .data = &apple_mbox_asc_hw }, + { .compatible = "apple,m3-mailbox", .data = &apple_mbox_m3_hw }, {} }; MODULE_DEVICE_TABLE(of, apple_mbox_of_match);