[PATCH v3 3/4] iio: adc: add STMPE ADC devicetree bindings

2018-11-23 Thread Philippe Schenker
From: Stefan Agner This adds the devicetree bindings for the STMPE ADC. Signed-off-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker --- Changes in v3: - Reformatted documentation for touchscreen to use tabs and have a better overview of the settings

[PATCH v3 4/4] ARM: dts: Add stmpe-adc driver to relevant devicetrees

2018-11-23 Thread Philippe Schenker
From: Philippe Schenker Activate the stmpe-adc driver as found on Apalis/Colibri iMX6/T30 modules Signed-off-by: Philippe Schenker --- Changes in v3: - None Changes in v2: - Put common ADC settings in mfd arch/arm/boot/dts/imx6qdl-apalis.dtsi | 22 ++ arch/arm/boot

[PATCH v3 1/4] mfd: stmpe: Move ADC related defines to header of mfd

2018-11-23 Thread 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 --- Changes in v3: - None Changes in v2: - This is a new added commit. Separate commit for moving the defines out of drivers/input

[PATCH v3 2/4] iio: adc: add STMPE ADC driver using IIO framework

2018-11-23 Thread Philippe Schenker
-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker --- Changes in v3: - Undo ADC-settings related code-deletions in stmpe-ts.c that the code is backwards-compatible to older devicetrees. Changes in v2: - Code formatting - Move code to setup ADC to MFD device

[PATCH v2 1/4] mfd: stmpe: Move ADC related defines to header of mfd

2018-11-19 Thread 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 --- Changes in v2: - This is a new added commit. Separate commit for moving the defines out of drivers/input/touchscreen/stmpe-ts.c to

[PATCH v2 3/4] iio: adc: add STMPE ADC devicetree bindings

2018-11-19 Thread Philippe Schenker
From: Stefan Agner This adds the devicetree bindings for the STMPE ADC. Signed-off-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker --- Changes in v2: - Moved the bindings for ADC to the overlying mfd. - Reformatted for better readability .../devicetree

[PATCH v2 2/4] iio: adc: add STMPE ADC driver using IIO framework

2018-11-19 Thread Philippe Schenker
-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker --- Changes in v2: - Code formatting - Move code to setup ADC to MFD device, as it is used by both drivers adc and touchscreen - Removed unused includes - Defined the macro STMPE_START_ONE_TEMP_CONV with

[PATCH v2 4/4] ARM: dts: Add stmpe-adc driver to relevant devicetrees

2018-11-19 Thread Philippe Schenker
From: Philippe Schenker Activate the stmpe-adc driver as found on Apalis/Colibri iMX6/T30 modules Signed-off-by: Philippe Schenker --- Changes in v2: - Put common ADC settings in mfd arch/arm/boot/dts/imx6qdl-apalis.dtsi | 22 ++ arch/arm/boot/dts/imx6qdl-colibri.dtsi

Re: [PATCH v3 3/4] iio: adc: add STMPE ADC devicetree bindings

2018-12-06 Thread Philippe Schenker
On Sun, 2018-11-25 at 10:04 +, Jonathan Cameron wrote: > On Fri, 23 Nov 2018 15:24:10 +0100 > Philippe Schenker wrote: > > > From: Stefan Agner > > > > This adds the devicetree bindings for the STMPE ADC. > > > > Signed-off-by: Stefan Agner > >

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

2018-12-12 Thread Philippe Schenker
Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker --- Changes in v4: - Moved MFD changes to a precursor patch - Moved stmpe-ts changes to a precursor patch - Created stmpe_read_temp and stmpe_read_voltage functions to make read_raw more readable - Added local lock instead of

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

2018-12-12 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 v4: - Moved T30 devicetree settings to separate commit Changes in v3: - None Changes in v2: - Put common ADC settings in mfd arch/arm/boot/dts/imx6qdl

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

2018-12-12 Thread Philippe Schenker
Krummenacher Signed-off-by: Philippe Schenker --- I moved now all enables back to the subdevices. The disable of ADC block is now done at remove of mfd. I know this is not particularly right, the right way to do this would be with a refcounter. But I don't know how to implement this in this d

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

2018-12-12 Thread Philippe Schenker
From: Stefan Agner This adds the devicetree bindings for the STMPE ADC. And corrects a typo in st,sample-time it is rather "6 -> 124 clocks" according to the datasheet and not 144. Signed-off-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker ---

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

