Skip to content

Submit gs201 felix bring-up patch series 0001-0015 upstream #3

@ccrutchf

Description

@ccrutchf

What

15 patches drafted in the junkyard-boot-img/upstream-patches/ tree, applied on the felix branch of this kernel, are not yet sent to LKML / scsi-for-next / linux-arm-kernel.

Series breakdown

0001-0006 — UFS bring-up basics:

  • 0001 don't clobber bootloader IOCC bits when disabling
  • 0002 drop UFSHCD_QUIRK_PRDT_BYTE_GRAN from gs201 (lets UFS reach HS-G4 L2)
  • 0003 force 32-bit DMA mask on gs201/Tensor G2
  • 0004 fix two PMA register transcription typos in phy-samsung-gs101-ufs
  • 0005 enable PRDT prefetch on gs201 without crying
  • 0006 run PHY post-PMC calibration for non-PWM (gs101)

0007-0012 — PHY/UFS fixes:

  • 0007 add missing END_UFS_PHY_CFG terminator to pre_pwr_hs table
  • 0008 KDN_CTRL_MON dump + GSA mailbox shim for KDN_SET_OP_MODE
  • 0009 drop H8-entry writes from post_pwr_hs_config
  • 0010 three missing writes from systematic cal-if walk (gs101/gs201)
  • 0011 drop DESCTYPE probe loop, set FMPSECURITY0.DESCTYPE=0
  • 0012 silence debug instrumentation (dev_info -> dev_dbg) — interim, see UFS/PHY dev_info instrumentation needs proper cleanup before upstream #2

0013-0015 — gs201 CMU + UART:

  • 0013 clk-samsung-gs101: add gs201 Tensor G2 CMU_TOP/CMU_MIF
  • 0014 clk-samsung-gs101: add gs201 CMU_PERIC0 + USI0_UART chains
  • 0015 tty/serial/samsung: add google,gs201-uart compat (UPIO_MEM32)

Outreach

Drafts to Pixel team (8 questions, including AOC firmware) and Peter Griffin queued in upstream-help/. Two open questions before sending:

  1. The HS-Rate-B wedge (gs201 felix UFS: HS-Rate-B wedges at every gear (PWM workaround active) #1) — disclose the issue and ask for guidance, or ship the PWM-clamp series as-is and chase HS separately?
  2. dev_info cleanup (UFS/PHY dev_info instrumentation needs proper cleanup before upstream #2) — needs a real pass before 0012 is acceptable to mainline.

Why this matters

Out-of-tree patches rot. Each rebase against a newer upstream point (the 7.0 RTM rebase last week was the most recent) costs effort that goes away once these are landed. They're also of general interest — gs101/gs201 felix is one of the few Tensor devices being mainlined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions