On 3/18/19 11:05 AM, Benjamin Gaignard wrote:
> Document commons domains controller bindings for controller
> and client devices.
>
> Signed-off-by: Benjamin Gaignard
Hi Rob,
In the first version of this series you have asked me to rework the
framework description.
Does this v2
On 7/14/19 12:09 PM, Jonathan Cameron wrote:
> On Thu, 11 Jul 2019 21:16:20 +0900
> William Breathitt Gray wrote:
>
>> On Thu, Jul 11, 2019 at 02:12:27PM +0200, Benjamin Gaignard wrote:
>>> Le jeu. 11 juil. 2019 à 13:51, William Breathitt Gray
>>> a écrit :
&
Le jeu. 25 juil. 2019 à 13:40, Hans Verkuil a écrit :
>
> On 7/2/19 5:52 PM, Hugues Fruchet wrote:
> > Add support of several sub-devices within pipeline instead
> > of a single one.
> > This allows to support a CSI-2 camera sensor connected
> > through a CSI-2 to parallel bridge.
> >
> > Signed-o
Le mar. 30 juil. 2019 à 00:27, Gustavo A. R. Silva
a écrit :
>
> Mark switch cases where we are expecting to fall through.
>
> This patch fixes the following warning (Building: arm):
>
> drivers/gpu/drm/sti/sti_hdmi.c: In function ‘hdmi_audio_configure’:
> drivers/gpu/drm/sti/sti_hdmi.c:851:13: wa
On 6/19/19 11:52 AM, Fabrice Gasnier wrote:
> STM32 Timers support generic 3 cells PWM to encode PWM number, period and
> polarity.
>
> Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm")
Reviewed-by: Benjamin Gaignard
>
> Signed-off-by: Fabrice Gasnier
>
Le mer. 24 avr. 2019 à 09:25, Benjamin Gaignard
a écrit :
>
> Le mar. 23 avr. 2019 à 19:46, Fabio Estevam a écrit :
> >
> > On Wed, Feb 27, 2019 at 1:21 PM Alexandre Torgue
> > wrote:
> > >
> > >
> > > On 2/14/19 9:31 AM, Benjamin Gaignard wr
Le jeu. 11 juil. 2019 à 13:51, William Breathitt Gray
a écrit :
>
> On Tue, May 07, 2019 at 11:12:24AM +0200, Benjamin Gaignard wrote:
> > Quadrature feature is now hosted on it own framework.
> > Remove quadrature related code from stm32-trigger driver to avoid
> > code
y modify it.
> >
> > Signed-off-by: Sam Ravnborg
> > Cc: Yannick Fertre
> > Cc: Philippe Cornu
> > Cc: Benjamin Gaignard
> > Cc: Vincent Abriou
> > Cc: David Airlie
> > Cc: Daniel Vetter
> > ---
>
> Acked-by: Noralf Trønnes
Acked-
d-off-by: Sam Ravnborg
> Acked-by: Noralf Trønnes
> Acked-by: Benjamin Gaignard
> Cc: Yannick Fertre
> Cc: Philippe Cornu
> Cc: Vincent Abriou
> Cc: David Airlie
> Cc: Daniel Vetter
> ---
> drivers/gpu/drm/stm/drv.c | 6 +-
> drivers/gpu/drm/stm/ltdc.c | 9
Le jeu. 7 mars 2019 à 16:42, Fabien Dessenne a écrit :
>
> Implement this optional ops, called by hwspinlock core while spinning on
> a lock, between two successive invocations of trylock().
>
> Signed-off-by: Fabien Dessenne
Reviewed-by: Benjamin Gaignard
> ---
>
eral CEC drivers take a reference of the HDMI
> device and never release it. So those drivers need to be fixed.
>
> This patch fixes those two issues.
Reviewed-by: Benjamin Gaignard
>
> Fixes: fc4e009c6c98 ("[media] stih-cec: add CEC notifier support")
> Suggested-by
Make sure that ARM errata 814220 is selected by STM32MP157 SoC
Signed-off-by: Benjamin Gaignard
---
arch/arm/mach-stm32/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig
index 713c068b953f..be2403fa3deb 100644
--- a/arch/arm
Signed-off-by: Benjamin Gaignard
---
arch/arm/Kconfig | 10 ++
arch/arm/mm/cache-v7.S | 3 +++
2 files changed, 13 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 664e918e2624..6f608558e22a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1227,6 +1227,16
Implement ARM errata 814220 for Cortex A7.
This patch has been wroten by Jason Liu years ago but never send upstream.
I have tried to contact the author on multiple email addresses but I haven't
found any valid one...
I have keep Jason's sign-off and just rebase the patch on to v5-rc6.
Le lun. 28 janv. 2019 à 15:23, Benjamin Gaignard
a écrit :
>
> Document commons domains controller bindings for controller
> and client devices.
Gentle ping to get comments on those bindings,
Thanks,
Benjamin
>
> Signed-off-by: Benjamin Gaignard
> ---
> version 2:
&
n, so
> thanks to its original authors and maintainters:
> Rebecca Schultz Zavin, Colin Cross, Laura Abbott, and others!
>
> Cc: Laura Abbott
> Cc: Benjamin Gaignard
> Cc: Greg KH
> Cc: Sumit Semwal
> Cc: Liam Mark
> Cc: Brian Starkey
> Cc: Andrew F. Davis
>
ters:
> Benjamin Gaignard, Laura Abbott, and others!
>
> Cc: Laura Abbott
> Cc: Benjamin Gaignard
> Cc: Greg KH
> Cc: Sumit Semwal
> Cc: Liam Mark
> Cc: Brian Starkey
> Cc: Andrew F. Davis
> Cc: Chenbo Feng
> Cc: Alistair Strachan
> Cc: dri-de
given its own device node, which a user can
> allocate a dma-buf fd from using the DMA_HEAP_IOC_ALLOC.
>
> This code is an evoluiton of the Android ION implementation,
> and a big thanks is due to its authors/maintainers over time
> for their effort:
> Rebecca Schultz Zavin, C
Le mar. 5 mars 2019 à 21:54, John Stultz a écrit :
>
> Add very trivial allocation test for dma-heaps.
>
> TODO: Need to actually do some validation on
> the returned dma-buf.
>
> Cc: Laura Abbott
> Cc: Benjamin Gaignard
> Cc: Greg KH
> Cc: Sumit Semwal
> C
STI CEC driver has move from staging directory to media/platform/sti/cec/
Signed-off-by: Benjamin Gaignard
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index b22e7fdfd2ea..8aa973410e2f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
From: Benjamin Gaignard
If wake up irq is defined in device-tree cec adapter
could be used has wake up source.
Signed-off-by: Benjamin Gaignard
---
drivers/media/platform/stm32/stm32-cec.c | 44 +++-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a
CEC hardware block is enable to resume the system if a command is received
on data lane.
Prior to implement suspend/resume functions a patch simplify clock management
int the driver by introducting pm_runtime{suspend/resume} functions.
Benjamin Gaignard (2):
cec: stm32: simplify clock
From: Benjamin Gaignard
Since CEC framework enable and disable the adapter when it is needed
just follow it orders to enable/disable the clocks.
Call stm32_cec_hw_init() when the adapter is enabled and do not let
regmap manage registers clock help to simplify clocking scheme.
While reworking
2018-03-15 18:10 GMT+01:00 Greg KH :
> On Tue, Feb 27, 2018 at 03:09:24PM +0100, Benjamin Gaignard wrote:
>> When being notified that a driver is about to be bind a listener
>> could return NOTIFY_BAD.
>> Check the return to be sure that the driver could be bind.
>>
comments done on v2 and v3
- use PWM atomic ops
version 2:
- only keep one comptatible
- use DT parameters to discover hardware block configuration
Signed-off-by: Benjamin Gaignard
---
drivers/pwm/Kconfig | 11 ++
drivers/pwm/Makefile| 1 +
drivers/pwm/pwm-stm32.c | 363
ccepted and/or create by the device
Signed-off-by: Benjamin Gaignard
---
.../ABI/testing/sysfs-bus-iio-timer-stm32 | 55 +++
drivers/iio/Kconfig| 2 +-
drivers/iio/Makefile | 1 +
drivers/iio/timer/Kconfig
"st,stm32-timer-trigger" in DT
version 2:
- use parameters to describe hardware capabilities
- do not use references for pwm and iio timer subnodes
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stm32f429.dtsi | 276 +-
arch/arm/boot/dts
Define bindings for pwm-stm32
version 2:
- use parameters instead of compatible of handle the hardware configuration
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/pwm/pwm-stm32.txt | 33 ++
1 file changed, 33 insertions(+)
create mode 100644
Add bindings information for STM32 General Purpose Timer
version 2:
- rename stm32-mfd-timer to stm32-gptimer
- only keep one compatible string
Signed-off-by: Benjamin Gaignard
---
.../bindings/mfd/stm32-general-purpose-timer.txt | 39 ++
1 file changed, 39 insertions
the structure shared with other drivers
version 2:
- rename driver "stm32-gptimer" to be align with SoC documentation
- only keep one compatible
- use of_platform_populate() instead of devm_mfd_add_devices()
Signed-off-by: Benjamin Gaignard
---
drivers/mfd/Kconfig
> export
/sys/devices/platform/soc/4400.gptimer/4400.gptimer:pwm@0/pwm/pwmchip4
# echo 100 > pwm0/period
/sys/devices/platform/soc/4400.gptimer/4400.gptimer:pwm@0/pwm/pwmchip4
# echo 500000 > pwm0/duty_cycle
/sys/devices/platform/soc/4400.gptimer/4400.gptim
triggers created by the device
another one give the triggers accepted by the device
Signed-off-by: Benjamin Gaignard
---
.../bindings/iio/timer/stm32-timer-trigger.txt | 23 ++
1 file changed, 23 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iio/timer
[snip]
>
> I'm not going to push too hard, but I still thing "advanced-control"
> would suit better, since this is not *just* a timer. In fact, the
> parent device (the MFD) doesn't have any timer functionality. That's
> what "timer@0" does.
>
> The IP is called "Advanced Control" in the datashee
[snip]
>> +
>> +static const char * const triggers0[] = {
>> + TIM1_TRGO, TIM1_CH1, TIM1_CH2, TIM1_CH3, TIM1_CH4, NULL,
>> +};
>> +
>> +static const char * const triggers1[] = {
>> + TIM2_TRGO, TIM2_CH1, TIM2_CH2, TIM2_CH3, TIM2_CH4, NULL,
>> +};
>> +
>> +static const char * const triggers2
2016-12-07 11:50 GMT+01:00 Lee Jones :
> On Tue, 06 Dec 2016, Benjamin Gaignard wrote:
>
>> [snip]
>> >> +
>> >> +static const char * const triggers0[] = {
>> >> + TIM1_TRGO, TIM1_CH1, TIM1_CH2, TIM1_CH3, TIM1_CH4, NULL,
>> >
dd_devices()
Signed-off-by: Benjamin Gaignard
---
drivers/mfd/Kconfig | 11 ++
drivers/mfd/Makefile | 2 +
drivers/mfd/stm32-gptimer.c | 80 +++
include/linux/mfd/stm32-gptimer.h | 64 +++
4 fil
Add bindings information for STM32 General Purpose Timer
version 2:
- rename stm32-mfd-timer to stm32-gptimer
- only keep one compatible string
Signed-off-by: Benjamin Gaignard
---
.../bindings/mfd/stm32-general-purpose-timer.txt | 39 ++
1 file changed, 39 insertions
m/pwmchip4 #
echo 50 > pwm0/duty_cycle
/sys/devices/platform/soc/4400.timers/4400.timers:pwm@0/pwm/pwmchip4 #
echo 1 > pwm0/enable
Benjamin Gaignard (7):
MFD: add bindings for STM32 General Purpose Timer driver
MFD: add STM32 General Purpose Timer driver
PWM: add pwm-stm32 DT
Define bindings for pwm-stm32
version 2:
- use parameters instead of compatible of handle the hardware configuration
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/pwm/pwm-stm32.txt | 33 ++
1 file changed, 33 insertions(+)
create mode 100644
instead of additional parameters to set timer
configuration
version 3:
- use "st,stm32-timer-trigger" in DT
version 2:
- use parameters to describe hardware capabilities
- do not use references for pwm and iio timer subnodes
Signed-off-by: Benjamin Gaignard
---
arch/arm/boo
comments done on v2 and v3
- use PWM atomic ops
version 2:
- only keep one comptatible
- use DT parameters to discover hardware block configuration
Signed-off-by: Benjamin Gaignard
---
drivers/pwm/Kconfig | 9 ++
drivers/pwm/Makefile| 1 +
drivers/pwm/pwm-stm32.c | 362
triggers created by the device
another one give the triggers accepted by the device
Signed-off-by: Benjamin Gaignard
---
.../bindings/iio/timer/stm32-timer-trigger.txt | 23 ++
1 file changed, 23 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iio/timer
,input-triggers-names and st,output-triggers-names
to know which triggers are accepted and/or create by the device
Signed-off-by: Benjamin Gaignard
---
.../ABI/testing/sysfs-bus-iio-timer-stm32 | 55 +++
drivers/iio/Kconfig| 2 +-
drivers/iio/Makefile
ng frequency without using pwm interface
Signed-off-by: Benjamin Gaignard
---
drivers/iio/Kconfig| 2 +-
drivers/iio/Makefile | 1 +
drivers/iio/timer/Kconfig | 15 +
drivers/iio/timer/Makefile | 1 +
drivers/iio/timer/
Add bindings information for stm32 timer MFD
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/mfd/stm32-timer.txt| 53 ++
1 file changed, 53 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/stm32-timer.txt
diff --git a
Define bindings for stm32 IIO timer
Signed-off-by: Benjamin Gaignard
---
.../bindings/iio/timer/stm32-iio-timer.txt | 33 ++
1 file changed, 33 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iio/timer/stm32-iio-timer.txt
diff --git a
internal table that describe them.
Signed-off-by: Benjamin Gaignard
---
drivers/pwm/Kconfig | 8 ++
drivers/pwm/Makefile| 1 +
drivers/pwm/pwm-stm32.c | 358
3 files changed, 367 insertions(+)
create mode 100644 drivers/pwm/pwm-stm32.c
/sys/devices/platform/soc/4400.mfdtimer3/pwm3/pwm/pwmchip4 # echo 1 >
pwm0/enable
Benjamin Gaignard (7):
add binding for stm32 multifunctions timer driver
add MFD for stm32 timer IP
add pwm-stm32 DT bindings
add pwm driver for stm32 plaftorm
add bindings for stm32 IIO timer drivers
Define binding for pwm-stm32
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/pwm/pwm-stm32.txt | 43 ++
1 file changed, 43 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-stm32.txt
diff --git a/Documentation/devicetree
This hardware block could at used at same time for PWM generation
and IIO timer for other IPs like DAC, ADC or other timers.
PWM and IIO timer configuration are mixed in the same registers
so we need a MFD to be able to share those registers.
Signed-off-by: Benjamin Gaignard
---
drivers/mfd
Add timers MFD and childs into DT for stm32f4.
Define and enable pwm1 and pwm3 for stm32f469 discovery board
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stm32f429.dtsi | 246 ++
arch/arm/boot/dts/stm32f469-disco.dts | 29
2 files changed
Your comments are welcome on all of them ;-)
2016-11-22 17:41 GMT+01:00 Lee Jones :
> On Tue, 22 Nov 2016, Lee Jones wrote:
>
>> On Tue, 22 Nov 2016, Benjamin Gaignard wrote:
>>
>> > This hardware block could at used at same time for PWM generation
>> > and I
[snip]
>> + "st,stm32-iio-timer5"
>> + "st,stm32-iio-timer6"
>> + "st,stm32-iio-timer7"
>> + "st,stm32-iio-timer8"
>> + "st,stm32-iio-timer9"
>> + "st,stm32-iio-timer10"
>> + "st,stm32-iio-timer11"
>> + "st,stm32-iio-timer12"
>> + "st,stm32-iio-timer13"
>> +
2016-11-22 17:52 GMT+01:00 Lee Jones :
> On Tue, 22 Nov 2016, Benjamin Gaignard wrote:
>
>> Add bindings information for stm32 timer MFD
>>
>> Signed-off-by: Benjamin Gaignard
>> ---
>> .../devicetree/bindings/mfd/stm32-timer.txt| 53
>> +++
If it is ok for you I will add "id" parameter in mfd driver and
forward it to the sub-devices drivers
to be able to distinguish the hardware blocks
2016-11-22 18:18 GMT+01:00 Lee Jones :
> On Tue, 22 Nov 2016, Benjamin Gaignard wrote:
>
>> [snip]
>> >> + &qu
2016-11-23 10:21 GMT+01:00 Lee Jones :
> On Wed, 23 Nov 2016, Benjamin Gaignard wrote:
>
>> 2016-11-22 17:52 GMT+01:00 Lee Jones :
>> > On Tue, 22 Nov 2016, Benjamin Gaignard wrote:
>> >
>> >> Add bindings information for stm32 timer MFD
&g
400.gptimer3/4400.gptimer3:pwm3@0/pwm/pwmchip4
# echo 50 > pwm0/duty_cycle
/sys/devices/platform/soc/40000400.gptimer3/4400.gptimer3:pwm3@0/pwm/pwmchip4
# echo 1 > pwm0/enable
Benjamin Gaignard (7):
MFD: add bindings for stm32 general purpose timer driver
MFD: add stm3
Define bindings for pwm-stm32
version 2:
- use parameters instead of compatible of handle the hardware configuration
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/pwm/pwm-stm32.txt | 37 ++
1 file changed, 37 insertions(+)
create mode 100644
Add bindings information for stm32 general purpose timer
version 2:
- rename stm32-mfd-timer to stm32-gptimer
- only keep one compatible string
Signed-off-by: Benjamin Gaignard
---
.../bindings/mfd/stm32-general-purpose-timer.txt | 43 ++
1 file changed, 43 insertions
Add general purpose timers and it sub-nodes into DT for stm32f4.
Define and enable pwm1 and pwm3 for stm32f469 discovery board
version 2:
- use parameters to describe hardware capabilities
- do not use references for pwm and iio timer subnodes
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot
stm32-gptimer" to be align with SoC documentation
- only keep one compatible
- use of_platform_populate() instead of devm_mfd_add_devices()
Signed-off-by: Benjamin Gaignard
---
drivers/mfd/Kconfig | 10 ++
drivers/mfd/Makefile | 2 ++
drivers/mfd/stm32-gptimer.c
Define bindings for stm32 IIO timer
version 2:
- only keep one compatible
- add DT parameters to set lists of the triggers:
one list describe the triggers created by the device
another one give the triggers accepted by the device
Signed-off-by: Benjamin Gaignard
---
.../bindings/iio/timer
:
- only keep one comptatible
- use DT paramaters to discover hardware block configuration
Signed-off-by: Benjamin Gaignard
---
drivers/pwm/Kconfig | 8 ++
drivers/pwm/Makefile| 1 +
drivers/pwm/pwm-stm32.c | 285
3 files changed, 294
ng frequency without using pwm interface
version 2:
- keep only one compatible
- use st,input-triggers-names and st,output-triggers-names
to know which triggers are accepted and/or create by the device
Signed-off-by: Benjamin Gaignard
---
drivers/iio/Kconfig
name
- use "reg" instead of additional parameters to set timer
configuration
version 3:
- use "st,stm32-timer-trigger" in DT
version 2:
- use parameters to describe hardware capabilities
- do not use references for pwm and iio timer subnodes
Signed-off-by: Benjamin Gaignard
Define and enable pwm1 and pwm3 for stm32f469 discovery board
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stm32f469-disco.dts | 28
1 file changed, 28 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f469-disco.dts
b/arch/arm/boot/dts/stm32f469
Define bindings for pwm-stm32
version 6:
- change st,breakinput parameter format to make it usuable on stm32f7 too.
version 2:
- use parameters instead of compatible of handle the hardware configuration
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/pwm/pwm-stm32.txt
uot; to be align with SoC documentation
- only keep one compatible
- use of_platform_populate() instead of devm_mfd_add_devices()
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/mfd/stm32-timers.txt | 2 +-
drivers/mfd/Kconfig| 11 +++
drivers/mf
- keep only one compatible
- use st,input-triggers-names and st,output-triggers-names
to know which triggers are accepted and/or create by the device
Signed-off-by: Benjamin Gaignard
---
.../ABI/testing/sysfs-bus-iio-timer-stm32 | 29 ++
drivers/iio/Kconfig
triggers created by the device
another one give the triggers accepted by the device
Signed-off-by: Benjamin Gaignard
---
.../bindings/iio/timer/stm32-timer-trigger.txt | 23 ++
1 file changed, 23 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iio/timer
valid and configure the IPs.
At run time IIO timer hardware blocks can configure (through "master_mode"
IIO device attribute) which internal signal (counter enable, reset,
comparison block, etc...) is used to generate the trigger.
Benjamin Gaignard (8):
MFD: add bindings for STM32 Time
stm32f7 too.
version 4:
- detect at probe time hardware capabilities
- fix comments done on v2 and v3
- use PWM atomic ops
version 2:
- only keep one comptatible
- use DT parameters to discover hardware block configuration
Signed-off-by: Benjamin Gaignard
---
drivers/pwm/Kconfig | 9
Add bindings information for STM32 Timers
version 6:
- rename stm32-gtimer to stm32-timers
- change compatible
- add description about the IPs
version 2:
- rename stm32-mfd-timer to stm32-gptimer
- only keep one compatible string
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings
2017-01-05 15:49 GMT+01:00 Lee Jones :
> On Thu, 05 Jan 2017, Benjamin Gaignard wrote:
>
>> version 7:
>> - rebase on v4.10-rc2
>> - remove iio_device code from driver and keep only the trigger part
>>
>> version 6:
>> - rename stm32-gptimer in s
2017-01-18 10:20 GMT+01:00 Thierry Reding :
> On Thu, Jan 05, 2017 at 10:25:39AM +0100, Benjamin Gaignard wrote:
>> Define bindings for pwm-stm32
>>
>> version 6:
>> - change st,breakinput parameter format to make it usuable on stm32f7 too.
>>
>> ve
2017-01-18 11:16 GMT+01:00 Thierry Reding :
> On Thu, Jan 05, 2017 at 10:25:40AM +0100, Benjamin Gaignard wrote:
> [...]
>> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
>> index f92dd41..88035c0 100644
>> --- a/drivers/pwm/Kconfig
>> +++ b/drivers/pw
2017-01-18 11:08 GMT+01:00 Thierry Reding :
> On Thu, Jan 05, 2017 at 10:25:40AM +0100, Benjamin Gaignard wrote:
>> This driver adds support for PWM driver on STM32 platform.
>> The SoC have multiple instances of the hardware IP and each
>> of them could have small difference
2017-01-18 12:37 GMT+01:00 Thierry Reding :
> On Wed, Jan 18, 2017 at 12:15:58PM +0100, Benjamin Gaignard wrote:
>> 2017-01-18 11:08 GMT+01:00 Thierry Reding :
>> > On Thu, Jan 05, 2017 at 10:25:40AM +0100, Benjamin Gaignard wrote:
> [...]
>> >> +static u32 acti
Add bindings information for STM32 Timers
version 6:
- rename stm32-gtimer to stm32-timers
- change compatible
- add description about the IPs
version 2:
- rename stm32-mfd-timer to stm32-gptimer
- only keep one compatible string
Signed-off-by: Benjamin Gaignard
Acked-by: Lee Jones
Acked-by
Define and enable pwm1 and pwm3 for stm32f469 discovery board
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stm32f469-disco.dts | 28
1 file changed, 28 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f469-disco.dts
b/arch/arm/boot/dts/stm32f469
ers to set lists of the triggers:
one list describe the triggers created by the device
another one give the triggers accepted by the device
Signed-off-by: Benjamin Gaignard
Acked-by: Jonathan Cameron
---
.../bindings/iio/timer/stm32-timer-trigger.txt | 23 ++
1 file c
uot; to be align with SoC documentation
- only keep one compatible
- use of_platform_populate() instead of devm_mfd_add_devices()
Signed-off-by: Benjamin Gaignard
Acked-by: Lee Jones
Acked-by: Rob Herring
---
drivers/mfd/Kconfig | 11 ++
drivers/mfd/Makefile | 2 +
d
e) which internal signal (counter enable, reset,
comparison block, etc...) is used to generate the trigger.
Benjamin Gaignard (8):
MFD: add bindings for STM32 Timers driver
MFD: add STM32 Timers driver
PWM: add pwm-stm32 DT bindings
PWM: add PWM driver for STM32 plaftorm
IIO: add bindi
: Benjamin Gaignard
---
drivers/pwm/Kconfig | 9 ++
drivers/pwm/Makefile| 1 +
drivers/pwm/pwm-stm32.c | 398
3 files changed, 408 insertions(+)
create mode 100644 drivers/pwm/pwm-stm32.c
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
mode
- document device attributes in sysfs-bus-iio-timer-stm32
version 2:
- keep only one compatible
- use st,input-triggers-names and st,output-triggers-names
to know which triggers are accepted and/or create by the device
Signed-off-by: Benjamin Gaignard
Acked-by: Jonathan Cameron
---
.../AB
Define bindings for pwm-stm32
version 8:
- reword st,breakinput description.
version 6:
- change st,breakinput parameter format to make it usuable on stm32f7 too.
version 2:
- use parameters instead of compatible of handle the hardware configuration
Signed-off-by: Benjamin Gaignard
Acked-by
name
- use "reg" instead of additional parameters to set timer
configuration
version 3:
- use "st,stm32-timer-trigger" in DT
version 2:
- use parameters to describe hardware capabilities
- do not use references for pwm and iio timer subnodes
Signed-off-by: Benjamin Gaignard
2017-01-19 9:43 GMT+01:00 Lee Jones :
> On Wed, 18 Jan 2017, Benjamin Gaignard wrote:
>
>> version 8:
>> - rebase on v4.10-rc4
>> - fix comments done by Thierry on PWM
>> - reword "reg" parameter description
>> - change kernel kernel in IIO ABI docum
2017-01-06 8:58 GMT+01:00 Benjamin Gaignard :
> 2017-01-05 15:49 GMT+01:00 Lee Jones :
>> On Thu, 05 Jan 2017, Benjamin Gaignard wrote:
>>
>>> version 7:
>>> - rebase on v4.10-rc2
>>> - remove iio_device code from driver and keep only the trigger part
Ver
7bd1 ("pwm: Add driver for STM32 plaftorm")
>
> --
> Cheers,
> Stephen Rothwell
--
Benjamin Gaignard
Graphic Study Group
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
remove useless curstate variable.
Fixes: bafffb6e7bd1 ("pwm: Add driver for STM32 plaftorm")
Signed-off-by: Benjamin Gaignard
---
drivers/pwm/pwm-stm32.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c
ind
2017-01-09 19:04 GMT+01:00 Rob Herring :
> On Thu, Jan 05, 2017 at 10:25:41AM +0100, Benjamin Gaignard wrote:
>> Define bindings for STM32 timer trigger
>>
>> version 4:
>> - remove triggers enumeration from DT
>> - add reg parameter
>>
>> version 3:
&
2017-01-09 19:00 GMT+01:00 Rob Herring :
> On Thu, Jan 05, 2017 at 10:25:38AM +0100, Benjamin Gaignard wrote:
>> This hardware block could at used at same time for PWM generation
>> and IIO timers.
>> PWM and IIO timer configuration are mixed in the same registers
>>
blocks can configure (through "master_mode"
IIO device attribute) which internal signal (counter enable, reset,
comparison block, etc...) is used to generate the trigger.
Benjamin Gaignard (8):
MFD: add bindings for STM32 Timers driver
MFD: add STM32 Timers driver
dt-bindings: p
Add bindings information for STM32 Timers
version 6:
- rename stm32-gtimer to stm32-timers
- change compatible
- add description about the IPs
version 2:
- rename stm32-mfd-timer to stm32-gptimer
- only keep one compatible string
Signed-off-by: Benjamin Gaignard
Acked-by: Lee Jones
Acked-by
Define and enable pwm1 and pwm3 for stm32f469 discovery board
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stm32f469-disco.dts | 28
1 file changed, 28 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f469-disco.dts
b/arch/arm/boot/dts/stm32f469
uot; to be align with SoC documentation
- only keep one compatible
- use of_platform_populate() instead of devm_mfd_add_devices()
Signed-off-by: Benjamin Gaignard
Acked-by: Lee Jones
Acked-by: Rob Herring
---
drivers/mfd/Kconfig | 11 ++
drivers/mfd/Makefile | 2 +
d
parameters to discover hardware block configuration
Signed-off-by: Benjamin Gaignard
Acked-by: Thierry Reding
---
drivers/pwm/Kconfig | 9 ++
drivers/pwm/Makefile| 1 +
drivers/pwm/pwm-stm32.c | 398
3 files changed, 408 insertions
mode
- document device attributes in sysfs-bus-iio-timer-stm32
version 2:
- keep only one compatible
- use st,input-triggers-names and st,output-triggers-names
to know which triggers are accepted and/or create by the device
Signed-off-by: Benjamin Gaignard
Acked-by: Jonathan Cameron
---
.../AB
mer subnodes
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stm32f429.dtsi | 275 +++
1 file changed, 275 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index e4dae0e..b608935 100644
--- a/arch/arm/boo
601 - 700 of 1168 matches
Mail list logo