[PATCH v2 03/20] PCI: imx6: Return -ETIMEOUT from imx6_pcie_wait_for_speed_change()

2019-01-04 Thread Andrey Smirnov
..@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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/d

[PATCH v2 18/20] PCI: imx6: Remove magic numbers from imx6_pcie_establish_link()

2019-01-04 Thread Andrey Smirnov
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 | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/pci/controller/dwc/pci

[PATCH v2 11/20] PCI: imx6: Make use of BIT() in constant definitions

2019-01-04 Thread Andrey Smirnov
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 | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/d

[PATCH v2 15/20] PCI: imx6: Pass data to dw_pcie_writel_dbi() directly

2019-01-04 Thread Andrey Smirnov
g" 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 | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff

[PATCH v2 10/20] PCI: dwc: Make use of BIT() in constant definitions

2019-01-04 Thread Andrey Smirnov
nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Acked-by: Gustavo Pimentel Signed-off-by: Andrey Smirnov --- drivers/pci/controller/dwc/pcie-designware.c | 2 +- drivers/pci/controller/dwc/pcie-designware.h | 18 +- 2 fil

[PATCH v2 16/20] PCI: imx6: Use common mask in imx6_pcie_reset_phy()

2019-01-04 Thread Andrey Smirnov
radead.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Signed-off-by: Andrey Smirnov --- drivers/pci/controller/dwc/pci-imx6.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-im

[PATCH v2 17/20] PCI: imx6: Simplify bit operations in imx6_setup_phy_mpll()

2019-01-04 Thread Andrey Smirnov
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 | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/d

[PATCH v2 20/20] PCI: dwc: Remove superfluous shifting in definitions

2019-01-04 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 Acked-by: Gustavo Pimentel Signed-off-by: Andrey Smirnov --- drivers/pci/controller/dwc/pcie-designware.h | 14 +++--- 1 file changed, 7 insertions(+),

[PATCH v2 14/20] PCI: imx6: Restrict PHY register data to 16-bit

2019-01-04 Thread Andrey Smirnov
s Stach 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-by: Andrey Smirnov --- drivers/pci/controller/dwc/pci-imx6.c | 13 ++--- 1 fi

[PATCH v2 13/20] PCI: imx6: Simplify pcie_phy_poll_ack()

2019-01-04 Thread Andrey Smirnov
ot; 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 | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[PATCH v2 19/20] PCI: dwc: Make use of GENMASK/FIELD_PREP

2019-01-04 Thread Andrey Smirnov
Helgaas Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach 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 Acked-by: Gustavo Pimentel Signed-off-by: Andr

[PATCH v2 12/20] PCI: imx6: Simplify bit operations in PHY functions

2019-01-04 Thread Andrey Smirnov
rd 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 | 28 +-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git

[PATCH v2 08/20] PCI: dwc: Share code for dw_pcie_rd/wr_other_conf()

2019-01-04 Thread Andrey Smirnov
Helgaas Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach 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 Acked-by: Gustavo Pimentel Signed-off-by: Andr

[PATCH v2 05/20] PCI: imx6: Remove PCIE_PL_PFLR_* constants

2019-01-04 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 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-i

[PATCH v2 07/20] PCI: dwc: Make use of IS_ALIGNED()

2019-01-04 Thread Andrey Smirnov
rd 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 Acked-by: Gustavo Pimentel Signed-off-by: Andrey Smirnov --- drivers/pci/controller/dwc/pcie-designware.c | 4 ++--

[PATCH v2 01/20] PCI: imx6: Simplify imx7d_pcie_wait_for_phy_pll_lock()

2019-01-04 Thread Andrey Smirnov
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 | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/drivers/pci/controller/dwc/

Fate of ihex2fw tool

2018-10-16 Thread Andrey Smirnov
fferent source tree it can be found nowadays? Or is there another established tool that can do .ihex -> .fw conversion that is expected to be used instead of ihex2bin? Thanks, Andrey Smirnov

Re: Fate of ihex2fw tool

2018-10-17 Thread Andrey Smirnov
On Wed, Oct 17, 2018 at 12:43 AM Greg Kroah-Hartman wrote: > > On Tue, Oct 16, 2018 at 10:36:15PM -0700, Andrey Smirnov wrote: > > Everyone: > > > > Since commit 5620a0d1aacd554ebebcff373e31107bb1ef7769 ("firmware: > > delete in-kernel firmware"): >

[PATCH] tools: Add 'firmware' category and add ihex2fw tool

