From patchwork Wed Dec 15 16:10:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 12696312 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 D9803C433F5 for ; Wed, 15 Dec 2021 16:41:42 +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=z5jDVL09yJmrjRt67joJKgygMIYo1QUmpY+Iu0VBdpk=; b=1cO80DOxCN7qBF M5rbE5nyBPzKQMaPA1DK2h4kVqbn6s6f6hHAfkkAVM6BZL4CuWS7nuqxTG3U6rB0G4HlgIdiz6QJH E052eZvGEEQP9/kEO1C4WCXXxFx6uKTWFo2WRZffzBVbQfB6cWkT4Oy06S3TY4M04y/796tDhfJMe S4m4FrmfVYjRELZbYw9uDRaE4pHMvakt6A4TmJu+0gIDJ7n7SyX+7OGzEUlUJMljaW6bXgjAJN7GS i/z2gYSLvEVJNsuheC1TcnW6MwK3XE+S+6PTNAUdTlqTs+LRWlOEK6ZkMsJiZ/+A7KzklZCjnACTu rGGUYQhJKh/5HxY/uPxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxXID-001mDB-J6; Wed, 15 Dec 2021 16:38:13 +0000 Received: from marcansoft.com ([2a01:298:fe:f::2] helo=mail.marcansoft.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxWwz-001dZP-VS for linux-arm-kernel@lists.infradead.org; Wed, 15 Dec 2021 16:16:19 +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 5799641E96; Wed, 15 Dec 2021 16:16:12 +0000 (UTC) From: Hector Martin To: Ben Chuang , Adrian Hunter , Ulf Hansson Cc: Hector Martin , Robin Murphy , Sven Peter , Marc Zyngier , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 0/2] mmc: sdhci-pci-gli: GL9755: Quirks for Apple ARM platforms Date: Thu, 16 Dec 2021 01:10:43 +0900 Message-Id: <20211215161045.38843-1-marcan@marcan.st> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211215_081618_198042_19E96AF5 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. 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 Hi folks, This short series adds a few quirks needed to make the card readers in Apple M1 Pro/Max MacBook laptops work properly. The first patch should be straightforward; it just allows configuring the CD/WP polarity based on device tree settings. There is already a standard DT binding for this. The second patch works around an issue with 8/16-bit MMIO reads that only affects these platforms, for some reason. Changes since v2: - Style fixes Hector Martin (2): mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF platforms mmc: sdhci-pci-gli: GL975[50]: Issue 8/16-bit MMIO reads as 32-bit reads. drivers/mmc/host/sdhci-pci-gli.c | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)