[PATCH v2 3/3] PCI: imx: Add support for i.MX8MQ

2018-12-05 Thread Andrey Smirnov
Cc: linux-...@vger.kernel.org Cc: Mark Rutland Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Andrey Smirnov --- .../bindings/pci/fsl,imx6q-pcie.txt | 6 +- drivers/pci/controller/dwc/Kconfig| 2 +- drivers/pci/controller/dwc/pci-imx6.c

[PATCH v2 0/3] PCIE support for i.MX8MQ

2018-12-05 Thread Andrey Smirnov
er-id" property to distinguish between two intances of PCIE IP block - All code pertaining to L1SS was dropped to simplify the patch - Documented additions to DT bindings Feedback is welcome! Thanks, Andrey Smirnov [v1] https://lore.kernel.org/linux-arm-kernel/20181117181225.10737-1-a

[PATCH v2 2/3] PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D

2018-12-05 Thread Andrey Smirnov
" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Tested-by: Trent Piepho Signed-off-by: Andrey Smirnov --- drivers/pci/controller/dwc/pci-imx6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/d

[PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS

2018-12-05 Thread Andrey Smirnov
-by: Andrey Smirnov --- Assuming this is a reasonable dependency, shold this be done to more than just i.MX6 driver? drivers/pci/controller/dwc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig index 2b139acccf32

Re: [PATCH v2 0/3] PCIE support for i.MX8MQ

2018-12-06 Thread Andrey Smirnov
On Thu, Dec 6, 2018 at 4:15 AM Lorenzo Pieralisi wrote: > > On Wed, Dec 05, 2018 at 11:35:42PM -0800, Andrey Smirnov wrote: > > Everyone: > > > > This series contains changes I made in order to enable support of PCIE > > IP block on i.MX8MQ SoCs (full t

Re: [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS

2018-12-06 Thread Andrey Smirnov
On Thu, Dec 6, 2018 at 2:28 AM Lucas Stach wrote: > > Am Mittwoch, den 05.12.2018, 23:45 -0800 schrieb Andrey Smirnov: > > Building a kernel with CONFIG_PCI_IMX6=y, but CONFIG_PCIEPORTBUS=n > > produces a system where built-in PCIE bridge (16c3:abcd) isn't bound >

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-27 Thread Andrey Smirnov
On Tue, Nov 27, 2018 at 2:16 AM Leonard Crestez wrote: > > On 11/26/18 8:24 PM, Andrey Smirnov wrote: > > On Tue, Nov 20, 2018 at 2:49 AM Leonard Crestez > > wrote: > >> On Sat, 2018-11-17 at 10:12 -0800, Andrey Smirnov wrote: > > >>> +

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-27 Thread Andrey Smirnov
On Tue, Nov 27, 2018 at 2:46 AM Leonard Crestez wrote: > > On 11/27/18 12:06 PM, Lucas Stach wrote: > > Hi Andrey, > > > > Am Montag, den 26.11.2018, 10:24 -0800 schrieb Andrey Smirnov: > >> On Tue, Nov 20, 2018 at 2:49 AM Leonard Crestez > >> wrot

Re: [PATCH v2 3/3] PCI: imx6: limit DBI register length

2018-11-27 Thread Andrey Smirnov
be a simple fix would be to install such a handler when running on i.MX6Q? Thanks, Andrey Smirnov > > Signed-off-by: Stefan Agner > --- > drivers/pci/controller/dwc/pci-imx6.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/pci/contr

Re: [PATCH v2 3/3] PCI: imx6: limit DBI register length

2018-11-27 Thread Andrey Smirnov
On Tue, Nov 27, 2018 at 5:12 PM Fabio Estevam wrote: > > Hi Andrey, > > On Tue, Nov 27, 2018 at 10:57 PM Andrey Smirnov > wrote: > > > Could this be a regression? Prior to 415b6185c541 ("PCI: imx6: Fix > > config read timeout handling") all of the imprecis

[PATCH v2 3/3] dt-bindings: reset: imx7: Document usage on i.MX8MQ SoCs

2018-11-27 Thread Andrey Smirnov
Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- Documentation/devicetree/bindings/reset/fsl,imx7-src.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/fsl,imx7-

[PATCH v2 2/3] reset: imx7: Add support for i.MX8MQ IP block variant

2018-11-27 Thread Andrey Smirnov
..@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/reset/Kconfig| 2 +- drivers/reset/reset-imx7.c | 106 +++ include/dt-bindings/reset/imx8mq-reset.h | 64 +++

[PATCH v2 1/3] reset: imx7: Add plubming to support multiple IP variants

2018-11-27 Thread Andrey Smirnov
ob Herring Cc: devicet...@vger.kernel.org Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/reset/reset-imx7.c | 62 +++--- 1 file changed, 45 insertions(+), 17 deletions(-)

[PATCH v2 0/3] Reset controller support for i.MX8MQ

2018-11-27 Thread Andrey Smirnov
, Andrey Smirnov Changes since [v1] - Series re-written to use a per-variant LUT instead of using a single table - Changed driver to use "imx8mq" insead of "imx8m" to match other drivers and CONFIG_ARCH_IMX8MQ - Updated list of exported i.MX8MQ resets, add missing and

Re: [PATCH 1/1] reset: imx7: Add support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
ets. > > On Sat, 2018-11-17 at 10:11 -0800, Andrey Smirnov wrote: > > SRC IP block used in i.MX8MQ is a superset of what is found in i.MX7D, > > Is this true, though? > > i.MX7 has SRC_ERCR at offset 0x14 and HSICPHY_RCR at offset 0x1c. > According to documentation, i

[PATCH 2/3] soc: imx: gpcv2: Make regmap access table variant specific.

2018-11-17 Thread Andrey Smirnov
linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/soc/imx/gpcv2.c | 43 + 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc/imx/gpcv2.c index 08

[PATCH 0/3] GPCv2 support for i.MX8MQ

2018-11-17 Thread Andrey Smirnov
dependencies). However is should be in OK enough shape to get some early feedback on, which is the intent of this submission. All other feedback is appreciated as well! Thank you, Andrey Smirnov [github-v0] https://github.com/ndreys/linux/commits/imx8mq-pcie-v0 Andrey Smirnov (3): soc: imx: gpcv2

[PATCH 0/3] PCIE support for i.MX8MQ

2018-11-17 Thread Andrey Smirnov
acceptable) solution for the problem. All other feedback is appreciated as well! Thank you, Andrey Smirnov [github-v0] https://github.com/ndreys/linux/commits/imx8mq-pcie-v0 Andrey Smirnov (3): PCI: imx: No-op imx6_setup_phy_mpll() on i.MX7D PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D P

[PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-17 Thread Andrey Smirnov
Cc: bhelg...@google.com Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Signed-off-

[PATCH 2/3] PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D

2018-11-17 Thread Andrey Smirnov
" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/pci/controller/dwc/pci-imx6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pci/controller/dwc/

[PATCH 1/3] soc: imx: gpcv2: Remove static qualifier from domain_data

2018-11-17 Thread Andrey Smirnov
Cc: Shawn Guo Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/soc/imx/g

[PATCH 1/3] PCI: imx: No-op imx6_setup_phy_mpll() on i.MX7D

2018-11-17 Thread Andrey Smirnov
" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/pci/controller/dwc/pci-imx6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pci/controller/dwc/

[PATCH 3/3] soc: imx: gpcv2: Add support for i.MX8MQ

2018-11-17 Thread Andrey Smirnov
Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/soc/imx/Kconfig | 4 +- drivers/soc/imx/gpcv2.c | 195 2 files changed, 197 insertions(+), 2 deletions(-) diff --git a/drivers/soc/imx

[PATCH 0/1] Reset controller support for i.MX8MQ

2018-11-17 Thread Andrey Smirnov
as well! Thank you, Andrey Smirnov [github-v0] https://github.com/ndreys/linux/commits/imx8mq-pcie-v0 Andrey Smirnov (1): reset: imx7: Add support for i.MX8MQ drivers/reset/Kconfig | 2 +- drivers/reset/reset-imx7.c | 66 - include/dt

[PATCH 1/1] reset: imx7: Add support for i.MX8MQ

2018-11-17 Thread Andrey Smirnov
Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/reset/Kconfig | 2 +- drivers/reset/reset-imx7.c | 66 - include/dt-bindings/reset/imx7-reset.h | 15 +-

Re: [PATCH 0/3] GPCv2 support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Mon, Nov 19, 2018 at 6:10 AM Lucas Stach wrote: > > Hi Andrey, > > Am Samstag, den 17.11.2018, 10:12 -0800 schrieb Andrey Smirnov: > > Everyone: > > > > This series contains changes I made to add support for i.MX8MQ to > > GPCv2 driver in order to enable

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Sun, Nov 18, 2018 at 11:07 PM Richard Zhu wrote: > > Hi Andrey: > Thanks for your patch-set. > I have comment about the L1SS implementation below. > It's better to figure out one method to fix it. > > BR > Richard > > > -Original Message- > > F

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Tue, Nov 20, 2018 at 2:49 AM Leonard Crestez wrote: > > On Sat, 2018-11-17 at 10:12 -0800, Andrey Smirnov wrote: > > @@ -921,7 +1004,28 @@ static int imx6_pcie_probe(struct platform_device > > *pdev) > > - case IMX7D: > > + case IMX8MQ: > > +

Re: [PATCH 2/3] PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D

2018-11-26 Thread Andrey Smirnov
On Mon, Nov 19, 2018 at 5:22 PM Trent Piepho wrote: > > On Sat, 2018-11-17 at 10:12 -0800, Andrey Smirnov wrote: > > PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, > > so none of the code in current implementation of imx6_pcie_reset_phy() > > i

Re: [PATCH v7 1/9] mfd: Add commands abstraction layer for SI476X MFD

2013-03-19 Thread Andrey Smirnov
On Mon, Mar 18, 2013 at 1:11 PM, Mauro Carvalho Chehab wrote: > Em Tue, 26 Feb 2013 22:06:45 -0800 > Andrey Smirnov escreveu: > >> This patch adds all the functions used for exchanging commands with >> the chip. > > Please run checkpatch.pl over those patches. There

Re: [PATCH] mfd: si476x: Use get_unaligned_be16() for unaligned be16 loads

2013-05-13 Thread Andrey Smirnov
On Thu, May 9, 2013 at 5:01 AM, Geert Uytterhoeven wrote: > Loading be16 values from byte buffers may cause unaligned accesses, so use > get_unaligned_be16() to avoid problems on architectures that do not support > these. > > Signed-off-by: Geert Uytterhoeven Acked-by:

Re: [PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-13 Thread Andrey Smirnov
rror: invalid suffix "b0001" on integer > constant > drivers/mfd/si476x-cmd.c:780:17: error: invalid suffix "b1000" on integer > constant > drivers/mfd/si476x-cmd.c:781:22: error: invalid suffix "b0010" on integer > constant > ... > > H

Re: [PATCH 1/2] [media] v4l2: SI476X MFD - Do not use binary constants

2013-05-13 Thread Andrey Smirnov
stead. > > Signed-off-by: Geert Uytterhoeven > Cc: Mauro Carvalho Chehab > Cc: linux-me...@vger.kernel.org Acked-by: Andrey Smirnov > --- > drivers/media/radio/radio-si476x.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/media/ra

[PATCH 07/12] v4l2: Add documentation for the FM RX controls

2013-04-18 Thread Andrey Smirnov
Add appropriate documentation for all the newly added standard controls. Based on the patch by Manjunatha Halli [1] [1] http://lists-archives.com/linux-kernel/27641303-media-update-docs-for-v4l2-fm-new-features.html Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation

[PATCH 10/12] radio-si476x: vidioc_s* now uses a const parameter

2013-04-18 Thread Andrey Smirnov
initialization for 'si4761_ioctl_ops.vidioc_s_register') [enabled by default] This is due to a (soft) merge conflict, as both this driver and the const patches were applied for the same Kernel version. Acked-by: Hans Verkuil Acked-by: Andrey Smirnov Signed-off-by: Mauro Carvalho Chehab --- drivers

[PATCH 09/12] v4l2: Add a V4L2 driver for SI476X MFD

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This commit adds a driver that exposes all the radio related functionality of the Si476x series of chips via the V4L2 subsystem. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation/video4linux/si476x.txt | 187 drivers/media/radio/Kconfig

[PATCH 12/12] radio-si476x: Fix incorrect pointer checking

2013-04-18 Thread Andrey Smirnov
_blob" and "si476x_radio_read_rsq_primary_blob". * Add some BUG_ON statements for function pointers that should never be NULL Signed-off-by: Andrey Smirnov Signed-off-by: Dan Carpenter --- drivers/media/radio/radio-si476x.c | 90 +--- 1 file changed, 33 insertions(+), 57 dele

[PATCH 05/12] v4l2: Fix the type of V4L2_CID_TUNE_PREEMPHASIS in the documentation

2013-04-18 Thread Andrey Smirnov
Change the type of V4L2_CID_TUNE_PREEMPHASIS from 'integer' to 'enum v4l2_preemphasis' Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation/DocBook/media/v4l/controls.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l

[PATCH 11/12] si476x: Fix some config dependencies and a compile warnings

2013-04-18 Thread Andrey Smirnov
‘*’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat] Acked-by: Andrey Smirnov Signed-off-by: Hans Verkuil --- drivers/media/radio/Kconfig |2 +- drivers/mfd/Kconfig |1 + drivers/mfd/si476x-i2c.c|2 +- 3 files changed, 3 insertions(+), 2

[PATCH 08/12] v4l2: Add private controls base for SI476X

2013-04-18 Thread Andrey Smirnov
Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- include/uapi/linux/v4l2-controls.h |4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b

[PATCH v9 00/12] Driver for Si476x series of chips

2013-04-18 Thread Andrey Smirnov
/si476x.h to mfd patches because it would also break bisectability since media/si476x.h depends on patch #8 in this patchset(whcih is the change that should go through 'media' tree) But I rearranged definitions and there shouldn't be any dependencies on media patches in MFD part. Andrey Smirnov (10

[PATCH 03/12] mfd: Add chip properties handling code for SI476X MFD

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds code related to manipulation of the properties of SI476X chips. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 241 + 1 file changed, 241 insertions(+) create mode 100644

[PATCH 02/12] mfd: Add the main bulk of core driver for SI476x code

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 886 ++ 1 file changed, 886 insertions(+) c

[PATCH 06/12] v4l2: Add standard controls for FM receivers

2013-04-18 Thread Andrey Smirnov
is based on the code found in the patch by Manjunatha Halli [1] [1] http://lists-archives.com/linux-kernel/27641307-new-control-class-and-features-for-fm-rx.html Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/media/v4l2-core/v4l2-ctrls.c | 14 +++--- include/uapi/linux

[PATCH 04/12] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary

[PATCH 01/12] mfd: Add commands abstraction layer for SI476X MFD

2013-04-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all the functions used for exchanging commands with the chip. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1553 ++ 1 file changed, 1553 insertions(+) create mode 100644

Re: [PATCH v9 00/12] Driver for Si476x series of chips

2013-04-19 Thread Andrey Smirnov
On Fri, Apr 19, 2013 at 2:31 PM, Samuel Ortiz wrote: > Hi Andrey, > > On Thu, Apr 18, 2013 at 09:58:26AM -0700, Andrey Smirnov wrote: >> Driver for Si476x series of chips >> >> This is a eight version of the patchset originaly posted here: >> https://lkml.or

Re: [PATCH v9 00/12] Driver for Si476x series of chips

2013-04-20 Thread Andrey Smirnov
> I applied all the MFD patches from this patchset (All 4 first ones), plus a > follow up one for fixing the i2c related warning. > I also squashed the REGMAP_I2C dependency into patch #4. > It's all in mfd-next now, I'd appreciate if you could double check it's all > fine. I checked out latest

Re: [PATCH v9 00/12] Driver for Si476x series of chips

2013-04-21 Thread Andrey Smirnov
On Sun, Apr 21, 2013 at 2:33 AM, Mauro Carvalho Chehab wrote: > Em 21-04-2013 02:53, Andrey Smirnov escreveu: > >>> I applied all the MFD patches from this patchset (All 4 first ones), plus >>> a >>> follow up one for fixing the i2c related warning. >>>

[PATCH v7 0/9] Driver for Si476x series of chips

2013-02-26 Thread Andrey Smirnov
requests into Core device commands. 3. Codec device that does similar to the earlier described task, but for ALSA SoC subsystem. v7 of this driver has following changes: - Minor Makefile/Kconfig changes - MFD driver commit reordering as per suggestions from Sam Ravnborg Andrey Smirnov (9

[PATCH v7 7/9] v4l2: Add documentation for the FM RX controls

2013-02-26 Thread Andrey Smirnov
Add appropriate documentation for all the newly added standard controls. Based on the patch by Manjunatha Halli [1] [1] http://lists-archives.com/linux-kernel/27641303-media-update-docs-for-v4l2-fm-new-features.html Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- Documentation

[PATCH v7 8/9] v4l2: Add private controls base for SI476X

2013-02-26 Thread Andrey Smirnov
Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- include/uapi/linux/v4l2-controls.h |4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b

[PATCH v7 1/9] mfd: Add commands abstraction layer for SI476X MFD

2013-02-26 Thread Andrey Smirnov
This patch adds all the functions used for exchanging commands with the chip. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1553 ++ 1 file changed, 1553 insertions(+) create mode 100644 drivers/mfd/si476x-cmd.c

[PATCH v7 4/9] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-02-26 Thread Andrey Smirnov
other drivers that represent radio and audio codec subsystems of the chip. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile|4 + include/linux/mfd/si476x-core.h | 525 +++ 3

[PATCH v7 6/9] v4l2: Add standard controls for FM receivers

2013-02-26 Thread Andrey Smirnov
is based on the code found in the patch by Manjunatha Halli [1] [1] http://lists-archives.com/linux-kernel/27641307-new-control-class-and-features-for-fm-rx.html Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/media/v4l2-core/v4l2-ctrls.c | 14 +++--- include/uapi/linux

[PATCH v7 5/9] v4l2: Fix the type of V4L2_CID_TUNE_PREEMPHASIS in the documentation

2013-02-26 Thread Andrey Smirnov
Change the type of V4L2_CID_TUNE_PREEMPHASIS from 'integer' to 'enum v4l2_preemphasis' Acked-by: Hans Verkuil Singed-off-by: Andrey Smirnov --- Documentation/DocBook/media/v4l/controls.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l

[PATCH v7 3/9] mfd: Add chip properties handling code for SI476X MFD

2013-02-26 Thread Andrey Smirnov
This patch adds code related to manipulation of the properties of SI476X chips. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 234 + 1 file changed, 234 insertions(+) create mode 100644 drivers/mfd/si476x

[PATCH v7 2/9] mfd: Add the main bulk of core driver for SI476x code

2013-02-26 Thread Andrey Smirnov
This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 878 ++ 1 file changed, 878 insertions(+) create mode 100644 d

Re: linux-next: manual merge of the mfd tree with the v4l-dvb tree

2013-04-16 Thread Andrey Smirnov
On Tue, Apr 16, 2013 at 6:51 AM, Samuel Ortiz wrote: > Hi Mauro, > > On Wed, Apr 10, 2013 at 06:48:28AM -0300, Mauro Carvalho Chehab wrote: >> Em Wed, 10 Apr 2013 08:42:53 +0200 >> Samuel Ortiz escreveu: >> >> > Hi Stephen, >> > >> > On Wed, Apr 10, 2013 at 01:48:13PM +1000, Stephen Rothwell

Re: [PATCH v2] ims-pcu: Add commands supported by the new version of the FW

2014-01-07 Thread Andrey Smirnov
Sorry, haven't had the chance yet. I'll try to do this and hopefully send v3 of the patch by the end of this week On Mon, Jan 6, 2014 at 11:14 PM, Dmitry Torokhov wrote: > On Fri, Jan 03, 2014 at 09:41:33PM -0800, Dmitry Torokhov wrote: >> On Fri, Jan 03, 2014 at 09:03:11PM -0800, Andre

Re: [PATCH v2] ims-pcu: Add commands supported by the new version of the FW

2014-01-08 Thread Andrey Smirnov
On Mon, Jan 6, 2014 at 11:14 PM, Dmitry Torokhov wrote: > > Andrey, were you able to test the patch? Hi Dmitry, I tested the patch and with exception of a trivial to fix typo/bug it worked fine. I see that you moved the OFN attributes to a dedicated directory, which I personally like better,

[PATCH v4 RESEND] ims-pcu: Add commands supported by the new version of the FW

2014-02-11 Thread Andrey Smirnov
adds two helper functions to use those commands and sysfs attributes to use them. It also exposes some OFN configuration parameters via sysfs. Signed-off-by: Andrey Smirnov Signed-off-by: Dmitry Torokhov --- drivers/input/misc/ims-pcu.c | 260 +-- 1 file

Re: [PATCH v4 RESEND] ims-pcu: Add commands supported by the new version of the FW

2014-02-11 Thread Andrey Smirnov
On Tue, Feb 11, 2014 at 8:29 AM, Dmitry Torokhov wrote: > Hi Andrey, > > On Tue, Feb 11, 2014 at 07:28:40AM -0800, Andrey Smirnov wrote: >> New version of the PCU firmware supports two new commands: >> - IMS_PCU_CMD_OFN_SET_CONFIG which allows to write data to the >>

[PATCH v2] ims-pcu: Add commands supported by the new version of the FW

2014-01-01 Thread Andrey Smirnov
adds two helper functions to use those commands and sysfs attributes to use them. It also exposes some OFN configuration parameters via sysfs. Signed-off-by: Andrey Smirnov --- drivers/input/misc/ims-pcu.c | 269 +-- 1 file changed, 262 insertions(+), 7

Re: [PATCH v2] ims-pcu: Add commands supported by the new version of the FW

2014-01-03 Thread Andrey Smirnov
On Fri, Jan 3, 2014 at 5:39 PM, Dmitry Torokhov wrote: > Hi Andrey, > > On Wed, Jan 01, 2014 at 04:47:01PM -0800, Andrey Smirnov wrote: >> New version of the PCU firmware supports two new commands: >> - IMS_PCU_CMD_OFN_SET_CONFIG which allows to write data to the >>

Re: [PATCH v2] ims-pcu: Add commands supported by the new version of the FW

2014-01-03 Thread Andrey Smirnov
On Fri, Jan 3, 2014 at 8:44 PM, Dmitry Torokhov wrote: > On Fri, Jan 03, 2014 at 08:24:17PM -0800, Andrey Smirnov wrote: >> On Fri, Jan 3, 2014 at 5:39 PM, Dmitry Torokhov >> wrote: >> > Hi Andrey, >> > >> > On Wed, Jan 01, 2014 at 04:47:01PM -080

Re: [PATCH] Input: ims-pcu - fix error unwinding path in application mode

2014-01-03 Thread Andrey Smirnov
Dmitry, Do you want this patch to go separatly or do you want me to bundle it with my other changes(probably the first one)? Also, offtopic, do you want me to backport this changes to 2.6 kernel that IMS uses or would you do it? Thanks, On Fri, Jan 3, 2014 at 9:00 PM, Dmitry Torokhov wrote: >

Re: [PATCH] Input: ims-pcu - remove unneeded get_unaligned_xxx

2014-01-03 Thread Andrey Smirnov
On Fri, Jan 3, 2014 at 9:28 PM, Dmitry Torokhov wrote: > pcu->cmd_buf[IMS_PCU_DATA_OFFSET] is word aligned so we do not need to use > get_unaligned_le16 to access it. > > Also let's add build time check to make sure it stays aligned. - AFAIK, there's no guarantee the "pcu" itself is aligned -

Re: [PATCH] Input: ims-pcu - remove unneeded get_unaligned_xxx

2014-01-03 Thread Andrey Smirnov
On Fri, Jan 3, 2014 at 10:16 PM, Dmitry Torokhov wrote: > On Fri, Jan 03, 2014 at 09:52:25PM -0800, Andrey Smirnov wrote: >> On Fri, Jan 3, 2014 at 9:28 PM, Dmitry Torokhov >> wrote: >> > pcu->cmd_buf[IMS_PCU_DATA_OFFSET] is word aligned so we do not need to use >&g

Re: [PATCH] Input: ims-pcu - remove unneeded get_unaligned_xxx

2014-01-04 Thread Andrey Smirnov
On Fri, Jan 3, 2014 at 11:46 PM, Dmitry Torokhov wrote: > On Fri, Jan 03, 2014 at 10:49:07PM -0800, Andrey Smirnov wrote: >> On Fri, Jan 3, 2014 at 10:16 PM, Dmitry Torokhov >> wrote: >> > On Fri, Jan 03, 2014 at 09:52:25PM -0800, Andrey Smirnov wrote: >> >

[PATCH v5 0/8] Driver for Si476x series of chips

2013-02-25 Thread Andrey Smirnov
changes: - Generic controls are converted to standard ones - Custom controls use a differend offest as base - Added documentation with controls description Andrey Smirnov (8): mfd: Add header files and Kbuild plumbing for SI476x MFD core mfd: Add commands abstraction layer for SI476X MFD mfd

[PATCH v5 7/8] v4l2: Add private controls base for SI476X

2013-02-25 Thread Andrey Smirnov
Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Signed-off-by: Andrey Smirnov --- include/uapi/linux/v4l2-controls.h |4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2

[PATCH v5 5/8] v4l2: Add standard controls for FM receivers

2013-02-25 Thread Andrey Smirnov
-by: Andrey Smirnov --- drivers/media/v4l2-core/v4l2-ctrls.c | 14 +++--- include/uapi/linux/v4l2-controls.h | 13 - 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 6b28b58

[PATCH v5 4/8] mfd: Add chip properties handling code for SI476X MFD

2013-02-25 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds code related to manipulation of the properties of SI476X chips. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 234 + 1 file changed, 234 insertions(+) create mode 100644 drivers/mfd/si476x

[PATCH v5 1/8] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-02-25 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary

[PATCH v5 3/8] mfd: Add the main bulk of core driver for SI476x code

2013-02-25 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 878 ++ 1 file changed, 878 insertions(+) create mode 100644 d

[PATCH v5 2/8] mfd: Add commands abstraction layer for SI476X MFD

2013-02-25 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all the functions used for exchanging commands with the chip. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1553 ++ 1 file changed, 1553 insertions(+) create mode 100644 drivers/mfd/si476x-cmd.c

Re: [PATCH v5 8/8] v4l2: Add a V4L2 driver for SI476X MFD

2013-02-26 Thread Andrey Smirnov
>> + >> +enum phase_diversity_modes_idx { >> + SI476X_IDX_PHDIV_DISABLED, >> + SI476X_IDX_PHDIV_PRIMARY_COMBINING, >> + SI476X_IDX_PHDIV_PRIMARY_ANTENNA, >> + SI476X_IDX_PHDIV_SECONDARY_ANTENNA, >> + SI476X_IDX_PHDIV_SECONDARY_COMBINING, >> +}; >> + >> +static const char *

[PATCH v6 0/9] Driver for Si476x series of chips

2013-02-26 Thread Andrey Smirnov
to the earlier described task, but for ALSA SoC subsystem. v6 of this driver has following changes: - Minor corrections Andrey Smirnov (9): mfd: Add header files and Kbuild plumbing for SI476x MFD core mfd: Add commands abstraction layer for SI476X MFD mfd: Add the main bulk of core driver

[PATCH v6 6/9] v4l2: Add standard controls for FM receivers

2013-02-26 Thread Andrey Smirnov
is based on the code found in the patch by Manjunatha Halli [1] [1] http://lists-archives.com/linux-kernel/27641307-new-control-class-and-features-for-fm-rx.html Signed-off-by: Andrey Smirnov --- drivers/media/v4l2-core/v4l2-ctrls.c | 14 +++--- include/uapi/linux/v4l2-controls.h | 13

[PATCH v6 8/9] v4l2: Add private controls base for SI476X

2013-02-26 Thread Andrey Smirnov
Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Signed-off-by: Andrey Smirnov --- include/uapi/linux/v4l2-controls.h |4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2

[PATCH v6 5/9] v4l2: Fix the type of V4L2_CID_TUNE_PREEMPHASIS in the documentation

2013-02-26 Thread Andrey Smirnov
Change the type of V4L2_CID_TUNE_PREEMPHASIS from 'integer' to 'enum v4l2_preemphasis' Singed-off-by: Andrey Smirnov --- Documentation/DocBook/media/v4l/controls.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/controls.xml b

[PATCH v6 1/9] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-02-26 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary

[PATCH v6 4/9] mfd: Add chip properties handling code for SI476X MFD

2013-02-26 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds code related to manipulation of the properties of SI476X chips. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 234 + 1 file changed, 234 insertions(+) create mode 100644 drivers/mfd/si476x

[PATCH v6 3/9] mfd: Add the main bulk of core driver for SI476x code

2013-02-26 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 878 ++ 1 file changed, 878 insertions(+) create mode 100644 d

[PATCH v6 2/9] mfd: Add commands abstraction layer for SI476X MFD

2013-02-26 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all the functions used for exchanging commands with the chip. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1553 ++ 1 file changed, 1553 insertions(+) create mode 100644 drivers/mfd/si476x-cmd.c

[PATCH v4 0/7] Driver for Si476x series of chips

2013-02-18 Thread Andrey Smirnov
VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported) Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported) Total: 38, Succeeded: 38, Failed: 0, Warnings: 0 Andrey Smirnov (7): mfd: Add header files and Kbuild plumbing for SI476x