2018-10-17 Thread Andrey Smirnov
h-Hartman Cc: Kyle McMartin Cc: Andrew Morton Cc: Masahiro Yamada Cc: David Woodhouse Cc: Greg Kroah-Hartman Cc: linux-kernel Signed-off-by: Andrey Smirnov --- tools/Makefile | 7 +- tools/firmware/Makefile | 13 ++ tools/firmware/ihex2fw.c | 281 +

[PATCH] ARM: dts: vf610: Add ZII SSMB SPU3 board

2018-07-16 Thread Andrey Smirnov
Add support for Zodiac Inflight Innovations SSMB SPU3 board (VF610-based). Cc: Shawn Guo Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: linux-arm-ker...@lists.infradead.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrew Lunn Signed-off-by: Andrey Smirnov

Re: [PATCH] spi: spi-fsl-dspi: Fill actual_length when doing DMA transfer

2018-07-16 Thread Andrey Smirnov
On Mon, Jul 16, 2018 at 4:26 AM Mark Brown wrote: > > On Sun, Jul 15, 2018 at 11:25:08PM -0700, Andrey Smirnov wrote: > > Users of SPI device drivers may rely on 'actual_length', so it is > > important that information is correctly reported. One example would be >

[PATCH v2] spi: spi-fsl-dspi: Fill actual_length when doing DMA transfer

2018-07-16 Thread Andrey Smirnov
ary code to populate 'actual_length. Cc: Mark Brown Cc: Sanchayan Maity Cc: Stefan Agner Cc: cphe...@gmail.com Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov --- Changes since [v1] - Patch rebase on for-next branch of SPI sybsytem's gi

[PATCH v4 22/22] nvmem: bcm-ocotp: Do not use "&pdev->dev" explicitly

2018-02-28 Thread Andrey Smirnov
Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/bcm-ocotp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/nvmem/bcm-ocotp.c b/drivers/nvmem/bcm-ocotp.c ind

[PATCH v4 21/22] nvmem: imx-iim: Do not use "&pdev->dev" explicitly

2018-02-28 Thread Andrey Smirnov
Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/imx-iim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvmem/imx-iim.c b/drivers/nvmem/imx-iim.c index 635561a441b

[PATCH v4 16/22] nvmem: meson-efuse: Do no gate COMPILE_TEST with MESON_SM

2018-02-28 Thread Andrey Smirnov
Brugger Cc: cphe...@gmail.com Cc: linux-kernel@vger.kernel.org Cc: linux-media...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/Kconfig | 2 +- 1 file changed,

[PATCH v4 20/22] nvmem: rockchip-efuse: Do not use "&pdev->dev" explicitly

2018-02-28 Thread Andrey Smirnov
Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/rockchip-efuse.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/nvmem/rockchip-efuse.c b/drivers/nvmem/rockchi

[PATCH v4 19/22] nvmem: vf610-ocotp: Do not use "&pdev->dev" explicitly

2018-02-28 Thread Andrey Smirnov
inux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/vf610-ocotp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/nvmem/vf610-ocotp.c b/drivers/nvmem/vf610-ocotp.c index 75

[PATCH v4 17/22] nvmem: snvs_lpgpr: Convert commas to semicolons

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/snvs_lpgpr.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/nvmem/snvs_lpgpr.c b

[PATCH v4 18/22] nvmem: rockchip-efuse: Make use of of_device_get_match_data()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/rockchip-efuse.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/nvmem/rockchip-efuse.c b

[PATCH v4 14/22] nvmem: imx-iim: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/imx-iim.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem/imx-iim.c b

[PATCH v4 15/22] nvmem: bcm-ocotp: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/bcm-ocotp.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem/bcm-ocotp.c

[PATCH v4 11/22] nvmem: meson-mx-efuse: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/meson-mx-efuse.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem/meson

[PATCH v4 13/22] nvmem: lpc18xx_otp: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/lpc18xx_otp.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem

[PATCH v4 12/22] nvmem: meson-efuse: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/meson-efuse.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem/meson

[PATCH v4 04/22] nvmem: vf610-ocotp: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/vf610-ocotp.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem/vf610

[PATCH v4 07/22] nvmem: snvs_lgpr: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/snvs_lpgpr.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem

[PATCH v4 10/22] nvmem: mtk-efuse: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/mtk-efuse.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem/mtk-efuse.c

[PATCH v4 08/22] nvmem: qfprom: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/qfprom.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem/qfprom.c b

[PATCH v4 05/22] nvmem: imx-ocotp: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/imx-ocotp.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem/imx-ocotp.c

