Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1961269rwd; Fri, 9 Jun 2023 04:59:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6CnN654DgsgZU92xiEozHke/AADsXMHhX0xhMdEJaclctTehHKTwdGD4QAlotsQzXehelb X-Received: by 2002:a17:90b:1194:b0:256:8cb7:2b2b with SMTP id gk20-20020a17090b119400b002568cb72b2bmr754046pjb.14.1686311942680; Fri, 09 Jun 2023 04:59:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686311942; cv=none; d=google.com; s=arc-20160816; b=jlvdCiiRPUIqfDyq3eAnaNOePHIgWSthi49O4UzOZhoHKohUdAXp4Mrp0bwgNIDblU 5INhB/fSZzma+bJJ381xF6/Z375WyBtuhtAfTy8NLM5ur5fBFfQXGYq25UwbH1XZVyao QeiLN1XYhI2zuWn/ryq3uVLvnRr6P2DlQ0qKyoo1MgzvJS4Lfmw8xqPcmHth3kpbLFsB hp9Yur1A6bjzw8fAhhL3b7tn1IVb32n2yr3FuMCCWDJIB4NF6c9b7adutxL4K9sGGp+q d7zPa2pKN3RuygvsZp7d79SctsDxscWrWcdsMeIIFqdjkhCw4vrywgsByRjHmnDOSIq/ k8oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gMW1YaKatM97etS/62dnKFcc8It58SI65TwJ47R3Y4o=; b=kGo+FMpSbAW67Z49aBUKp+SPWefdVaKaAUndgHUxjiCOZCQYUIWPHnTvKGyuwFAE50 8Zqu8rmmX5Kk8YxPxoxHfnUu1LKjp026sAn0NKKDiUEKq5EyT5uvQkGm68+/6mpSEfoG LRKDBMRKrZX3JEzX3pZr3pfC8QO1UL9FDBTbyeLwrThTlYKXPKSn2v8ALij7YKqseEIA hhzRx0f1q6zOygIUiwg+w0LHJLjw0DmDFqIhMvCw8OL8cpWWrB1vso8/Yu8jzdROf9Vq TXvd/T3x2K3EkkL4pgO/mDnpZh1HqWsRpthxDHyzb7Ywvk10qyR3/5hqhrJngNyivQkd 9efA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BO0w/ofK"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t12-20020a17090aba8c00b002597c3244c5si2581735pjr.80.2023.06.09.04.58.49; Fri, 09 Jun 2023 04:59:02 -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=@linaro.org header.s=google header.b="BO0w/ofK"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237678AbjFIL0Z (ORCPT + 99 others); Fri, 9 Jun 2023 07:26:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231266AbjFIL0N (ORCPT ); Fri, 9 Jun 2023 07:26:13 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32DD230D2 for ; Fri, 9 Jun 2023 04:26:11 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-bacfb7acdb7so1681919276.0 for ; Fri, 09 Jun 2023 04:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686309970; x=1688901970; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gMW1YaKatM97etS/62dnKFcc8It58SI65TwJ47R3Y4o=; b=BO0w/ofKCQMHsNTepcQnUX69bnO6fBXlCxNv1fQpNcQNuo7w7zpPUkiBZIspnZ3WY6 SgolR/q65spqEKZuxL30ZYJxBT5pFHzO+Jdlse4utU06WPqgNpsJ6FPdaHzt2zTuBDDV EKSocS68wpfxjRqICYV35Mqy9cbpY8VZ2oRtz5OBQZ1tEUD3+UoTmWLQna5jGSgWoIw/ 6HcmobL+kHWCEKCPFoTQ2Ee0tSc0ZICDRuKv6QEkYPAbbVcWpin8PcDiRnYd8rextou2 JoafI3NIbm2NOaVsmGpYOSxocgKCCLu9C1YGlPswru7/PPdFeOqJ2Z3reJguWxZMsjuD Uzyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686309970; x=1688901970; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gMW1YaKatM97etS/62dnKFcc8It58SI65TwJ47R3Y4o=; b=dIdtZN1YXtNLY1kvvjHfxUHl5Du+SBflmgydc79e32qWuQXDHBKy/zU3HyqGDE8I+z 7+WP+k4M4tCJmF0GL0wlLQ5Q4b3+Y7YpJbg0MuFqsm5E3I8qj4OpiAhbD6uY39N6BYWW 7gRSDuRb0MQZRdJJYpTHeBsHX6Fo91ytR3HlMUCneIQPf5eLuYhtUEtzNtbDr6cfM0Qf ZN8+wvRQfcO2zmcz024g+Hfh4pGgxzOUa5YEaNY8ihp8dqRLaYjphmiqokIHrru3Ywm1 yBYXm/m0nBQwygyfWfFbxWbaYaX5Sw6G4m7bfG+Gz9W5AEv4Y5Nf/snEaXGthG3Y7R+n XdIQ== X-Gm-Message-State: AC+VfDxyfm4MkHgsuJWkAJu9+pf2+pY8hPnwva53xps3807Po1YKX9dk wR07z8aqfnwDbWmUfgTzJpvNr+NN26UYA2SIAJODHwvFjSSXMTZD X-Received: by 2002:a25:ac19:0:b0:ba8:620b:38a7 with SMTP id w25-20020a25ac19000000b00ba8620b38a7mr711573ybi.53.1686309970382; Fri, 09 Jun 2023 04:26:10 -0700 (PDT) MIME-Version: 1.0 References: <20230609071441.451464-1-victorshihgli@gmail.com> In-Reply-To: <20230609071441.451464-1-victorshihgli@gmail.com> From: Ulf Hansson Date: Fri, 9 Jun 2023 13:25:34 +0200 Message-ID: Subject: Re: [PATCH V6 0/4] Add Genesys Logic GL9767 support To: Victor Shih Cc: adrian.hunter@intel.com, 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Jun 2023 at 09:14, Victor Shih wrote: > > From: Victor Shih > > These patches support for the GL9767 chipset and add support SD3/SD Express > mode for the GL9767. > > Changes in v6 (June. 9, 2023) > * rebased to the linux-kernel-v6.4.0-rc5 in Ulf Hansson next branch. > * Patch#2: use usleep_range() to instead msleep() in > gl9767_set_pll() function. > * Patch#4: use usleep_range() to instead msleep() in > gl9767_init_sd_express() function. > > ----------------- original cover letter from v5 ----------------- > These patches support for the GL9767 chipset and add support SD3/SD Express > mode for the GL9767. > > Changes in v5 (June. 1, 2023) > * rebased to the linux-kernel-v6.4.0-rc1 in Ulf Hansson next branch. > * Patch#3: adjust the alignment of definitions. > > ----------------- original cover letter from v4 ----------------- > These patches support for the GL9767 chipset and add support SD3/SD Express > mode for the GL9767. > > Changes in v4 (May. 31, 2023) > * rebased to the linux-kernel-v6.4.0-rc1 in Ulf Hansson next branch. > * add VDD2 definition for power control-register. > * Patch#4: use SDHCI_VDD2_POWER_ON to instead SDHCI_POWER_ON in > gl9767_init_sd_express() function. > use SDHCI_VDD2_POWER_180 to instead SDHCI_POWER_180 in > gl9767_init_sd_express() function. > > ----------------- original cover letter from v3 ----------------- > 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 (4): > 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: Add VDD2 definition for power control register > 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 + > drivers/mmc/host/sdhci.h | 7 + > 4 files changed, 416 insertions(+) > Applied for next, thanks! Kind regards Uffe