[PATCH v4 1/7] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary

[PATCH v4 6/7] sound/soc/codecs: Convert SI476X codec to use regmap

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov The latest radio and MFD drivers for SI476X radio chips use regmap API to provide access to the registers and allow for caching of their values when the actual chip is powered off. Convert the codec driver to do the same, so it would not loose the settings when the radio

[PATCH v4 7/7] sound/soc/codecs: Cosmetic changes to SI476X codec driver

2013-02-18 Thread Andrey Smirnov
- Add appropriate license header - Change email address in MODULE_AUTHOR - Remove trailing whitespaces Signed-off-by: Andrey Smirnov --- sound/soc/codecs/si476x.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/si476x.c b/sound

[PATCH v4 3/7] mfd: Add the main bulk of core driver for SI476x code

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 878 ++ 1 file changed, 878 insertions(+) create mode 100644 d

[PATCH v4 2/7] mfd: Add commands abstraction layer for SI476X MFD

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all the functions used for exchanging commands with the chip. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1553 ++ 1 file changed, 1553 insertions(+) create mode 100644 drivers/mfd/si476x-cmd.c

[PATCH v4 4/7] mfd: Add chip properties handling code for SI476X MFD

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds code related to manipulation of the properties of SI476X chips. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 234 + 1 file changed, 234 insertions(+) create mode 100644 drivers/mfd/si476x

