phy: freescale: fsl-samsung-hdmi: Expand phy clock options
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest5 patches 5 repliesApplied
- v75 patches 7 repliesSuperseded
- v65 patches 10 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 5 patches | 12 replies | Superseded | |
| v4 | 5 patches | 5 replies | Superseded | |
| v3 RFC | 3 patches | 6 replies | Superseded | |
| v2 RFC | 2 patches | 4 replies | Superseded | |
| v1 RFC | 2 patches | 3 replies | Superseded |
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | phy: freescale: fsl-samsung-hdmi: Replace register defines with macrodrivers/ | +43 | 2 replies | |
| 2/5 | phy: freescale: fsl-samsung-hdmi: Simplify REG21_PMS_S_MASK lookupdrivers/ | +4 | 0 replies | |
| 3/5 | phy: freescale: fsl-samsung-hdmi: Support dynamic integerdrivers/ | +270 | 1 reply | |
| 4/5 | phy: freescale: fsl-samsung-hdmi: Use closest dividerdrivers/ | +29 | 1 reply | |
| 5/5 | phy: freescale: fsl-samsung-hdmi: Remove unnecessary LUT entriesdrivers/ | +13 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Marco Felsch | Frieder Schrempf | Dominique Martinet |
|---|---|---|---|
| 1/5 | R-b | R-b T-b | R-b T-b |
| 2/5 | R-b | R-b T-b | R-b T-b |
| 3/5 | R-b | R-b T-b | |
| 4/5 | R-b | R-b T-b | |
| 5/5 | R-b T-b | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH V8 0/5] phy: freescale: fsl-samsung-hdmi: Expand phy clock options
Currently, there is a look-up-table to describe all the clock options the HDMI PHY can use. Some of these entries in the LUT are using a fractional divider which does not have a well documented algorithm for determinging values, but the the integer divider can use an algorithm to calculate the integer divder values dynamically beyond those listed in the LUT and also duplicates some of the entries.
The first two patches do not do anything functionally other than simplify some of the register accesses and de-duplicates some of the register look-ups.
The third patch adds support for the integer divider and uses it whenever the clock request is an exact match. Otherwise, it will use the LUT as before. The rouding is still based on the LUT if the integer clock isn't an exact match.
The forth patch updates thes set_rate and round_rate functions to use either the fractional clock LUT or the the integer divder mechanism to determine which ever clock rate might be closest match.
The last patch removes the integer divider entries from the LUT since by then it'll be comparing both the integer divider calculator and the closest value in the LUT.
In my testing with a AOC 4K monitor, I was able to add 4 entries in my modetest table. I do not have an HDMI analyzer, so I just used my monitor to determine if this series worked.
Adam Ford (5):
phy: freescale: fsl-samsung-hdmi: Replace register defines with macro
phy: freescale: fsl-samsung-hdmi: Simplify REG21_PMS_S_MASK lookup
phy: freescale: fsl-samsung-hdmi: Support dynamic integer
phy: freescale: fsl-samsung-hdmi: Use closest divider
phy: freescale: fsl-samsung-hdmi: Remove unnecessary LUT entries
drivers/phy/freescale/phy-fsl-samsung-hdmi.c | 604 ++++++++++--------- 1 file changed, 325 insertions(+), 279 deletions(-)
Signature · 1 line
2.43.0