[PATCH v3 16/21] ARM: dts: imx6ull-colibri: Add watchdog

2019-08-07 Thread Philippe Schenker
This patch adds the watchdog to the imx6ull-colibri devicetree Signed-off-by: Philippe Schenker --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch

[PATCH v3 18/21] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri

2019-08-07 Thread Philippe Schenker
This adds the possibility to wake the module with an external signal as defined in the Colibri standard Signed-off-by: Philippe Schenker --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCH v3 08/21] ARM: dts: imx7-colibri: Add touch controllers

2019-08-07 Thread Philippe Schenker
Add touch controller that is connected over an I2C bus. Signed-off-by: Philippe Schenker --- Changes in v3: - Fix commit message Changes in v2: - Deleted touchrevolution downstream stuff - Use generic node name - Better comment arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 24

[PATCH v3 10/21] ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxc

2019-08-07 Thread Philippe Schenker
This adds the muxing for the optional pins usb-oc (overcurrent) and usb-id. Signed-off-by: Philippe Schenker --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6qdl-colibri.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl

[PATCH v3 11/21] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces

2019-08-07 Thread Philippe Schenker
This patch prepares the devicetree for the new Ixora V1.2 where we are able to turn off the supply of the can transceiver. This implies to use a sleep state on transmission pins in order to prevent backfeeding. Signed-off-by: Philippe Schenker --- Changes in v3: None Changes in v2: - Changed

[PATCH v3 12/21] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards

2019-08-07 Thread Philippe Schenker
This commit adds the touchscreens from Toradex so one can enable it. Signed-off-by: Philippe Schenker --- Changes in v3: - Fix commit title to "...imx6-apalis:..." Changes in v2: - Deleted touchrevolution downstream stuff - Use generic node name - Put a better comment in there arc

[PATCH v3 19/21] ARM: dts: imx6/7-colibri: switch dr_mode to otg

2019-08-07 Thread Philippe Schenker
In order for the otg ports, that these modules support, it is needed that dr_mode is on otg. Switch to use that feature. Signed-off-by: Philippe Schenker --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6qdl-colibri.dtsi | 2 +- arch/arm/boot/dts/imx7-colibri.dtsi| 2 +- 2

[PATCH v3 07/21] ARM: dts: imx7-colibri: fix 1.8V/UHS support

2019-08-07 Thread Philippe Schenker
From: Stefan Agner Add pinmuxing and do not specify voltage restrictions for the usdhc instance available on the modules edge connector. This allows to use SD-cards with higher transfer modes if supported by the carrier board. Signed-off-by: Stefan Agner Signed-off-by: Philippe Schenker

[PATCH v3 03/21] ARM: dts: imx7-colibri: prepare module device tree for FlexCAN

2019-08-07 Thread Philippe Schenker
Prepare FlexCAN use on SODIMM 55/63 178/188. Those SODIMM pins are compatible for CAN bus use with several modules from the Colibri family. Add Better drivestrength and also add flexcan2. Signed-off-by: Philippe Schenker --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7

[PATCH v3 04/21] ARM: dts: imx7-colibri: Add sleep mode to ethernet

2019-08-07 Thread Philippe Schenker
Add sleep pinmux to the fec so it can properly sleep. Signed-off-by: Philippe Schenker --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7-colibri.dtsi | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b

Re: [PATCH v3 07/21] ARM: dts: imx7-colibri: fix 1.8V/UHS support

2019-08-07 Thread Philippe Schenker
On Wed, 2019-08-07 at 08:19 -0300, Fabio Estevam wrote: > Hi Philippe, > > On Wed, Aug 7, 2019 at 5:26 AM Philippe Schenker > wrote: > > From: Stefan Agner > > > > Add pinmuxing and do not specify voltage restrictions for the usdhc > > instance available

Re: [PATCH v3 09/21] ARM: dts: imx6qdl-colibri: add phy to fec

2019-08-08 Thread Philippe Schenker
On Wed, 2019-08-07 at 12:51 +0200, Uwe Kleine-König wrote: > On Wed, Aug 07, 2019 at 08:26:23AM +0000, Philippe Schenker wrote: > > Add the phy-node and mdio bus to the fec-node, represented as is on > > hardware. > > This commit includes micrel,led-mode that is set to