[PATCH v3] ims-pcu: Add commands supported by the new version of the FW

2014-01-22 Thread Andrey Smirnov
adds two helper functions to use those commands and sysfs attributes to use them. It also exposes some OFN configuration parameters via sysfs. Signed-off-by: Andrey Smirnov Signed-off-by: Dmitry Torokhov --- drivers/input/misc/ims-pcu.c | 260 +-- 1 file

Re: [PATCH v3] ims-pcu: Add commands supported by the new version of the FW

2014-01-22 Thread Andrey Smirnov
Sorry for the noise, had an old copy of the file in my out of the tree build set-up when I was doing the testing. I will post updated version shortly. Thanks, On Wed, Jan 22, 2014 at 8:47 AM, Dmitry Torokhov wrote: > On Wed, Jan 22, 2014 at 05:20:25AM -0800, Andrey Smirnov wrote: >> +s

[PATCH v4] ims-pcu: Add commands supported by the new version of the FW

2014-01-22 Thread Andrey Smirnov
adds two helper functions to use those commands and sysfs attributes to use them. It also exposes some OFN configuration parameters via sysfs. Signed-off-by: Andrey Smirnov Signed-off-by: Dmitry Torokhov --- drivers/input/misc/ims-pcu.c | 260 +-- 1 file

