All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/3] DCMI set minimum cpufreq requirement
@ 2020-06-09 11:58 ` Benjamin Gaignard
  0 siblings, 0 replies; 10+ messages in thread
From: Benjamin Gaignard @ 2020-06-09 11:58 UTC (permalink / raw)
  To: hugues.fruchet, mchehab, mcoquelin.stm32, alexandre.torgue
  Cc: Benjamin Gaignard, rjw, linux-kernel, linux-stm32,
	valentin.schneider, linux-arm-kernel, linux-media

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 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          | 137 +++++++++++++++++++--
 3 files changed, 138 insertions(+), 8 deletions(-)

-- 
2.15.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-06-10 11:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-09 11:58 [PATCH v5 0/3] DCMI set minimum cpufreq requirement Benjamin Gaignard
2020-06-09 11:58 ` Benjamin Gaignard
2020-06-09 11:58 ` [PATCH v5 1/3] dt-bindings: media: stm32-dcmi: Add DCMI min frequency property Benjamin Gaignard
2020-06-09 11:58   ` Benjamin Gaignard
2020-06-09 11:58 ` [PATCH v5 2/3] media: stm32-dcmi: Set minimum cpufreq requirement Benjamin Gaignard
2020-06-09 11:58   ` Benjamin Gaignard
2020-06-10 11:20   ` Valentin Schneider
2020-06-10 11:20     ` Valentin Schneider
2020-06-09 11:58 ` [PATCH v5 3/3] ARM: dts: stm32: Set DCMI frequency requirement for stm32mp15x Benjamin Gaignard
2020-06-09 11:58   ` Benjamin Gaignard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.