Skip to content

smiapp and smiapp-pll quirk improvements, fixes

Sakari Ailus linux-media 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest0 of 12 patches 0 repliesNew
  2. v117 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fix a compiler warning in smiapp-pll.c added by the patch changing limits to 64 bits.

- Add a patch that contains macros to access register address, width and flags (smiapp: Define macros for obtaining properties of register definitions).

- Add a patch to remove the old register quirks (smiapp: Remove unused quirk register functionality).

- Make register diversion quirk more generic. Access can be now avoided altogether; up to the quirk implementation. Quirk functions can perform further register accesses. Additional functions are provided for quirk functions to avoid checking for further quirks (no quirks for quirks).

- Add a patch to rename smia prefix still used somehwere as smiapp for consistency.

Patches in v2 No applies recorded yet

None of the 12 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/12] smiapp and smiapp-pll quirk improvements, fixes

Hi folks,

This is the second version of the smiapp and smiapp-pll quirk improvement patchset. The first version can be found here:

<URL:http://www.spinics.net/lists/linux-media/msg75538.html>

Changes since v1:

- Fix a compiler warning in smiapp-pll.c added by the patch changing limits to 64 bits.

- Add a patch that contains macros to access register address, width and flags (smiapp: Define macros for obtaining properties of register definitions).

- Add a patch to remove the old register quirks (smiapp: Remove unused quirk register functionality).

- Make register diversion quirk more generic. Access can be now avoided altogether; up to the quirk implementation. Quirk functions can perform further register accesses. Additional functions are provided for quirk functions to avoid checking for further quirks (no quirks for quirks).

- Add a patch to rename smia prefix still used somehwere as smiapp for consistency.

This patchset contains PLL quirk improvements to take quirks in some implementations into account, as well as make the quirk mechanisms more flexible. The driver core is mostly unaffected by these changes.

The PLL tree calculation itself is concerned less with the factual frequencies but focuses on producing multipliers and dividers that are valid for the hardware. Quirk flags are primarily used to convert input and output parameters.

The limit values are also made 64 bits; 64-bit values are needed in more generic case when floating point numbers are converted to fixed point.

There are some miscellaneous fixes as well.

Signature · 2 lines
Kind regards,
Sakari