[PATCH v4 09/22] nvmem: rockchip-efuse: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/rockchip-efuse.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem

[PATCH v4 06/22] nvmem: uniphier-efuse: Convert to use devm_nvmem_register()

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/uniphier-efuse.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvmem

[PATCH v4 00/22] Verbatim device names and devm_nvmem_(un)register()

2018-02-28 Thread Andrey Smirnov
happy to drop them if they seem to add more pointless churn rather then value. Feedback is appreciated! Thanks, Andrey Smirnov Changes since [v3]: - Patchset rebased on post 4.16-rc1 master from Linus Changes since [v2]: - Added a patch with kerenl doc for struct nvmem_config as a

[PATCH v4 02/22] nvmem: core: Allow specifying device name verbatim

2018-02-28 Thread Andrey Smirnov
org Cc: linux-media...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/core.c | 11 --- include/linux/nvmem-provider.h | 3 +++ 2 files chan

[PATCH v4 03/22] nvmem: Introduce devm_nvmem_(un)register()

2018-02-28 Thread Andrey Smirnov
-media...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- drivers/nvmem/core.c | 57 ++ include/linux/nvmem-provider.h | 17

[PATCH v4 01/22] nvmem: Document struct nvmem_config

2018-02-28 Thread Andrey Smirnov
...@lists.infradead.org Cc: linux-amlo...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Andrey Smirnov --- include/linux/nvmem-provider.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem

Re: [PATCH 1/2] input: Add RAVE SP Powerbutton driver

2018-03-01 Thread Andrey Smirnov
On Tue, Feb 27, 2018 at 8:59 PM, Dmitry Torokhov wrote: > Hi Andrey, > > On Mon, Feb 26, 2018 at 07:41:29AM -0800, Andrey Smirnov wrote: >> Add driver that properly handles input event emitted by RAVE SP >> devices. >> >> Cc: Dmitry Torokhov >> Cc: linux-in

Re: [PATCH 1/2] ARM: dts: imx6: RDU2: Add RAVE SP device

2018-03-01 Thread Andrey Smirnov
On Tue, Feb 27, 2018 at 10:31 PM, Shawn Guo wrote: > On Mon, Feb 26, 2018 at 06:49:41AM -0800, Andrey Smirnov wrote: >> With MFD and watchdog drivers for RAVE SP device support added by >> 538ee27290fa ("mfd: Add driver for RAVE Supervisory Processor") and >> c3bb3

[PATCH v2 1/2] input: Add RAVE SP Powerbutton driver

2018-03-01 Thread Andrey Smirnov
: Andrey Smirnov --- Changes since [v1]: - Removed redundant dev.parent assignment - Various cosmetic changes [v1] lkml.kernel.org/r/20180226154130.25774-1-andrew.smir...@gmail.com drivers/input/misc/Kconfig | 9 drivers/input/misc/Makefile| 1

[PATCH v2 2/2] dt-bindings: input: Add binding for RAVE SP input driver

2018-03-01 Thread Andrey Smirnov
...@vger.kernel.org Cc: Guenter Roeck Cc: Chris Healy Cc: Lucas Stach Signed-off-by: Andrey Smirnov --- .../bindings/input/zii,rave-sp-pwrbutton.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/zii,rave-sp

[PATCH v2 1/2] ARM: dts: imx6: RDU2: Add RAVE SP device

2018-03-01 Thread Andrey Smirnov
c: Fabio Estevam Cc: Guenter Roeck Cc: Chris Healy Cc: Lucas Stach Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Reviewed-by: Fabio Estevam Signed-off-by: Andrey Smirnov --- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 9

[PATCH v2 2/2] ARM: dts: imx51-zii-rdu1: Add node for RAVE SP device

2018-03-01 Thread Andrey Smirnov
c: Fabio Estevam Cc: Guenter Roeck Cc: Chris Healy Cc: Lucas Stach Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Reviewed-by: Fabio Estevam Signed-off-by: Andrey Smirnov --- arch/arm/boot/dts/imx51-zii-rdu1.dts | 9 + 1 file c

Re: [PATCH v2 1/2] dt-bindings: nvmem: Add binding for RAVE SP EEPROM driver

