From: Adrian Hunter <adrian.hunter@intel.com>
To: Victor Shih <victorshihgli@gmail.com>, ulf.hansson@linaro.org
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
benchuanggli@gmail.com, HL.Liu@genesyslogic.com.tw,
Greg.tu@genesyslogic.com.tw, takahiro.akashi@linaro.org,
dlunev@chromium.org,
Victor Shih <victor.shih@genesyslogic.com.tw>
Subject: Re: [PATCH V9 00/23] Add support UHS-II for GL9755
Date: Mon, 31 Jul 2023 18:29:19 +0300 [thread overview]
Message-ID: <e5d23a32-1ac5-d6a8-c9a4-15dfdd96ace8@intel.com> (raw)
In-Reply-To: <20230721101349.12387-1-victorshihgli@gmail.com>
On 21/07/23 13:13, Victor Shih wrote:
> From: Victor Shih <victor.shih@genesyslogic.com.tw>
>
> Summary
> =======
> These patches[1] support UHS-II and fix GL9755 UHS-II compatibility.
>
> About UHS-II, roughly deal with the following three parts:
> 1) A UHS-II detection and initialization:
> - Host setup to support UHS-II (Section 3.13.1 Host Controller Setup
> Sequence[2]).
> - Detect a UHS-II I/F (Section 3.13.2 Card Interface Detection Sequence
> [2]).
> - In step(9) of Section 3.13.2 in [2], UHS-II initialization is include
> Section 3.13.3 UHS-II Card Initialization and Section 3.13.4 UHS-II
> Setting Register Setup Sequence.
>
> 2) Send Legacy SD command through SD-TRAN
> - Encapsulated SD packets are defined in SD-TRAN in order to ensure Legacy
> SD compatibility and preserve Legacy SD infrastructures (Section 7.1.1
> Packet Types and Format Overview[3]).
> - Host issue a UHS-II CCMD packet or a UHS-II DCMD (Section 3.13.5 UHS-II
> CCMD Packet issuing and Section 3.13.6 UHS-II DCMD Packet issuing[2]).
>
> 3) UHS-II Interrupt
> - Except for UHS-II error interrupts, most interrupts share the original
> interrupt registers.
>
> Patch structure
> ===============
> patch#1-#6: for core
> patch#7-#22: for sdhci
> patch#23: for GL9755
>
> Changes in v9 (July. 21, 2023)
> * rebased to the linux-kernel-v6.5.0-rc1 in Ulf Hansson next branch.
> * according to the comments provided by Adrian Hunter to modify the
> patches base on the [V8 00/23] Add support UHS-II for GL9755.
> * Patch#2: move sd_uhs2_operation definition of PatchV8[05/23]
> to PatchV9[02/23] for avoid compilation errors.
> move uhs2_control definition of PatchV8[05/23]
> to PatchV9[02/23] for avoid compilation errors.
> move mmc_host flags definition of PatchV8[05/23]
> to PatchV9[02/23] for avoid compilation errors.
> move mmc_host flags MMC_UHS2_SUPPORT definition of
> PatchV8[05/23] to PatchV9[02/23] for avoid compilation errors.
> move mmc_host flags MMC_UHS2_SD_TRAN definition of
> PatchV8[05/23] to PatchV9[02/23] for avoid compilation errors.
> * Patch#7: Modify the commit message.
> * Patch#8: Modify the commit message.
> * Patch#11: Modify annotations in sdhci_get_vdd_value().
> * Patch#14: Simplity the turning_on_clk in sdhci_set_ios().
> * Patch#18: Modify the annotations in __sdhci_uhs2_send_command().
> * Patch#19: Cancel export state of sdhci_set_mrq_done() function.
> * Patch#23: Rename gl9755_pre_detect_init() to sdhci_gli_pre_detect_init().
> Rename gl9755_uhs2_reset_sd_tran() to
> sdhci_gli_uhs2_reset_sd_tran().
>
> Reference
> =========
> [1] https://gitlab.com/VictorShih/linux-uhs2.git
> [2] SD Host Controller Simplified Specification 4.20
> [3] UHS-II Simplified Addendum 1.02
> [4] https://patchwork.kernel.org/project/linux-mmc/cover/20230621100151.6329-1-victorshihgli@gmail.com/
>
> ----------------- original cover letter from v8 -----------------
> Summary
> =======
> These patches[1] support UHS-II and fix GL9755 UHS-II compatibility.
>
> About UHS-II, roughly deal with the following three parts:
> 1) A UHS-II detection and initialization:
> - Host setup to support UHS-II (Section 3.13.1 Host Controller Setup
> Sequence[2]).
> - Detect a UHS-II I/F (Section 3.13.2 Card Interface Detection Sequence
> [2]).
> - In step(9) of Section 3.13.2 in [2], UHS-II initialization is include
> Section 3.13.3 UHS-II Card Initialization and Section 3.13.4 UHS-II
> Setting Register Setup Sequence.
>
> 2) Send Legacy SD command through SD-TRAN
> - Encapsulated SD packets are defined in SD-TRAN in order to ensure Legacy
> SD compatibility and preserve Legacy SD infrastructures (Section 7.1.1
> Packet Types and Format Overview[3]).
> - Host issue a UHS-II CCMD packet or a UHS-II DCMD (Section 3.13.5 UHS-II
> CCMD Packet issuing and Section 3.13.6 UHS-II DCMD Packet issuing[2]).
>
> 3) UHS-II Interrupt
> - Except for UHS-II error interrupts, most interrupts share the original
> interrupt registers.
>
> Patch structure
> ===============
> patch#1-#6: for core
> patch#7-#22: for sdhci
> patch#23: for GL9755
>
> Changes in v8 (June. 21, 2023)
> * rebased to the linux-kernel-v6.4.0-rc6 in Ulf Hansson next branch.
> * fix most of checkpatch warnings/errors.
> * according to the comments provided by Adrian Hunter to modify the
> patches base on the [V7 00/23] Add support UHS-II for GL9755.
> * Patch#6: Add MMC_UHS2_SUPPORT to be cleared in sd_uhs2_detect().
> Modify return value in sd_uhs2_attach().
> * Patch#7: Use tabs instead of spaces.
> * Patch#8: Modify MODULE_LICENSE from "GPL v2" to "GPL".
> * Patch#10: Adjust the position of matching brackets.
> * Patch#11: Adjust the position of matching brackets.
> Add the initial value of the pwr in sdhci_uhs2_set_power().
> * Patch#13: Initialization be combined with declaration and realigned
> in sdhci_calc_timeout_uhs2().
> Forward declare struct mmc_command in sdhci_uhs2.h.
> * Patch#14: Add the judgment formula for MMC_TIMING_SPEED_A_HD,
> MMC_TIMING_SPEED_B and MMC_TIMING_SPEED_B_HD in
> __sdhci_uhs2_set_ios().
> Add the switch case for MMC_TIMING_SPEED_A_HD,
> MMC_TIMING_SPEED_B and MMC_TIMING_SPEED_B_HD in
> sdhci_get_preset_value().
> mmc_opt_regulator_set_ocr() to instead of
> mmc_regulator_set_ocr() in sdhci_uhs2_set_ios().
> * Patch#15: usleep_range() to instead of udelay() in
> sdhci_uhs2_interface_detect().
> read_poll_timeout() to instead of read_poll_timeout_atomic()
> in sdhci_uhs2_interface_detect().
> Modify return value in sdhci_uhs2_do_detect_init().
> * Patch#16: Remove unnecessary include file.
> read_poll_timeout() to instead of read_poll_timeout_atomic()
> in sdhci_uhs2_enable_clk().
> Put the comment on the end and put the lines in descending
> line length in sdhci_uhs2_enable_clk().
> Modify return value in sdhci_uhs2_enable_clk().
> * Patch#17: Reorder the definitions and lose the parentheses in
> sdhci_uhs2_set_config().
> read_poll_timeout() to instead of read_poll_timeout_atomic()
> in sdhci_uhs2_check_dormant().
> * Patch#18: Adjust the position of matching brackets in
> sdhci_uhs2_send_command_retry().
> Modify CameCase definition in __sdhci_uhs2_finish_command().
> Modify error message in __sdhci_uhs2_finish_command().
> sdhci_uhs2_send_command_retry() to instead of
> sdhci_uhs2_send_command() in sdhci_uhs2_request().
> Use sdhci_uhs2_mode() to simplify code in
> sdhci_uhs2_request_atomic().
> Add forward declaration for sdhci_send_command().
> * Patch#19: Forward declare struct mmc_request in sdhci_uhs2.h.
> Remove forward declaration of sdhci_send_command().
> Use mmc_dev() to simplify code in sdhci_request_done_dma().
> * Patch#20: Change return type to void for __sdhci_uhs2_add_host_v4().
> Remove unused variables in __sdhci_uhs2_add_host_v4().
> * Patch#22: Add config select MMC_SDHCI_UHS2 in Kconfig.
> * Patch#23: Use sdhci_get_vdd_value() to simplify code in
> gl9755_set_power().
> Use read_poll_timeout_atomic() to simplify code in
> sdhci_wait_clock_stable().
> Use read_poll_timeout_atomic() to simplify code in
> sdhci_gl9755_reset().
>
> Reference
> =========
> [1] https://gitlab.com/VictorShih/linux-uhs2.git
> [2] SD Host Controller Simplified Specification 4.20
> [3] UHS-II Simplified Addendum 1.02
> [4] https://patchwork.kernel.org/project/linux-mmc/cover/20230331105546.13607-1-victor.shih@genesyslogic.com.tw/
>
> ----------------- original cover letter from v7 -----------------
> Summary
> =======
> These patches[1] support UHS-II and fix GL9755 UHS-II compatibility.
>
> About UHS-II, roughly deal with the following three parts:
> 1) A UHS-II detection and initialization:
> - Host setup to support UHS-II (Section 3.13.1 Host Controller Setup Sequence
> [2]).
> - Detect a UHS-II I/F (Section 3.13.2 Card Interface Detection Sequence[2]).
> - In step(9) of Section 3.13.2 in [2], UHS-II initialization is include Section
> 3.13.3 UHS-II Card Initialization and Section 3.13.4 UHS-II Setting Register
> Setup Sequence.
>
> 2) Send Legacy SD command through SD-TRAN
> - Encapsulated SD packets are defined in SD-TRAN in order to ensure Legacy SD
> compatibility and preserve Legacy SD infrastructures (Section 7.1.1 Packet
> Types and Format Overview[3]).
> - Host issue a UHS-II CCMD packet or a UHS-II DCMD (Section 3.13.5 UHS-II
> CCMD Packet issuing and Section 3.13.6 UHS-II DCMD Packet issuing[2]).
>
> 3) UHS-II Interrupt
> - Except for UHS-II error interrupts, most interrupts share the original
> interrupt registers.
>
> Patch structure
> ===============
> patch#1-#6: for core
> patch#7-#22: for sdhci
> patch#23: for GL9755
For patches 7 - 23:
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
next prev parent reply other threads:[~2023-07-31 15:29 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-21 10:13 [PATCH V9 00/23] Add support UHS-II for GL9755 Victor Shih
2023-07-21 10:13 ` [PATCH V9 01/23] mmc: core: Cleanup printing of speed mode at card insertion Victor Shih
2023-07-21 10:13 ` [PATCH V9 02/23] mmc: core: Prepare to support SD UHS-II cards Victor Shih
2023-08-08 10:22 ` Ulf Hansson
2023-08-18 9:58 ` Victor Shih
2023-07-21 10:13 ` [PATCH V9 03/23] mmc: core: Announce successful insertion of an SD UHS-II card Victor Shih
2023-08-08 10:24 ` Ulf Hansson
2023-08-18 9:58 ` Victor Shih
2023-07-21 10:13 ` [PATCH V9 04/23] mmc: core: Extend support for mmc regulators with a vqmmc2 Victor Shih
2023-08-08 10:28 ` Ulf Hansson
2023-08-18 9:58 ` Victor Shih
2023-07-21 10:13 ` [PATCH V9 05/23] mmc: core: Add definitions for SD UHS-II cards Victor Shih
2023-08-08 10:46 ` Ulf Hansson
2023-08-18 9:58 ` Victor Shih
2023-07-21 10:13 ` [PATCH V9 06/23] mmc: core: Support UHS-II card control and access Victor Shih
2023-07-31 15:29 ` Adrian Hunter
2023-08-04 10:10 ` Victor Shih
2023-08-08 13:47 ` Ulf Hansson
2023-08-09 15:09 ` Victor Shih
2023-08-10 10:06 ` Ulf Hansson
2023-08-18 9:58 ` Victor Shih
2023-07-21 10:13 ` [PATCH V9 07/23] mmc: sdhci: add UHS-II related definitions in headers Victor Shih
2023-07-21 10:13 ` [PATCH V9 08/23] mmc: sdhci: add UHS-II module and add a kernel configuration Victor Shih
2023-07-21 10:13 ` [PATCH V9 09/23] mmc: sdhci-uhs2: dump UHS-II registers Victor Shih
2023-07-21 10:13 ` [PATCH V9 10/23] mmc: sdhci-uhs2: add reset function and uhs2_mode function Victor Shih
2023-07-21 10:13 ` [PATCH V9 11/23] mmc: sdhci-uhs2: add set_power() to support vdd2 Victor Shih
2023-07-21 10:13 ` [PATCH V9 12/23] mmc: sdhci-uhs2: skip signal_voltage_switch() Victor Shih
2023-07-21 10:13 ` [PATCH V9 13/23] mmc: sdhci-uhs2: add set_timeout() Victor Shih
2023-07-21 10:13 ` [PATCH V9 14/23] mmc: sdhci-uhs2: add set_ios() Victor Shih
2023-07-21 10:13 ` [PATCH V9 15/23] mmc: sdhci-uhs2: add detect_init() to detect the interface Victor Shih
2023-07-21 10:13 ` [PATCH V9 16/23] mmc: sdhci-uhs2: add clock operations Victor Shih
2023-07-21 10:13 ` [PATCH V9 17/23] mmc: sdhci-uhs2: add uhs2_control() to initialise the interface Victor Shih
2023-07-21 10:13 ` [PATCH V9 18/23] mmc: sdhci-uhs2: add request() and others Victor Shih
2023-07-21 10:13 ` [PATCH V9 19/23] mmc: sdhci-uhs2: add irq() " Victor Shih
2023-07-21 10:13 ` [PATCH V9 20/23] mmc: sdhci-uhs2: add add_host() and others to set up the driver Victor Shih
2023-07-21 10:13 ` [PATCH V9 21/23] mmc: sdhci-uhs2: add pre-detect_init hook Victor Shih
2023-07-21 10:13 ` [PATCH V9 22/23] mmc: sdhci-pci: add UHS-II support framework Victor Shih
2023-07-21 10:13 ` [PATCH V9 23/23] mmc: sdhci-pci-gli: enable UHS-II mode for GL9755 Victor Shih
2023-07-31 15:29 ` Adrian Hunter [this message]
2023-08-04 10:10 ` [PATCH V9 00/23] Add support UHS-II " Victor Shih
2023-08-18 9:58 ` Victor Shih
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e5d23a32-1ac5-d6a8-c9a4-15dfdd96ace8@intel.com \
--to=adrian.hunter@intel.com \
--cc=Greg.tu@genesyslogic.com.tw \
--cc=HL.Liu@genesyslogic.com.tw \
--cc=benchuanggli@gmail.com \
--cc=dlunev@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=takahiro.akashi@linaro.org \
--cc=ulf.hansson@linaro.org \
--cc=victor.shih@genesyslogic.com.tw \
--cc=victorshihgli@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox