Re: [PATCH] reset: hi6220: Add support for AO reset controller

2019-10-09 Thread Peter Griffin
Hi Philipp, Many thanks for your review. (sending again as I dropped the cc list) On Tue, 08 Oct 2019, Philipp Zabel wrote: > Hi John, Peter, > > On Tue, 2019-10-01 at 18:21 +, John Stultz wrote: > > From: Peter Griffin > > > > This is required to bring Mali45

[PATCH v2 2/6] dt-bindings: reset: hisilicon: Update compatible documentation

2019-04-19 Thread Peter Griffin
The reset driver now supports the ao reset controller, so update the documentation to match. Signed-off-by: Peter Griffin Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[RESEND PATCH] drm/hisilicon: Ensure LDI regs are properly configured.

2017-08-15 Thread Peter Griffin
by ade_crtc_atomic_begin() not calling ade_ldi_set_mode(). With this patch applied resuming from Weston idle-timeout works well. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> Tested-by: John Stultz <john.stu...@linaro.org> Cc: sta...@vger.kernel.org --- drivers/gpu/drm/his

[RESEND PATCH] drm/hisilicon: Ensure LDI regs are properly configured.

2017-08-15 Thread Peter Griffin
by ade_crtc_atomic_begin() not calling ade_ldi_set_mode(). With this patch applied resuming from Weston idle-timeout works well. Signed-off-by: Peter Griffin Tested-by: John Stultz Cc: sta...@vger.kernel.org --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 3 +++ 1 file changed, 3 insertions

[RESEND PATCH] drm/hisilicon: Ensure LDI regs are properly configured.

2017-06-29 Thread Peter Griffin
by ade_crtc_atomic_begin() not calling ade_ldi_set_mode(). With this patch applied resuming from Weston idle-timeout works well. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drive

[RESEND PATCH] drm/hisilicon: Ensure LDI regs are properly configured.

2017-06-29 Thread Peter Griffin
by ade_crtc_atomic_begin() not calling ade_ldi_set_mode(). With this patch applied resuming from Weston idle-timeout works well. Signed-off-by: Peter Griffin --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/hisilicon/kirin

[PATCH] drm/hisilicon: Ensure LDI regs are properly configured.

2017-05-11 Thread Peter Griffin
by ade_crtc_atomic_begin() not calling ade_ldi_set_mode(). With this patch applied resuming from Weston idle-timeout works well. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drive

[PATCH] drm/hisilicon: Ensure LDI regs are properly configured.

2017-05-11 Thread Peter Griffin
by ade_crtc_atomic_begin() not calling ade_ldi_set_mode(). With this patch applied resuming from Weston idle-timeout works well. Signed-off-by: Peter Griffin --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/hisilicon/kirin

Re: [PATCH v2 1/2] dt-bindings: arm: hisilicon: add bindings for hi3798cv200 SoC and Poplar board

2017-02-28 Thread Peter Griffin
Hi Andreas, On Mon, 27 Feb 2017, Andreas Färber wrote: > Hi, > > Am 27.02.2017 um 03:48 schrieb Alex Elder: > > On 02/26/2017 07:24 PM, Jiancheng Xue wrote: > >> On 2017/2/26 9:32, Andreas Färber wrote: > >>> Am 22.02.2017 um 09:38 schrieb Jiancheng Xue: > Add bindings for HiSilicon

Re: [PATCH v2 1/2] dt-bindings: arm: hisilicon: add bindings for hi3798cv200 SoC and Poplar board

2017-02-28 Thread Peter Griffin
Hi Andreas, On Mon, 27 Feb 2017, Andreas Färber wrote: > Hi, > > Am 27.02.2017 um 03:48 schrieb Alex Elder: > > On 02/26/2017 07:24 PM, Jiancheng Xue wrote: > >> On 2017/2/26 9:32, Andreas Färber wrote: > >>> Am 22.02.2017 um 09:38 schrieb Jiancheng Xue: > Add bindings for HiSilicon

Re: [PATCH v2 2/2] arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board

2017-02-25 Thread Peter Griffin
M Cortex A53 > processor and high performance Mali T720 GPU. > > Signed-off-by: Jiancheng Xue <xuejianch...@hisilicon.com> > Reviewed-by: Alex Elder <el...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > Changed Log: > v2: > - Fix

Re: [PATCH v2 2/2] arm64: dts: hisilicon: add dts files for hi3798cv200-poplar board

2017-02-25 Thread Peter Griffin
M Cortex A53 > processor and high performance Mali T720 GPU. > > Signed-off-by: Jiancheng Xue > Reviewed-by: Alex Elder Acked-by: Peter Griffin > --- > Changed Log: > v2: > - Fixed issues pointed by Rob Herring. > 1. Moved the led node out of the soc node. >

