[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 m...@maciej.szmigiero.name diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index d7365c5..134388f

[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 m...@maciej.szmigiero.name 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 m...@maciej.szmigiero.name diff --git a/Documentation/devicetree/bindings/sound/ac97-generic-codec.txt b/Documentation/devicetree/bindings/sound/ac97-generic-codec.txt

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 DT bindings for the CODEC, it's an enumerable

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 shouldn't need DT bindings for the CODEC

[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: [PATCH][ASoC]Add ability to remove rate constraints from generic ASoC AC'97 CODEC driver

2015-03-29 Thread Maciej S. Szmigiero
Thanks for looking into the patch. W dniu 22.03.2015 19:27, Mark Brown pisze: On Wed, Mar 11, 2015 at 12:28:19AM +0100, Maciej S. Szmigiero wrote: Add ability to remove rate constraints from generic ASoC AC'97 CODEC driver via passed platform data, make it selectable in config. Please use

[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 m...@maciej.szmigiero.name --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1227,7 +1227,7 @@ static

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. This doesn't apply to current

[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

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, Maciej

[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

[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 m...@maciej.szmigiero.name

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 m...@maciej.szmigiero.name 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 it as one patch

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

2015-05-13 Thread Maciej S. Szmigiero
Thanks for looking into the patch. W dniu 12.05.2015 19:58, Mark Brown pisze: On Sun, May 10, 2015 at 12:12:04AM +0200, Maciej S. Szmigiero wrote: @@ -16,7 +16,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_88PM860X if MFD_88PM860X select SND_SOC_L3 select

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

2015-04-07 Thread Maciej S. Szmigiero
W dniu 06.04.2015 18:41, Mark Brown pisze: On Sun, Apr 05, 2015 at 12:16:40AM +0200, Maciej S. Szmigiero wrote: W dniu 30.03.2015 06:19, Mark Brown pisze: On Sun, Mar 29, 2015 at 06:00:33PM +0200, Maciej S. Szmigiero wrote: Alternatively if you're just trying to open up the constraints why

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

2015-04-10 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: [PATCH][ASoC]Add ability to remove rate constraints from generic ASoC AC'97 CODEC driver

2015-04-04 Thread Maciej S. Szmigiero
W dniu 30.03.2015 06:19, Mark Brown pisze: On Sun, Mar 29, 2015 at 06:00:33PM +0200, Maciej S. Szmigiero wrote: W dniu 22.03.2015 19:27, Mark Brown pisze: Please use subject lines matching the style for the subsystem. This is helpful for identifying relevant patches and not getting your

[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 m...@maciej.szmigiero.name diff --git a/Documentation/hwmon/tc74 b/Documentation/hwmon/tc74 new file mode 100644 index

[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 m...@maciej.szmigiero.name diff --git a/Documentation/hwmon/tc74 b/Documentation/hwmon/tc74 new file mode 100644 index

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, with +-2 degrees

[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

Re: [PATCH] usb: ci_hdrc_imx: add optional hub clock

2015-06-24 Thread Maciej S. Szmigiero
Hi Peter, W dniu 23.06.2015 04:55, Peter Chen pisze: On Mon, Jun 22, 2015 at 12:54:14AM +0800, Maciej S. Szmigiero wrote: 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

Re: [PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask

2015-05-27 Thread Maciej S. Szmigiero
W dniu 26.05.2015 16:09, Takashi Iwai pisze: At Tue, 26 May 2015 16:03:17 +0200, Maciej S. Szmigiero wrote: Hello Takashi, W dniu 26.05.2015 07:29, Takashi Iwai pisze: At Sat, 23 May 2015 18:32:29 +0200, Maciej S. Szmigiero wrote: snd_soc_pcm_stream.formats is a bitmask

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

2015-06-27 Thread Maciej S. Szmigiero
Currently the AC'97 mode in fsl_ssi driver isn't functional. This patch implements the following changes to make it work properly: * IPG clock have to be enabled during AC'97 CODEC register access, * AC'97 DAI driver struct need the same probe method as I2S one to setup DMA params, * AC'97 bus

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

2015-06-27 Thread Maciej S. Szmigiero
Hello Fabio, W dniu 28.06.2015 01:06, Fabio Estevam pisze: Hi Maciej, On Sat, Jun 27, 2015 at 7:51 PM, Maciej S. Szmigiero m...@maciej.szmigiero.name wrote: Currently the AC'97 mode in fsl_ssi driver isn't functional. Thanks for the fix. I look forward to test it on my udoo board

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 binding, and they never supported AC97

[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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

[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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

[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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

[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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

[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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git

[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 m...@maciej.szmigiero.name --- 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

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; +if (!fsl_ssi_is_ac97(ssi_private

[PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask

2015-05-23 Thread Maciej S. Szmigiero
snd_soc_pcm_stream.formats is a bitmask of SNDRV_PCM_FMTBIT_*, not of SNDRV_PCM_FORMAT_* (which are sequential integers), however some of ASoC CODEC drivers use these values instead. Found out by sparse on 0-day kernel tester. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name diff

Re: [PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask

2015-05-26 Thread Maciej S. Szmigiero
Hello Takashi, W dniu 26.05.2015 07:29, Takashi Iwai pisze: At Sat, 23 May 2015 18:32:29 +0200, Maciej S. Szmigiero wrote: snd_soc_pcm_stream.formats is a bitmask of SNDRV_PCM_FMTBIT_*, not of SNDRV_PCM_FORMAT_* (which are sequential integers), however some of ASoC CODEC drivers use

[PATCH 3/3] emu10k1: rename Audigy Analog Capture Boost control

2015-07-07 Thread Maciej S. Szmigiero
Audigy has Analog Capture Boost mixer control, however now this only controls mic level, not other analog sources. It applies also both to playback and capture, so rename it to something more descriptive. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name ---

[PATCH 2/3] emu10k1: enable TAD mic out on Audigy

2015-07-07 Thread Maciej S. Szmigiero
Enable TAD output on Audigy naming it Phone Output, to be consistent with TAD input which is called Phone. According to Creative doc ( http://support.creative.com/kb/ShowArticle.aspx?sid=3026 ) this should output just mic signal. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name ---

[PATCH 1/3] emu10k1: remove unused AC'97 mixer controls on Audigy

2015-07-07 Thread Maciej S. Szmigiero
AC'97 Headphone output and EAPD control aren't used on Audigy so remove them from mixer. Also remove AC'97 3D control as the driver is already doing for Audigys with 1361T ADC. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name --- sound/pci/emu10k1/emumixer.c | 11 ++- 1

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

2015-07-29 Thread Maciej S. Szmigiero
This patch adds support for United Radiant Technology UMSH-8596MD-xT 7.0 WVGA TFT LCD panels (both LVDS and parallel versions) to DRM panel-simple driver. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name --- .../devicetree/bindings/panel/urt,umsh-8596md.txt | 11 +

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

2015-07-30 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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

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

2015-07-30 Thread Maciej S. Szmigiero
Instantiate AC'97 CODEC in fsl_ssi driver AC'97 mode. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name --- 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

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

2015-07-30 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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git

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

2015-07-30 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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

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

2015-07-30 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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

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

2015-07-30 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 m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

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

2015-07-30 Thread Maciej S. Szmigiero
Hi Fabio, On 30.07.2015 17:20, Fabio Estevam wrote: Hi Maciej, On Thu, Jul 30, 2015 at 11:33 AM, Maciej S. Szmigiero m...@maciej.szmigiero.name wrote: static unsigned short fsl_ssi_ac97_read(struct snd_ac97 *ac97, @@ -1151,6 +1160,14 @@ static unsigned short fsl_ssi_ac97_read(struct

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

2015-07-31 Thread Maciej S. Szmigiero
On 31.07.2015 07:46, Markus Pargmann wrote: On Thu, Jul 30, 2015 at 04:35:23PM +0200, Maciej S. Szmigiero wrote: Instantiate AC'97 CODEC in fsl_ssi driver AC'97 mode. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c | 21 + 1

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

2015-07-31 Thread Maciej S. Szmigiero
Hi Markus, Thanks for looking into the changes. On 31.07.2015 07:53, Markus Pargmann wrote: On Fri, Jul 31, 2015 at 07:27:19AM +0200, Markus Pargmann wrote: Hi, On Thu, Jul 30, 2015 at 04:34:19PM +0200, Maciej S. Szmigiero wrote: AC'97 bus can support asymmetric playback/capture rates so

[PATCH] serial: don't announce CIR serial ports

2015-08-02 Thread Maciej S. Szmigiero
CIR type serial ports aren't real serial ports. This is just a way to prevent legacy serial driver from probing and eventually binding some resources so don't announce them like normal serial ports. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name --- drivers/tty/serial/serial_core.c |

[PATCH] serial: 8250: don't bind to SMSC IrCC IR port

2015-08-02 Thread Maciej S. Szmigiero
SMSC IrCC SIR/FIR port should not be bound to by (legacy) serial driver so its own driver (smsc-ircc2) can bind to it. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name --- drivers/tty/serial/8250/8250_pnp.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[PATCH] serial: 8250: bind to ALi Fast Infrared Controller (ALI5123)

2015-08-02 Thread Maciej S. Szmigiero
This way this device can be used with irtty-sir - at least on Toshiba Satellite A20-S103 it is not configured by default and needs PNP activation before it starts to respond on I/O ports. This device has actually its own driver (ali-ircc), but this driver seems to be non-functional for a very

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

2015-08-02 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. Changes from v1: fix indentation to be consistent with rest of the driver. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name --- sound/soc/fsl/fsl_ssi.c |8 +--- 1 files changed,

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

2015-08-03 Thread Maciej S. Szmigiero
On 03.08.2015 18:21, Mark Brown wrote: On Mon, Aug 03, 2015 at 12:44:11AM +0200, Maciej S. Szmigiero wrote: Adjust set DAI format function in fsl_ssi driver so it doesn't fail and clears RXDIR in AC'97 mode. Changes from v1: fix indentation to be consistent with rest of the driver. Inter

Re: [PATCH] serial: don't announce CIR serial ports

2015-08-03 Thread Maciej S. Szmigiero
On 04.08.2015 01:40, Greg Kroah-Hartman wrote: On Sun, Aug 02, 2015 at 11:09:57PM +0200, Maciej S. Szmigiero wrote: CIR type serial ports aren't real serial ports. This is just a way to prevent legacy serial driver from probing and eventually binding some resources so don't announce them like

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

2015-07-31 Thread Maciej S. Szmigiero
On 31.07.2015 07:58, Markus Pargmann wrote: On Thu, Jul 30, 2015 at 04:35:58PM +0200, Maciej S. Szmigiero wrote: 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 m...@maciej.szmigiero.name --- sound/soc/fsl

[PATCH] serial: don't register CIR serial ports

2015-08-05 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: [PATCH] serial: don't announce CIR serial ports

2015-08-05 Thread Maciej S. Szmigiero
On 05.08.2015 04:03, Peter Hurley wrote: On 08/04/2015 07:25 PM, Maciej S. Szmigiero wrote: Hi Peter, Thanks for looking into it. On 04.08.2015 03:46, Peter Hurley wrote: Hi Maciej, On 08/02/2015 05:09 PM, Maciej S. Szmigiero wrote: CIR type serial ports aren't real serial ports

Re: [PATCH] serial: don't register CIR serial ports

2015-08-05 Thread Maciej S. Szmigiero
On 05.08.2015 16:51, Greg Kroah-Hartman wrote: On Wed, Aug 05, 2015 at 02:33:33PM +0200, Maciej S. Szmigiero wrote: 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

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

2015-08-05 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 m...@maciej.szmigiero.name --- This is a resend without changes, to keep the whole series together. sound/soc/fsl/fsl_ssi.c | 19 +++ 1 files changed, 19

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

2015-08-05 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 m...@maciej.szmigiero.name --- This is a resend without changes, to keep the whole series together. sound/soc/fsl/fsl_ssi.c |1 + 1 files changed, 1

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

2015-08-05 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 m...@maciej.szmigiero.name --- This is a resend without changes, to keep the whole series together. sound/soc/fsl/fsl_ssi.c |4 +++- 1 files changed, 3

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

2015-08-05 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 m...@maciej.szmigiero.name --- This is a resend without changes, to keep the whole series together. sound/soc/fsl/fsl_ssi.c |9 - 1 files

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

2015-08-05 Thread Maciej S. Szmigiero
Instantiate AC'97 CODEC in fsl_ssi driver AC'97 mode. Signed-off-by: Maciej Szmigiero m...@maciej.szmigiero.name --- This is a resend without changes, to keep the whole series together. sound/soc/fsl/fsl_ssi.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff

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

2015-08-05 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 m...@maciej.szmigiero.name --- Changes from v1: fix indentation to be consistent with rest of the driver. sound/soc/fsl/fsl_ssi.c |8 +--- 1 files changed,

[PATCHv2] serial: don't register CIR serial ports

2015-08-05 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: [PATCH] serial: don't announce CIR serial ports

2015-08-04 Thread Maciej S. Szmigiero
Hi Peter, Thanks for looking into it. On 04.08.2015 03:46, Peter Hurley wrote: Hi Maciej, On 08/02/2015 05:09 PM, Maciej S. Szmigiero wrote: CIR type serial ports aren't real serial ports. This is just a way to prevent legacy serial driver from probing and eventually binding some

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

2015-08-15 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

[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.

[PATCH 1/2] ASoC: fsl-asoc-card: put ASRC OF node in case of unknown device

2015-08-31 Thread Maciej S. Szmigiero
In case of unknown DT compatible device the ASRC OF node possibly acquired earlier by of_parse_phandle() has to be put before returning from probe method. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl-asoc-card.c |3 ++- 1 files changed, 2 insertions(+),

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

2015-08-31 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

[PATCH] cfg80211: regulatory: restore proper user alpha2

2015-09-02 Thread Maciej S. Szmigiero
restore_regulatory_settings() should restore alpha2 as computed in restore_alpha2(), not raw user_alpha2 to behave as described in the comment just above that code. This fixes endless loop of calling CRDA for "00" and "97" countries after resume from suspend on my laptop. Looks like others had

[PATCH] net: fec: normalize return value of pm_runtime_get_sync() in MDIO write

2015-09-03 Thread Maciej S. Szmigiero
If fec MDIO write method succeeds its return value comes from call to pm_runtime_get_sync(). But pm_runtime_get_sync() can also return 1. In case of Micrel KSZ9031 PHY this value will then be returned along the call chain of phy_write() -> ksz9031_extended_write() -> ksz9031_center_flp_timing()

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

2015-09-01 Thread Maciej S. Szmigiero
This patch adds support for United Radiant Technology UMSH-8596MD-xT 7.0" WVGA TFT LCD panels (both LVDS and parallel versions) to DRM panel-simple driver. Signed-off-by: Maciej Szmigiero --- This is a resend without changes. diff --git

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 > <m...@maciej.szmigiero.name> wrote: >> Anybody here? >> >> I've already submitted this patch two times bu

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

[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-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] 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. Sz

[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 <m...@maciej.szmigiero.name> --- sound/soc/fsl/fsl_ssi.c | 16 1 file changed, 16 insertions(+) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/s

[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 <m...@maciej.szmigiero.name> --- 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

[PATCH] ASoC: fsl-asoc-card: use different route map for AC'97 mode

2015-12-20 Thread Maciej S. Szmigiero
fsl_ssi uses different stream names ("AC97 Playback" / "AC97 Capture") in AC'97 mode so in this case fsl-asoc-card route map should also be using them. Signed-off-by: Maciej S. Szmigiero <m...@maciej.szmigiero.name> --- sound/soc/fsl/fsl-asoc-card.c | 10 +- 1

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. >> >&

[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 <m...@maciej.szmigiero.name> --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff

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 <m...@maciej.szmigiero.name> --- This replaces "of: add URT UMSH-8596MD-xT panel DT bindings" submission. .../bindings/display/panel/urt,umsh-8596

[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 <m...@maciej.szmigiero.name> --- This replaces "drm: panel-simple: implement URT UMSH-8596MD-xT panel support" submission. driver

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

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 <m...@maciej.szmigiero.name> --- drivers/mfd/tps65090.c | 5 ++--- include/linux/mfd/tps65090.h | 5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/tps6

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 <m...@maciej.szmigiero.name> --- drivers/mfd/rc5t583.c | 4 ++-- include/linux/mfd/rc5t583.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/rc5t5

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 <m...@maciej.szmigiero.name> --- 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/d

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 > <m...@maciej.szmigiero.name> wrote: >> There is no guarantee that on fsl_ssi module load >> SSI registers will have their power-

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 > <m...@maciej.szmigiero.name> wrote: >> Is regmap patch from >> http://www.spinics.net/lists/kernel/msg2161934.html >> applied to the tested

[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 <m...@maciej.szmigiero.name> --- 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/bo

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 >> <m...@maciej.szmigiero.name> wrote: >>> Is regmap patch from >>> http://www.s

  1   2   3   4   5   6   7   8   9   10   >