[PATCH v4 RESEND] ims-pcu: Add commands supported by the new version of the FW

2014-01-30 Thread Andrey Smirnov
adds two helper functions to use those commands and sysfs attributes to use them. It also exposes some OFN configuration parameters via sysfs. Signed-off-by: Andrey Smirnov Signed-off-by: Dmitry Torokhov --- drivers/input/misc/ims-pcu.c | 260 +-- 1 file

[PATCH] ims-pcu: Add commands supported by the new version of the FW

2013-12-21 Thread Andrey Smirnov
adds two helper functions to use those commands and sysfs attributes to use them. It also exposes some OFN configuration parameters via sysfs. Signed-off-by: Andrey Smirnov --- drivers/input/misc/ims-pcu.c | 274 +-- 1 file changed, 263 insertions(+), 11

Re: [PATCH] ims-pcu: Add commands supported by the new version of the FW

2013-12-27 Thread Andrey Smirnov
Sorry for the spam, sent the first version of the reply in non plain/text. >> +static ssize_t ims_pcu_ofn_reg_data_show(struct device *dev, >> + struct device_attribute *dattr, >> + char *buf) >> +{ >> + struct

[PATCH v8 0/9] Driver for Si476x series of chips

2013-03-26 Thread Andrey Smirnov
: - checkpatch.pl fixes Pleas note that patches are not completely warning free, as far as checkpatch.pl is concerned, because I skipped all the places where 80-character compliance can be acheived only by means of weird indentation. Andrey Smirnov (9): mfd: Add commands abstraction layer for SI476X MFD

<    5   6   7   8   9   10   11   12   13   14   >