2018-04-26 Thread Andrey Smirnov
On Mon, Apr 16, 2018 at 8:05 AM, Rob Herring wrote: > On Tue, Apr 10, 2018 at 06:59:47PM -0700, Andrey Smirnov wrote: >> Add Device Tree bindings for RAVE SP EEPROM driver - an MFD cell of >> parent RAVE SP driver (documented in >> Documentation/devicetree/bindings/mfd/zii,r

Re: [PATCH v2 1/2] dt-bindings: nvmem: Add binding for RAVE SP EEPROM driver

2018-04-27 Thread Andrey Smirnov
On Fri, Apr 27, 2018 at 11:43 AM, Rob Herring wrote: > On Fri, Apr 27, 2018 at 1:05 AM, Andrey Smirnov > wrote: >> On Mon, Apr 16, 2018 at 8:05 AM, Rob Herring wrote: >>> On Tue, Apr 10, 2018 at 06:59:47PM -0700, Andrey Smirnov wrote: >>>> Add Device Tree bindin

[PATCH v3 0/2] RAVE SP EEPROM driver

2018-04-30 Thread Andrey Smirnov
e! Thanks, Andrey Smirnov [v2] lkml.kernel.org/r/20180411015948.19562-1-andrew.smir...@gmail.com [v1] lkml.kernel.org/r/20180321134710.29757-1-andrew.smir...@gmail.com Andrey Smirnov (2): dt-bindings: nvmem: Add binding for RAVE SP EEPROM driver nvmem: Add RAVE SP EEPROM driver .../bindings

[PATCH v3 1/2] dt-bindings: nvmem: Add binding for RAVE SP EEPROM driver

2018-04-30 Thread Andrey Smirnov
: Mark Rutland Cc: devicet...@vger.kernel.org Signed-off-by: Andrey Smirnov --- .../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt diff --git a

[PATCH v3 2/2] nvmem: Add RAVE SP EEPROM driver

2018-04-30 Thread Andrey Smirnov
Add driver providing access to EEPROMs connected to RAVE SP devices Cc: Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org Cc: Chris Healy Cc: Lucas Stach Cc: Aleksander Morgado Signed-off-by: Andrey Smirnov --- drivers/nvmem/Kconfig | 6 + drivers/nvmem/Makefile | 3

Re: [PATCH v3 2/2] nvmem: Add RAVE SP EEPROM driver

2018-05-01 Thread Andrey Smirnov
On Tue, May 1, 2018 at 8:33 AM, Srinivas Kandagatla wrote: > > > On 01/05/18 06:29, Andrey Smirnov wrote: >> >> +// SPDX-License-Identifier: GPL-2.0+ > > ... >> >> +MODULE_LICENSE("GPL"); > > I think this should be > MODULE_LICENSE("

Re: [PATCH] soc: imx: gpcv2: correct PGC offset

2018-05-29 Thread Andrey Smirnov
specify. Explanation in commit message is great, but seeing a note in the code might save quite a bit of digging for someone who is reading the code, double checking those values and thinking that they might be wrong. Other than that: Acked-by: Andrey Smirnov Thanks, Andrey Smirnov

Re: [PATCH] soc: imx: gpcv2: correct PGC offset

2018-05-29 Thread Andrey Smirnov
ewhere in PCI on first > read. This patch fixes that immediate hang. > > After suspend/resume lspci is broken (device doesn't properly resume), > that probably requires more imx pci patches and unrelated to pgc. > Yeah, suspend of any kind was not a part of the use-case for me when I was working on this driver, so it's not surprising to hear that it doesn't work very well. Thanks, Andrey Smirnov

Re: [PATCH 2/2] PCI: imx6: Add code to request/control "pcie_aux" clock for i.MX8MQ

2019-02-28 Thread Andrey Smirnov
On Thu, Feb 28, 2019 at 1:24 PM Trent Piepho wrote: > > On Tue, 2019-02-12 at 10:36 +0100, Lucas Stach wrote: > > Am Montag, den 11.02.2019, 17:51 -0800 schrieb Andrey Smirnov: > > > PCIe IP block has additional clock, "pcie_aux", that needs to be > > &g

[PATCH] PCI: imx6: Don't request "pci_aux" clock on i.MX7

2019-03-01 Thread Andrey Smirnov
The clock in question is not present on i.MX7, so move the code requesting it into i.MX8MQ-only path. Fixes: eeb61c4e8530 ("PCI: imx6: Add code to request/control "pcie_aux" clock for i.MX8MQ") Reported-by: Trent Piepho Signed-off-by: Andrey Smirnov Cc: Bjorn Helgaas Cc: Ch

[PATCH 1/3] power: supply: core: Add POWER_SUPPLY_HEALTH_OVERCURRENT constant

2019-04-17 Thread Andrey Smirnov
Add POWER_SUPPLY_HEALTH_OVERCURRENT constant in order to allow singalling overcurrent condition via power supply health information. Signed-off-by: Andrey Smirnov Cc: Chris Health Cc: Lucas Stach Cc: Fabio Estevam Cc: Guenter Roeck Cc: Sebastian Reichel Cc: linux-kernel@vger.kernel.org Cc

[PATCH 3/3] dt-bindings: power: supply: Add bindings for Microchip UCS1002

2019-04-17 Thread Andrey Smirnov
Add bindings for Microchip UCS1002 Programmable USB Port Power Controller with Charger Emulation. Signed-off-by: Andrey Smirnov Cc: Chris Health Cc: Lucas Stach Cc: Fabio Estevam Cc: Guenter Roeck Cc: Rob Herring Cc: devicet...@vger.kernel.org Cc: Sebastian Reichel Cc: linux-kernel

[PATCH 0/3] Driver for UCS1002

2019-04-17 Thread Andrey Smirnov
Everyone: This small series adds a driver for UCS1002 Programmable USB Port Power Controller with Charger Emulation. See [page] for product page and [datasheet] for device dataseet. Hopefully each individual patch is self explanatory. Feedback is welcome! Thanks, Andrey Smirnov [page] https

[PATCH 2/3] power: supply: Add driver for Microchip UCS1002

2019-04-17 Thread Andrey Smirnov
Add driver for Microchip UCS1002 Programmable USB Port Power Controller with Charger Emulation. The driver exposed a power supply device to control/monitor various parameter of the device as well as a regulator to allow controlling VBUS line. Signed-off-by: Andrey Smirnov Cc: Chris Health Cc

[PATCH v5 00/12] QorIQ TMU multi-sensor and HWMON support

2019-04-23 Thread Andrey Smirnov
Everyone: This series contains patches adding support for HWMON integration, bug fixes and general improvements (hopefully) for TMU driver I made while working on it on i.MX8MQ. Feedback is welcome! Thanks, Andrey Smirnov Changes since [v4] - Collected Tested-by from Lucas

[PATCH v5 02/12] thermal: qoriq: Add local struct device pointer

2019-04-23 Thread Andrey Smirnov
Use a local "struct device *dev" for brevity. No functional change intended. Signed-off-by: Andrey Smirnov Acked-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Angus Ainslie (Purism) Cc: linux-...@nxp.com

[PATCH v5 05/12] thermal: qoriq: Pass data to qoriq_tmu_register_tmu_zone() directly

2019-04-23 Thread Andrey Smirnov
Pass all necessary data to qoriq_tmu_register_tmu_zone() directly instead of passing a paltform device and then deriving it. This is done as a first step to simplify resource deallocation code. Signed-off-by: Andrey Smirnov Acked-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc

[PATCH v5 04/12] thermal: qoriq: Drop per-sensor data

2019-04-23 Thread Andrey Smirnov
Now that driver is converted to use get_temp_id() instead of get_temp() we no longer need per sensor data. Drop all of the code related to it. Signed-off-by: Andrey Smirnov Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Angus Ainslie

[PATCH v5 03/12] thermal: qoriq: Don't store struct thermal_zone_device reference

2019-04-23 Thread Andrey Smirnov
Struct thermal_zone_device reference stored as sensor's private data isn't really used anywhere in the code. Drop it. Signed-off-by: Andrey Smirnov Acked-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Ang

[PATCH v5 01/12] thermal: qoriq: Remove unnecessary DT node is NULL check

2019-04-23 Thread Andrey Smirnov
It's impossible to use this driver outside of Device Tree, so if the probe function is called, the dev.of_node is guaranteed to not be NULL and guarding against that is pointless. Drop it. Signed-off-by: Andrey Smirnov Acked-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc:

[PATCH v5 10/12] thermal: qoriq: Do not report invalid temperature reading

2019-04-23 Thread Andrey Smirnov
Before returning measured temperature data to upper layer we need to make sure that the reading was marked as "valid" to avoid reporting bogus data. Signed-off-by: Andrey Smirnov Reviewed-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Va

[PATCH v5 09/12] thermal: qoriq: Enable all sensors before registering them

2019-04-23 Thread Andrey Smirnov
, for the sake of simplicity, change the code to do just that. Signed-off-by: Andrey Smirnov Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Angus Ainslie (Purism) Cc: linux-...@nxp.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kerne

[PATCH v5 12/12] thermal: qoriq: Add hwmon support

2019-04-23 Thread Andrey Smirnov
Expose thermal readings as a HWMON device, so that it could be accessed using lm-sensors. Signed-off-by: Andrey Smirnov Reviewed-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Angus Ainslie (Purism) Cc: linux

[PATCH v5 06/12] thermal: qoriq: Pass data to qoriq_tmu_calibration() directly

2019-04-23 Thread Andrey Smirnov
sequently would be able to drop the "err_iomap" error path. Signed-off-by: Andrey Smirnov Reviewed-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Angus Ainslie (Purism) Cc: linux-...@nxp.com Cc: linux...@

[PATCH v5 07/12] thermal: qoriq: Convert driver to use devm_ioremap()

2019-04-23 Thread Andrey Smirnov
Convert driver to use devm_ioremap() to simplify memory deallocation and error handling code. No functional change intended. Signed-off-by: Andrey Smirnov Reviewed-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Angus

[PATCH v5 08/12] thermal: qoriq: Convert driver to use regmap API

2019-04-23 Thread Andrey Smirnov
Convert driver to use regmap API, drop custom LE/BE IO helpers and simplify bit manipulation using regmap_update_bits(). This also allows us to convert some register initialization to use loops and adds convenient debug access to TMU registers via debugfs. Signed-off-by: Andrey Smirnov Reviewed

[PATCH v5 11/12] thermal_hwmon: Add devres wrapper for thermal_add_hwmon_sysfs()

2019-04-23 Thread Andrey Smirnov
Add devres wrapper for thermal_add_hwmon_sysfs() to simplify driver code. Signed-off-by: Andrey Smirnov Reviewed-by: Daniel Lezcano Tested-by: Lucas Stach Cc: Chris Healy Cc: Lucas Stach Cc: Eduardo Valentin Cc: Daniel Lezcano Cc: Angus Ainslie (Purism) Cc: linux-...@nxp.com Cc: linux

[PATCH v2] power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG

2019-04-24 Thread Andrey Smirnov
ent for a new device, generating the next syslog entry Both CONFIG_I2C_DEBUG_CORE and CONFIG_POWER_SUPPLY_DEBUG were reported in https://bugs.freedesktop.org/show_bug.cgi?id=76886 but only former seems to have been fixed. Drop debug prints as it was done in I2C subsystem to resolve the issue. Signed-of

Re: [PATCH] ARM: dts: vf610: Add ZII SPB4 board

2019-03-12 Thread Andrey Smirnov
On Tue, Mar 12, 2019 at 6:20 AM Fabio Estevam wrote: > > Hi Andrey, > > On Mon, Mar 11, 2019 at 3:49 PM Andrey Smirnov > wrote: > > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > > index f4f5aeaf3298..035ad9fc49f3 100644 > > --- a/

Re: [PATCH] arm64: dts: fsl: imx8mq: enable the thermal management unit (TMU)

2019-03-12 Thread Andrey Smirnov
On Tue, Mar 12, 2019 at 1:19 PM Angus Ainslie wrote: > > Hi Andrey, > > On 2019-03-11 19:35, Andrey Smirnov wrote: > > On Mon, Mar 11, 2019 at 2:35 PM Angus Ainslie (Purism) > > wrote: > >> > >> These are the TMU nodes from the NXP vendor kernel > >

[PATCH v2] ARM: dts: vf610: Add ZII SPB4 board

2019-03-13 Thread Andrey Smirnov
Add Device Tree for VF610 based Zodiac Seat Power Box. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Chris Healy Cc: Andrew Lunn Cc: Heiner Kallweit Cc: Fabio Estevam Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@nxp.com --- Changes since [v1

Re: [RFC 2/2] PCI: imx6: Add support for i.MX8QM/QXP PCIe

2019-03-13 Thread Andrey Smirnov
f (of_property_read_u32(node, "ext_osc", &imx6_pcie->ext_osc) < 0) > + imx6_pcie->ext_osc = 0; > + if (of_property_read_u32(node, "local-addr", &imx6_pcie->local_addr)) > + imx6_pcie->local_addr = 0; All of these properties will be initialized to zero by kzalloc and of_property_read_u32() won't modify output variable unless it is successful, so you can probably skip error checking. > + > /* Fetch GPIOs */ > + imx6_pcie->clkreq_gpio = of_get_named_gpio(node, "clkreq-gpio", 0); > + if (gpio_is_valid(imx6_pcie->clkreq_gpio)) { > + ret = devm_gpio_request_one(&pdev->dev, > imx6_pcie->clkreq_gpio, > + GPIOF_OUT_INIT_LOW, "PCIe > CLKREQ"); > + if (ret) { > + dev_err(&pdev->dev, "unable to get clkreq gpio\n"); > + return ret; > + } > + } else if (imx6_pcie->clkreq_gpio == -EPROBE_DEFER) { > + return imx6_pcie->clkreq_gpio; > + } > + > imx6_pcie->reset_gpio = of_get_named_gpio(node, "reset-gpio", 0); > imx6_pcie->gpio_active_high = of_property_read_bool(node, > "reset-gpio-active-high"); > @@ -1155,6 +1508,25 @@ static int imx6_pcie_probe(struct platform_device > *pdev) > return PTR_ERR(imx6_pcie->pcie_aux); > } > break; > + case IMX8QM: > + case IMX8QXP: > + if (dbi_base->start == IMX8_HSIO_PCIEB_BASE_ADDR) > + imx6_pcie->controller_id = 1; > + > + imx6_pcie->pcie_per = devm_clk_get(dev, "pcie_per"); > + if (IS_ERR(imx6_pcie->pcie_per)) { > + dev_err(dev, "pcie_per clock source missing or > invalid\n"); > + return PTR_ERR(imx6_pcie->pcie_per); > + } > + > + imx6_pcie->pcie_inbound_axi = devm_clk_get(&pdev->dev, > + "pcie_inbound_axi"); > + if (IS_ERR(imx6_pcie->pcie_inbound_axi)) { > + dev_err(&pdev->dev, > + "pcie clock source missing or invalid\n"); > + return PTR_ERR(imx6_pcie->pcie_inbound_axi); > + } On i.MX8MQ "pcie_bus" clock in vendor tree wasn't actually pointing to actual PCIE bus clock, so it might be worth checking if that's the case for i.MX8QM/X and you actually need one more clock. Thanks, Andrey Smirnov

Re: [RFC 2/2] PCI: imx6: Add support for i.MX8QM/QXP PCIe

2019-03-14 Thread Andrey Smirnov
On Thu, Mar 14, 2019 at 2:18 AM Richard Zhu wrote: > > Hi Andrey: > Thanks a lot for your review comments. > > Best Regards > Richard Zhu > Office: 86-21-28937189 > Mobile: 86-13386059786 > > > > -Original Message- > > From: Andrey Smirnov [mailto

Re: [RFC 1/2] dt-bindings: imx6q-pcie: Add support for i.MX8QM/QXP PCIe

2019-03-14 Thread Andrey Smirnov
to add support for external vs internal reference bus clock (that "ext_osc" binding above) is going to be a whole other discussion. It might be easier/more expedient to focus on just one particular use-case first (say external oscillator only), get it all done and accepted and then return to this particular feature in a separate series/discussion. However, that's just how I'd approach this, so, please don't feel compelled to do it that way just because I suggested it. Thanks, Andrey Smirnov

[PATCH] xhci: Convert xhci_handshake() to use readl_poll_timeout()

2019-02-06 Thread Andrey Smirnov
Xhci_handshake() implements the algorithm already captured by readl_poll_timeout(). Convert the former to use the latter to avoid repetition. Signed-off-by: Andrey Smirnov Cc: Mathias Nyman Cc: Greg Kroah-Hartman Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/usb

[PATCH] xhci: Use ffs() to find page size in xhci_mem_init()

2019-02-06 Thread Andrey Smirnov
Get page size order using ffs() instead of open coding it with a loop. Signed-off-by: Andrey Smirnov Cc: Mathias Nyman Cc: Greg Kroah-Hartman Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/usb/host/xhci-mem.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions

[PATCH] xhci: Drop superfluous initialization in xhci_queue_ctrl_tx()

2019-02-06 Thread Andrey Smirnov
Simplify filed's initialization by directly assigning its final value instead of initializing the variable to sero and then bitwise or-ing it. Signed-off-by: Andrey Smirnov Cc: Mathias Nyman Cc: Greg Kroah-Hartman Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- driver

[PATCH] nvme-core: Share code between nvme_wait_ready() and nvme_shutdown_ctrl()

2019-02-06 Thread Andrey Smirnov
Code polling NVME_CSTS_SHST_CMPLT in nvme_shutdown_ctrl() is very similar to polling loop in nvme_wait_ready(). Move shared polling loop code into __nvme_wait_ready() and re-implement both nvme_shutdown_ctrl() and nvme_wait_ready() on top of it to avoid code repetition. Signed-off-by: Andrey

[PATCH 2/2] gpio: of: Check for "spi-cs-high" in child instead of parent node

2019-03-25 Thread Andrey Smirnov
"spi-cs-high" is going to be specified in child node of an SPI controller's representing attached SPI device, so change the code to look for it there, instead of checking parent node. Signed-off-by: Andrey Smirnov Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: Chris Hea

Re: [PATCH] ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock for SDMA

2019-03-26 Thread Andrey Smirnov
On Mon, Mar 25, 2019 at 3:49 AM Fabio Estevam wrote: > > Hi Andrey, > > On Mon, Mar 25, 2019 at 2:01 AM Andrey Smirnov > wrote: > > > diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi > > index 9f9aa6e7ed0e..354feba077b2 100644 > >

[PATCH v2 2/3] ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA

2019-03-26 Thread Andrey Smirnov
t ratio is 1:1 which results in broken SDMA functionality. Fix the code to specify IMX6SX_CLK_IPG as "ipg" clock for SDMA, to avoid detecting incorrect clock ratio. Fixes: 25aaa75df1e6 ("dmaengine: imx-sdma: add clock ratio 1:1 check") Signed-off-by: Andrey Smirnov Cc: Angus Ains

[PATCH v2 3/3] ARM: dts: imx7d: Specify IMX7D_CLK_IPG as "ipg" clock to SDMA

2019-03-26 Thread Andrey Smirnov
t ratio is 1:1 which results in broken SDMA functionality. Fix the code to specify IMX7D_CLK_IPG as "ipg" clock for SDMA, to avoid detecting incorrect clock ratio. Fixes: 25aaa75df1e6 ("dmaengine: imx-sdma: add clock ratio 1:1 check") Signed-off-by: Andrey Smirnov Cc: Angus Ains

[PATCH v2 1/3] ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock to SDMA

2019-03-26 Thread Andrey Smirnov
t ratio is 1:1 which results in broken SDMA functionality(this at least breaks RAVE SP serdev driver on RDU2). Fix the code to specify IMX6QDL_CLK_IPG as "ipg" clock for SDMA, to avoid detecting incorrect clock ratio. Fixes: 25aaa75df1e6 ("dmaengine: imx-sdma: add clock ratio 1:1 ch

[PATCH 1/2] ARM: dts: imx7d: Specify viewport count for PCIE block

2019-03-26 Thread Andrey Smirnov
i.MX7D comes with 4 viewports, so configure PCIE node accordingly so that the driver won't assume we only have 2. Signed-off-by: Andrey Smirnov Cc: Richard Zhu Cc: Chris Healy Cc: Lucas Stach Cc: Fabio Estevam Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kerne

[PATCH 2/2] ARM: dts: imx6qdl: Specify viewport count for PCIE block

2019-03-26 Thread Andrey Smirnov
i.MX6 comes with 4 viewports, so configure PCIE node accordingly so that the driver won't assume we only have 2. Signed-off-by: Andrey Smirnov Cc: Richard Zhu Cc: Chris Healy Cc: Lucas Stach Cc: Fabio Estevam Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 2/2] ARM: dts: Add support for ZII i.MX7 RPU2 board

2019-03-26 Thread Andrey Smirnov
Add support for ZII's i.MX7 based Remote Peripheral Unit 2 (RPU2) board. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Chris Healy Cc: Andrew Lunn Cc: Fabio Estevam Cc: Rob Herring Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org --- arch/arm/boot/dts/Mak

[PATCH 1/2] dt-bindings: arm: fsl: Add support for ZII i.MX7 RPU2 board

2019-03-26 Thread Andrey Smirnov
Add support for ZII i.MX7 RPU2 board. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Chris Healy Cc: Andrew Lunn Cc: Fabio Estevam Cc: Rob Herring Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1

[PATCH 00/12] SPI GPIO improvements

2019-04-02 Thread Andrey Smirnov
Everyone: This series contains a fix ("spi: Don't call spi_get_gpio_descs() before device name is set) and improvements for SPI GPIO and driver I made while looking at that code recently. Hopefully each patch is self-explanatory. Feedback is welcome! Thanks, Andrey Smirnov Andrey S

[PATCH 02/12] spi: gpio: Add local struct device pointer in spi_gpio_probe()

2019-04-02 Thread Andrey Smirnov
Use a local "struct device *dev" in spi_gpio_probe() for brevity. No functional change intended. Signed-off-by: Andrey Smirnov Cc: Mark Brown Cc: Chris Healy Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/spi/spi-gpio.c | 11 ++- 1 file

<    1   2   3   4   5   6   7   8   9   10   >