2018-12-12 Thread 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 v4: None Changes in v3: None Changes in v2: - This is a new added commit

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

2018-12-12 Thread 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 --- Changes in v4: - New separate precursor patch for holding reformatting Changes in v3: None Changes in v2: None .../bindings/input/touchscreen/stmpe.txt

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

2018-12-12 Thread 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 --- Changes in v4: - New patch: Split

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

2018-12-12 Thread Philippe Schenker
Add the stmpe-adc DT node as found on Toradex T30 modules Signed-off-by: Philippe Schenker --- Changes in v4: - New separate commit to hold T30 devicetree changes Changes in v3: None Changes in v2: None arch/arm/boot/dts/tegra30-apalis.dtsi | 22 ++ arch/arm/boot/dts

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

2018-12-21 Thread Philippe Schenker
Signed-off-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Reviewed-by: Jonathan Cameron --- Changes in v5: - Made a one column list - Cleared note about precedence - Changed example to a full STMPE811 device with MFD, touchscreen, and the new stmpe_adc dri

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

2018-12-21 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 v5: None Changes in v4: - Moved T30 devicetree settings to separate commit Changes in v3: - None Changes in v2: - Put common ADC settings in mfd arch/arm

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

2018-12-21 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 --- Changes in v5: - Made a one column list - Added lee's Acked-for-MFD - Changed author of c

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

2018-12-21 Thread Philippe Schenker
-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Reviewed-by: Jonathan Cameron --- Changes in v5: - Removed devm_add_action_or_reset - Changed iio_device_register to devm_iio_device_register - Added Jonathan Cameron's Reviewed-by - Added correct auth

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

2018-12-21 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 v5: None Changes in v4: - New separate commit to hold T30 devicetree changes Changes in v3: None Changes in v2: None arch/arm/boot/dts/tegra30-apalis.dtsi

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

2018-12-21 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 v5 4/8] Input: stmpe-ts: preparations for STMPE ADC driver

2018-12-21 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 --- Changes

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

2018-12-21 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 v5: - Changed author of commit to use correct email

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

2018-12-21 Thread Philippe Schenker
Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Acked-for-MFD-by: Lee Jones --- 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 this precursor

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

2019-03-12 Thread Philippe Schenker
From: Philippe Schenker Add the stmpe-adc DT node as found on Toradex T30 modules Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi | 22 ++ arch/arm/boot/dts/tegra30-apalis.dtsi | 22 ++ arch/arm/boot/dts/tegra30

Re: [PATCH v1 1/7] ARM i.MX6q: remove PHY fixup for KSZ9031

2021-02-03 Thread Philippe Schenker
   txen-skew-psec = <0>; >    rxdv-skew-psec = <0>; >    rxd0-skew-psec = <0>; >    rxd1-skew-psec = <0>; >    rxd2-skew-psec = <0>; >    rxd3-skew-psec = <0>; >    rxc-skew-psec = <1860>; >    txc-skew-psec = <1860>; >    This

[PATCH] ARM: dts: colibri-imx6ull: Change drive strength for usdhc2

2021-03-04 Thread Philippe Schenker
design. The impedances given in this commit message refer to 3.3V operation. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts

Re: [PATCH 0/2] Adding DTS to support STMPE811 ADC on Toradex Boards

2019-02-12 Thread Philippe Schenker
On Tue, 2019-02-12 at 17:09 +0800, Shawn Guo wrote: > On Fri, Feb 01, 2019 at 11:36:34AM +0800, Shawn Guo wrote: > > On Tue, Jan 22, 2019 at 02:21:33PM +0100, Philippe Schenker wrote: > > > Philippe Schenker (2): > > > ARM: dts: Add stmpe-adc DT node to Toradex iMX6 mo

Re: [PATCH 1/3] regulator: fixed: add possibility to enable by clock

2019-09-09 Thread Philippe Schenker
On Thu, 2019-09-05 at 19:06 +0100, Mark Brown wrote: > On Tue, Sep 03, 2019 at 08:03:46AM +0000, Philippe Schenker wrote: > > This commit adds the possibility to choose the compatible > > "regulator-fixed-clock" in devicetree. > > > > This is a special reg

Re: [PATCH 1/3] regulator: fixed: add possibility to enable by clock

2019-09-09 Thread Philippe Schenker
On Tue, 2019-09-10 at 06:08 +, Philippe Schenker wrote: > On Thu, 2019-09-05 at 19:06 +0100, Mark Brown wrote: > > On Tue, Sep 03, 2019 at 08:03:46AM +, Philippe Schenker wrote: > > > This commit adds the possibility to choose the compatible > > > "regu

[PATCH v2 3/3] dt-bindings: regulator: add regulator-fixed-clock binding

2019-09-09 Thread Philippe Schenker
is mandatory to supply a clock. Signed-off-by: Philippe Schenker --- Changes in v2: - Change select: to if: - Change items: to enum: - Defined how many clocks should be given .../bindings/regulator/fixed-regulator.yaml | 19 ++- 1 file changed, 18 insertions(+), 1 deletion

[PATCH v2 0/3] Add new binding regulator-fixed-clock to regulator-fixed

2019-09-09 Thread Philippe Schenker
umers need power from this regulator. Best regards, Philippe [1] https://lkml.org/lkml/2019/8/7/78 Changes in v2: - return priv->clk_enable_counter > 0 directly. - Change select: to if: - Change items: to enum: - Defined how many clocks should be given Philippe Schenker (3): regul

[PATCH v2 2/3] ARM: dts: imx6ull-colibri: add phy-supply and respective regulator

2019-09-09 Thread Philippe Schenker
This adds regulator-fixed-clock, a fixed-regulator that turns on and off with a clock and add it to the phy. Signed-off-by: Philippe Schenker --- Changes in v2: None arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v2 1/3] regulator: fixed: add possibility to enable by clock

2019-09-09 Thread Philippe Schenker
This commit adds the possibility to choose the compatible "regulator-fixed-clock" in devicetree. This is a special regulator-fixed that has to have a clock, from which the regulator gets switched on and off. Signed-off-by: Philippe Schenker --- Changes in v2: - return priv->clk_e

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

2019-08-21 Thread Philippe Schenker
On Mon, 2019-08-19 at 13:18 +0200, Shawn Guo wrote: > On Mon, Aug 12, 2019 at 02:21:25PM +0000, Philippe Schenker wrote: > > From: Stefan Agner > > > > Add pinmuxing and do not specify voltage restrictions for the usdhc > > instance available on the modules edge co

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

2019-08-21 Thread Philippe Schenker
On Mon, 2019-08-19 at 13:21 +0200, Shawn Guo wrote: > On Mon, Aug 12, 2019 at 02:21:26PM +0000, Philippe Schenker wrote: > > Add touch controller that is connected over an I2C bus. > > > > Signed-off-by: Philippe Schenker > > Acked-by: Marcel Ziswiler > >

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

2019-08-21 Thread Philippe Schenker
On Mon, 2019-08-19 at 13:27 +0200, Shawn Guo wrote: > On Mon, Aug 12, 2019 at 02:21:31PM +0000, Philippe Schenker wrote: > > 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 >

[PATCH 3/3] dt-bindings: regulator: add regulator-fixed-clock binding

2019-09-03 Thread Philippe Schenker
This adds the documentation to the compatible regulator-fixed-clock Signed-off-by: Philippe Schenker --- .../bindings/regulator/fixed-regulator.yaml| 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/fixed

[PATCH 0/3] Add new binding regulator-fixed-clock to regulator-fixed

2019-09-03 Thread Philippe Schenker
umers need power from this regulator. Best regards, Philippe [1] https://lkml.org/lkml/2019/8/7/78 Philippe Schenker (3): regulator: fixed: add possibility to enable by clock ARM: dts: imx6ull-colibri: add phy-supply and respective regulator dt-bindings: regulator: add regulator-fixed-clo

[PATCH 2/3] ARM: dts: imx6ull-colibri: add phy-supply and respective regulator

2019-09-03 Thread Philippe Schenker
This adds regulator-fixed-clock, a fixed-regulator that turns on and off with a clock and add it to the phy. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b

[PATCH 1/3] regulator: fixed: add possibility to enable by clock

2019-09-03 Thread Philippe Schenker
This commit adds the possibility to choose the compatible "regulator-fixed-clock" in devicetree. This is a special regulator-fixed that has to have a clock, from which the regulator gets switched on and off. Signed-off-by: Philippe Schenker --- drivers/regulator/fi