Re: [PATCH v2 1/2] dt-bindings: arm: hisilicon: add bindings for hi3798cv200 SoC and Poplar board

2017-02-25 Thread Peter Griffin
On Wed, 22 Feb 2017, Jiancheng Xue wrote: > Add bindings for HiSilicon hi3798cv200 SoC and Poplar Board. > > Signed-off-by: Jiancheng Xue <xuejianch...@hisilicon.com> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > Documentation/devicetree/bindings/arm/

Re: [PATCH v2 1/2] dt-bindings: arm: hisilicon: add bindings for hi3798cv200 SoC and Poplar board

2017-02-25 Thread Peter Griffin
On Wed, 22 Feb 2017, Jiancheng Xue wrote: > Add bindings for HiSilicon hi3798cv200 SoC and Poplar Board. > > Signed-off-by: Jiancheng Xue Acked-by: Peter Griffin > --- > Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 > 1 file changed, 4 insertions(

Re: [STLinux Kernel] [PATCH v2 06/10] dt-bindings: serial: Update 'uart-has-rtscts' description

2017-02-01 Thread Peter Griffin
e.jo...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > Documentation/devicetree/bindings/serial/serial.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/serial/serial.txt > b/Docume

Re: [STLinux Kernel] [PATCH v2 06/10] dt-bindings: serial: Update 'uart-has-rtscts' description

2017-02-01 Thread Peter Griffin
On Wed, 01 Feb 2017, Lee Jones wrote: > 'uart-has-rtscts' property and 'rts-gpios|cts-gpios' are normally > mutually exclusive, however it is possible for some drivers to have > a dynamic approach, meaning that both properties can be relevant. > > Signed-off-by: Lee Jones

Re: [STLinux Kernel] [PATCH] MAINTAINERS: Add include/dt-bindings/mfd to MFD entry

2017-02-01 Thread Peter Griffin
On Wed, 01 Feb 2017, Lee Jones wrote: > Signed-off-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 26edd83..1

Re: [STLinux Kernel] [PATCH] MAINTAINERS: Add include/dt-bindings/mfd to MFD entry

2017-02-01 Thread Peter Griffin
On Wed, 01 Feb 2017, Lee Jones wrote: > Signed-off-by: Lee Jones Acked-by: Peter Griffin > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 26edd83..17c838a 100644 > --- a/MAINTAINERS > +++ b/MAINTAINER

Re: [STLinux Kernel] [PATCH v2 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines

2017-02-01 Thread Peter Griffin
Lee Jones <lee.jo...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > drivers/tty/serial/st-asc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c > index e5210

Re: [STLinux Kernel] [PATCH v2 05/10] serial: st-asc: Use generic DT binding for announcing RTS/CTS lines

2017-02-01 Thread Peter Griffin
Lee Jones Acked-by: Peter Griffin > --- > drivers/tty/serial/st-asc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c > index e521078..bcf1d33 100644 > --- a/drivers/tty/serial/st-as

Re: [STLinux Kernel] [PATCH v2 09/10] ARM: dts: STiH407-family: Use new Pinctrl groups

2017-02-01 Thread Peter Griffin
On Wed, 01 Feb 2017, Lee Jones wrote: > Having just defined some new Pinctrl groups for when HW flow-control > is {en,dis}abled, let's reference them for use within the driver. Acked-by: Peter Griffin <peter.grif...@linaro.org> > > Signed-off-by: Lee Jones <lee.jo...@lina

Re: [STLinux Kernel] [PATCH v2 09/10] ARM: dts: STiH407-family: Use new Pinctrl groups

2017-02-01 Thread Peter Griffin
On Wed, 01 Feb 2017, Lee Jones wrote: > Having just defined some new Pinctrl groups for when HW flow-control > is {en,dis}abled, let's reference them for use within the driver. Acked-by: Peter Griffin > > Signed-off-by: Lee Jones > --- > arch/arm/boot/dts/stih407-family.dt

Re: [STLinux Kernel] [PATCH v2 07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line

2017-02-01 Thread Peter Griffin
hus, we have to do this manually. > This patch configures the UART RTS line as a GPIO for manipulation > within the UART driver when HW flow-control is not enabled. > > Signed-off-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> >

Re: [STLinux Kernel] [PATCH v2 07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line

2017-02-01 Thread Peter Griffin
hus, we have to do this manually. > This patch configures the UART RTS line as a GPIO for manipulation > within the UART driver when HW flow-control is not enabled. > > Signed-off-by: Lee Jones Acked-by: Peter Griffin > --- > arch/arm/boot/dts/stih410-b2260.dts | 1 +

Re: [STLinux Kernel] [PATCH v2 03/10] serial: st-asc: Read in all Pinctrl states

2017-02-01 Thread Peter Griffin
be used via GPIO mechanisms > for manually toggling (i.e. from a request by `stty`). > > Signed-off-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > drivers/tty/serial/st-asc.c | 29 + >

Re: [STLinux Kernel] [PATCH v2 03/10] serial: st-asc: Read in all Pinctrl states

2017-02-01 Thread Peter Griffin
be used via GPIO mechanisms > for manually toggling (i.e. from a request by `stty`). > > Signed-off-by: Lee Jones Acked-by: Peter Griffin > --- > drivers/tty/serial/st-asc.c | 29 + > 1 file changed, 29 insertions(+) > > diff --git a/drive

Re: [STLinux Kernel] [PATCH v2 10/10] ARM: dts: STiH410-b2260: Enable HW flow-control

2017-02-01 Thread Peter Griffin
the property. > > Signed-off-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > arch/arm/boot/dts/stih410-b2260.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/stih410-b2260.dts > b/arc

Re: [STLinux Kernel] [PATCH v2 10/10] ARM: dts: STiH410-b2260: Enable HW flow-control

2017-02-01 Thread Peter Griffin
the property. > > Signed-off-by: Lee Jones Acked-by: Peter Griffin > --- > arch/arm/boot/dts/stih410-b2260.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/stih410-b2260.dts > b/arch/arm/boot/dts/stih410-b2260.dts > index cbcbcb4..93c14d1 1

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-02-01 Thread Peter Griffin
Hi Lee, On Tue, 31 Jan 2017, Lee Jones wrote: > On Tue, 31 Jan 2017, Peter Griffin wrote: > > On Tue, 31 Jan 2017, Lee Jones wrote: > > > On Mon, 30 Jan 2017, Peter Griffin wrote: > > > > On Mon, 30 Jan 2017, Lee Jones wrote: > > > > > On Mon, 30 Jan

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-02-01 Thread Peter Griffin
Hi Lee, On Tue, 31 Jan 2017, Lee Jones wrote: > On Tue, 31 Jan 2017, Peter Griffin wrote: > > On Tue, 31 Jan 2017, Lee Jones wrote: > > > On Mon, 30 Jan 2017, Peter Griffin wrote: > > > > On Mon, 30 Jan 2017, Lee Jones wrote: > > > > > On Mon, 30 Jan

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-31 Thread Peter Griffin
Hi Lee, On Tue, 31 Jan 2017, Lee Jones wrote: > On Mon, 30 Jan 2017, Peter Griffin wrote: > > On Mon, 30 Jan 2017, Lee Jones wrote: > > > On Mon, 30 Jan 2017, Peter Griffin wrote: > > > > On Mon, 30 Jan 2017, Lee Jones wrote: > > > > > On Mon, 30 Jan

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-31 Thread Peter Griffin
Hi Lee, On Tue, 31 Jan 2017, Lee Jones wrote: > On Mon, 30 Jan 2017, Peter Griffin wrote: > > On Mon, 30 Jan 2017, Lee Jones wrote: > > > On Mon, 30 Jan 2017, Peter Griffin wrote: > > > > On Mon, 30 Jan 2017, Lee Jones wrote: > > > > > On Mon, 30 Jan

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-30 Thread Peter Griffin
Hi Lee, On Mon, 30 Jan 2017, Lee Jones wrote: > On Mon, 30 Jan 2017, Peter Griffin wrote: > > On Mon, 30 Jan 2017, Lee Jones wrote: > > > On Mon, 30 Jan 2017, Peter Griffin wrote: > > > > On Fri, 27 Jan 2017, Lee Jones wrote: > > > > > On Wed, 25 Jan

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-30 Thread Peter Griffin
Hi Lee, On Mon, 30 Jan 2017, Lee Jones wrote: > On Mon, 30 Jan 2017, Peter Griffin wrote: > > On Mon, 30 Jan 2017, Lee Jones wrote: > > > On Mon, 30 Jan 2017, Peter Griffin wrote: > > > > On Fri, 27 Jan 2017, Lee Jones wrote: > > > > > On Wed, 25 Jan

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-30 Thread Peter Griffin
Hi Lee, On Mon, 30 Jan 2017, Lee Jones wrote: > On Mon, 30 Jan 2017, Peter Griffin wrote: > > > Hi Lee, > > > > On Fri, 27 Jan 2017, Lee Jones wrote: > > > > > On Wed, 25 Jan 2017, Peter Griffin wrote: > > > > > > > H

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-30 Thread Peter Griffin
Hi Lee, On Mon, 30 Jan 2017, Lee Jones wrote: > On Mon, 30 Jan 2017, Peter Griffin wrote: > > > Hi Lee, > > > > On Fri, 27 Jan 2017, Lee Jones wrote: > > > > > On Wed, 25 Jan 2017, Peter Griffin wrote: > > > > > > > H

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-30 Thread Peter Griffin
Hi Lee, On Fri, 27 Jan 2017, Lee Jones wrote: > On Wed, 25 Jan 2017, Peter Griffin wrote: > > > Hi Lee, > > > > On Tue, 24 Jan 2017, Lee Jones wrote: > > > > > There are now 2 possible separate/different Pinctrl states which can > > > be pro

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-30 Thread Peter Griffin
Hi Lee, On Fri, 27 Jan 2017, Lee Jones wrote: > On Wed, 25 Jan 2017, Peter Griffin wrote: > > > Hi Lee, > > > > On Tue, 24 Jan 2017, Lee Jones wrote: > > > > > There are now 2 possible separate/different Pinctrl states which can > > > be pro

Re: [STLinux Kernel] [PATCH 7/8] ARM: dts: STiH407-family: Use new Pinctrl groups

2017-01-25 Thread Peter Griffin
Hi Lee, On Tue, 24 Jan 2017, Lee Jones wrote: > Having just defined some new Pinctrl groups for when when HW flow- > control is {en,dis}abled, let's reference them for use within the > driver. > > Signed-off-by: Lee Jones Same as previous comment, your enabling hw flow

Re: [STLinux Kernel] [PATCH 7/8] ARM: dts: STiH407-family: Use new Pinctrl groups

2017-01-25 Thread Peter Griffin
Hi Lee, On Tue, 24 Jan 2017, Lee Jones wrote: > Having just defined some new Pinctrl groups for when when HW flow- > control is {en,dis}abled, let's reference them for use within the > driver. > > Signed-off-by: Lee Jones Same as previous comment, your enabling hw flow control for all stih407

Re: [STLinux Kernel] [PATCH 8/8] ARM: dts: STiH407-family: Enable HW flow-control

2017-01-25 Thread Peter Griffin
On Wed, 25 Jan 2017, Peter Griffin wrote: > Hi Lee, > > On Tue, 24 Jan 2017, Lee Jones wrote: > > > Hardware flow-control capability must be specified at a platform > > level in order to inform the ASC driver that the platform is capable > > (i.e. are the line

Re: [STLinux Kernel] [PATCH 8/8] ARM: dts: STiH407-family: Enable HW flow-control

2017-01-25 Thread Peter Griffin
On Wed, 25 Jan 2017, Peter Griffin wrote: > Hi Lee, > > On Tue, 24 Jan 2017, Lee Jones wrote: > > > Hardware flow-control capability must be specified at a platform > > level in order to inform the ASC driver that the platform is capable > > (i.e. are the line

Re: [STLinux Kernel] [PATCH 4/8] serial: st-asc: (De)Register GPIOD and swap Pinctrl profiles

2017-01-25 Thread Peter Griffin
control them automatically. Apart from my comment in previous mail about switching the meaning of default & manual-rts groupings. It seems like a neat solution. Acked-by: Peter Griffin <peter.grif...@linaro.org> > > Signed-off-by: Lee Jones <lee.jo...@linaro.

Re: [STLinux Kernel] [PATCH 4/8] serial: st-asc: (De)Register GPIOD and swap Pinctrl profiles

2017-01-25 Thread Peter Griffin
control them automatically. Apart from my comment in previous mail about switching the meaning of default & manual-rts groupings. It seems like a neat solution. Acked-by: Peter Griffin > > Signed-off-by: Lee Jones > --- > drivers/tty/serial/st-asc.c | 27 +

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-25 Thread Peter Griffin
Hi Lee, On Tue, 24 Jan 2017, Lee Jones wrote: > There are now 2 possible separate/different Pinctrl states which can > be provided from platform data. One which encompasses the lines > required for HW flow-control (CTS/RTS) and another which does not > specify these lines, such that they can be

Re: [STLinux Kernel] [PATCH 3/8] serial: st-asc: Read in all Pinctrl states

2017-01-25 Thread Peter Griffin
Hi Lee, On Tue, 24 Jan 2017, Lee Jones wrote: > There are now 2 possible separate/different Pinctrl states which can > be provided from platform data. One which encompasses the lines > required for HW flow-control (CTS/RTS) and another which does not > specify these lines, such that they can be

Re: [STLinux Kernel] [PATCH 2/8] serial: st-asc: Provide RTS functionality

2017-01-25 Thread Peter Griffin
used to take the > on-board microcontroller in and out of reset. > > Signed-off-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > drivers/tty/serial/st-asc.c | 27 +++ > 1 file changed, 23 ins

Re: [STLinux Kernel] [PATCH 2/8] serial: st-asc: Provide RTS functionality

2017-01-25 Thread Peter Griffin
used to take the > on-board microcontroller in and out of reset. > > Signed-off-by: Lee Jones Acked-by: Peter Griffin > --- > drivers/tty/serial/st-asc.c | 27 +++ > 1 file changed, 23 insertions(+), 4 deletions(-) > > diff --git a/drivers/tty/ser

Re: [STLinux Kernel] [PATCH 1/8] serial: st-asc: Ignore the parity error bit if 8-bit mode is enabled

2017-01-25 Thread Peter Griffin
On Tue, 24 Jan 2017, Lee Jones wrote: > The datasheet states: > > "If the MODE field selects an 8-bit frame then this [parity error] bit > is undefined. Software should ignore this bit when reading 8-bit frames." > > Signed-off-by: Lee Jones <lee.jo...@linar

Re: [STLinux Kernel] [PATCH 1/8] serial: st-asc: Ignore the parity error bit if 8-bit mode is enabled

2017-01-25 Thread Peter Griffin
On Tue, 24 Jan 2017, Lee Jones wrote: > The datasheet states: > > "If the MODE field selects an 8-bit frame then this [parity error] bit > is undefined. Software should ignore this bit when reading 8-bit frames." > > Signed-off-by: Lee Jones Acked-by: Peter Gr

Re: [STLinux Kernel] [PATCH 6/8] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control

2017-01-25 Thread Peter Griffin
t; the lines to be toggled using GPIO mechanisms. > > Signed-off-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Peter Griffin <peter.grif...@linaro.org> > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) >

Re: [STLinux Kernel] [PATCH 6/8] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control

2017-01-25 Thread Peter Griffin
t; the lines to be toggled using GPIO mechanisms. > > Signed-off-by: Lee Jones Acked-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/stih407-pinctrl.dt

Re: [STLinux Kernel] [PATCH 8/8] ARM: dts: STiH407-family: Enable HW flow-control

2017-01-25 Thread Peter Griffin
Hi Lee, On Tue, 24 Jan 2017, Lee Jones wrote: > Hardware flow-control capability must be specified at a platform > level in order to inform the ASC driver that the platform is capable > (i.e. are the lines wired up, etc). STiH4{07,10} devices are indeed > capable, so let's provide the property.

Re: [STLinux Kernel] [PATCH 8/8] ARM: dts: STiH407-family: Enable HW flow-control

2017-01-25 Thread Peter Griffin
Hi Lee, On Tue, 24 Jan 2017, Lee Jones wrote: > Hardware flow-control capability must be specified at a platform > level in order to inform the ASC driver that the platform is capable > (i.e. are the lines wired up, etc). STiH4{07,10} devices are indeed > capable, so let's provide the property.

[PATCH] ARM: DT: STiH407: Add RTS / CTS pinctrl definition for UARTs.

2017-01-17 Thread Peter Griffin
The uart IP is capable of doing hardware flow control. Define the RTS and CTS pins for STiH407 family Socs so we can use this feature in the future if we wish to. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- arch/arm/boot/dts/stih407-pinctrl.dts

[PATCH] ARM: DT: STiH407: Add RTS / CTS pinctrl definition for UARTs.

2017-01-17 Thread Peter Griffin
The uart IP is capable of doing hardware flow control. Define the RTS and CTS pins for STiH407 family Socs so we can use this feature in the future if we wish to. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 50 ++ 1 file changed, 50

Re: [STLinux Kernel] [PATCH 2/3] serial: st-asc: Provide RTS functionality

2016-12-06 Thread Peter Griffin
Hi Lee, On Tue, 06 Dec 2016, Lee Jones wrote: > On Tue, 06 Dec 2016, Lee Jones wrote: > > > On Tue, 06 Dec 2016, Peter Griffin wrote: > > > On Mon, 05 Dec 2016, Patrice Chotard wrote: > > > > On 12/02/2016 03:11 PM, Lee Jones wrote: > > > >

Re: [STLinux Kernel] [PATCH 2/3] serial: st-asc: Provide RTS functionality

2016-12-06 Thread Peter Griffin
Hi Lee, On Tue, 06 Dec 2016, Lee Jones wrote: > On Tue, 06 Dec 2016, Lee Jones wrote: > > > On Tue, 06 Dec 2016, Peter Griffin wrote: > > > On Mon, 05 Dec 2016, Patrice Chotard wrote: > > > > On 12/02/2016 03:11 PM, Lee Jones wrote: > > > >

Re: [STLinux Kernel] [PATCH 2/3] serial: st-asc: Provide RTS functionality

2016-12-06 Thread Peter Griffin
Hi Lee, On Mon, 05 Dec 2016, Patrice Chotard wrote: > Hi Lee > > On 12/02/2016 03:11 PM, Lee Jones wrote: > > Until this point, it has not been possible for serial applications > > to toggle the UART RTS line. This can be useful with certain > > configurations. For example, when using a

Re: [STLinux Kernel] [PATCH 2/3] serial: st-asc: Provide RTS functionality

2016-12-06 Thread Peter Griffin
Hi Lee, On Mon, 05 Dec 2016, Patrice Chotard wrote: > Hi Lee > > On 12/02/2016 03:11 PM, Lee Jones wrote: > > Until this point, it has not been possible for serial applications > > to toggle the UART RTS line. This can be useful with certain > > configurations. For example, when using a

Re: [PATCH v10 01/11] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-11-14 Thread Peter Griffin
Hi Vinod, On Mon, 14 Nov 2016, Vinod Koul wrote: > On Mon, Nov 07, 2016 at 01:57:35PM +0000, Peter Griffin wrote: > > > > > > As you now make changes to the entire remoteproc Kconfig file, rather > > > than simply add a Kconfig symbol we can't bring this in

Re: [PATCH v10 01/11] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-11-14 Thread Peter Griffin
Hi Vinod, On Mon, 14 Nov 2016, Vinod Koul wrote: > On Mon, Nov 07, 2016 at 01:57:35PM +0000, Peter Griffin wrote: > > > > > > As you now make changes to the entire remoteproc Kconfig file, rather > > > than simply add a Kconfig symbol we can't bring this in

[PATCH v11 12/14] dmaengine: st_fdma: fix uninitialized variable access

2016-11-07 Thread Peter Griffin
gument by returning an error. Removing the unnecessary code simplifies the function and avoids the condition that we get the warning for. Fixes: 6b4cd727eaf1 ("dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support") Signed-off-by: Arnd Bergmann <a...@arndb.de> A

[PATCH v11 12/14] dmaengine: st_fdma: fix uninitialized variable access

2016-11-07 Thread Peter Griffin
an error. Removing the unnecessary code simplifies the function and avoids the condition that we get the warning for. Fixes: 6b4cd727eaf1 ("dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support") Signed-off-by: Arnd Bergmann Acked-by: Peter Griffin --- drivers/dma/st_f

[PATCH v11 11/14] ARM: multi_v7_defconfig: Enable STi and simple-card drivers.

2016-11-07 Thread Peter Griffin
This patch enables the STi ALSA drivers found on STi platforms as well as the simple-card driver which is a dependency to have working sound. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- arch/arm/configs/multi_v7_defconfig | 3

[PATCH v11 08/14] ARM: multi_v7_defconfig: Enable remoteproc core

2016-11-07 Thread Peter Griffin
Now that remoteproc core is selectable it needs to be enabled in the multi_v7 build. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/c

[PATCH v11 11/14] ARM: multi_v7_defconfig: Enable STi and simple-card drivers.

2016-11-07 Thread Peter Griffin
This patch enables the STi ALSA drivers found on STi platforms as well as the simple-card driver which is a dependency to have working sound. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm

[PATCH v11 08/14] ARM: multi_v7_defconfig: Enable remoteproc core

2016-11-07 Thread Peter Griffin
Now that remoteproc core is selectable it needs to be enabled in the multi_v7 build. Signed-off-by: Peter Griffin --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 437d074

[PATCH v11 02/14] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-11-07 Thread Peter Griffin
, and we provide start() stop() hooks to start and stop the slim core once the firmware has been loaded. This has been tested successfully with fdma driver. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- drivers/remoteproc/Kconfig | 4 + drivers/remoteproc/Ma

[PATCH v11 02/14] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-11-07 Thread Peter Griffin
, and we provide start() stop() hooks to start and stop the slim core once the firmware has been loaded. This has been tested successfully with fdma driver. Signed-off-by: Peter Griffin --- drivers/remoteproc/Kconfig | 4 + drivers/remoteproc/Makefile | 1 + drivers

[PATCH v11 01/14] remoteproc: Update Kconfig setup to 'depends on REMOTEPROC'

2016-11-07 Thread Peter Griffin
-visible symbols (no prompts anywhere) and for symbols with no dependencies. That will limit the usefulness but on the other hand avoid the illegal configurations all over. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- drivers/remoteproc/Kconfi

[PATCH v11 03/14] MAINTAINERS: Add st slim core rproc driver to STi section.

2016-11-07 Thread Peter Griffin
This patch adds the slim core rproc driver to the STi section of the MAINTAINERS file. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS i

[PATCH v11 01/14] remoteproc: Update Kconfig setup to 'depends on REMOTEPROC'

2016-11-07 Thread Peter Griffin
-visible symbols (no prompts anywhere) and for symbols with no dependencies. That will limit the usefulness but on the other hand avoid the illegal configurations all over. Signed-off-by: Peter Griffin --- drivers/remoteproc/Kconfig | 21 - 1 file changed

[PATCH v11 03/14] MAINTAINERS: Add st slim core rproc driver to STi section.

2016-11-07 Thread Peter Griffin
This patch adds the slim core rproc driver to the STi section of the MAINTAINERS file. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1cd38a7..78b7f8b 100644 --- a/MAINTAINERS +++ b

[PATCH v11 13/14] dmaengine: st_fdma: Fix the error return code in st_fdma_probe()

2016-11-07 Thread Peter Griffin
From: Wei Yongjun <weiyongj...@huawei.com> In case of error, the function st_slim_rproc_alloc() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <weiyongj...@huawei.com> Acked-by: P

[PATCH v11 07/14] MAINTAINERS: Add FDMA driver files to STi section.

2016-11-07 Thread Peter Griffin
This patch adds the FDMA driver files to the STi section of the maintainers file. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS i

[PATCH v11 06/14] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2016-11-07 Thread Peter Griffin
latency critical real time targets and it is found on al STi based chipsets. Signed-off-by: Ludovic Barre <ludovic.ba...@st.com> Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- drivers/dma/Kconfig | 13 + drivers/dma/Makefile | 1 + drivers/dma/st_

[PATCH v11 07/14] MAINTAINERS: Add FDMA driver files to STi section.

2016-11-07 Thread Peter Griffin
This patch adds the FDMA driver files to the STi section of the maintainers file. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 78b7f8b..e93762d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v11 06/14] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2016-11-07 Thread Peter Griffin
latency critical real time targets and it is found on al STi based chipsets. Signed-off-by: Ludovic Barre Signed-off-by: Peter Griffin --- drivers/dma/Kconfig | 13 + drivers/dma/Makefile | 1 + drivers/dma/st_fdma.c | 899 ++ 3 files changed

[PATCH v11 13/14] dmaengine: st_fdma: Fix the error return code in st_fdma_probe()

2016-11-07 Thread Peter Griffin
From: Wei Yongjun In case of error, the function st_slim_rproc_alloc() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Acked-by: Peter Griffin --- drivers/dma/st_fdma.c | 2 +- 1 file changed, 1

[PATCH v11 10/14] ARM: multi_v7_defconfig: Enable STi FDMA driver

2016-11-07 Thread Peter Griffin
This DMA controller is found on all STi chipsets. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch

[PATCH v11 09/14] ARM: multi_v7_defconfig: Enable st_remoteproc driver.

2016-11-07 Thread Peter Griffin
The st231 remote coprocessors are found on all STi chipsets. Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig

[PATCH v11 14/14] dmaengine: st_fdma: Update st_fdma to 'depends on REMOTEPROC'.

2016-11-07 Thread Peter Griffin
Signed-off-by: Peter Griffin <peter.grif...@linaro.org> Reported-by: Arnd Bergmann <a...@arndb.de> Tested-by: Arnd Bergmann <a...@arndb.de> --- drivers/dma/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 661f217..6b96710 1006

[PATCH v11 09/14] ARM: multi_v7_defconfig: Enable st_remoteproc driver.

2016-11-07 Thread Peter Griffin
The st231 remote coprocessors are found on all STi chipsets. Signed-off-by: Peter Griffin --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 538c326..0a06af9 100644

[PATCH v11 14/14] dmaengine: st_fdma: Update st_fdma to 'depends on REMOTEPROC'.

2016-11-07 Thread Peter Griffin
Signed-off-by: Peter Griffin Reported-by: Arnd Bergmann Tested-by: Arnd Bergmann --- drivers/dma/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 661f217..6b96710 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -438,6 +438,7

[PATCH v11 10/14] ARM: multi_v7_defconfig: Enable STi FDMA driver

2016-11-07 Thread Peter Griffin
This DMA controller is found on all STi chipsets. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 0a06af9..ce9ab5a

[PATCH v11 00/14] Add support for FDMA DMA controller and slim core rproc found on STi chipsets

2016-11-07 Thread Peter Griffin
vinod) - empty line (Vinod) - Update to -EIO (Vinod) - Make st_fdma tristate (Paul) - Remove __exit tag from .remove (Maxime) - Update MAINTAINERS rule to fdma* (Lee) - Unit address should match reg property (Lee) Arnd Bergmann (1): dmaengine: st_fdma: fix uninitialized variable access Peter

[PATCH v11 00/14] Add support for FDMA DMA controller and slim core rproc found on STi chipsets

2016-11-07 Thread Peter Griffin
vinod) - empty line (Vinod) - Update to -EIO (Vinod) - Make st_fdma tristate (Paul) - Remove __exit tag from .remove (Maxime) - Update MAINTAINERS rule to fdma* (Lee) - Unit address should match reg property (Lee) Arnd Bergmann (1): dmaengine: st_fdma: fix uninitialized variable access Peter

[PATCH v11 05/14] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file

2016-11-07 Thread Peter Griffin
This header file will also be used by the dma xbar driver in the future. Signed-off-by: Ludovic Barre <ludovic.ba...@st.com> Signed-off-by: Peter Griffin <peter.grif...@linaro.org> --- drivers/dma/st_fdma.h | 249 ++ 1 file changed, 24

[PATCH v11 05/14] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file

2016-11-07 Thread Peter Griffin
This header file will also be used by the dma xbar driver in the future. Signed-off-by: Ludovic Barre Signed-off-by: Peter Griffin --- drivers/dma/st_fdma.h | 249 ++ 1 file changed, 249 insertions(+) create mode 100644 drivers/dma/st_fdma.h

[PATCH v11 04/14] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation

2016-11-07 Thread Peter Griffin
This patch adds the DT binding documentation for the FDMA constroller found on STi based chipsets from STMicroelectronics. Signed-off-by: Ludovic Barre <ludovic.ba...@st.com> Signed-off-by: Peter Griffin <peter.grif...@linaro.org> Acked-by: Rob Herring <r...@kernel.org>

[PATCH v11 04/14] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation

2016-11-07 Thread Peter Griffin
This patch adds the DT binding documentation for the FDMA constroller found on STi based chipsets from STMicroelectronics. Signed-off-by: Ludovic Barre Signed-off-by: Peter Griffin Acked-by: Rob Herring --- Documentation/devicetree/bindings/dma/st_fdma.txt | 87 +++ 1 file

Re: [PATCH v10 01/11] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-11-07 Thread Peter Griffin
Hi Bjorn, On Thu, 03 Nov 2016, Bjorn Andersson wrote: > On Tue 18 Oct 02:39 PDT 2016, Peter Griffin wrote: > > > slim core is used as a basis for many IPs in the STi > > chipsets such as fdma and demux. To avoid duplicating > > the elf loading code in each device driver

Re: [PATCH v10 01/11] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-11-07 Thread Peter Griffin
Hi Bjorn, On Thu, 03 Nov 2016, Bjorn Andersson wrote: > On Tue 18 Oct 02:39 PDT 2016, Peter Griffin wrote: > > > slim core is used as a basis for many IPs in the STi > > chipsets such as fdma and demux. To avoid duplicating > > the elf loading code in each device driver

Re: [PATCH 5/5] irqchip: st: Remove obsolete platforms from dt binding doc

2016-10-31 Thread Peter Griffin
ned-off-by: Patrice Chotard <patrice.chot...@st.com> > Cc: <t...@linutronix.de> > Cc: <ja...@lakedaemon.net> > Cc: <marc.zyng...@arm.com> > --- > .../devicetree/bindings/interrupt-controller/st,sti-irq-syscfg.txt | 6 > ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) Acked-by: Peter Griffin <peter.grif...@linaro.org>

Re: [PATCH 5/5] irqchip: st: Remove obsolete platforms from dt binding doc

2016-10-31 Thread Peter Griffin
d > Cc: > Cc: > Cc: > --- > .../devicetree/bindings/interrupt-controller/st,sti-irq-syscfg.txt | 6 > ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Acked-by: Peter Griffin

Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock

2016-10-26 Thread Peter Griffin
Hi Lee, On Wed, 26 Oct 2016, Lee Jones wrote: > > > > If the clock is enabled when Linux boots, the Linux clock framework > > > > *needs* > > > > to assume the hardware may have been used in previous boot stages, and > > > > it should > > > > not attempt to disable the clock. > > > > > > None

Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock

2016-10-26 Thread Peter Griffin
Hi Lee, On Wed, 26 Oct 2016, Lee Jones wrote: > > > > If the clock is enabled when Linux boots, the Linux clock framework > > > > *needs* > > > > to assume the hardware may have been used in previous boot stages, and > > > > it should > > > > not attempt to disable the clock. > > > > > > None

Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock

2016-10-25 Thread Peter Griffin
Hi Lee, On Tue, 25 Oct 2016, Lee Jones wrote: > On Tue, 25 Oct 2016, Peter Griffin wrote: > > > Hi Lee, > > > > On Tue, 25 Oct 2016, Lee Jones wrote: > > > > > On Mon, 24 Oct 2016, Peter Griffin wrote: > > > > > > > H

Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock

2016-10-25 Thread Peter Griffin
Hi Lee, On Tue, 25 Oct 2016, Lee Jones wrote: > On Tue, 25 Oct 2016, Peter Griffin wrote: > > > Hi Lee, > > > > On Tue, 25 Oct 2016, Lee Jones wrote: > > > > > On Mon, 24 Oct 2016, Peter Griffin wrote: > > > > > > > H

  1   2   3   4   5   6   7   8   9   10   >