[PATCH v6 2/8] mfd: stmpe: Move ADC related defines to header of mfd

2019-01-09 Thread Philippe Schenker
From: Philippe Schenker Move defines that are ADC related to the header of the overlying mfd, so they can be used from multiple sub-devices. Signed-off-by: Philippe Schenker Acked-by: Lee Jones Acked-by: Dmitry Torokhov --- Changes in v6: None Changes in v5: - Changed author of commit to

[PATCH v6 6/8] iio: adc: add STMPE ADC devicetree bindings

2019-01-09 Thread Philippe Schenker
Signed-off-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Reviewed-by: Jonathan Cameron Reviewed-by: Rob Herring --- Changes in v6: - Added Rob's Reviewed-by Changes in v5: - Made a one column list - Cleared note about precedence - Changed example

[PATCH v6 0/8] Adding support for STMPE811 ADC

2019-01-09 Thread Philippe Schenker
From: Philippe Schenker Hello everyone, This patchset is adding an ADC driver for STMPE811. The STMPE811 is a Multi-Frontend-Device that supports a touchscreen, ADC, GPIO and a temperature sensor. For Touchscreen and GPIO there are already existing drivers in mainline. This patchset will add

[PATCH v6 8/8] ARM: dts: Add stmpe-adc DT node to Toradex T30 modules

2019-01-09 Thread Philippe Schenker
From: Philippe Schenker Add the stmpe-adc DT node as found on Toradex T30 modules Signed-off-by: Philippe Schenker --- Changes in v6: - Just realized that the comment for st,norequest-mask was at the wrong place, fixed. - Added also tegra30-apalis-v1.1.dtsi, as I forgot that. Changes

[PATCH v6 5/8] iio: adc: add STMPE ADC driver using IIO framework

2019-01-09 Thread Philippe Schenker
-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Reviewed-by: Jonathan Cameron --- Changes in v6: None Changes in v5: - Removed devm_add_action_or_reset - Changed iio_device_register to devm_iio_device_register - Added Jonathan Cameron's Reviewed-by -

[PATCH v6 4/8] Input: stmpe-ts: preparations for STMPE ADC driver

2019-01-09 Thread Philippe Schenker
From: Philippe Schenker This patch removes common ADC settings in favor to use stmpe811_adc_common_init that is present in MFD. This is necessary in preparation for the stmpe-adc driver, because those two drivers have common settings for the ADC. Signed-off-by: Philippe Schenker Acked-by

[PATCH v6 7/8] ARM: dts: Add stmpe-adc DT node to Toradex iMX6 modules

2019-01-09 Thread Philippe Schenker
From: Philippe Schenker Add the stmpe-adc DT node as found on Toradex iMX6 modules Signed-off-by: Philippe Schenker --- Changes in v6: - Just realized that the comment for st,norequest-mask was at the wrong place, fixed. Changes in v5: None Changes in v4: - Moved T30 devicetree

[PATCH v6 1/8] dt-bindings: stmpe: reformatting parameter list and use tabs only

2019-01-09 Thread Philippe Schenker
From: Philippe Schenker This patch reformats the parameter list for stmpe device in a table-style so it is more clear to read. Signed-off-by: Philippe Schenker Acked-for-MFD-by: Lee Jones Reviewed-by: Rob Herring --- Changes in v6: - Added Rob's Reviewed-by Changes in v5: - Made

[PATCH v6 3/8] mfd: stmpe: preparations for STMPE ADC driver

2019-01-09 Thread Philippe Schenker
Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Acked-for-MFD-by: Lee Jones --- Changes in v6: None Changes in v5: - Added Lee Jone's Ack - Changed author of commit. Previous patch versions author was wrong by mistake. Changes in v4: - New patch: split mfd changes into

Re: [PATCH net-next v3] net: phy: micrel: add phy-mode support for the KSZ9031 PHY

2020-05-28 Thread Philippe Schenker
On Wed, 2020-05-27 at 21:11 +0200, Geert Uytterhoeven wrote: > Hi Oleksij, > > On Wed, Apr 29, 2020 at 11:26 AM Oleksij Rempel < > o.rem...@pengutronix.de> wrote: > > On Wed, Apr 29, 2020 at 10:45:35AM +0200, Geert Uytterhoeven wrote: > > > On Tue, Apr 28,