Re: [PATCH 3/3] dt-bindings: regulator: add regulator-fixed-clock binding

2019-09-04 Thread Philippe Schenker
On Tue, 2019-09-03 at 09:45 +0100, Rob Herring wrote: > On Tue, Sep 3, 2019 at 9:03 AM Philippe Schenker > wrote: > > This adds the documentation to the compatible regulator-fixed-clock > > Please explain what that is in this patch. Hi Rob and thanks for your comments. I will

Re: [PATCH v4 20/21] ARM: dts: imx7-colibri: Add UHS support to eval board

2019-08-15 Thread Philippe Schenker
On Mon, 2019-08-12 at 14:21 +, Philippe Schenker wrote: > This commit adds UHS capability to Toradex Eval Boards > > Signed-off-by: Philippe Schenker Please ignore this patch. There was a misunderstanding and this one shouldn't go into mainline. Sorry for that! > > --

Re: [PATCH v4 21/21] ARM: dts: imx6qdl-colibri.dtsi: UHS-I support for v1.1a hw

2019-08-15 Thread Philippe Schenker
On Mon, 2019-08-12 at 14:21 +, Philippe Schenker wrote: > From: Igor Opaniuk > > Provide proper configuration for VGEN3, to make sure it's is always > powered > which allows that rail to be automatically switched to 1.8 volts > for proper UHS-I operation. By default i

[PATCH v5 03/13] ARM: dts: imx7-colibri: Add touch controllers

2019-08-27 Thread Philippe Schenker
Add touch controller that is connected over an I2C bus. It is disabled by default because the pins are also used for PWM, which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Add note in

[PATCH v5 04/13] ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxc

2019-08-27 Thread Philippe Schenker
This adds the muxing for the optional pins usb-oc (overcurrent) and usb-id. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: - change group name - Add pinmux to iomuxc Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arc

[PATCH v5 02/13] ARM: dts: imx7-colibri: fix 1.8V/UHS support

2019-08-27 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 Acked

[PATCH v5 05/13] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces

2019-08-27 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 Acked-by: Marcel Ziswiler --- Changes in v5: None

[PATCH v5 06/13] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards

2019-08-27 Thread Philippe Schenker
This commit adds the touchscreen from Toradex so one can enable it. It is disabled by default because the pins are also used for PWM, PWM, aka pwm2, pwm3 which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov

[PATCH v5 01/13] ARM: dts: imx7-colibri: add GPIO wakeup key

2019-08-27 Thread Philippe Schenker
From: Stefan Agner Add wakeup GPIO key which is able to wake the system from sleep modes (e.g. Suspend-to-Memory). Signed-off-by: Stefan Agner Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: - changed legacy gpio-key,wakeup to wakeup-source Changes in v4

[PATCH v5 00/13] Common patches from downstream development

2019-08-27 Thread Philippe Schenker
mmit title to '...imx6qdl-apalis:...' - Deleted touchrevolution downstream stuff - Use generic node name - Put a better comment in there - Commit title - Removed f0710a that is downstream only - Changed to generic node name - Better comment Max Krummenacher (2): ARM: dts: imx6ull-colibri

[PATCH v5 10/13] ARM: dts: imx6ull-colibri: Add watchdog

2019-08-27 Thread Philippe Schenker
This patch adds the watchdog to the imx6ull-colibri devicetree Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler --- Changes in v5: None Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 ++

[PATCH v5 12/13] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri

2019-08-27 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 Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Add Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ac

[PATCH v5 09/13] ARM: dts: imx6ull-colibri: reduce v_batt current in power off

2019-08-27 Thread Philippe Schenker
the USBC_DET module pin (TAMPER2). Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewd-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: N

[PATCH v5 11/13] ARM: dts: imx6ull: improve can templates

2019-08-27 Thread Philippe Schenker
-by: Max Krummenacher Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewed-by Changes in v4: - Move can nodes to module deviceteree include imx6ull-colibri.dtsi Changes in v3: None Changes in v2: None .../arm/boot/dts/imx6ull-co

[PATCH v5 07/13] ARM: dts: imx6-colibri: Add missing pinmuxing to Toradex eval board

2019-08-27 Thread Philippe Schenker
This patch adds some missing pinmuxing that is in the colibri standard to the dts. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: No

[PATCH v5 13/13] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board

2019-08-27 Thread Philippe Schenker
This adds the common touchscreen that is used with Toradex's Eval Boards. It is disabled by default because the pins are also used for PWM, which is the standard use for colibri boards. Signed-off-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov Marcel Ziswiler Max Krummenacher

[PATCH v5 08/13] ARM: dts: imx6ull-colibri: Add sleep mode to fec

2019-08-27 Thread Philippe Schenker
Do not change the clock as the power for this phy is switched with that clock. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov --- Changes in v5: - Added Olek's Reviewed-by Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None

Re: [RESEND PATCH] ARM: dts: Add stmpe-adc DT node to Toradex T30 modules

2019-10-02 Thread Philippe Schenker
On Tue, 2019-10-01 at 16:35 +0200, Thierry Reding wrote: > On Wed, Aug 14, 2019 at 10:53:38AM +0000, Philippe Schenker wrote: > > Add the stmpe-adc DT node as found on Toradex T30 modules > > > > Signed-off-by: Philippe Schenker > > > > --- > > > >

Re: [RESEND PATCH] ARM: dts: Add stmpe-adc DT node to Toradex T30 modules

2019-09-30 Thread Philippe Schenker
On Wed, 2019-08-14 at 10:53 +, Philippe Schenker wrote: > Add the stmpe-adc DT node as found on Toradex T30 modules > > Signed-off-by: Philippe Schenker Hi Thierry, could you please pull this patch for 5.4? Or tell me what is holding it back from being pulled? Thanks for your

Re: [PATCH v2 1/3] regulator: fixed: add possibility to enable by clock

2019-10-07 Thread Philippe Schenker
On Mon, 2019-10-07 at 06:29 -0700, Guenter Roeck wrote: > On Tue, Sep 10, 2019 at 06:21:15AM +0000, Philippe Schenker wrote: > > This commit adds the possibility to choose the compatible > > "regulator-fixed-clock" in devicetree. > > > > This is a special reg

Re: [PATCH v2 3/3] dt-bindings: regulator: add regulator-fixed-clock binding

2019-09-22 Thread Philippe Schenker
On Tue, 2019-09-17 at 15:13 -0500, Rob Herring wrote: > On Tue, Sep 10, 2019 at 1:21 AM Philippe Schenker > wrote: > > This adds the documentation to the compatible regulator-fixed-clock. > > This binding is a special binding of regulator-fixed and adds the > > ability to

[PATCH] dt-bindings: fixed-regulator: fix compatible enum

2019-09-23 Thread Philippe Schenker
Remove 'const:' in the compatible enum. This was breaking make dt_binding_check since it has more than one compatible string. Fixes: 9c86d003d620 ("dt-bindings: regulator: add regulator-fixed-clock binding") Signed-off-by: Philippe Schenker --- .../devicetree/bind

Re: [PATCH] regulator: fixed: Prevent NULL pointer dereference when !CONFIG_OF

2019-09-23 Thread Philippe Schenker
On Sun, 2019-09-22 at 10:29 +0800, Axel Lin wrote: > Use of_device_get_match_data which has NULL test for match before > dereference match->data. Add NULL test for drvtype so it still works > for fixed_voltage_ops when !CONFIG_OF. > > Signed-off-by: Axel Lin Reviewed-by:

Re: [PATCH v1 2/2] drm/panel: simple: add display timings for logic technologies displays

2019-09-23 Thread Philippe Schenker
-capacitive-touch-display-1280x800-datasheet.pdf > [4] > https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30 > > Signed-off-by: Marcel Ziswiler Reviewed-by: Philippe Schenker > > --- > > drivers/gpu/drm/panel/panel-simple.c | 65 > +++

Re: [PATCH 1/4] add dts node for drm panel driver ili9341 add dts i2c3 for stmpe touch add dts spi5 for gyro & ili9341

2020-04-30 Thread Philippe Schenker
On Thu, 2020-04-30 at 17:43 +0800, dillon.min...@gmail.com wrote: > From: dillon min > > Signed-off-by: dillon min > --- > .../bindings/display/panel/ilitek,ili9341.txt | 42 +++ > arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 79 > +++ > arch/arm/boot/dts/st

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

