Re: [PATCH] ASoC: fsl_ssi: fix AC'97 mode

2015-06-28 Thread Maciej S. Szmigiero
W dniu 28.06.2015 06:27, Timur Tabi pisze: > Maciej S. Szmigiero wrote: >> +if (newbinding && fsl_ssi_is_ac97(ssi_private)) { > > Is the "newbinding" necessary? I thought only the original PowerPC device > trees were the only one that have the old bindi

[PATCH 1/6] ASoC: fsl_ssi: enable IPG clock during AC'97 reg access

2015-06-28 Thread Maciej S. Szmigiero
IPG clock have to be enabled during AC'97 CODEC register access in fsl_ssi driver. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl_ssi.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index

[PATCH 2/6] ASoC: fsl_ssi: AC'97 DAI driver needs probe method too

2015-06-28 Thread Maciej S. Szmigiero
AC'97 DAI driver struct need the same probe method as I2S one to setup DMA params in fsl_ssi driver. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl_ssi.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index

[PATCH 3/6] ASoC: fsl_ssi: enable AC'97 asymmetric rates

2015-06-28 Thread Maciej S. Szmigiero
AC'97 bus can support asymmetric playback/capture rates so enable them in this case in fsl_ssi driver. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl_ssi.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index

[PATCH 4/6] ASoC: fsl_ssi: add AC'97 ops setting check and cleanup

2015-06-28 Thread Maciej S. Szmigiero
Check whether setting AC'97 ops succeeded and clean them on removal so the fsl_ssi driver can be reloaded. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl_ssi.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

[PATCH 5/6] ASoC: fsl_ssi: instantiate AC'97 CODEC

2015-06-28 Thread Maciej S. Szmigiero
Instantiate AC'97 CODEC in fsl_ssi driver AC'97 mode. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl_ssi.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 0b4fcd9..e79dc16 100644 ---

[PATCH 6/6] ASoC: fsl_ssi: adjust set DAI format in AC'97 mode

2015-06-28 Thread Maciej S. Szmigiero
Adjust set DAI format function in fsl_ssi driver so it doesn't fail and clears RXDIR in AC'97 mode. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl_ssi.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index

Re: [PATCH 3/6] ASoC: fsl_ssi: enable AC'97 asymmetric rates

2015-06-28 Thread Maciej S. Szmigiero
W dniu 28.06.2015 16:01, Timur Tabi pisze: > Maciej S. Szmigiero wrote: >> /* Are the RX and the TX clocks locked? */ >> if (!of_find_property(np, "fsl,ssi-asynchronous", NULL)) { >> -ssi_private->cpu_dai_drv.symmetric_rates = 1; >> +

[lm-sensors] [PATCH] hwmon: add driver for Microchip TC74

2015-06-21 Thread Maciej S. Szmigiero
Add hwmon driver for the Microchip TC74. The TC74 is a single-input 8-bit I2C temperature sensor, with +-2 degrees centigrade accuracy. Signed-off-by: Maciej Szmigiero diff --git a/Documentation/hwmon/tc74 b/Documentation/hwmon/tc74 new file mode 100644 index 000..caecb1f --- /dev/null +++

[lm-sensors] [PATCH v2] hwmon: add driver for Microchip TC74

2015-06-21 Thread Maciej S. Szmigiero
Add hwmon driver for the Microchip TC74. The TC74 is a single-input 8-bit I2C temperature sensor, with +-2 degrees centigrade accuracy. Signed-off-by: Maciej Szmigiero diff --git a/Documentation/hwmon/tc74 b/Documentation/hwmon/tc74 new file mode 100644 index 000..43027aa --- /dev/null +++

Re: [lm-sensors] [PATCH] hwmon: add driver for Microchip TC74

2015-06-21 Thread Maciej S. Szmigiero
Hello Guenter, Thanks for your review. Best regards, Maciej Szmigiero W dniu 21.06.2015 15:19, Guenter Roeck pisze: > On 06/21/2015 05:38 AM, Maciej S. Szmigiero wrote: >> Add hwmon driver for the Microchip TC74. >> >> The TC74 is a single-input 8-bit I2C temperature sensor

[PATCH] usb: ci_hdrc_imx: add optional hub clock

2015-06-21 Thread Maciej S. Szmigiero
This patch adds ability to define optional clock of connected USB hub to ChipIdea i.MX usb controller driver. This is needed for example for UDOO board. Previously, this board DT file used a fact that non-core registers of this USB controller have a separate driver (usbmisc_imx) which did allow

[PATCH] ASoC: codecs-ac97: Remove rate constraints

2015-05-08 Thread Maciej S. Szmigiero
Remove rate constraints from generic ASoC AC'97 CODEC and make it selectable in config. Supported rates should be detected and constrained anyway by AC'97 generic code - was tested with VT1613 CODEC and iMX6 SSI controller. This way this driver can be used for platforms which don't need

Re: [alsa-devel] [PATCH] ASoC: codecs-ac97: Remove rate constraints

2015-05-08 Thread Maciej S. Szmigiero
W dniu 08.05.2015 23:32, Fabio Estevam pisze: > On Fri, May 8, 2015 at 6:16 PM, Maciej S. Szmigiero > wrote: >> Remove rate constraints from generic ASoC AC'97 CODEC and make >> it selectable in config. > > Shouldn't this be split in two patches? I've submitted

Re: [alsa-devel] [PATCH] ASoC: codecs-ac97: Remove rate constraints

2015-05-09 Thread Maciej S. Szmigiero
Hi Fabio, W dniu 09.05.2015 01:47, Fabio Estevam pisze: > Hi Maciej, > (..) > > Please keep me on Cc when you submit further ac97 patches / udoo dts, > so that I can help testing them. > > Thanks, > > Fabio Estevam Thank you for your kind words, naturally I will keep you CCed. Best regards,

[PATCH] ASoC: codecs-ac97: Remove rate constraints

2015-05-09 Thread Maciej S. Szmigiero
Remove rate constraints from generic ASoC AC'97 CODEC. Supported rates should be detected and constrained anyway by AC'97 generic code - was tested with VT1613 CODEC and iMX6 SSI controller. This way this driver can be used for platforms which don't need specialized AC'97 CODEC drivers while

[PATCH] ASoC: codecs-ac97: make selectable in config

2015-05-09 Thread Maciej S. Szmigiero
Make generic ASoC AC'97 CODEC selectable in config. This way this driver can be used for platforms which don't need specialized AC'97 CODEC drivers but which are not directly selectable in config themselves (for example DT based ones). Signed-off-by: Maciej Szmigiero ---

[ASoC]fsl_ssi: fix of_property_read_u32_array return value check

2015-02-15 Thread Maciej S. Szmigiero
of_property_read_u32_array returns 0 on success, so the return value shouldn't be inverted twice, first on assignment then in condition expression. Signed-off-by: Maciej Szmigiero diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index d7365c5..134388f 100644 ---

[PATCH][ASoC]Add ability to remove rate constraints from generic ASoC AC'97 CODEC driver

2015-03-10 Thread Maciej S. Szmigiero
Add ability to remove rate constraints from generic ASoC AC'97 CODEC driver via passed platform data, make it selectable in config. This way this driver can be used for platforms which don't need specialized AC'97 CODEC drivers while at the same avoiding code duplication from implementing

Re: [ASoC]fsl_ssi: fix of_property_read_u32_array return value check

2015-03-04 Thread Maciej S. Szmigiero
W dniu 24.02.2015 09:24, Mark Brown pisze: > On Sun, Feb 15, 2015 at 11:11:43PM +0100, Maciej S. Szmigiero wrote: >> of_property_read_u32_array returns 0 on success, so the return value >> shouldn't be inverted twice, >> first on assignment then in condition expression. &g

[PATCH][ASoC]fsl_ssi: fix of_property_read_u32_array return value check

2015-03-04 Thread Maciej S. Szmigiero
of_property_read_u32_array returns 0 on success, so the return value shouldn't be inverted twice, first on assignment then in condition expression. Signed-off-by: Maciej Szmigiero --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1227,7 +1227,7 @@ static int

[PATCH]Add VT1613 AC97 codec support

2015-03-06 Thread Maciej S. Szmigiero
Patch to add an VT1613 AC97 codec support. This codec has additional DC offset removal control, headphone output and no video input. Signed-off-by: Maciej Szmigiero diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index 5ee2f17..5bca1a3 100644 ---

[PATCH][ASoC]Add DT bindings for generic ASoC AC97 CODEC driver

2015-03-06 Thread Maciej S. Szmigiero
Add and document DT bindings for generic ASoC AC97 CODEC driver, make it selectable in config. Signed-off-by: Maciej Szmigiero diff --git a/Documentation/devicetree/bindings/sound/ac97-generic-codec.txt b/Documentation/devicetree/bindings/sound/ac97-generic-codec.txt new file mode 100644 index

Re: [PATCH][ASoC]Add DT bindings for generic ASoC AC97 CODEC driver

2015-03-07 Thread Maciej S. Szmigiero
Thanks for looking into the patch. W dniu 07.03.2015 11:52, Mark Brown pisze: > On Fri, Mar 06, 2015 at 07:55:26PM +0100, Maciej S. Szmigiero wrote: > >> Add and document DT bindings for generic ASoC AC97 CODEC driver, >> make it selectable in config. > > AC'97 sh

Re: [PATCH][ASoC]Add DT bindings for generic ASoC AC97 CODEC driver

2015-03-07 Thread Maciej S. Szmigiero
W dniu 07.03.2015 15:34, Mark Brown pisze: > On Sat, Mar 07, 2015 at 02:58:53PM +0100, Maciej S. Szmigiero wrote: >> W dniu 07.03.2015 11:52, Mark Brown pisze: >>> On Fri, Mar 06, 2015 at 07:55:26PM +0100, Maciej S. Szmigiero wrote: > >>> AC'97 shouldn't need D

[PATCH][RESEND] pps: kc: fix non-tickless system config dependency

2016-09-21 Thread Maciej S. Szmigiero
and CONFIG_NO_HZ_IDLE (or CONFIG_NO_HZ_FULL) set. Signed-off-by: Maciej S. Szmigiero --- This is a resend without functional changes since previous submission and resubmission weren't picked up. @Rodolfo: Could you ack this, please? drivers/pps/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] watchdog: it87_wdt: add IT8620E ID

2016-12-15 Thread Maciej S. Szmigiero
} chips. Tested on GA-F2A88XM-HD3P board. Signed-off-by: Maciej S. Szmigiero --- drivers/watchdog/Kconfig| 4 ++-- drivers/watchdog/it87_wdt.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index f1de1214f10f

[PATCH] w1: ds2490: USB transfer buffers need to be DMAable

2017-01-18 Thread Maciej S. Szmigiero
of them. While we are at it, let's also fix a comparison between int and size_t in ds9490r_search() which made the driver spin in this function if state register get requests were failing. Signed-off-by: Maciej S. Szmigiero Cc: sta...@vger.kernel.org --- drivers/w1/masters/ds2490.c | 142

[PATCH] w1: add DS2405 addressable switch driver

2017-01-19 Thread Maciej S. Szmigiero
8 and DS2413 drivers. Signed-off-by: Maciej S. Szmigiero --- drivers/w1/slaves/Kconfig | 8 ++ drivers/w1/slaves/Makefile| 1 + drivers/w1/slaves/w1_ds2405.c | 238 ++ drivers/w1/w1_family.h| 1 + drivers/w1/w1_io.c| 1 +

[PATCH] w1: don't leak refcount on slave attach failure in w1_attach_slave_device()

2017-01-21 Thread Maciej S. Szmigiero
Near the beginning of w1_attach_slave_device() we increment a w1 master reference count. Later, when we are going to exit this function without actually attaching a slave device (due to failure of __w1_attach_slave_device()) we need to decrement this reference count back. Signed-off-by: Maciej S

[RESEND][RFC] tpm_tis: broken on TPMs with a static burst count

2017-01-04 Thread Maciej S. Szmigiero
(Resending as no reply received, this time with CCs to TPM maintainers and author of the original commit). Hi all, Commit 1107d065fdf1 (tpm_tis: Introduce intermediate layer for TPM access) broke TPM support on ThinkPad X61S (and likely also on other machines which use TPMs with a static burst

Re: [backport v4.9] tpm_tis: use default timeout value if chip reports it as zero

2017-04-15 Thread Maciej S. Szmigiero
Hi Jarkko, On 15.04.2017 17:26, Jarkko Sakkinen wrote: From: "Maciej S. Szmigiero" Since commit 1107d065fdf1 ("tpm_tis: Introduce intermediate layer for TPM access") Atmel 3203 TPM on ThinkPad X61S (TPM firmware version 13.9) no longer works. The initialization procee

[PATCH] vt: fix Scroll Lock LED trigger name

2016-11-15 Thread Maciej S. Szmigiero
ed before this code was merged: https://lkml.org/lkml/2015/6/9/697 but it was done only on the input side. Signed-off-by: Maciej S. Szmigiero --- drivers/tty/vt/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c in

[PATCH] watchdog: f71808e_wdt: Add F71868 support

2017-04-17 Thread Maciej S. Szmigiero
This adds support for watchdog part of Fintek F71868 Super I/O chip to f71808e_wdt driver. The F71868 chip is, in general, very similar to a F71869, however it has slightly different set of available reset pulse widths. Tested on MSI A55M-P33 motherboard. Signed-off-by: Maciej S. Szmigiero

[PATCH] tpm_tis: fix iTPM probe via probe_itpm() function

2017-01-12 Thread Maciej S. Szmigiero
;itpm" variable to a TPM_TIS_ITPM_POSSIBLE chip flag, so setting the (now function-local) itpm variable no longer had any effect. Finally, this function-local itpm variable was removed by commit 56af322156dbe9 ("tpm/tpm_tis: remove unused itpm variable") Tested only on non-iTPM TIS

[PATCH] tpm_tis: override reported C and D timeouts for Atmel 3203

2017-01-12 Thread Maciej S. Szmigiero
D timeouts of zero. Since these are clearly not long enough let's add an override for them to TPM TIS default values, just as we do for Atmel 3204. A and B timeouts are set to the same values as the chip normally reports. Signed-off-by: Maciej S. Szmigiero Fixes: 1107d065fdf1 ("tpm

Re: [PATCH] tpm_tis: override reported C and D timeouts for Atmel 3203

2017-01-12 Thread Maciej S. Szmigiero
Hi Jason, On 12.01.2017 19:42, Jason Gunthorpe wrote: > On Thu, Jan 12, 2017 at 07:08:53PM +0100, Maciej S. Szmigiero wrote: >> Since commit 1107d065fdf1 ("tpm_tis: Introduce intermediate layer for TPM >> access") Atmel 3203 TPM on ThinkPad X61S (TPM firmware version

Re: [PATCH] tpm_tis: fix iTPM probe via probe_itpm() function

2017-01-12 Thread Maciej S. Szmigiero
On 12.01.2017 19:50, Jason Gunthorpe wrote: > On Thu, Jan 12, 2017 at 07:12:06PM +0100, Maciej S. Szmigiero wrote: >> probe_itpm() function is supposed to send command without an itpm flag set >> and if this fails to repeat it, this time with the itpm flag set. >> >> Ho

Re: [PATCH] tpm_tis: override reported C and D timeouts for Atmel 3203

2017-01-12 Thread Maciej S. Szmigiero
On 12.01.2017 21:20, Jarkko Sakkinen wrote: > On Thu, Jan 12, 2017 at 09:09:33PM +0100, Maciej S. Szmigiero wrote: >> Hi Jason, >> >> On 12.01.2017 19:42, Jason Gunthorpe wrote: (..) >>> Can you also add a check for 0 timeouts in the core code and print a >>>

[PATCH] tpm_tis: rename TPM_TIS_ITPM_POSSIBLE to TPM_TIS_ITPM_WORKAROUND

2017-01-12 Thread Maciej S. Szmigiero
Rename TPM_TIS_ITPM_POSSIBLE to TPM_TIS_ITPM_WORKAROUND since it gives a better idea what this flag actually does. Suggested-by: Jason Gunthorpe Signed-off-by: Maciej S. Szmigiero --- This needs "tpm_tis: fix iTPM probe via probe_itpm() function" applied first. drivers/char/tpm

[PATCH] tpm_tis: use default timeout value if chip reports it as zero

2017-01-13 Thread Maciej S. Szmigiero
that was introduced by that commit so a warning is printed in this case and /sys/class/tpm/tpm*/timeouts correctly says the timeouts aren't chip-original. Signed-off-by: Maciej S. Szmigiero Fixes: 1107d065fdf1 ("tpm_tis: Introduce intermediate layer for TPM access") Cc: sta...@vger.kernel.

Re: [PATCH] tpm_tis: use default timeout value if chip reports it as zero

2017-01-16 Thread Maciej S. Szmigiero
On 16.01.2017 14:55, Jarkko Sakkinen wrote: > On Mon, Jan 16, 2017 at 03:46:12PM +0200, Jarkko Sakkinen wrote: >> On Mon, Jan 16, 2017 at 11:42:02AM +0200, Jarkko Sakkinen wrote: >>> On Fri, Jan 13, 2017 at 10:37:00PM +0100, Maciej S. Szmigiero wrote: >>>> Since

Re: [RESEND][RFC] tpm_tis: broken on TPMs with a static burst count

2017-01-09 Thread Maciej S. Szmigiero
Hi Jarkko, On 09.01.2017 23:09, Jarkko Sakkinen wrote: > On Wed, Jan 04, 2017 at 06:47:52PM +0100, Maciej S. Szmigiero wrote: >> (Resending as no reply received, this time with CCs to TPM maintainers and >> author of the original commit). >> >> Hi all, >>

Re: [PATCH -next] w1: ds2405: use module_w1_family to simplify the code

2017-02-09 Thread Maciej S. Szmigiero
, 12 deletions(-) > Acked-by: Maciej S. Szmigiero

Re: [PATCH -next] w1: ds2490: use kmemdup rather than duplicating its implementation

2017-02-09 Thread Maciej S. Szmigiero
ile changed, 1 insertion(+), 2 deletions(-) Acked-by: Maciej S. Szmigiero

Re: [PATCH v7 0/8] power: add power sequence library

2016-09-27 Thread Maciej S. Szmigiero
On 20.09.2016 05:36, Peter Chen wrote: > Hi all, > > This is a follow-up for my last power sequence framework patch set [1]. > According to Rob Herring and Ulf Hansson's comments[2]. The kinds of > power sequence instances will be added at postcore_initcall, the match > criteria is compatible

Re: [tpmdd-devel] Regression between Linux 3.16 and 4.8/4.9 on Lenovo X60 with coreboot

2017-04-06 Thread Maciej S. Szmigiero
On 04/06/17 08:18, Paul Menzel wrote: > Dear Maciej, > > On 2017-04-05 13:03, Maciej S. Szmigiero wrote: > >>> tpm tpm0: Unable to read burstcount >>> tpm tpm0: tpm_transmit: tpm_send: error -16 >>> tpm_tis tpm_tis: Could not get TPM timeouts and duratio

Re: [tpmdd-devel] Regression between Linux 3.16 and 4.8/4.9 on Lenovo X60 with coreboot

2017-04-05 Thread Maciej S. Szmigiero
Hi Paul, > tpm tpm0: Unable to read burstcount > tpm tpm0: tpm_transmit: tpm_send: error -16 > tpm_tis tpm_tis: Could not get TPM timeouts and durations This looks like a regression I had on ThinkPad X61S. You can try with a patch from the following commit which fixed it for me:

tpm_tis: broken on TPMs with a static burst count

2016-12-23 Thread Maciej S. Szmigiero
Hi all, Commit 1107d065fdf1 (tpm_tis: Introduce intermediate layer for TPM access) broke TPM support on ThinkPad X61S (and likely also on other machines which use TPMs with a static burst count). It looks like tpm_tis code before this commit had spun on TPM_STS_DATA_AVAIL | TPM_STS_VALID status

Re: [PATCH] tpm_tis: use default timeout value if chip reports it as zero

2017-01-25 Thread Maciej S. Szmigiero
On 25.01.2017 21:09, Jarkko Sakkinen wrote: > On Tue, Jan 24, 2017 at 02:42:29PM +0100, Maciej S. Szmigiero wrote: >> On 24.01.2017 13:01, Jarkko Sakkinen wrote: >>> On Mon, Jan 23, 2017 at 06:23:55PM +0100, Maciej S. Szmigiero wrote: >>>> On 16.01.2017 17:39, Jarkk

Re: [PATCH] tpm_tis: use default timeout value if chip reports it as zero

2017-01-25 Thread Maciej S. Szmigiero
On 25.01.2017 23:58, Jarkko Sakkinen wrote: > On Wed, Jan 25, 2017 at 10:26:44PM +0100, Maciej S. Szmigiero wrote: >> On 25.01.2017 21:09, Jarkko Sakkinen wrote: >>> On Tue, Jan 24, 2017 at 02:42:29PM +0100, Maciej S. Szmigiero wrote: >>>> On 24.01.2017 13:01, Jarkk

Re: [PATCH] tpm_tis: use default timeout value if chip reports it as zero

2017-01-23 Thread Maciej S. Szmigiero
On 16.01.2017 17:39, Jarkko Sakkinen wrote: > On Mon, Jan 16, 2017 at 03:58:26PM +0100, Maciej S. Szmigiero wrote: >> On 16.01.2017 14:55, Jarkko Sakkinen wrote: >>> On Mon, Jan 16, 2017 at 03:46:12PM +0200, Jarkko Sakkinen wrote: >>>> On Mon, Jan 16, 2017 at 11:

Re: [PATCH] tpm_tis: use default timeout value if chip reports it as zero

2017-01-24 Thread Maciej S. Szmigiero
On 24.01.2017 13:01, Jarkko Sakkinen wrote: > On Mon, Jan 23, 2017 at 06:23:55PM +0100, Maciej S. Szmigiero wrote: >> On 16.01.2017 17:39, Jarkko Sakkinen wrote: >>> On Mon, Jan 16, 2017 at 03:58:26PM +0100, Maciej S. Szmigiero wrote: >>>> On 16.01.2017 14:55, Jarkk

Re: [PATCH][RESEND] drm: panel-simple: add URT UMSH-8596MD-xT panel support

2015-10-04 Thread Maciej S. Szmigiero
Hi Emil, Thanks for your response, On 04.10.2015 12:43, Emil Velikov wrote: > Hi Maciej, > > On 2 October 2015 at 22:40, Maciej S. Szmigiero > wrote: >> Anybody here? >> >> I've already submitted this patch two times but received no response... >> > Se

Re: [PATCH][RESEND] drm: panel-simple: add URT UMSH-8596MD-xT panel support

2015-10-05 Thread Maciej S. Szmigiero
Hi Thierry, On 05.10.2015 13:01, Thierry Reding wrote: >> On 01.09.2015 15:50, Maciej S. Szmigiero wrote: >>> This patch adds support for United Radiant Technology >>> UMSH-8596MD-xT 7.0" WVGA TFT LCD panels >>> (both LVDS and parallel versions) to DRM >&

[PATCH 1/3] of: Add United Radiant Technology Corporation vendor prefix

2015-10-07 Thread Maciej S. Szmigiero
This adds vendor prefix for United Radiant Technology Corporation, a provider of liquid crystal display technologies. Signed-off-by: Maciej Szmigiero --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/3] of: add URT UMSH-8596MD-xT panel DT bindings

2015-10-07 Thread Maciej S. Szmigiero
This patch adds DT bindings for United Radiant Technology UMSH-8596MD-xT 7.0" WVGA TFT LCD panels. Signed-off-by: Maciej Szmigiero --- Documentation/devicetree/bindings/panel/urt,umsh-8596md.txt | 12 1 file changed, 12 insertions(+) create mode 100644

[PATCH 3/3] drm: panel-simple: implement URT UMSH-8596MD-xT panel support

2015-10-07 Thread Maciej S. Szmigiero
This patch implements support for United Radiant Technology UMSH-8596MD-xT 7.0" WVGA TFT LCD panels in DRM panel-simple driver. Signed-off-by: Maciej Szmigiero --- This replaces "drm: panel-simple: add URT UMSH-8596MD-xT panel support" submission. drivers/gpu/drm/panel/panel-simple.c | 54

Re: [PATCH] parport: parport_pc: PCI SIO access should also depend on SIO option

2016-05-01 Thread Maciej S. Szmigiero
Hi Greg, Hi Sudip, On 01.05.2016 09:45, Sudip Mukherjee wrote: > On Sat, Apr 30, 2016 at 01:56:40PM -0700, Greg Kroah-Hartman wrote: >> On Wed, Apr 20, 2016 at 01:09:51PM +0530, Sudip Mukherjee wrote: >>> From: "Maciej S. Szmigiero" >>> >>> CONFIG_PA

Re: [PATCH 3/3] drm: panel-simple: implement URT UMSH-8596MD-xT panel support

2015-11-24 Thread Maciej S. Szmigiero
On 08.10.2015 10:24, Thierry Reding wrote: > On Wed, Oct 07, 2015 at 11:02:20PM +0200, Maciej S. Szmigiero wrote: >> This patch implements support for United Radiant Technology >> UMSH-8596MD-xT 7.0" WVGA TFT LCD panels in DRM panel-simple >> driver. >> &g

[PATCH v2] ARM: dts: imx6qdl-udoo: add 7 inch LCD touchscreen panel support

2016-04-15 Thread Maciej S. Szmigiero
-by: Maciej S. Szmigiero --- Changes from v1: make "compatible" property the first one where it exists, order new labels and pinctrl entries alphabetically. arch/arm/boot/dts/imx6qdl-udoo.dtsi | 96 + 1 file changed, 96 insertions(+) diff --git a/arch/ar

Re: [PATCH] pps: kc: fix non-tickless system config dependency

2016-03-21 Thread Maciej S. Szmigiero
Hi Rodolfo, On 06.03.2016 20:13, Rodolfo Giometti wrote: > On Sat, Mar 05, 2016 at 06:37:39PM +0100, Maciej S. Szmigiero wrote: >> CONFIG_NO_HZ currently only sets the default value >> of dynticks config so if PPS kernel consumer needs >> periodic timer t

Re: [PATCH][RESEND] parport: parport_pc: PCI SIO access should also depend on SIO option

2016-04-05 Thread Maciej S. Szmigiero
Hi Sudip, On 04.04.2016 18:11, Sudip Mukherjee wrote: > On Tue, Mar 29, 2016 at 12:00:56AM +0200, Maciej S. Szmigiero wrote: >> CONFIG_PARPORT_PC_SUPERIO toggles Super IO chip support in parport_pc >> code, however only code accessing SIO chip via ISA (or LPC) bus was

[PATCH] ARM: dts: imx6qdl-udoo: add 7 inch LCD touchscreen panel support

2016-03-27 Thread Maciej S. Szmigiero
S. Szmigiero --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 96 + 1 file changed, 96 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index d3e54e40a017..6a0a7ddb59ae 100644 --- a/arch/arm/boot/dts/imx6qdl

Re: [PATCH] pps: kc: fix non-tickless system config dependency

2016-03-28 Thread Maciej S. Szmigiero
Hi Andrew, Could you take this patch, please? Thanks, Maciej On 21.03.2016 15:38, Rodolfo Giometti wrote: > On Mon, Mar 21, 2016 at 03:28:26PM +0100, Maciej S. Szmigiero wrote: >> Hi Rodolfo, >> >> On 06.03.2016 20:13, Rodolfo Giometti wrote: >>> On Sat, Mar 05, 20

[PATCH][RESEND] parport: parport_pc: PCI SIO access should also depend on SIO option

2016-03-28 Thread Maciej S. Szmigiero
is needed only when firmware has failed to make parallel port available either via PNP or on standard I/O ranges and user has one of a few supported SIOs. Signed-off-by: Maciej S. Szmigiero --- This is a resend without functional changes. drivers/parport/parport_pc.c | 21

Re: [PATCHv2] fat: add config option to set UTF-8 mount option by default

2016-03-23 Thread Maciej S. Szmigiero
On 23.03.2016 13:57, Josh Boyer wrote: > On Wed, Mar 23, 2016 at 8:27 AM, Geert Uytterhoeven > wrote: >> On Wed, Mar 23, 2016 at 12:28 PM, Josh Boyer >> wrote: >>> On Wed, Mar 23, 2016 at 4:17 AM, Geert Uytterhoeven >>> wrote: >>>> On

[PATCH][RESEND] pps: kc: fix non-tickless system config dependency

2016-07-02 Thread Maciej S. Szmigiero
and CONFIG_NO_HZ_IDLE (or CONFIG_NO_HZ_FULL) set. Signed-off-by: Maciej S. Szmigiero --- This is a resend without functional changes since previous submission wasn't picked up. drivers/pps/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pps/Kconfig b/drivers/pps/Kconfig

[PATCH][media] saa7134: fix warm Medion 7134 EEPROM read

2016-07-02 Thread Maciej S. Szmigiero
this by opening this I2C gate before doing EEPROM read during i2c initialization. Signed-off-by: Maciej S. Szmigiero --- This is a modified version of patch submitted a few years ago: http://www.spinics.net/lists/linux-media/msg24455.html . That patch was fixing two problems: with TDA9887 detection on cold

[PATCH 1/2] mISDN: Order IPAC register defines

2016-03-12 Thread Maciej S. Szmigiero
It looks like IPAC/ISAC chips register defines weren't in any particular order. Order them by their number to make it easier to spot holes. Signed-off-by: Maciej S. Szmigiero --- drivers/isdn/hardware/mISDN/ipac.h | 40 +++--- 1 file changed, 20 insertions

[PATCH 2/2] mISDN: Support DR6 indication in mISDNipac driver

2016-03-12 Thread Maciej S. Szmigiero
According to figure 39 in PEB3086 data sheet, version 1.4 this indication replaces DR when layer 1 transition source state is F6. This fixes mISDN layer 1 getting stuck in F6 state in TE mode on Dialogic Diva 2.02 card (and possibly others) when NT deactivates it. Signed-off-by: Maciej S

[PATCH] serial: 8250: describe CONFIG_SERIAL_8250_RSA

2016-03-05 Thread Maciej S. Szmigiero
CONFIG_SERIAL_8250_RSA has waited for a long time to have meaningful help text so let's finally describe what this option actually does. Signed-off-by: Maciej S. Szmigiero --- drivers/tty/serial/8250/Kconfig | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/tty

[PATCH] pps: kc: fix non-tickless system config dependency

2016-03-05 Thread Maciej S. Szmigiero
and CONFIG_NO_HZ_IDLE (or CONFIG_NO_HZ_FULL) set. Signed-off-by: Maciej S. Szmigiero --- drivers/pps/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pps/Kconfig b/drivers/pps/Kconfig index 7512e98e9311..564a51abeece 100644 --- a/drivers/pps/Kconfig +++ b/drivers/pps/Kconfig

[PATCH] parport: parport_pc: PCI SIO access should also depend on SIO option

2016-03-05 Thread Maciej S. Szmigiero
is needed only when firmware has failed to make parallel port available either via PNP or on standard I/O ranges and user has one of a few supported SIOs. Signed-off-by: Maciej S. Szmigiero --- drivers/parport/parport_pc.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions

[PATCH] fat: add config option to set UTF-8 mount option by default

2016-03-05 Thread Maciej S. Szmigiero
config option to set such default value. Signed-off-by: Maciej S. Szmigiero --- Documentation/filesystems/vfat.txt | 7 --- fs/fat/Kconfig | 18 +- fs/fat/inode.c | 8 +++- 3 files changed, 28 insertions(+), 5 deletions(-) diff -

[PATCH 1/2] hp-wmi: fix unregister order in hp_wmi_rfkill_setup() once again

2016-03-06 Thread Maciej S. Szmigiero
succeeds this function returns without error so no cleanup is necessary. Signed-off-by: Maciej S. Szmigiero --- drivers/platform/x86/hp-wmi.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index

[PATCH 2/2] hp-wmi: remove GPS rfkill support via pre-2009 interface

2016-03-06 Thread Maciej S. Szmigiero
modems having GPS support seem to all have been released well past year 2009 let's just remove GPS rfkill support via pre-2009 WMI interface. Signed-off-by: Maciej S. Szmigiero --- drivers/platform/x86/hp-wmi.c | 38 +- 1 file changed, 1 insertion(+), 37 del

[PATCHv2] fat: add config option to set UTF-8 mount option by default

2016-03-08 Thread Maciej S. Szmigiero
config option to set such default value. Signed-off-by: Maciej S. Szmigiero --- Changes from v1: use IS_ENABLED() macro to simplify code Documentation/filesystems/vfat.txt | 7 --- fs/fat/Kconfig | 18 +- fs/fat/inode.c | 4 +++-

Re: [PATCH 1/2] hp-wmi: fix unregister order in hp_wmi_rfkill_setup() once again

2016-03-08 Thread Maciej S. Szmigiero
Hi Darren, Thanks for review, see also my comments below. On 08.03.2016 13:39, Darren Hart wrote: > On Sun, Mar 06, 2016 at 11:38:36PM +0100, Maciej S. Szmigiero wrote: >> --- a/drivers/platform/x86/hp-wmi.c >> +++ b/drivers/platform/x86/hp-wmi.c >> @@ -746,7 +746,7

Re: [PATCH 1/2] dt-bindings: Add URT UMSH-8596MD-xT panel bindings

2016-03-02 Thread Maciej S. Szmigiero
On 22.02.2016 03:54, Rob Herring wrote: > On Sat, Feb 13, 2016 at 10:50:24PM +0100, Maciej S. Szmigiero wrote: >> Add DT bindings for United Radiant Technology >> UMSH-8596MD-xT 7.0" WVGA TFT LCD panels. >> >> Signed-off-by: Maciej S. Szmigiero >> --- >&g

[PATCH v2] ASoC: fsl-asoc-card: add AC'97 support

2015-09-18 Thread Maciej S. Szmigiero
Add AC'97 support to fsl-asoc-card using generic ASoC AC'97 CODEC. The SSI controller will silently enable any TX AC'97 slots that have their bits set in SLOTREQ received from CODEC and then will redirect some of playback samples there. That's why it is important to make sure that any of CODEC

Re: [PATCH][RESEND] drm: panel-simple: add URT UMSH-8596MD-xT panel support

2015-10-02 Thread Maciej S. Szmigiero
Anybody here? I've already submitted this patch two times but received no response... Maciej Szmigiero On 01.09.2015 15:50, Maciej S. Szmigiero wrote: > This patch adds support for United Radiant Technology > UMSH-8596MD-xT 7.0" WVGA TFT LCD panels > (both LVDS and parallel ve

[PATCHv3][RESEND] serial: don't register CIR serial ports

2015-09-27 Thread Maciej S. Szmigiero
CIR type serial ports aren't real serial ports. This is just a way to prevent legacy 8250 serial driver from probing and eventually binding some resources. Since in current state such ports aren't providing any real functionality and it is not possible to change their type via

Re: mfd: as3711: set regmap config reg counts properly

2016-02-13 Thread Maciej S. Szmigiero
On 11.02.2016 18:07, Lee Jones wrote: > On Sun, 31 Jan 2016, Maciej S. Szmigiero wrote: > >> Regmap config max_register field should contain number of >> device last register, however num_reg_defaults_raw field >> should be set to register count instead >> (

Re: [PATCH 3/3] drm: panel-simple: implement URT UMSH-8596MD-xT panel support

2016-02-13 Thread Maciej S. Szmigiero
Hi Thierry, On 08.10.2015 10:24, Thierry Reding wrote: > On Wed, Oct 07, 2015 at 11:02:20PM +0200, Maciej S. Szmigiero wrote: >> This patch implements support for United Radiant Technology >> UMSH-8596MD-xT 7.0" WVGA TFT LCD panels in DRM panel-simple >> driver. &

[PATCH 1/2] dt-bindings: Add URT UMSH-8596MD-xT panel bindings

2016-02-13 Thread Maciej S. Szmigiero
Add DT bindings for United Radiant Technology UMSH-8596MD-xT 7.0" WVGA TFT LCD panels. Signed-off-by: Maciej S. Szmigiero --- This replaces "of: add URT UMSH-8596MD-xT panel DT bindings" submission. .../bindings/display/panel/urt,umsh-8596md.txt | 16

[PATCH 2/2] drm/panel: simple: Add URT UMSH-8596MD-xT panels support

2016-02-13 Thread Maciej S. Szmigiero
Add support for United Radiant Technology UMSH-8596MD-xT 7.0" WVGA TFT LCD panels in DRM panel-simple driver. Signed-off-by: Maciej S. Szmigiero --- This replaces "drm: panel-simple: implement URT UMSH-8596MD-xT panel support" submission. drivers/gpu/drm/panel/pane

[PATCH] ARM: dts: imx6qdl-udoo: add sound support

2016-01-30 Thread Maciej S. Szmigiero
Add sound support in UDOO board DT file. Signed-off-by: Maciej S. Szmigiero --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 57 + 1 file changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index

mfd: as3711: set regmap config reg counts properly

2016-01-31 Thread Maciej S. Szmigiero
defines for max register number and total count of registers. Signed-off-by: Maciej S. Szmigiero --- drivers/mfd/as3711.c | 4 ++-- include/linux/mfd/as3711.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/as3711.c b/drivers/mfd/as3711.c index

mfd: rc5t583: set regmap config reg counts properly

2016-01-31 Thread Maciej S. Szmigiero
defines for max register number and total count of registers. Signed-off-by: Maciej S. Szmigiero --- drivers/mfd/rc5t583.c | 4 ++-- include/linux/mfd/rc5t583.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/rc5t583.c b/drivers/mfd/rc5t583.c index

mfd: tps65090: set regmap config reg counts properly

2016-01-31 Thread Maciej S. Szmigiero
separate defines for max register number and total count of registers. Signed-off-by: Maciej S. Szmigiero --- drivers/mfd/tps65090.c | 5 ++--- include/linux/mfd/tps65090.h | 5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c

Re: [PATCH] ASoC: fsl_ssi: remove explicit register defaults

2016-02-01 Thread Maciej S. Szmigiero
Hi Fabio, On 01.02.2016 13:05, Fabio Estevam wrote: > Hi Maciej, > > On Mon, Jan 18, 2016 at 5:07 PM, Maciej S. Szmigiero > wrote: >> There is no guarantee that on fsl_ssi module load >> SSI registers will have their power-on-reset values. >> >> In fact,

Re: [PATCH] ASoC: fsl_ssi: remove explicit register defaults

2016-02-01 Thread Maciej S. Szmigiero
On 01.02.2016 13:13, Fabio Estevam wrote: > Hi Maciej, > > On Mon, Feb 1, 2016 at 10:07 AM, Maciej S. Szmigiero > wrote: >> Is regmap patch from >> http://www.spinics.net/lists/kernel/msg2161934.html >> applied to the tested tree? > > Yes, linux-next 2

Re: [PATCH] ASoC: fsl_ssi: remove explicit register defaults

2016-02-01 Thread Maciej S. Szmigiero
On 01.02.2016 13:25, Maciej S. Szmigiero wrote: > On 01.02.2016 13:13, Fabio Estevam wrote: >> Hi Maciej, >> >> On Mon, Feb 1, 2016 at 10:07 AM, Maciej S. Szmigiero >> wrote: >>> Is regmap patch from >>> http://www.spinics.net/lists/kernel/msg2161934.h

Re: [PATCH] ASoC: fsl_ssi: remove explicit register defaults

2016-02-01 Thread Maciej S. Szmigiero
On 01.02.2016 22:10, Mark Brown wrote: > On Mon, Feb 01, 2016 at 05:58:06PM +0100, Maciej S. Szmigiero wrote: > >> Looks like a possible solution would be to change >> regmap_raw_read() to do read using _regmap_read in >> case the cache is bypassed and there is no -&

Re: [PATCH 2/2] regmap: cache: Fall back to register by register read for cache defaults

2016-02-01 Thread Maciej S. Szmigiero
On 01.02.2016 23:13, Mark Brown wrote: > On Mon, Feb 01, 2016 at 07:58:54PM -0200, Fabio Estevam wrote: >> On Mon, Feb 1, 2016 at 7:41 PM, Mark Brown wrote: >>> On Mon, Feb 01, 2016 at 09:38:15PM +, Mark Brown wrote: If we are unable to read the cache defaults for a regmap then fall back

[PATCH] of: Add United Radiant Technology Corporation vendor prefix

2016-02-04 Thread Maciej S. Szmigiero
Add vendor prefix for United Radiant Technology Corporation, a provider of liquid crystal display technologies. Signed-off-by: Maciej S. Szmigiero --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH 1/3] ASoC: fsl_ssi: mark SACNT register volatile

2015-12-20 Thread Maciej S. Szmigiero
SACNT register should be marked volatile since its WR and RD bits are cleared by SSI after completing the relevant operation. This unbreaks AC'97 register access. Fixes: 05cf237972fe ("ASoC: fsl_ssi: Add driver suspend and resume to support MEGA Fast") Signed-off-by: Maciej S.

[PATCH 2/3] ASoC: fsl_ssi: mark some registers precious

2015-12-20 Thread Maciej S. Szmigiero
Mark some registers precious since their reads have side effects (like clearing flags). Signed-off-by: Maciej S. Szmigiero --- sound/soc/fsl/fsl_ssi.c | 16 1 file changed, 16 insertions(+) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index cc22354d7758

[PATCH 3/3] ASoC: fsl_ssi: remove register defaults

2015-12-20 Thread Maciej S. Szmigiero
: 05cf237972fe ("ASoC: fsl_ssi: Add driver suspend and resume to support MEGA Fast") Signed-off-by: Maciej S. Szmigiero --- sound/soc/fsl/fsl_ssi.c | 16 1 file changed, 16 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 40dfd8a36484..f6

<    4   5   6   7   8   9   10   >