# 假设你已经修改了代码,现在查看修改状态 git status # On branch o2micro-gg8-sd-express # Changes not staged for commit: # modified: drivers/mmc/host/sdhci-pci-o2micro.c # modified: drivers/mmc/host/sdhci-pci.h
# 提交(注意:-s 自动添加 Signed-off-by) git commit -s -m "mmc: sdhci-pci-o2micro: add Bayhub new chip GG8 support for UHS-I This patch adds support for Bayhub(O2Micro) GG8 chip family (0x9860-0x9863) including: - Device ID registration - UHS-I timing configuration - DLL phase tuning for SDR104 mode"
# 提交第二个补丁 git add drivers/mmc/host/sdhci-pci-o2micro.c git commit -s -m "mmc: sdhci-pci-o2micro: add Bayhub new chip GG8 support for express card Add Bayhub new chip GG8 support for SD express card. This patch depends on patch 1/2 which adds GG8 device ID support. The SD Express support implementation: - Registers init_sd_express callback - Implements PCIe mode switch sequence - Handles fallback to Legacy mode on failure"
# 查看生成的文件 $ ls -la outgoing/ -rw-r--r-- 1 user 8.5K Oct 24 10:30 0001-mmc-sdhci-pci-o2micro-add-Bayhub-new-chip-GG8-support-for-UHS-I.patch -rw-r--r-- 1 user 6.2K Oct 24 10:30 0002-mmc-sdhci-pci-o2micro-add-Bayhub-new-chip-GG8-support-for-express-card.patch
Subject: [PATCH 0/2] mmc: sdhci-pci-o2micro: add GG8 chip support
-------------------------------------------------------- This series adds support for Bayhub(O2Micro) GG8 chip family (PCI Device ID 0x9860-0x9863) to the o2micro SD host controller driver, including UHS-I and SD Express support.
Testing: - Tested on GG8 development board - Tested with SanDisk Ultra SDXC 64GB (SD mode) - Tested with Lexar SD Express 256GB (PCIe mode)
Changes in V2: - Increased DLL lock timeout per Adrian's suggestion - Improved error handling in init_sd_express --------------------------------------------------------
Subject: [PATCH 2/2] mmc: sdhci-pci-o2micro: add Bayhub new chip GG8 support for express card
This patch depends on patch 1/2 which adds GG8 device ID support.
The SD Express support implementation: - Registers init_sd_express callback - Implements PCIe mode switch sequence - Handles fallback to Legacy mode on failure
Link: https://lore.kernel.org/r/20230811033517.11532-2-chevron_li@126.com Signed-off-by: Chevron Li <chevron.li@bayhubtech.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com>