2020-04-28 Thread Philippe Schenker
On Tue, 2020-04-28 at 17:47 +0200, Andrew Lunn wrote: > On Tue, Apr 28, 2020 at 05:28:30PM +0200, Geert Uytterhoeven wrote: > > This triggers on Renesas Salvator-X(S): > > > > Micrel KSZ9031 Gigabit PHY e680.ethernet-:00: > > *-skew-ps values should be used only with phy-mode = "rg

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

2020-04-29 Thread Philippe Schenker
On Wed, 2020-04-29 at 10:45 +0200, Geert Uytterhoeven wrote: > Hi Philippe, > > On Tue, Apr 28, 2020 at 6:16 PM Philippe Schenker > wrote: > > On Tue, 2020-04-28 at 17:47 +0200, Andrew Lunn wrote: > > > On Tue, Apr 28, 2020 at 05:28:30PM +0200, Geert Uytterhoeve

[PATCH v1 3/3] tty: serial: lpuart: Add RS485 support for 32-bit uart flavour

2019-10-16 Thread Philippe Schenker
This commits adds RS485 support for LPUART hardware that uses 32-bit registers. These are typically found in i.MX8 processors. Signed-off-by: Philippe Schenker --- drivers/tty/serial/fsl_lpuart.c | 65 - 1 file changed, 63 insertions(+), 2 deletions(-) diff

[PATCH v1 2/3] tty: serial: lpuart: Use defines that correspond to correct register

2019-10-16 Thread Philippe Schenker
Use UARTMODIR defines instead of UARTMODEM as it is a 32-bit function Signed-off-by: Philippe Schenker --- drivers/tty/serial/fsl_lpuart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index

[PATCH v1 1/3] tty: serial: lpuart: Remove unnecessary code from set_mctrl

2019-10-16 Thread Philippe Schenker
. Therefore I guess it is safe to remove the whole code in lpuart32_set_mctrl. This was tested with console on a i.MX8QXP SoC. Signed-off-by: Philippe Schenker --- drivers/tty/serial/fsl_lpuart.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers

[PATCH v1 1/2] arm: dts: imx*(colibri|apalis): add missing recovery modes to i2c

2019-10-16 Thread Philippe Schenker
This patch adds missing i2c recovery modes and corrects wrongly named ones. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 26 +- arch/arm/boot/dts/imx6qdl-colibri.dtsi | 6 +++--- 2 files changed, 24 insertions(+), 8 deletions(-) diff

[PATCH v1 2/2] arm: dts: vf-colibri: add recovery mode to i2c

2019-10-16 Thread Philippe Schenker
This patch enables the recovery mode now available. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/vf-colibri.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi index b6a1eeeb2bb4

Re: [PATCH v1 1/2] arm: dts: imx*(colibri|apalis): add missing recovery modes to i2c

2019-10-16 Thread Philippe Schenker
On Wed, 2019-10-16 at 16:28 +, Philippe Schenker wrote: > This patch adds missing i2c recovery modes and corrects wrongly named > ones. > > Signed-off-by: Philippe Schenker That went too fast... Will send a v2 shortly. > --- > > arch/arm/boot/dts/imx6

[PATCH v2 2/2] arm: dts: vf-colibri: add recovery mode to i2c

2019-10-16 Thread Philippe Schenker
This patch enables the recovery mode now available. Signed-off-by: Philippe Schenker --- Changes in v2: - Added scl/sda gpios arch/arm/boot/dts/vf-colibri.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot

[PATCH v2 1/2] arm: dts: imx*(colibri|apalis): add missing recovery modes to i2c

2019-10-16 Thread Philippe Schenker
This patch adds missing i2c recovery modes and corrects wrongly named ones. Signed-off-by: Philippe Schenker --- Changes in v2: - Added scl/sda gpio - Added missing recovery mode to i2c2 on imx6qdl-colibri arch/arm/boot/dts/imx6qdl-apalis.dtsi | 30 +- arch/arm/boot

Re: [PATCH v1 2/3] tty: serial: lpuart: Use defines that correspond to correct register

2019-10-17 Thread Philippe Schenker
On Wed, 2019-10-16 at 22:22 +0200, Stefan Agner wrote: > On 2019-10-16 17:18, Philippe Schenker wrote: > > Use UARTMODIR defines instead of UARTMODEM as it is a 32-bit > > function > > This reads a bit strange at first. Also it is helpful for later to > state >

[PATCH v2 3/3] tty: serial: lpuart: Add RS485 support for 32-bit uart flavour

2019-10-17 Thread Philippe Schenker
This commits adds RS485 support for LPUART hardware that uses 32-bit registers. These are typically found in i.MX8 processors. Signed-off-by: Philippe Schenker Reviewed-by: Fugang Duan --- Changes in v2: - Added Fugang's reviewed tag drivers/tty/serial/fsl_lpuart.c

[PATCH v2 2/3] tty: serial: lpuart: Use defines that correspond to correct register

2019-10-17 Thread Philippe Schenker
Use define from the 32-bit register description UARTMODIR_* instead of UARTMODEM_*. The value is the same, so there is no functional change. Signed-off-by: Philippe Schenker Reviewed-by: Stefan Agner Reviewed-by: Fugang Duan --- Changes in v2: - Changed commit message to Stefans suggestions

[PATCH v2 1/3] tty: serial: lpuart: Remove unnecessary code from set_mctrl

2019-10-17 Thread Philippe Schenker
. Therefore I guess it is safe to remove the whole code in lpuart32_set_mctrl. This was tested with console on a i.MX8QXP SoC. Signed-off-by: Philippe Schenker Reviewed-by: Fugang Duan --- Changes in v2: - Added Fugang Duan's review drivers/tty/serial/fsl_lpuart.c | 11 --- 1 file ch

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

2019-01-22 Thread Philippe Schenker
From: Philippe Schenker Add the stmpe-adc DT node as found on Toradex T30 modules Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi | 22 ++ arch/arm/boot/dts/tegra30-apalis.dtsi | 22 ++ arch/arm/boot/dts/tegra30

[PATCH 1/2] ARM: dts: Add stmpe-adc DT node to Toradex iMX6 modules

2019-01-22 Thread Philippe Schenker
From: Philippe Schenker Add the stmpe-adc DT node as found on Toradex iMX6 modules Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 22 ++ arch/arm/boot/dts/imx6qdl-colibri.dtsi | 22 ++ 2 files changed, 28 insertions

[PATCH 0/2] Adding DTS to support STMPE811 ADC on Toradex Boards

2019-01-22 Thread Philippe Schenker
From: Philippe Schenker Hello, Recently the STMPE811 driver got pulled by MFD (for 5.1). This patches I'm sending are now adding support for STMPE811 ADC in devicetree. These patches have been in the STMPE811 ADC driver patchset but were not pulled by Lee, as they had no reviews and I

Re: [PATCH] ARM: dts: imx6qdl-apalis: add phy-supply

2019-01-21 Thread Philippe Schenker
ower down is used and hence > the highest saving potential. > > Signed-off-by: Stefan Agner Reviewed-by: Philippe Schenker > --- > arch/arm/boot/dts/imx6qdl-apalis.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi >

Re: [PATCH] ARM: dts: imx6*-apalis/-colibri: mark I2C recovery GPIOs as open drain

2019-01-21 Thread Philippe Schenker
the fixed pinmux entry. > > Signed-off-by: Stefan Agner Reviewed-by: Philippe Schenker > --- > arch/arm/boot/dts/imx6qdl-apalis.dtsi | 4 ++-- > arch/arm/boot/dts/imx6qdl-colibri.dtsi | 4 ++-- > arch/arm/boot/dts/imx6ull-colibri.dtsi | 8 > 3 files changed, 8

Re: [PATCH 4/5] iio: stmpe-adc: Use wait_for_completion_timeout

2019-05-13 Thread Philippe Schenker
On Sat, 2019-05-11 at 11:15 +0100, Jonathan Cameron wrote: > On Tue, 7 May 2019 16:36:14 +0200 > Philippe Schenker wrote: > > > From: Philippe Schenker > > > > Use wait_for_completion_timeout instead of > > wait_for_completion_interuptible_timeout. > &

Re: [PATCH 2/5] iio: stmpe-adc: Reinit completion struct on begin conversion

2019-05-13 Thread Philippe Schenker
On Sat, 2019-05-11 at 11:08 +0100, Jonathan Cameron wrote: > On Tue, 7 May 2019 16:36:12 +0200 > Philippe Schenker wrote: > > > From: Philippe Schenker > > > > In some cases, the wait_completion got interrupted. This caused the > > error-handling to mute

