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
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.
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
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
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
-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
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
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
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 driver
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
---
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
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
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
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
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
> >
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:
> > > >
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
> > drive
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
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
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
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
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
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.
> >
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.
> &
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
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 f
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
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
From: Philippe Schenker
Remove unnecessary assignment. This could potentially cause an issue, if
the wait function runs into a timeout. Furthermore is this assignment also
not there in stmpe_read_temp()
Signed-off-by: Philippe Schenker
---
drivers/iio/adc/stmpe-adc.c | 2 --
1 file changed
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 problems.
Making this wait_completion non interruptible
On Fri, 2019-05-03 at 14:39 +, David Laight wrote:
> From: Philippe Schenker
> > Sent: 03 May 2019 14:57
> > In some cases, the wait_completion got interrupted. This caused the
> > error-handling to mutex_unlock the function. The before turned on
> > inter
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
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
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
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
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 also
e power 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
>
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
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
.
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 to a
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
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
-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
- Added
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
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
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 a one
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
.
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
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
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 commit
-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 author
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
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
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
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
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
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
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
-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
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
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
201 - 261 of 261 matches
Mail list logo