Skip to content

DCMI set minimum cpufreq requirement

Benjamin Gaignard linux-arm-kernel linux-devicetree linux-media lkml 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 4 repliesIn review
  2. v6 posting 2/23 patches 1 replySuperseded
  3. v6 posting 1/23 patches 4 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v53 patches1 replySuperseded
v43 patches1 replySuperseded
v33 patches1 replySuperseded
v23 patches1 replySuperseded
v11 patch7 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: media: stm32-dcmi: Add DCMI min frequency propertyDocumentation/devicetree/bindings/media/st,stm32-dcmi.yaml+8 -04 replies
2/3media: stm32-dcmi: Set minimum cpufreq requirementdrivers/media/platform/stm32/stm32-dcmi.c+130 -80 replies
3/3ARM: dts: stm32: Set DCMI frequency requirement for stm32mp15xarch/arm/boot/dts/stm32mp151.dtsi+1 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchValentin SchneiderHugues Fruchet
1/3
2/3R-b A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/3] DCMI set minimum cpufreq requirement

This series allow to STM32 camera interface (DCMI) to require a minimum frequency to the CPUs before start streaming frames from the sensor. The minimum frequency requirement is provided in the devide-tree node.

Setting a minimum frequency for the CPUs is needed to ensure a quick handling of the interrupts between two sensor frames and avoid dropping half of them.

version 7:
- rebase on v5.8-rc3
- add reviewed and ack-by
- fix test condition

version 6:
- come back to version 4 and follow Valentin's suggestions about notifier

version 5:
- add a mutex to protect dcmi_irq_notifier_notify()
- register notifier a probe time

version 4:
- simplify irq affinity handling by using only dcmi_irq_notifier_notify()

version 3:
- add a cpumask field to track boosted CPUs
- add irq_affinity_notify callback
- protect cpumask field with a mutex

Benjamin Gaignard (3):
dt-bindings: media: stm32-dcmi: Add DCMI min frequency property
media: stm32-dcmi: Set minimum cpufreq requirement
ARM: dts: stm32: Set DCMI frequency requirement for stm32mp15x

 .../devicetree/bindings/media/st,stm32-dcmi.yaml   |   8 ++
 arch/arm/boot/dts/stm32mp151.dtsi                  |   1 +
 drivers/media/platform/stm32/stm32-dcmi.c          | 138 +++++++++++++++++++--
 3 files changed, 139 insertions(+), 8 deletions(-)
Signature · 1 line
2.15.0