Re: [PATCH 5/5] iio: stmpe-adc: Reset possible interrupts

2019-05-13 Thread Philippe Schenker
On Sat, 2019-05-11 at 11:24 +0100, Jonathan Cameron wrote: > On Tue, 7 May 2019 16:36:15 +0200 > Philippe Schenker wrote: > > > From: Philippe Schenker > > > > Clear any interrupt that still is on the device on every channel > > this driver is activated for

Re: [PATCH 2/3] iio: stmpe-adc: Make wait_completion non interruptible

2019-05-07 Thread Philippe Schenker
On Tue, 2019-05-07 at 08:23 +, David Laight wrote: > From: Jonathan Cameron > > Sent: 05 May 2019 16:44 > > On Fri, 3 May 2019 15:58:38 +0000 > > Philippe Schenker wrote: > > > > > On Fri, 2019-05-03 at 14:39 +, David Laight wrote: > > > >

Re: [PATCH 3/3] iio: stmpe-adc: Enable all stmpe-adc interrupts just once

2019-05-07 Thread Philippe Schenker
On Sun, 2019-05-05 at 16:45 +0100, Jonathan Cameron wrote: > On Fri, 3 May 2019 15:57:25 +0200 > Philippe Schenker wrote: > > > From: Philippe Schenker > > > > This commit will enable the interrupts of all channels handled by this > > driver only once in the p

[PATCH 4/5] iio: stmpe-adc: Use wait_for_completion_timeout

2019-05-07 Thread Philippe Schenker
From: Philippe Schenker Use wait_for_completion_timeout instead of wait_for_completion_interuptible_timeout. The interruptible variant gets constantly interrupted if a user program is compiled with the -pg option. The killable variant was not used due to the fact that a second program, reading

[PATCH 5/5] iio: stmpe-adc: Reset possible interrupts

2019-05-07 Thread Philippe Schenker
From: Philippe Schenker Clear any interrupt that still is on the device on every channel this driver is activated for in probe and specific channels in the timeout handler. Signed-off-by: Philippe Schenker --- drivers/iio/adc/stmpe-adc.c | 5 + 1 file changed, 5 insertions(+) diff

[PATCH 2/5] iio: stmpe-adc: Reinit completion struct on begin conversion

2019-05-07 Thread Philippe Schenker
From: Philippe Schenker In some cases, the wait_completion got interrupted. This caused the error-handling to mutex_unlock the function. The before turned on interrupt then got called anyway. In the ISR then completion() was called causing wrong adc-values returned in a following adc-readout

[PATCH 1/5] iio: stmpe-adc: Add compatible name

2019-05-07 Thread Philippe Schenker
From: Philippe Schenker Add the compatible name to the driver so it gets loaded when the proper node in DT is detected. Signed-off-by: Philippe Schenker --- drivers/iio/adc/stmpe-adc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/stmpe-adc.c b

[PATCH 3/5] iio: stmpe-adc: Enable all stmpe-adc interrupts just once

2019-05-07 Thread Philippe Schenker
From: Philippe Schenker This commit will enable the interrupts of all channels handled by this driver only once in the probe function. This will improve performance because one byte less has to be written over i2c on each read out of the adc. On the fastest ADC mode this will improve read out

Re: [PATCH 1/5] iio: stmpe-adc: Add compatible name

2019-05-08 Thread Philippe Schenker
On Wed, 2019-05-08 at 08:01 +0100, Lee Jones wrote: > On Tue, 07 May 2019, Philippe Schenker wrote: > > > From: Philippe Schenker > > > > Add the compatible name to the driver so it gets loaded when the proper > > node in DT is detected. > >

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

2019-05-03 Thread Philippe Schenker
From: Philippe Schenker Add the stmpe-adc DT node as found on Toradex T30 modules Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi | 22 ++ arch/arm/boot/dts/tegra30-apalis.dtsi | 22 ++ arch/arm/boot/dts/tegra30

[PATCH 3/3] iio: stmpe-adc: Enable all stmpe-adc interrupts just once

2019-05-03 Thread Philippe Schenker
From: Philippe Schenker This commit will enable the interrupts of all channels handled by this driver only once in the probe function. This will improve performance because one byte less has to be written over i2c on each read out of the adc. On the fastest ADC mode this will improve read out

  1   2   3   >