Message ID | 20230530095308.8165-1-victorshihgli@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2067611vqr; Tue, 30 May 2023 03:10:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5E/gJ/ZlpNS3U2XCclnZrMT6uznEZaM2NceZpw1b10gQ+I+KxolrI52Q9eZ7acLJu/d3u0 X-Received: by 2002:a05:6a00:2e9e:b0:64c:ae1c:33ac with SMTP id fd30-20020a056a002e9e00b0064cae1c33acmr2418506pfb.25.1685441436308; Tue, 30 May 2023 03:10:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685441436; cv=none; d=google.com; s=arc-20160816; b=vZnW33pYdju1e47VhCo+oqU59wIt+Lzx/vNOMKldb85WFK1oJ6uJJ7uHSIK0t19oEn g51g/X7vqrJAGYDyYL1Nezb6yVZd5caZLzlFWoSo8AqgzqwVzsRf022+FnP4TPHG5B7+ E1FfCId1kOH0kbAUeSV23B5NvscG5WRq++VC4oDhSYOEvbZl5X/ndhZ8BiWC6X44zb2T xNWylnZFybBSp/OBhc0twqS9gRsjJtTI45IWsB/H+lxlXDFePfvTjVzW9Ck7ByUuXu6H kA4xKQGrIL8TibNMfT8WGFUDAV0j/4ihrSCOcRLNbFkT1DmZgmGjziA7hDj+SKX4BEoz XjhQ== 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=f1cCBXszeZH11zIMBvJPlg2HDVzddl/X2tcxJo4hA6Q=; b=RxZAkkM8TmFPBf8tGsTXGhpKXaXgUYd2O9cKM8b45Lb4Qh9OCvMGGyfP3qzEXyV3E3 epwHmvNJubu05qRj6y3bGNx/qYhZd62LmNxvkJT4z2Oj/+HGxhvWf9ptSqi2fwntupZc 7k8WxMe2Kg4AwqdE0EuD9fEG/uUSvtSe/rJ/lZnR4+c0UE1mFfGGO5uFnDajPfM38lF+ LEcQXfj4C9usCdyIVe1SOLF9ydVi+6T9uTGRBr4DhILc9QTR3S3VwEon0hJ60lQX1nty D0O9dAdqk+7SEW6ajvCX6pr8hBTXkYFVjCKH3g2Qd8qZ4w3l5qY7QmsckpzIisytZQEf 75xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=LB0HlapQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020aa79f96000000b0064f3917aedesi156886pfr.176.2023.05.30.03.10.21; Tue, 30 May 2023 03:10:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=LB0HlapQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230138AbjE3Jxx (ORCPT <rfc822;andrewvogler123@gmail.com> + 99 others); Tue, 30 May 2023 05:53:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjE3Jxt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 30 May 2023 05:53:49 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C552FE59; Tue, 30 May 2023 02:53:15 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1b021cddb74so20953535ad.0; Tue, 30 May 2023 02:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685440394; x=1688032394; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=f1cCBXszeZH11zIMBvJPlg2HDVzddl/X2tcxJo4hA6Q=; b=LB0HlapQrUoUcQyXN2kV1cNBqsB0mhKRubxXVJf+aVQKSd9xyg04UXSqy9fMrJrnns rj+5uVWByFjPg6AXmBRshQ45mx0bjsZVZLaKrVqvXXxxGo+R3vr9jN+cMX4qdfhc0i5j btFu5An7KRImmK51dCqY4102mTKL67GbzbbujaH1Ta6L+58J3Zp/byX9LZxLIrk1FahA WiKYw8cBlxQs/+p1TykcLjp1HGiV04Hwo9Lb+A3ZhqBQrm2dB+0faN3Hnli8tJTqxmxm t+6nigd+5oC7a92icnbhrowfUvPkmUgDUtn7hxiorhh4d07nEBat4LfV9jKYxT/jYxfh nq8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685440394; x=1688032394; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=f1cCBXszeZH11zIMBvJPlg2HDVzddl/X2tcxJo4hA6Q=; b=O1ysFqhIa/Jtb1znTKRFoorht273cQVCy3s3GXJuCVmplmSpHJLWnFARrdsdGNmYpg k55h9KBn3VEk+DMtpEoBDXHSKyN1OU5oerofZFCjziWqQJd+VO1miVD+EIEWeob0n2j3 4BgxOeziJGaWusigweZiP3/440uTM93THO6gEB9ACD9hpsN5yoX3JMu/7AXnzGmtAW8/ Hv2XRV6XjN3qWFjPyuZB0TCvrqXgsh/GFqABIkeLqubsyi3WmIdB1fJE/jiRvwwvVhi8 0ObuAr44CWxkPqiV8lIWqUrggtBMfJnVBl7WRAV4CB7Od9egBqszftxuJgDMErWrcFEx QbpQ== X-Gm-Message-State: AC+VfDxCXJugl44AaJHII/NBLxwIXjOMaWAH0GMPmXNQu5456iiKiUZx OhK4u19XzAyfV+l0lKh4P5M= X-Received: by 2002:a17:903:1109:b0:1ac:a28e:4b29 with SMTP id n9-20020a170903110900b001aca28e4b29mr1981663plh.26.1685440394483; Tue, 30 May 2023 02:53:14 -0700 (PDT) Received: from localhost.localdomain (2001-b400-e454-8dbb-e3a2-cb83-43b1-731b.emome-ip6.hinet.net. [2001:b400:e454:8dbb:e3a2:cb83:43b1:731b]) by smtp.gmail.com with ESMTPSA id j7-20020a17090276c700b0019c13d032d8sm9832760plt.253.2023.05.30.02.53.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 02:53:14 -0700 (PDT) From: Victor Shih <victorshihgli@gmail.com> To: ulf.hansson@linaro.org, adrian.hunter@intel.com Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, benchuanggli@gmail.com, HL.Liu@genesyslogic.com.tw, Greg.tu@genesyslogic.com.tw, Victor Shih <victor.shih@genesyslogic.com.tw> Subject: [PATCH V2 0/3] Add Genesys Logic GL9767 support Date: Tue, 30 May 2023 17:53:05 +0800 Message-Id: <20230530095308.8165-1-victorshihgli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767313439419066308?= X-GMAIL-MSGID: =?utf-8?q?1767313439419066308?= |
Series | Add Genesys Logic GL9767 support | |
Message
Victor Shih
May 30, 2023, 9:53 a.m. UTC
From: Victor Shih <victor.shih@genesyslogic.com.tw>
These patches support for the GL9767 chipset and add support SD3/SD Express
mode for the GL9767.
Changes in v2 (May. 30, 2023)
* rebased to the linux-kernel-v6.4.0-rc1 in Ulf Hansson next branch.
* Add set SDR104's clock to 205MHz and enable SSC for GL9767.
* drop export sdhci_check_ro() function.
* Patch#1: add gl9767_vhs_read() and gl9767_vhs_write().
* Patch#3: use mmc->ops->get_ro() to instead sdhci_check_ro().
use msleep() to instead mdelay().
modify the wait time for Power valid to CLKREQ.
drop unused definitions.
----------------- original cover letter from v1 -----------------
These patches support for the GL9767 chipset and add support SD3/SD Express
mode for the GL9767.
Changes in v1 (May. 12, 2023)
* rebased to the linux-kernel-v6.4.0-rc1 in Ulf Hansson next branch.
* enable MSI interrupt for the GL9767.
* add support SDR mode for the GL9767.
* export sdhci_check_ro() function.
* add support SD Express mode for the GL9767.
Victor Shih (3):
mmc: sdhci-pci-gli: Add Genesys Logic GL9767 support
mmc: sdhci-pci-gli: Set SDR104's clock to 205MHz and enable SSC for
GL9767
mmc: sdhci-pci-gli: Add support SD Express card for GL9767
drivers/mmc/host/sdhci-pci-core.c | 1 +
drivers/mmc/host/sdhci-pci-gli.c | 398 ++++++++++++++++++++++++++++++
drivers/mmc/host/sdhci-pci.h | 2 +
3 files changed, 401 insertions(+)