Re: [PATCH] arm64: dts: imx8mq-nitrogen: add USB support

2021-01-28 Thread Gary Bisson
Hi Adrien, Thanks for improving Nitrogen upstream, much appreciated. On Tue, Jan 26, 2021 at 10:55:11PM +0100, Adrien Grassein wrote: > add USB support for imx8mq-nitrogen. It consists > in 2 phys: OTG and host. > > The OTG port uses a dedicated regulator for vbus. > > Signed-off-by: Adrien

[PATCH] usb: dwc3: fix clock issue during resume in OTG mode

2021-01-25 Thread Gary Bisson
support clocks and resets for DWC3 core") Cc: sta...@vger.kernel.org Signed-off-by: Gary Bisson --- drivers/usb/dwc3/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 841daec70b6e..3101f0dcf6ae 100644 --- a/dri

Re: [PATCH] ARM: dts: imx6qdl-nitrogen6_max: Disable LVDS channels

2019-04-10 Thread Gary Bisson
Hi, On Tue, Apr 9, 2019 at 2:07 AM Robert Foss wrote: > > Hey Fabio, > > On 4/8/19 10:37 PM, Fabio Estevam wrote: > > Hi Robert, > > > > [Adding Gary] Adding Troy, I'm no longer a full-time employee at Boundary Devices. > > On Mon, Apr 8, 2019 at 2:54 PM Robert Foss > > wrote: > >> > >> If a

Re: [PATCH v2 1/5] pinctrl: imx: use struct imx_pinctrl_soc_info as a const

2018-01-09 Thread Gary Bisson
Hi Stefan, On Mon, Jan 08, 2018 at 09:52:36PM +0100, Stefan Agner wrote: > On 2018-01-08 17:48, Gary Bisson wrote: > > Hi Stefan, > > > > On Sat, Jan 06, 2018 at 03:25:49PM +0100, Stefan Agner wrote: > >> For some SoCs the struct imx_pinctrl_soc_info is passed

Re: [PATCH v2 1/5] pinctrl: imx: use struct imx_pinctrl_soc_info as a const

2018-01-09 Thread Gary Bisson
Hi Stefan, On Mon, Jan 08, 2018 at 09:52:36PM +0100, Stefan Agner wrote: > On 2018-01-08 17:48, Gary Bisson wrote: > > Hi Stefan, > > > > On Sat, Jan 06, 2018 at 03:25:49PM +0100, Stefan Agner wrote: > >> For some SoCs the struct imx_pinctrl_soc_info is passed

Re: [PATCH v2 1/5] pinctrl: imx: use struct imx_pinctrl_soc_info as a const

2018-01-08 Thread Gary Bisson
. Move those fields to the dynamically allocated struct > imx_pinctrl. > > Fixes: b3060044e495 ("pinctrl: freescale: imx7d: make of_device_ids const") > Cc: Shawn Guo <shawn...@kernel.org> > Cc: Arvind Yadav <arvind.yadav...@gmail.com> > Cc: Dong Aishen

Re: [PATCH v2 1/5] pinctrl: imx: use struct imx_pinctrl_soc_info as a const

2018-01-08 Thread Gary Bisson
. Move those fields to the dynamically allocated struct > imx_pinctrl. > > Fixes: b3060044e495 ("pinctrl: freescale: imx7d: make of_device_ids const") > Cc: Shawn Guo > Cc: Arvind Yadav > Cc: Dong Aisheng > Cc: Gary Bisson > Signed-off-by: Stefan Agner This i

Re: [PATCH v2] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions

2017-11-27 Thread Gary Bisson
Hi Otavio, On Sat, Nov 25, 2017 at 07:55:53AM -0200, Otavio Salvador wrote: > On Fri, Nov 24, 2017 at 3:00 PM, Otavio Salvador > wrote: > > This adds the partitions definition for the SPI NOR to provide > > backward compatibility with the documented[1] layout used with >

Re: [PATCH v2] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions

2017-11-27 Thread Gary Bisson
Hi Otavio, On Sat, Nov 25, 2017 at 07:55:53AM -0200, Otavio Salvador wrote: > On Fri, Nov 24, 2017 at 3:00 PM, Otavio Salvador > wrote: > > This adds the partitions definition for the SPI NOR to provide > > backward compatibility with the documented[1] layout used with > > Boundary Devices BSP.

Re: [PATCH] ARM: imx_v6_v7_defconfig: Add CONFIG_FW_LOADER_USER_HELPER_FALLBACK

2017-08-17 Thread Gary Bisson
Hi Fabio, On Thu, Aug 17, 2017 at 5:11 PM, Fabio Estevam <feste...@gmail.com> wrote: > Hi Gary, > > On Thu, Aug 17, 2017 at 11:04 AM, Gary Bisson > <gary.bis...@boundarydevices.com> wrote: >> Allows to load firmware files which aren't built inside the kernel. &g

Re: [PATCH] ARM: imx_v6_v7_defconfig: Add CONFIG_FW_LOADER_USER_HELPER_FALLBACK

