From patchwork Sun Dec 12 07:02:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 12695789 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 D98DCC433F5 for ; Sun, 12 Dec 2021 07:03:44 +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=8WnwOD6/LFuopOpig2DvlubNvPIfL1eSKeLjJGNoukg=; b=QZtIYhviQHyk5O P4AS7+y8dDibTyFJGlfp9yAwEGLOCSjECm59ohp1UTsvjfp3xex+CN7/EAjHBJ5y/xaYW7sFe1xmf ZmtaW4yHyha1cNtuMO0rSHWJbm+wkAXsmPbQ3PrR3FqFcQ0ixqjGaZxiMNSAX6iFuAmO6QkDdrpyo FkN73/3RTQMMqVByHnpIjGRMuRysk8OkWjysTSzjOg6Vn6sbnE6ZN4aC06R6Jq6Q0d9KTpE46uh1y j5Ii08AfjVN+KnogcrI2UU0bjmnrxLGUmmjYEu6ncDWNbYEpt2vA2glzawLDZL6TYQ1zGbrPv4d9t sr84EPfqDYjW+o3fTdDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwIsK-0062jw-AB; Sun, 12 Dec 2021 07:02:24 +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 1mwIsG-0062jE-8J for linux-arm-kernel@lists.infradead.org; Sun, 12 Dec 2021 07:02:22 +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 4D6E642598; Sun, 12 Dec 2021 07:02:15 +0000 (UTC) From: Hector Martin To: Ben Chuang , Adrian Hunter , Ulf Hansson Cc: Hector Martin , Sven Peter , Marc Zyngier , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/2] Hi folks, Date: Sun, 12 Dec 2021 16:02:08 +0900 Message-Id: <20211212070210.141664-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-20211211_230220_465209_2DD13927 X-CRM114-Status: UNSURE ( 8.39 ) 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 v1: - Also applied workaround to GL9750 - Fixed checkpatch warnings 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 | 42 ++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-)