Re: [PATCH] usb: chipidea: fix ci_irq for role-switching use-case

2020-06-30 Thread Philippe Schenker
On Tue, 2020-06-30 at 00:43 +, Peter Chen wrote: > On 20-06-29 10:04:13, Philippe Schenker wrote: > > On Mon, 2020-06-29 at 07:26 +, Peter Chen wrote: > > > On 20-06-26 13:03:11, Philippe Schenker wrote: > > > > If the hardware is in low-power-mode and one p

[PATCH] usb: chipidea: fix ci_irq for role-switching use-case

2020-06-26 Thread Philippe Schenker
returned as before. Fixes: 1f874edcb731 ("usb: chipidea: add runtime power management support") Signed-off-by: Philippe Schenker --- Hi Peter During my investigation I found a bug in ci_irq. I would appreciate if you could review this. From what I see this patch should be save to apply.

Re: [PATCH 3/3] ARM: dts: colibri-imx7: add usb dual-role switch capability

2020-07-13 Thread Philippe Schenker
On Mon, 2020-07-13 at 11:46 +0200, Ahmad Fatoum wrote: > Hello Philippe, > > On 7/10/20 3:24 PM, Philippe Schenker wrote: > > Since the runtime-pm wakeup bug was fixed in > > drivers/usb/chipidea/core.c usb dual-role host/device switching is > > working. So make use of

Re: [PATCH 3/3] ARM: dts: colibri-imx7: add usb dual-role switch capability

2020-07-14 Thread Philippe Schenker
On Tue, 2020-07-14 at 09:55 +0200, Ahmad Fatoum wrote: > Hello Philippe, > > On 7/13/20 1:53 PM, Philippe Schenker wrote: > > On Mon, 2020-07-13 at 11:46 +0200, Ahmad Fatoum wrote: > > > Hello Philippe, > > > > > > > + extcon_usbc_det: usbc_det

[PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm

2020-07-14 Thread Philippe Schenker
disable Runtime Power Management from devicetree Signed-off-by: Philippe Schenker --- Changes in v2: - Change commit message to tell the use case for Colibri iMX6ULL drivers/usb/chipidea/ci_hdrc_imx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b

[PATCH v2 3/3] ARM: dts: colibri-imx6ull: disable runtime pm

2020-07-14 Thread Philippe Schenker
The Colibri iMX6ULL has a somewhat special hardware design due to some legacy decisions regarding USB OTG. This leads to different issues when runtime PM is enabled. Disable runtime power management on colibri-imx6ull USB. Signed-off-by: Philippe Schenker --- Changes in v2: None arch/arm

[PATCH v2 1/3] dt-bindings: usb: ci-hdrc-usb2: add property disable-runtime-pm

2020-07-14 Thread Philippe Schenker
Chipidea depends on some hardware signals to be there in order for runtime-pm to work well. Add the possibility to disable runtime power management that is necessary for certain boards. Signed-off-by: Philippe Schenker --- Changes in v2: None Documentation/devicetree/bindings/usb/ci-hdrc-usb2

Re: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm

2020-07-15 Thread Philippe Schenker
uch more about the Chipidea IP. I'll get back to you guys with a proposal for a new description. Philippe > > Peter > > > This patch adds the opportunity to disable Runtime Power Management > > from > > devicetree > > > > Signed-off-by: Phil

Re: [PATCH 3/3] ARM: dts: colibri-imx7: add usb dual-role switch capability

2020-07-20 Thread Philippe Schenker
On Mon, 2020-07-20 at 10:11 +0800, Shawn Guo wrote: > On Tue, Jul 14, 2020 at 08:20:34AM +0000, Philippe Schenker wrote: > > On Tue, 2020-07-14 at 09:55 +0200, Ahmad Fatoum wrote: > > > Hello Philippe, > > > > > > On 7/13/20 1:53 PM, Philippe Schenker wrote:

Re: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm

2020-07-20 Thread Philippe Schenker
On Mon, 2020-07-20 at 03:44 +, Peter Chen wrote: > > > On Wed, 2020-07-15 at 00:51 +, Peter Chen wrote: > > > > The Toradex Colibri iMX6ULL board has a special USB hardware > > > > design. > > > > With runtime-pm enabled USB reset itself continuously. > > > > Furthermore > > > > the OTG p

Re: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm

2020-07-20 Thread Philippe Schenker
On Mon, 2020-07-20 at 08:06 +, Peter Chen wrote: > > > On Mon, 2020-07-20 at 03:44 +, Peter Chen wrote: > > > > On Wed, 2020-07-15 at 00:51 +, Peter Chen wrote: > > > > > > The Toradex Colibri iMX6ULL board has a special USB hardware > > > > > > design. > > > > > > With runtime-pm ena

Re: [PATCH 3/3] ARM: dts: colibri-imx7: add usb dual-role switch capability

2020-07-23 Thread Philippe Schenker
On Mon, 2020-07-20 at 09:37 +0200, Philippe Schenker wrote: > On Mon, 2020-07-20 at 10:11 +0800, Shawn Guo wrote: > > On Tue, Jul 14, 2020 at 08:20:34AM +, Philippe Schenker wrote: > > > On Tue, 2020-07-14 at 09:55 +0200, Ahmad Fatoum wrote: > > > > Hello Philipp

[PATCH 1/3] ARM: dts: colibri-imx6: remove pinctrl-names orphan

2020-07-10 Thread Philippe Schenker
This is not necessary without a pinctrl-0 statement. Remove this orphan. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6qdl-colibri.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index

[PATCH 2/3] ARM: dts: colibri-imx6: add usb dual-role switch capability

2020-07-10 Thread Philippe Schenker
Since the runtime-pm wakeup bug was fixed in drivers/usb/chipidea/core.c usb dual-role host/device switching is working. So make use of it. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 8 arch/arm/boot/dts/imx6qdl-colibri.dtsi | 2 +- 2

[PATCH 3/3] ARM: dts: colibri-imx7: add usb dual-role switch capability

2020-07-10 Thread Philippe Schenker
Since the runtime-pm wakeup bug was fixed in drivers/usb/chipidea/core.c usb dual-role host/device switching is working. So make use of it. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 9 + arch/arm/boot/dts/imx7-colibri.dtsi | 4 ++-- 2

[PATCH 2/3] usb: chipidea: imx: support disabling runtime-pm

2020-07-10 Thread Philippe Schenker
Chipidea depends on some hardware signals to be there in order for runtime-pm to work well. Add the possibility to disable runtime power management that is necessary for certain boards. Signed-off-by: Philippe Schenker --- drivers/usb/chipidea/ci_hdrc_imx.c | 3 +++ 1 file changed, 3

[PATCH 1/3] dt-bindings: usb: ci-hdrc-usb2: add property disable-runtime-pm

2020-07-10 Thread Philippe Schenker
Chipidea depends on some hardware signals to be there in order for runtime-pm to work well. Add the possibility to disable runtime power management that is necessary for certain boards. Signed-off-by: Philippe Schenker --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 1 + 1 file

[PATCH 3/3] ARM: dts: colibri-imx6ull: disable runtime pm

2020-07-10 Thread Philippe Schenker
The Colibri iMX6ULL has a somewhat special hardware design due to some legacy decisions regarding USB OTG. This leads to different issues when runtime PM is enabled. Disable runtime power management on colibri-imx6ull USB. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull

Re: [PATCH 1/3] dt-bindings: usb: ci-hdrc-usb2: add property disable-runtime-pm

2020-07-13 Thread Philippe Schenker
On Fri, 2020-07-10 at 12:56 -0300, Fabio Estevam wrote: > Hi Philippe, > > On Fri, Jul 10, 2020 at 12:51 PM Philippe Schenker > wrote: > > Chipidea depends on some hardware signals to be there in order > > I think this description is too vague. > > Could you pleas

[RESEND PATCH v2 0/2] Adding USB dual-role switching support for colibri-imx6/7 with extcon

2020-07-16 Thread Philippe Schenker
the meantime it turned out that I cannot use the new usb-connector way of switching usb dual-role. This is due to Chipidea driver not supporting it and Ahmad is fine using extcon for it. I would be glad if you could pull those two patches back in. Thanks, Philippe Philippe Schenker (2): ARM

[RESEND PATCH v2 1/2] ARM: dts: colibri-imx6: add usb dual-role switch capability

2020-07-16 Thread Philippe Schenker
Since the runtime-pm wakeup bug was fixed in drivers/usb/chipidea/core.c usb dual-role host/device switching is working. So make use of it. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 8 arch/arm/boot/dts/imx6qdl-colibri.dtsi | 2 +- 2

[RESEND PATCH v2 2/2] ARM: dts: colibri-imx7: add usb dual-role switch capability

2020-07-16 Thread Philippe Schenker
Since the runtime-pm wakeup bug was fixed in drivers/usb/chipidea/core.c usb dual-role host/device switching is working. So make use of it. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 9 + arch/arm/boot/dts/imx7-colibri.dtsi | 4 ++-- 2

Re: [PATCH] usb: chipidea: fix ci_irq for role-switching use-case

2020-07-01 Thread Philippe Schenker
On Wed, 2020-07-01 at 02:52 +, Peter Chen wrote: > On 20-06-30 11:59:49, Philippe Schenker wrote: > > On Tue, 2020-06-30 at 00:43 +, Peter Chen wrote: > > > On 20-06-29 10:04:13, Philippe Schenker wrote: > > > > On Mon, 2020-06-29 at 07:26 +, Peter Chen w

Re: [PATCH] usb: chipidea: fix ci_irq for role-switching use-case

2020-07-01 Thread Philippe Schenker
On Wed, 2020-07-01 at 09:02 +, Peter Chen wrote: > On 20-07-01 08:32:22, Philippe Schenker wrote: > > On Wed, 2020-07-01 at 02:52 +, Peter Chen wrote: > > > On 20-06-30 11:59:49, Philippe Schenker wrote: > > > > On Tue, 2020-06-30 at 00:43 +, Peter Chen w

Re: [PATCH 3/4] ARM: dts: stm32: enable stmpe811 on stm32429-disco board

2020-05-07 Thread Philippe Schenker
On Thu, 2020-05-07 at 15:47 +0800, dillon.min...@gmail.com wrote: > From: dillon min > > Enable the stmpe811 touch screen on stm32429-disco board. > > Signed-off-by: dillon min > --- > arch/arm/boot/dts/stm32f429-disco.dts | 50 > +++ > 1 file changed, 50 insert

Re: [PATCH next] ARM: dts: am57xx: fix networking on boards with ksz9031 phy

2020-05-07 Thread Philippe Schenker
d disables RX delay, > as > result networking is become broken. > > Fix it by switching to phy-mode = "rgmii-rxid" to reflect previous > behavior. > > Cc: Oleksij Rempel > Cc: Andrew Lunn > Cc: Philippe Schenker > Fixes: commit bcf3440c6dd7 ("net: phy

Re: [PATCH 3/4] ARM: dts: stm32: enable stmpe811 on stm32429-disco board

2020-05-07 Thread Philippe Schenker
Hi dillon If you change something in your patchset please make sure to add version to patch (e.g. [PATCH v2 3/4] ARM: dt) and also mention in commit message below Signed-off-by what you changed. Also make sure to set your email client to text mode also for replies, that makes life easier for

Re: [PATCH V2 3/4] ARM: dts: stm32: enable stmpe811 on stm32429-disco board

2020-05-07 Thread Philippe Schenker
ch 3: remove unused id, blocks, irq-trigger > > V1: > patch 4: fix read touch screen xyz timeout bug > patch 3: enable stmpe_touchscreen on stm32f429-disco board > patch 2: add i2c3 pin mux for stm32f4 > patch 1: add i2c3 controller interface for stm32f4 > > Signed-off-by: d

Re: [PATCH] usb: chipidea: fix ci_irq for role-switching use-case

2020-06-29 Thread Philippe Schenker
On Mon, 2020-06-29 at 07:26 +, Peter Chen wrote: > On 20-06-26 13:03:11, Philippe Schenker wrote: > > If the hardware is in low-power-mode and one plugs in device or host > > it did not switch the mode due to the early exit out of the > > interrupt. > > Do you mean

Re: [PATCH v2] ARM: dts: am437x: fix networking on boards with ksz9031 phy

2020-05-07 Thread Philippe Schenker
delay, > as > result networking is become broken. > > Fix it by switching to phy-mode = "rgmii-rxid" to reflect previous > behavior. > > Cc: Oleksij Rempel > Cc: Andrew Lunn > Cc: Philippe Schenker > Fixes: commit bcf3440c6dd7 ("net: phy: micrel:

<    1   2   3