2017-08-17 Thread Gary Bisson
Hi Fabio, On Thu, Aug 17, 2017 at 5:11 PM, Fabio Estevam wrote: > Hi Gary, > > On Thu, Aug 17, 2017 at 11:04 AM, Gary Bisson > wrote: >> Allows to load firmware files which aren't built inside the kernel. >> >> Especially useful for CODA firmware (vpu_fw_imx6q.bi

[PATCH] ARM: imx_v6_v7_defconfig: Add CONFIG_FW_LOADER_USER_HELPER_FALLBACK

2017-08-17 Thread Gary Bisson
Allows to load firmware files which aren't built inside the kernel. Especially useful for CODA firmware (vpu_fw_imx6q.bin) which is usually located in the rootfs. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- Hi Shawn, I'm not sure if this patch is acceptable sinc

[PATCH] ARM: imx_v6_v7_defconfig: Add CONFIG_FW_LOADER_USER_HELPER_FALLBACK

2017-08-17 Thread Gary Bisson
Allows to load firmware files which aren't built inside the kernel. Especially useful for CODA firmware (vpu_fw_imx6q.bin) which is usually located in the rootfs. Signed-off-by: Gary Bisson --- Hi Shawn, I'm not sure if this patch is acceptable since I've noticed that no configuration

[PATCH] ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset

2017-08-17 Thread Gary Bisson
Previous value was a bad copy of nitrogen6_max device tree. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- arch/arm/boot/dts/imx6qdl-nitrogen6_som2.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6_som2.dtsi

[PATCH] ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset

2017-08-17 Thread Gary Bisson
Previous value was a bad copy of nitrogen6_max device tree. Signed-off-by: Gary Bisson --- arch/arm/boot/dts/imx6qdl-nitrogen6_som2.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6_som2.dtsi b/arch/arm/boot/dts/imx6qdl

[PATCH v2 2/2] ARM: dts: imx6qdl-nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
library [1] for instance. [1] https://lkml.org/lkml/2017/2/10/779 Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/ar

[PATCH v2 2/2] ARM: dts: imx6qdl-nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
library [1] for instance. [1] https://lkml.org/lkml/2017/2/10/779 Signed-off-by: Gary Bisson --- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi

[PATCH v2 1/2] ARM: dts: imx6qdl-sabrelite: fix USB PHY reset

2017-07-24 Thread Gary Bisson
library [1] for instance. [1] https://lkml.org/lkml/2017/2/10/779 Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/ar

[PATCH v2 0/2] ARM: dts: sabrelite/nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
any question. Regards, Gary Gary Bisson (2): ARM: dts: imx6qdl-sabrelite: fix USB PHY reset ARM: dts: imx6qdl-nitrogen6x: fix USB PHY reset arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 19 +++ arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 19 +++ 2 files changed,

[PATCH v2 1/2] ARM: dts: imx6qdl-sabrelite: fix USB PHY reset

2017-07-24 Thread Gary Bisson
library [1] for instance. [1] https://lkml.org/lkml/2017/2/10/779 Signed-off-by: Gary Bisson --- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi

[PATCH v2 0/2] ARM: dts: sabrelite/nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
any question. Regards, Gary Gary Bisson (2): ARM: dts: imx6qdl-sabrelite: fix USB PHY reset ARM: dts: imx6qdl-nitrogen6x: fix USB PHY reset arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 19 +++ arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 19 +++ 2 files changed,

Re: [PATCH 1/2] ARM: dts: imx6qdl-sabrelite: fix USB PHY reset

2017-07-24 Thread Gary Bisson
Hi Fabio, On Mon, Jul 24, 2017 at 2:49 PM, Fabio Estevam <feste...@gmail.com> wrote: > > Hi Gary, > > On Mon, Jul 24, 2017 at 5:50 AM, Gary Bisson > <gary.bis...@boundarydevices.com> wrote: > > > + > > + reg_usb_h1_vbus: regulator@

Re: [PATCH 1/2] ARM: dts: imx6qdl-sabrelite: fix USB PHY reset

