Message ID | 20230531095721.392664-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 k13csp2767654vqr; Wed, 31 May 2023 03:17:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ55aR2vXh5xUjBEKbwKSWO8bqTHu1zKL6YcFY1dIVo0lXXaxouNxg9EceaEz0X62//idNkh X-Received: by 2002:a05:6870:8227:b0:19f:a55e:ca79 with SMTP id n39-20020a056870822700b0019fa55eca79mr2293085oae.30.1685528260239; Wed, 31 May 2023 03:17:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685528260; cv=none; d=google.com; s=arc-20160816; b=yUtGERjLyfXQcoOosN/9oBglRWcx8KxonCEEDxhcSnv3vTJxxiv3Vw7sZJIuUPHpoE OVzzWlfNgzldxShxxNlqEYkdHSKld5EEWKdHa9rvCYcvTaY39qmxvJ2bXYek4Auy2THj i0o+Eiif+p+1C/6Brlh8W1EL6tWsWGu6D9Q/52G6dR0nnpPv8gwuarGqtrbpdxm/Whcn zhnGBScQXLd0zFSMau+GNesOXNgYSGTJ6It5eFydfI14pDoQEr39dO6exM2EhsbpL1oN x44SvpSscV19U/UQ2pkfPK+9PR4hv4+G4OCXlo9tVm6p3DShXGU9UCiGEHKr/lPPYcXM EOEQ== 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=BOc0UBOtHPdYEoOqTP4iajGTGug0Xs6mCkm+zIdi5v4=; b=cw9GStzFyohA+on3kzs0i5B9pyAMVCRwpbhkG658AjVC0pK6YJlJXRUc/w2hvE64/T j6JxsdWt2VhItxKQ6FIGr1RzDPA3ggA96mmDy+BjmnSXf4R4CCskgwDbLlUapnFr6MUy aLcK3pT7INuNNn1gzfNoH5gvXZX+te15Z9ABl6fJLLI0fc/AsBs1SIKwj3KfCrKkCqB/ ZvkujnHbwIf7SGcmyrbRXy+KLW4nmYVm5cBWa0a7OTfq+LJkWMbAgy+gBYFMgtfdnZBr MNAbtkR5XTjbp0NiCZPtdwhvn82bKjYj+wwW6qi4kdLB+Sz4ccYzqaruEg0Bv4bjaX0Z xg9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="beEXgrl/"; 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 w198-20020a627bcf000000b0063b77e2123csi3280315pfc.26.2023.05.31.03.17.28; Wed, 31 May 2023 03:17:40 -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="beEXgrl/"; 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 S235580AbjEaJ5p (ORCPT <rfc822;andrewvogler123@gmail.com> + 99 others); Wed, 31 May 2023 05:57:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231495AbjEaJ5m (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 31 May 2023 05:57:42 -0400 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECAE6129; Wed, 31 May 2023 02:57:28 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-39810ce3e13so3907978b6e.2; Wed, 31 May 2023 02:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685527048; x=1688119048; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BOc0UBOtHPdYEoOqTP4iajGTGug0Xs6mCkm+zIdi5v4=; b=beEXgrl/jUImnnx9RoObOda6LFybucDQby4FKmALz/o9bThirL16WsPMVYZHhUScYE SM0QcqROK2TTDqibYc5/86ft3km8fg/x1+UcO1yYZ9d+WW7NocBhHBWv+3pvGWOsc0lH DPF+Ud57Xeq/io94Qss7DEgR6Lzxby6VQ0At22V1iwCw77lQI7+wYvAh2cxtXknpDOQ4 a5S4jpe+mfjBWF0ku1O7sSPXJ/mnXFTTgK4p6CyBKYRdBrIynarSapfLHY/2RKEFD7d/ R4zC42p+AfiX5jYoSvgSAw574buaOLloZvcS/EExEIurA002MD645s91v73t5VjLrbpp t+dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685527048; x=1688119048; 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=BOc0UBOtHPdYEoOqTP4iajGTGug0Xs6mCkm+zIdi5v4=; b=GviZXCXj+7iXXYdVxsVToczFOPPblDYIUpaw7BDfJ08hFkLGFngCa0oW5p3txPbK2a sx+wx4o+MQQsD2AQkFB5EK37Cxi7FPktCHL8fvlWyz/Si8LSTBlyCvSXDW76rp1ReeJA /ikj4dAbWjyGCxpPIdg6dHpUyoRkTQX+/MlgeEzA4R8rbhrDzpNvu3p98wv/Y/mrT5Du yegM9aoxTdUaEJSr4ETrwEmZSBRqLm9biXmkx+7SoV8EzUGJISE0C6T2U0NeqfMz5Bky VKX8+CJmR7MsuTVuPYZFwSrpyKyBcnQ8UE5JVpNkHP5vMZKNHmleWys9MI+QVcwy+j2a TboA== X-Gm-Message-State: AC+VfDzwmK1fD8xw/fH+P5OtqJoqIla926hShgJnySoWV2tkC+3aaxoP qBcQD5rZFfmubDjckebC/vVl+J0re54= X-Received: by 2002:a05:6808:b15:b0:398:26f0:6799 with SMTP id s21-20020a0568080b1500b0039826f06799mr3491208oij.13.1685527048125; Wed, 31 May 2023 02:57:28 -0700 (PDT) Received: from localhost.localdomain (2001-b400-e454-8dbb-0ba6-8aef-0dad-9e10.emome-ip6.hinet.net. [2001:b400:e454:8dbb:ba6:8aef:dad:9e10]) by smtp.gmail.com with ESMTPSA id f16-20020a656290000000b00514256c05c2sm852002pgv.7.2023.05.31.02.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 02:57:27 -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 V3 0/3] Add Genesys Logic GL9767 support Date: Wed, 31 May 2023 17:57:18 +0800 Message-Id: <20230531095721.392664-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?1767404481260095147?= X-GMAIL-MSGID: =?utf-8?q?1767404481260095147?= |
Series | Add Genesys Logic GL9767 support | |
Message
Victor Shih
May 31, 2023, 9:57 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 v3 (May. 31, 2023)
* rebased to the linux-kernel-v6.4.0-rc1 in Ulf Hansson next branch.
* Patch#2: use msleep() to instead mdelay().
* Patch#3: modify the if-else condition and content in
gl9767_init_sd_express() function.
adjust the order of definitions.
----------------- original cover letter from v2 -----------------
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 | 406 ++++++++++++++++++++++++++++++
drivers/mmc/host/sdhci-pci.h | 2 +
3 files changed, 409 insertions(+)