2017-07-24 Thread Gary Bisson
Hi Fabio, On Mon, Jul 24, 2017 at 2:49 PM, Fabio Estevam wrote: > > Hi Gary, > > On Mon, Jul 24, 2017 at 5:50 AM, Gary Bisson > wrote: > > > + > > + reg_usb_h1_vbus: regulator@7 { > > + compatible = "regulator-fix

[PATCH 1/2] ARM: dts: imx6qdl-sabrelite: fix USB PHY reset

2017-07-24 Thread Gary Bisson
library [1] for instance. [1] https://lkml.org/lkml/2017/2/10/779 Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/ar

[PATCH 1/2] ARM: dts: imx6qdl-sabrelite: fix USB PHY reset

2017-07-24 Thread Gary Bisson
library [1] for instance. [1] https://lkml.org/lkml/2017/2/10/779 Signed-off-by: Gary Bisson --- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi

[PATCH 2/2] ARM: dts: imx6qdl-nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
library [1] for instance. [1] https://lkml.org/lkml/2017/2/10/779 Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/ar

[PATCH 2/2] ARM: dts: imx6qdl-nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
library [1] for instance. [1] https://lkml.org/lkml/2017/2/10/779 Signed-off-by: Gary Bisson --- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi

[PATCH 0/2] ARM: dts: sabrelite/nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
two patches with the following modifications: - Rebase on top of v4.13-rc2 - Reword the title to make it clear this is a fix - Reword the changelog so it is clearly a temporary workaround Let me know if you have any question. Regards, Gary Gary Bisson (2): ARM: dts: imx6qdl-sabrelite: fix USB

[PATCH 0/2] ARM: dts: sabrelite/nitrogen6x: fix USB PHY reset

2017-07-24 Thread Gary Bisson
two patches with the following modifications: - Rebase on top of v4.13-rc2 - Reword the title to make it clear this is a fix - Reword the changelog so it is clearly a temporary workaround Let me know if you have any question. Regards, Gary Gary Bisson (2): ARM: dts: imx6qdl-sabrelite: fix USB

USB PHY reset for Nitrogen6x/MAX

2017-07-21 Thread Gary Bisson
Hi Shawn, Fabio, Last October I offered the following two patches that add regulators to fix USB PHY reset on 2 of our boards: https://patchwork.kernel.org/patch/9395531/ https://patchwork.kernel.org/patch/9395539/ At the time you preferred to wait for Peter's pwrseq sub-system to get in to have

USB PHY reset for Nitrogen6x/MAX

2017-07-21 Thread Gary Bisson
Hi Shawn, Fabio, Last October I offered the following two patches that add regulators to fix USB PHY reset on 2 of our boards: https://patchwork.kernel.org/patch/9395531/ https://patchwork.kernel.org/patch/9395539/ At the time you preferred to wait for Peter's pwrseq sub-system to get in to have

[PATCH 3/4] rtc: m41t80: remove sqw sysfs entry

2017-04-25 Thread Gary Bisson
In order to use the proper clock framework to control this feature. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- drivers/rtc/rtc-m41t80.c | 88 1 file changed, 88 deletions(-) diff --git a/drivers/rtc/rtc-m41t80.c b/d

[PATCH 4/4] rtc: m41t80: add clock provider support

2017-04-25 Thread Gary Bisson
Some devices supported by the m41t80 driver have a programmable square-wave output signal (see M41T80_FEATURE_SQ). This enables to use this feature as a clock provider of common clock framework. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- drivers/rtc/rtc-m41t80.c

[PATCH 3/4] rtc: m41t80: remove sqw sysfs entry

2017-04-25 Thread Gary Bisson
In order to use the proper clock framework to control this feature. Signed-off-by: Gary Bisson --- drivers/rtc/rtc-m41t80.c | 88 1 file changed, 88 deletions(-) diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index 0c142653c309

[PATCH 4/4] rtc: m41t80: add clock provider support

2017-04-25 Thread Gary Bisson
Some devices supported by the m41t80 driver have a programmable square-wave output signal (see M41T80_FEATURE_SQ). This enables to use this feature as a clock provider of common clock framework. Signed-off-by: Gary Bisson --- drivers/rtc/rtc-m41t80.c | 172

[PATCH 1/4] rtc: m41t80: fix SQWE override when setting an alarm

2017-04-25 Thread Gary Bisson
Currently setting an alarm clears the SQWE bit which means that the clock output is disabled no matter its previous state. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- drivers/rtc/rtc-m41t80.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/rtc/rtc-m41t

[PATCH 1/4] rtc: m41t80: fix SQWE override when setting an alarm

2017-04-25 Thread Gary Bisson
Currently setting an alarm clears the SQWE bit which means that the clock output is disabled no matter its previous state. Signed-off-by: Gary Bisson --- drivers/rtc/rtc-m41t80.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index

[PATCH 2/4] rtc: m41t80: fix SQW dividers override when setting a date

2017-04-25 Thread Gary Bisson
This patch is only relevant for RTC with the SQ_ALT feature which means the clock output frequency divider is stored in the weekday register. Current implementation discards the previous dividers value and clear them as soon as the time is set. Signed-off-by: Gary Bisson <gary.

[PATCH 2/4] rtc: m41t80: fix SQW dividers override when setting a date

2017-04-25 Thread Gary Bisson
This patch is only relevant for RTC with the SQ_ALT feature which means the clock output frequency divider is stored in the weekday register. Current implementation discards the previous dividers value and clear them as soon as the time is set. Signed-off-by: Gary Bisson --- drivers/rtc/rtc

[PATCH 0/4] rtc: m41t80: improve SQW support

2017-04-25 Thread Gary Bisson
lace it with a clock provider approach. It has been tested on a Boundary Devices Nitrogen6_MAX which features a MicroCrystal RV4162 RTC. The SQW (named clkout in RV4162 datasheet) can be probed on TP70 on the platform. Let me know if you have any question/suggestion. Regards, Gary Gary Bisson (4):

[PATCH 0/4] rtc: m41t80: improve SQW support

2017-04-25 Thread Gary Bisson
lace it with a clock provider approach. It has been tested on a Boundary Devices Nitrogen6_MAX which features a MicroCrystal RV4162 RTC. The SQW (named clkout in RV4162 datasheet) can be probed on TP70 on the platform. Let me know if you have any question/suggestion. Regards, Gary Gary Bisson (4):

Re: [PATCH 3/3] ARM: dts: imx7d-nitrogen7: fix rv4162 compatible

2017-04-20 Thread Gary Bisson
Hi Alexandre, On Wed, Apr 19, 2017 at 10:22:04PM +0200, Alexandre Belloni wrote: > The rv4162 compatbile string is missing the vendor part, add it. > > Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> Acked-by: Gary Bisson <gary.bis...@boundaryde

Re: [PATCH 3/3] ARM: dts: imx7d-nitrogen7: fix rv4162 compatible

2017-04-20 Thread Gary Bisson
Hi Alexandre, On Wed, Apr 19, 2017 at 10:22:04PM +0200, Alexandre Belloni wrote: > The rv4162 compatbile string is missing the vendor part, add it. > > Signed-off-by: Alexandre Belloni Acked-by: Gary Bisson Thanks for fixing it. Regards, Gary

Re: [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6_som2: fix rv4162 compatible

2017-04-20 Thread Gary Bisson
Hi Alexandre, On Wed, Apr 19, 2017 at 10:22:03PM +0200, Alexandre Belloni wrote: > The rv4162 vendor is microcrystal, not ST. > > Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> Acked-by: Gary Bisson <gary.bis...@boundarydevices.com> Thanks for fixing it. Regards, Gary

Re: [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6_som2: fix rv4162 compatible

2017-04-20 Thread Gary Bisson
Hi Alexandre, On Wed, Apr 19, 2017 at 10:22:03PM +0200, Alexandre Belloni wrote: > The rv4162 vendor is microcrystal, not ST. > > Signed-off-by: Alexandre Belloni Acked-by: Gary Bisson Thanks for fixing it. Regards, Gary

Re: [PATCH 1/3] ARM: dts: imx6qdl-nitrogen6_max: fix rv4162 compatible

2017-04-20 Thread Gary Bisson
Hi Alexandre, On Wed, Apr 19, 2017 at 10:22:02PM +0200, Alexandre Belloni wrote: > The rv4162 vendor is microcrystal, not ST. > > Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> Acked-by: Gary Bisson <gary.bis...@boundarydevices.com> Thanks for fixing it. Regards, Gary

Re: [PATCH 1/3] ARM: dts: imx6qdl-nitrogen6_max: fix rv4162 compatible

2017-04-20 Thread Gary Bisson
Hi Alexandre, On Wed, Apr 19, 2017 at 10:22:02PM +0200, Alexandre Belloni wrote: > The rv4162 vendor is microcrystal, not ST. > > Signed-off-by: Alexandre Belloni Acked-by: Gary Bisson Thanks for fixing it. Regards, Gary

Re: pinctrl: imx: Checking reuse of grouping functionality

2017-04-17 Thread Gary Bisson
Hi Markus, All, On Sat, Apr 15, 2017 at 9:55 PM, SF Markus Elfring wrote: > Hello, > > A preprocessor symbol like “CONFIG_GENERIC_PINCTRL_GROUPS” was introduced > by the commit c033a718f615b6b3ddc83ce3e0a217c30bd09cb5 (“pinctrl: stricten up > generic group code”)

Re: pinctrl: imx: Checking reuse of grouping functionality

2017-04-17 Thread Gary Bisson
Hi Markus, All, On Sat, Apr 15, 2017 at 9:55 PM, SF Markus Elfring wrote: > Hello, > > A preprocessor symbol like “CONFIG_GENERIC_PINCTRL_GROUPS” was introduced > by the commit c033a718f615b6b3ddc83ce3e0a217c30bd09cb5 (“pinctrl: stricten up > generic group code”) on 2017-01-03. Some functions

Re: [PATCH] pinctrl: core: Fix pinctrl_register_and_init() with pinctrl_enable()

2017-04-03 Thread Gary Bisson
> > Depends-on: 950b0d91dc10 ("pinctrl: core: Fix regression caused by delayed > > work for hogs") > > Fixes: df61b366af26 ("pinctrl: core: Use delayed work for hogs") > > Fixes: e566fc11ea76 ("pinctrl: imx: use generic pinctrl helpers for > > man

Re: [PATCH] pinctrl: core: Fix pinctrl_register_and_init() with pinctrl_enable()

2017-04-03 Thread Gary Bisson
e: Fix regression caused by delayed > > work for hogs") > > Fixes: df61b366af26 ("pinctrl: core: Use delayed work for hogs") > > Fixes: e566fc11ea76 ("pinctrl: imx: use generic pinctrl helpers for > > managing groups") > > Cc: Fabio Estevam &g

[REPOST PATCH] ARM: dts: imx6qp-nitrogen6_som2: add Quad Plus variant of the SOM

2017-03-29 Thread Gary Bisson
https://boundarydevices.com/product/nit6x-som-v2/ Reviewed-by: Fabio Estevam <fabio.este...@nxp.com> Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- Hi, This is just a re-post to LAKML as suggested by Shawn [1]. Also include the Review tag from Fabio [2]. Regar

[REPOST PATCH] ARM: dts: imx6qp-nitrogen6_som2: add Quad Plus variant of the SOM

2017-03-29 Thread Gary Bisson
https://boundarydevices.com/product/nit6x-som-v2/ Reviewed-by: Fabio Estevam Signed-off-by: Gary Bisson --- Hi, This is just a re-post to LAKML as suggested by Shawn [1]. Also include the Review tag from Fabio [2]. Regards, Gary [1] http://www.spinics.net/lists/devicetree/msg170732.html [2

Re: [PATCH] fix pinctrl setup for i.IMX6

2017-03-14 Thread Gary Bisson
Hi Linus, On Tue, Mar 14, 2017 at 03:47:58PM +0100, Linus Walleij wrote: > On Tue, Feb 28, 2017 at 7:00 AM, Mika Penttilä > wrote: > > > Recent pulls for mainline pre 4.11 introduced pinctrl setup changes and > > moved pinctrl-imx to > > use generic helpers. > > > >

Re: [PATCH] fix pinctrl setup for i.IMX6

2017-03-14 Thread Gary Bisson
Hi Linus, On Tue, Mar 14, 2017 at 03:47:58PM +0100, Linus Walleij wrote: > On Tue, Feb 28, 2017 at 7:00 AM, Mika Penttilä > wrote: > > > Recent pulls for mainline pre 4.11 introduced pinctrl setup changes and > > moved pinctrl-imx to > > use generic helpers. > > > > Net effect was that hog

Re: [PATCH 1/2] pinctrl: imx: use generic pinctrl helpers for managing groups

2017-03-07 Thread Gary Bisson
Hi Fabio, On Tue, Mar 7, 2017 at 6:19 PM, Fabio Estevam <feste...@gmail.com> wrote: > Hi Gary, > > On Mon, Jan 2, 2017 at 4:20 PM, Gary Bisson > <gary.bis...@boundarydevices.com> wrote: >> Now using group_desc structure instead of imx_pin_group. >> >> Als

Re: [PATCH 1/2] pinctrl: imx: use generic pinctrl helpers for managing groups

2017-03-07 Thread Gary Bisson
Hi Fabio, On Tue, Mar 7, 2017 at 6:19 PM, Fabio Estevam wrote: > Hi Gary, > > On Mon, Jan 2, 2017 at 4:20 PM, Gary Bisson > wrote: >> Now using group_desc structure instead of imx_pin_group. >> >> Also leveraging generic functions to retrieve groups count/name/pins

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-28 Thread Gary Bisson
Hi Tony, On Mon, Feb 27, 2017 at 03:05:43PM -0800, Tony Lindgren wrote: > * Gary Bisson <gary.bis...@boundarydevices.com> [170227 13:08]: > > Hi Tony, > > > > On Mon, Feb 27, 2017 at 10:45:35AM -0800, Tony Lindgren wrote: > > > * Tony Lindgren <t...@atom

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-28 Thread Gary Bisson
Hi Tony, On Mon, Feb 27, 2017 at 03:05:43PM -0800, Tony Lindgren wrote: > * Gary Bisson [170227 13:08]: > > Hi Tony, > > > > On Mon, Feb 27, 2017 at 10:45:35AM -0800, Tony Lindgren wrote: > > > * Tony Lindgren [170227 09:37]: > > > > * Gary Bisson

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-27 Thread Gary Bisson
Hi Tony, On Mon, Feb 27, 2017 at 10:45:35AM -0800, Tony Lindgren wrote: > * Tony Lindgren <t...@atomide.com> [170227 09:37]: > > * Gary Bisson <gary.bis...@boundarydevices.com> [170227 08:42]: > > > > Not sure how to fix it though since we can't move the dt probi

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-27 Thread Gary Bisson
Hi Tony, On Mon, Feb 27, 2017 at 10:45:35AM -0800, Tony Lindgren wrote: > * Tony Lindgren [170227 09:37]: > > * Gary Bisson [170227 08:42]: > > > > Not sure how to fix it though since we can't move the dt probing before > > > > radix tree init. > > &g

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-27 Thread Gary Bisson
On Mon, Feb 27, 2017 at 05:27:47PM +0100, Gary Bisson wrote: > Mika, Tony, All, > > On Mon, Feb 27, 2017 at 07:53:53AM -0800, Tony Lindgren wrote: > > * Mika Penttilä <mika.pentt...@nextfour.com> [170226 21:46]: > > > > > > With current linus git (pre

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-27 Thread Gary Bisson
On Mon, Feb 27, 2017 at 05:27:47PM +0100, Gary Bisson wrote: > Mika, Tony, All, > > On Mon, Feb 27, 2017 at 07:53:53AM -0800, Tony Lindgren wrote: > > * Mika Penttilä [170226 21:46]: > > > > > > With current linus git (pre 4.11), unable to find the pinctrl

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-27 Thread Gary Bisson
Mika, Tony, All, On Mon, Feb 27, 2017 at 07:53:53AM -0800, Tony Lindgren wrote: > * Mika Penttilä [170226 21:46]: > > > > With current linus git (pre 4.11), unable to find the pinctrl hogs : > > > > > > imx6q-pinctrl 20e.iomuxc: unable to find group for node

Re: [REGRESSION] pinctrl, of, unable to find hogs

2017-02-27 Thread Gary Bisson
Mika, Tony, All, On Mon, Feb 27, 2017 at 07:53:53AM -0800, Tony Lindgren wrote: > * Mika Penttilä [170226 21:46]: > > > > With current linus git (pre 4.11), unable to find the pinctrl hogs : > > > > > > imx6q-pinctrl 20e.iomuxc: unable to find group for node hoggrp > > > > > > Device

Re: ARM imx.6 SATA speed regression

2017-02-08 Thread Gary Bisson
Hi Dan, On Tue, Feb 07, 2017 at 05:02:40PM +, Dan MacDonald wrote: > Thankfully there is an archive of older Arch ARM packages which should > reduce the amount amount of bisection / compiling I may need to do and > they have packages for most stable kernels between 4.9.0 and 4.9.8 > >

Re: ARM imx.6 SATA speed regression

2017-02-08 Thread Gary Bisson
Hi Dan, On Tue, Feb 07, 2017 at 05:02:40PM +, Dan MacDonald wrote: > Thankfully there is an archive of older Arch ARM packages which should > reduce the amount amount of bisection / compiling I may need to do and > they have packages for most stable kernels between 4.9.0 and 4.9.8 > >

Re: [PATCH] Input: egalax_ts - do not release gpio if probe successful

2017-01-16 Thread Gary Bisson
Hi Dmitri, On Fri, Jan 13, 2017 at 12:40 AM, Dmitry Torokhov <dmitry.torok...@gmail.com> wrote: > On Fri, Jan 13, 2017 at 12:03:43AM +0100, Gary Bisson wrote: >> Hi Dmitri, >> >> On Thu, Jan 12, 2017 at 10:30:19AM -0800, Dmitry Torokhov wrote: >> > Hi Gary, >

Re: [PATCH] Input: egalax_ts - do not release gpio if probe successful

2017-01-16 Thread Gary Bisson
Hi Dmitri, On Fri, Jan 13, 2017 at 12:40 AM, Dmitry Torokhov wrote: > On Fri, Jan 13, 2017 at 12:03:43AM +0100, Gary Bisson wrote: >> Hi Dmitri, >> >> On Thu, Jan 12, 2017 at 10:30:19AM -0800, Dmitry Torokhov wrote: >> > Hi Gary, >> > >> > On We

Re: [PATCH] Input: egalax_ts - do not release gpio if probe successful

2017-01-12 Thread Gary Bisson
Hi Dmitri, On Thu, Jan 12, 2017 at 10:30:19AM -0800, Dmitry Torokhov wrote: > Hi Gary, > > On Wed, Jan 11, 2017 at 06:28:41PM +0100, Gary Bisson wrote: > > Thus preventing anyone to later modify the interrupt GPIO direction > > and/or state without the driver know

Re: [PATCH] Input: egalax_ts - do not release gpio if probe successful

2017-01-12 Thread Gary Bisson
Hi Dmitri, On Thu, Jan 12, 2017 at 10:30:19AM -0800, Dmitry Torokhov wrote: > Hi Gary, > > On Wed, Jan 11, 2017 at 06:28:41PM +0100, Gary Bisson wrote: > > Thus preventing anyone to later modify the interrupt GPIO direction > > and/or state without the driver know

[PATCH] Input: egalax_ts - do not release gpio if probe successful

2017-01-11 Thread Gary Bisson
Thus preventing anyone to later modify the interrupt GPIO direction and/or state without the driver knowing. Also checking if device is present before allocating the input device. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- drivers/input/touchscreen/egalax_ts.

[PATCH] Input: egalax_ts - do not release gpio if probe successful

2017-01-11 Thread Gary Bisson
Thus preventing anyone to later modify the interrupt GPIO direction and/or state without the driver knowing. Also checking if device is present before allocating the input device. Signed-off-by: Gary Bisson --- drivers/input/touchscreen/egalax_ts.c | 56 --- 1

[PATCH 1/2] pinctrl: imx: use generic pinctrl helpers for managing groups

2017-01-02 Thread Gary Bisson
driver registration since this latter initializes the radix trees. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- drivers/pinctrl/freescale/Kconfig | 1 + drivers/pinctrl/freescale/pinctrl-imx.c | 190 +++- drivers/pinctrl/freescale/p

[PATCH 1/2] pinctrl: imx: use generic pinctrl helpers for managing groups

2017-01-02 Thread Gary Bisson
driver registration since this latter initializes the radix trees. Signed-off-by: Gary Bisson --- drivers/pinctrl/freescale/Kconfig | 1 + drivers/pinctrl/freescale/pinctrl-imx.c | 190 +++- drivers/pinctrl/freescale/pinctrl-imx.h | 19 +--- 3 files changed

[PATCH 2/2] pinctrl: imx: use generic pinmux helpers for managing functions

2017-01-02 Thread Gary Bisson
Now using function_desc structure instead of imx_pmx_func. Also leveraging generic functions to retrieve functions count/name/groups. The imx_free_funcs function can be removed since it is now handled by the core driver during unregister. Signed-off-by: Gary Bisson <gary.

[PATCH 0/2] pinctrl: imx: use generic pinctrl helpers

2017-01-02 Thread Gary Bisson
special. However I couldn't use the 'add' functions to add elements since the parsing is done at probe time in its own way. So I've kept the radix_insert functions. This could be modified in the future though. Regards, Gary [1] http://www.spinics.net/lists/devicetree/msg155984.html Gary Bisson (2

[PATCH 2/2] pinctrl: imx: use generic pinmux helpers for managing functions

2017-01-02 Thread Gary Bisson
Now using function_desc structure instead of imx_pmx_func. Also leveraging generic functions to retrieve functions count/name/groups. The imx_free_funcs function can be removed since it is now handled by the core driver during unregister. Signed-off-by: Gary Bisson --- drivers/pinctrl

[PATCH 0/2] pinctrl: imx: use generic pinctrl helpers

2017-01-02 Thread Gary Bisson
special. However I couldn't use the 'add' functions to add elements since the parsing is done at probe time in its own way. So I've kept the radix_insert functions. This could be modified in the future though. Regards, Gary [1] http://www.spinics.net/lists/devicetree/msg155984.html Gary Bisson (2

Re: [3/5] pinctrl: core: Add generic pinctrl functions for managing groups

2017-01-02 Thread Gary Bisson
Hi Tony, On Tue, Dec 27, 2016 at 09:20:01AM -0800, Tony Lindgren wrote: > We can add generic helpers for function handling for cases where the pin > controller driver does not need to use static arrays. > > Signed-off-by: Tony Lindgren Shouldn't the patch title be: pinctrl:

Re: [3/5] pinctrl: core: Add generic pinctrl functions for managing groups

2017-01-02 Thread Gary Bisson
Hi Tony, On Tue, Dec 27, 2016 at 09:20:01AM -0800, Tony Lindgren wrote: > We can add generic helpers for function handling for cases where the pin > controller driver does not need to use static arrays. > > Signed-off-by: Tony Lindgren Shouldn't the patch title be: pinctrl: core: Add generic

Re: [PATCHv2 0/5] Add generic pinctrl helpers for managing groups and function

2017-01-02 Thread Gary Bisson
Hi Linus, Tony, On Fri, Dec 30, 2016 at 07:59:57AM -0800, Tony Lindgren wrote: > * Gary Bisson <gary.bis...@boundarydevices.com> [161230 07:43]: > > Hi Linus, > > > > On Fri, Dec 30, 2016 at 3:39 PM, Linus Walleij <linus.wall...@linaro.org> > > wrote: >

Re: [PATCHv2 0/5] Add generic pinctrl helpers for managing groups and function

2017-01-02 Thread Gary Bisson
Hi Linus, Tony, On Fri, Dec 30, 2016 at 07:59:57AM -0800, Tony Lindgren wrote: > * Gary Bisson [161230 07:43]: > > Hi Linus, > > > > On Fri, Dec 30, 2016 at 3:39 PM, Linus Walleij > > wrote: > > > On Tue, Dec 27, 2016 at 6:19 PM, Tony Lindgren wrote: >

Re: [PATCHv2 0/5] Add generic pinctrl helpers for managing groups and function

2016-12-30 Thread Gary Bisson
Hi Linus, On Fri, Dec 30, 2016 at 3:39 PM, Linus Walleij wrote: > On Tue, Dec 27, 2016 at 6:19 PM, Tony Lindgren wrote: > >> Here are some changes to add generic helpers for managing pinctrl groups and >> functions. > > I applied it, screwed around

Re: [PATCHv2 0/5] Add generic pinctrl helpers for managing groups and function

2016-12-30 Thread Gary Bisson
Hi Linus, On Fri, Dec 30, 2016 at 3:39 PM, Linus Walleij wrote: > On Tue, Dec 27, 2016 at 6:19 PM, Tony Lindgren wrote: > >> Here are some changes to add generic helpers for managing pinctrl groups and >> functions. > > I applied it, screwed around with it and pushed to the build servers to see

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-29 Thread Gary Bisson
Hi Linus, All, On Tue, Dec 27, 2016 at 11:07 PM, Linus Walleij <linus.wall...@linaro.org> wrote: > > On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson > <gary.bis...@boundarydevices.com> wrote: > > > This change is inspired from the pinctrl-single architecture. &g

Re: [RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-29 Thread Gary Bisson
Hi Linus, All, On Tue, Dec 27, 2016 at 11:07 PM, Linus Walleij wrote: > > On Fri, Dec 2, 2016 at 5:35 PM, Gary Bisson > wrote: > > > This change is inspired from the pinctrl-single architecture. > > > > The problem with current implementation is that it is

[RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-02 Thread Gary Bisson
of pinctrl nodes in dt-overlays. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- drivers/pinctrl/freescale/pinctrl-imx.c | 164 +++- drivers/pinctrl/freescale/pinctrl-imx.h | 5 +- 2 files changed, 141 insertions(+), 28 deletions(-) diff

[RFC v2 2/3] pinctrl: imx: use radix trees for groups and functions

2016-12-02 Thread Gary Bisson
of pinctrl nodes in dt-overlays. Signed-off-by: Gary Bisson --- drivers/pinctrl/freescale/pinctrl-imx.c | 164 +++- drivers/pinctrl/freescale/pinctrl-imx.h | 5 +- 2 files changed, 141 insertions(+), 28 deletions(-) diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c

[RFC v2 0/3] pinctrl: imx: add support for dt-overlays

2016-12-02 Thread Gary Bisson
://www.spinics.net/lists/kernel/msg2391326.html [2] http://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/overlays [3] https://github.com/gibsson/linux-next/tree/for-next-20161202 [4] https://github.com/gibsson/dt-overlays/tree/dt-overlays-next/overlays Gary Bisson (3): pinctrl

[RFC v2 0/3] pinctrl: imx: add support for dt-overlays

2016-12-02 Thread Gary Bisson
://www.spinics.net/lists/kernel/msg2391326.html [2] http://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/overlays [3] https://github.com/gibsson/linux-next/tree/for-next-20161202 [4] https://github.com/gibsson/dt-overlays/tree/dt-overlays-next/overlays Gary Bisson (3): pinctrl

[RFC v2 1/3] pinctrl: imx: remove const qualifier of imx_pinctrl_soc_info

2016-12-02 Thread Gary Bisson
Otherwise can't dynamically update fields such as ngroups which can change over time (with a dt-overlay for instance). Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- Hi all, If this patch isn't applied the compiler gives errors like: error: increment of member ‘nfun

[RFC v2 1/3] pinctrl: imx: remove const qualifier of imx_pinctrl_soc_info

2016-12-02 Thread Gary Bisson
Otherwise can't dynamically update fields such as ngroups which can change over time (with a dt-overlay for instance). Signed-off-by: Gary Bisson --- Hi all, If this patch isn't applied the compiler gives errors like: error: increment of member ‘nfunctions’ in read-only object Regards, Gary

[RFC v2 3/3] pinctrl: imx: add of_notifier for dynamic pinctrl changes

2016-12-02 Thread Gary Bisson
. Currently there's no easy way to add/remove groups to an existing function. Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- Hi all, This implementation is far from ideal. It must be seen as a starting point more than anything else. The goal was to have the simplest

[RFC v2 3/3] pinctrl: imx: add of_notifier for dynamic pinctrl changes

2016-12-02 Thread Gary Bisson
. Currently there's no easy way to add/remove groups to an existing function. Signed-off-by: Gary Bisson --- Hi all, This implementation is far from ideal. It must be seen as a starting point more than anything else. The goal was to have the simplest patch possible. Here a group cannot be added

[PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30

2016-12-02 Thread Gary Bisson
d-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- .../bindings/display/panel/tianma,tm070jdhg30.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 27 ++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/di

[PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30

2016-12-02 Thread Gary Bisson
d-off-by: Gary Bisson --- .../bindings/display/panel/tianma,tm070jdhg30.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 27 ++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt diff

[PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics

2016-12-02 Thread Gary Bisson
Tianma Micro-electronics Co., Ltd. (Tianma) specializes in providing display solutions and efficient support services worldwide. More info: http://en.tianma.com/about.shtml Signed-off-by: Gary Bisson <gary.bis...@boundarydevices.com> --- Documentation/devicetree/bindings/vendor-prefixes.t

[PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics

2016-12-02 Thread Gary Bisson
Tianma Micro-electronics Co., Ltd. (Tianma) specializes in providing display solutions and efficient support services worldwide. More info: http://en.tianma.com/about.shtml Signed-off-by: Gary Bisson --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion

[PATCH 0/2] Add support for Tianma TM070JDHG30 display

2016-12-02 Thread Gary Bisson
splay to the simple panel driver. Regards, Gary Gary Bisson (2): of: Add vendor prefix for Tianma Micro-electronics drm/panel: simple: Add support for Tianma TM070JDHG30 .../bindings/display/panel/tianma,tm070jdhg30.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + driver

  1   2   >