timer_create affinity

2017-05-25 Thread Nicolae Rosia
, Nicolae Rosia

timer_create affinity

2017-05-25 Thread Nicolae Rosia
, Nicolae Rosia

Re: [PATCH v2] mfd: twl-core: make driver DT only

2016-11-26 Thread Nicolae Rosia
Hi, Please ignore this patch, I've sent it in a patch series here [0] Thanks, Nicolae [0] https://www.spinics.net/lists/kernel/msg2392364.html

Re: [PATCH v2] mfd: twl-core: make driver DT only

2016-11-26 Thread Nicolae Rosia
Hi, Please ignore this patch, I've sent it in a patch series here [0] Thanks, Nicolae [0] https://www.spinics.net/lists/kernel/msg2392364.html

[PATCH 1/5] mfd: twl-core: make driver DT only

2016-11-26 Thread Nicolae Rosia
All users are DT-only and it makes no sense to keep unused code Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/mfd/Kconfig| 1 + drivers/mfd/twl-core.c | 399 + 2 files changed, 8 insertions(+), 392 deletions(-)

[PATCH 1/5] mfd: twl-core: make driver DT only

2016-11-26 Thread Nicolae Rosia
All users are DT-only and it makes no sense to keep unused code Signed-off-by: Nicolae Rosia --- drivers/mfd/Kconfig| 1 + drivers/mfd/twl-core.c | 399 + 2 files changed, 8 insertions(+), 392 deletions(-) diff --git a/drivers/mfd/Kconfig b

[PATCH 4/5] regulator: Add support for TI TWL6032

2016-11-26 Thread Nicolae Rosia
The TWL6032 PMIC is similar to TWL6030, has different output names, and regulator control logic. It is used on Barnes & Noble Nook HD and HD+. Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- .../bindings/regulator/twl6032-regulator.txt | 109 drivers/regulat

[PATCH 5/5] mfd: twl: use mfd_add_devices for TWL6032 regulator

2016-11-26 Thread Nicolae Rosia
TWL6032 regulator driver uses the drvdata twl_priv pointer. In order to avoid accessing an invalid drvdata when the driver gets unbinded, make sure we remove the child devices before deleting the drvdata. Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/mfd/twl-core.

[PATCH 2/5] mfd: twl: remove useless header

2016-11-26 Thread Nicolae Rosia
This header has one user, twl-core.c . Remove it before it gets more users. Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/mfd/twl-core.c| 8 ++-- drivers/mfd/twl-core.h| 10 -- drivers/mfd/twl4030-irq.c | 2 -- drivers/mfd/twl6030-irq.c | 2

[PATCH 5/5] mfd: twl: use mfd_add_devices for TWL6032 regulator

2016-11-26 Thread Nicolae Rosia
TWL6032 regulator driver uses the drvdata twl_priv pointer. In order to avoid accessing an invalid drvdata when the driver gets unbinded, make sure we remove the child devices before deleting the drvdata. Signed-off-by: Nicolae Rosia --- drivers/mfd/twl-core.c | 22 ++ 1

[PATCH 2/5] mfd: twl: remove useless header

2016-11-26 Thread Nicolae Rosia
This header has one user, twl-core.c . Remove it before it gets more users. Signed-off-by: Nicolae Rosia --- drivers/mfd/twl-core.c| 8 ++-- drivers/mfd/twl-core.h| 10 -- drivers/mfd/twl4030-irq.c | 2 -- drivers/mfd/twl6030-irq.c | 2 -- 4 files changed, 6 insertions

[PATCH 4/5] regulator: Add support for TI TWL6032

2016-11-26 Thread Nicolae Rosia
The TWL6032 PMIC is similar to TWL6030, has different output names, and regulator control logic. It is used on Barnes & Noble Nook HD and HD+. Signed-off-by: Nicolae Rosia --- .../bindings/regulator/twl6032-regulator.txt | 109 drivers/regulator/Kconfig |

[PATCH 3/5] mfd: twl: move structure definitions to a public header

2016-11-26 Thread Nicolae Rosia
We want to get rid of exported symbols and have the child devices use structure members directly. Move the structure definitions to header and set drvdata so child devices can access it. Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/mfd/twl-core.c

[PATCH 0/5] mfd: twl: improvements and new regulator driver

2016-11-26 Thread Nicolae Rosia
Nicolae Rosia (5): mfd: twl-core: make driver DT only mfd: twl: remove useless header mfd: twl: move structure definitions to a public header regulator: Add support for TI TWL6032 mfd: twl: use mfd_add_devices for TWL6032 regulator .../bindings/regulator/twl6032-regulator.txt

[PATCH 3/5] mfd: twl: move structure definitions to a public header

2016-11-26 Thread Nicolae Rosia
We want to get rid of exported symbols and have the child devices use structure members directly. Move the structure definitions to header and set drvdata so child devices can access it. Signed-off-by: Nicolae Rosia --- drivers/mfd/twl-core.c | 27 --- include

[PATCH 0/5] mfd: twl: improvements and new regulator driver

2016-11-26 Thread Nicolae Rosia
Nicolae Rosia (5): mfd: twl-core: make driver DT only mfd: twl: remove useless header mfd: twl: move structure definitions to a public header regulator: Add support for TI TWL6032 mfd: twl: use mfd_add_devices for TWL6032 regulator .../bindings/regulator/twl6032-regulator.txt

Re: [PATCH] regulator: twl6030: add dependency on OF

2016-11-25 Thread Nicolae Rosia
Hi, On Fri, Nov 25, 2016 at 3:03 PM, Mark Brown <broo...@kernel.org> wrote: > On Fri, Nov 25, 2016 at 09:43:35AM +0200, Nicolae Rosia wrote: > >> This driver was converted to device tree only, >> add dependency on OF symbol and drop of_match_ptr > > These are

Re: [PATCH] regulator: twl6030: add dependency on OF

2016-11-25 Thread Nicolae Rosia
Hi, On Fri, Nov 25, 2016 at 3:03 PM, Mark Brown wrote: > On Fri, Nov 25, 2016 at 09:43:35AM +0200, Nicolae Rosia wrote: > >> This driver was converted to device tree only, >> add dependency on OF symbol and drop of_match_ptr > > These are two different changes :( >

[PATCH] regulator: twl: drop of_match_ptr

2016-11-24 Thread Nicolae Rosia
We can safely drop of_match_ptr since the driver depends on CONFIG_OF symbol Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- Depends on "regulator: twl6030: add dependency on OF". After sending that one I realised that twl-regulator can also have that change. You can

[PATCH] regulator: twl: drop of_match_ptr

2016-11-24 Thread Nicolae Rosia
We can safely drop of_match_ptr since the driver depends on CONFIG_OF symbol Signed-off-by: Nicolae Rosia --- Depends on "regulator: twl6030: add dependency on OF". After sending that one I realised that twl-regulator can also have that change. You can squash these two if you like.

[PATCH] regulator: twl6030: add dependency on OF

2016-11-24 Thread Nicolae Rosia
This driver was converted to device tree only, add dependency on OF symbol and drop of_match_ptr Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/regulator/Kconfig | 1 + drivers/regulator/twl6030-regulator.c | 2 +- 2 files changed, 2 insertions(+), 1 de

[PATCH] regulator: twl6030: add dependency on OF

2016-11-24 Thread Nicolae Rosia
This driver was converted to device tree only, add dependency on OF symbol and drop of_match_ptr Signed-off-by: Nicolae Rosia --- drivers/regulator/Kconfig | 1 + drivers/regulator/twl6030-regulator.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

Re: [PATCH v2] mfd: twl-core: make driver DT only

2016-11-22 Thread Nicolae Rosia
Hi, On Tue, Nov 22, 2016 at 12:45 PM, Baruch Siach wrote: > Hi Nicolae, > > > Can struct twl4030_platform_data declaration be removed now from > include/linux/i2c/twl.h? > > baruch > Yes, I have the patches ready and plan on doing that in the next cycle. I have been sending

Re: [PATCH v2] mfd: twl-core: make driver DT only

2016-11-22 Thread Nicolae Rosia
Hi, On Tue, Nov 22, 2016 at 12:45 PM, Baruch Siach wrote: > Hi Nicolae, > > > Can struct twl4030_platform_data declaration be removed now from > include/linux/i2c/twl.h? > > baruch > Yes, I have the patches ready and plan on doing that in the next cycle. I have been sending multiple patches to

[PATCH v2] mfd: twl-core: make driver DT only

2016-11-22 Thread Nicolae Rosia
All users are DT-only and it makes no sense to keep unused code which also prevents further cleanups. Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- Changes in v2: Increased audience in CC list drivers/mfd/Kconfig| 1 + drivers/mfd/twl-core.c

[PATCH v2] mfd: twl-core: make driver DT only

2016-11-22 Thread Nicolae Rosia
All users are DT-only and it makes no sense to keep unused code which also prevents further cleanups. Signed-off-by: Nicolae Rosia --- Changes in v2: Increased audience in CC list drivers/mfd/Kconfig| 1 + drivers/mfd/twl-core.c | 395 ++--- 2

Re: [PATCH] phy: twl4030-usb: make driver DT only

2016-11-15 Thread Nicolae Rosia
Hi, On Tue, Nov 15, 2016 at 3:20 PM, Kishon Vijay Abraham I wrote: > Are you sure about this? I still see a bunch of board files in mach-omap2 > using > twl4030. > > Thanks > Kishon You are right, on v4.9 it is still used in arch/arm/mach-omap2/twl-common.c. I forgot to mention

Re: [PATCH] phy: twl4030-usb: make driver DT only

2016-11-15 Thread Nicolae Rosia
Hi, On Tue, Nov 15, 2016 at 3:20 PM, Kishon Vijay Abraham I wrote: > Are you sure about this? I still see a bunch of board files in mach-omap2 > using > twl4030. > > Thanks > Kishon You are right, on v4.9 it is still used in arch/arm/mach-omap2/twl-common.c. I forgot to mention that I'm

[PATCH 3/4] regulator: twl-regulator: rework fixed regulator definition

2016-11-12 Thread Nicolae Rosia
TWL603X and TWL4030 are different and have different code logic. Rework the regulator definition method so we can split the file easily in twl4030 and twl6030. Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/regulator/twl-regulator.

[PATCH 3/4] regulator: twl-regulator: rework fixed regulator definition

2016-11-12 Thread Nicolae Rosia
TWL603X and TWL4030 are different and have different code logic. Rework the regulator definition method so we can split the file easily in twl4030 and twl6030. Signed-off-by: Nicolae Rosia --- drivers/regulator/twl-regulator.c | 38 -- 1 file changed, 24

[PATCH 0/4] regulator: twl: preparation for TWL6032 support

2016-11-12 Thread Nicolae Rosia
/lists/arm-kernel/msg539812.html [1] https://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=for-next Nicolae Rosia (4): regulator: twl: make driver DT only regulator: twl: kill unused functions regulator: twl-regulator: rework fixed regulator definition regulator: twl: split

[PATCH 4/4] regulator: twl: split twl6030 logic into its own file

2016-11-12 Thread Nicolae Rosia
In order to not break existing users, we keep using the same CONFIG symbol. This makes it easier to add support for TWL6032 and refactor mfd/twl-core. Checkpatch warnings are inherited from twl-regulator.c and will be addressed in a subsequent patch. Signed-off-by: Nicolae Rosia <nicolae

[PATCH 0/4] regulator: twl: preparation for TWL6032 support

2016-11-12 Thread Nicolae Rosia
/lists/arm-kernel/msg539812.html [1] https://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=for-next Nicolae Rosia (4): regulator: twl: make driver DT only regulator: twl: kill unused functions regulator: twl-regulator: rework fixed regulator definition regulator: twl: split

[PATCH 4/4] regulator: twl: split twl6030 logic into its own file

2016-11-12 Thread Nicolae Rosia
In order to not break existing users, we keep using the same CONFIG symbol. This makes it easier to add support for TWL6032 and refactor mfd/twl-core. Checkpatch warnings are inherited from twl-regulator.c and will be addressed in a subsequent patch. Signed-off-by: Nicolae Rosia --- MAINTAINERS

[PATCH 2/4] regulator: twl: kill unused functions

2016-11-12 Thread Nicolae Rosia
This code was used by OMAP platform based boards which are now DT only. Proper support for SMPS is missing in this driver. Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/regulator/twl-regulator.c | 29 ++--- 1 file changed, 2 insertions(

[PATCH 1/4] regulator: twl: make driver DT only

2016-11-12 Thread Nicolae Rosia
All users are DT only, remove unused code. Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/regulator/twl-regulator.c | 37 ++--- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/drivers/regulator/twl-regulator.c b/d

[PATCH 2/4] regulator: twl: kill unused functions

2016-11-12 Thread Nicolae Rosia
This code was used by OMAP platform based boards which are now DT only. Proper support for SMPS is missing in this driver. Signed-off-by: Nicolae Rosia --- drivers/regulator/twl-regulator.c | 29 ++--- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git

[PATCH 1/4] regulator: twl: make driver DT only

2016-11-12 Thread Nicolae Rosia
All users are DT only, remove unused code. Signed-off-by: Nicolae Rosia --- drivers/regulator/twl-regulator.c | 37 ++--- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c index

[PATCH] phy: twl4030-usb: make driver DT only

2016-11-12 Thread Nicolae Rosia
All users are DT-only and it makes no sense to keep unused code Signed-off-by: Nicolae Rosia <nicolae_ro...@mentor.com> --- drivers/phy/Kconfig | 1 + drivers/phy/phy-twl4030-usb.c | 22 +++--- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/drive

[PATCH] phy: twl4030-usb: make driver DT only

2016-11-12 Thread Nicolae Rosia
All users are DT-only and it makes no sense to keep unused code Signed-off-by: Nicolae Rosia --- drivers/phy/Kconfig | 1 + drivers/phy/phy-twl4030-usb.c | 22 +++--- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/drivers/phy/Kconfig b/drivers/phy

Re: [PATCH v2 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-07-18 Thread Nicolae Rosia
Hi, On Thu, Jul 16, 2015 at 6:13 PM, Sanchayan Maity wrote: > The Colibri Vybrid VF50 module supports 4-wire touchscreens using > FETs and ADC inputs. This driver uses the IIO consumer interface > and relies on the vf610_adc driver based on the IIO framework. > > Signed-off-by: Sanch > +static

Re: [PATCH v2 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-07-18 Thread Nicolae Rosia
Hi, On Thu, Jul 16, 2015 at 6:13 PM, Sanchayan Maity maitysancha...@gmail.com wrote: The Colibri Vybrid VF50 module supports 4-wire touchscreens using FETs and ADC inputs. This driver uses the IIO consumer interface and relies on the vf610_adc driver based on the IIO framework.

Re: [PATCH v7] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-06-28 Thread Nicolae Rosia
HI, On Sun, Jun 28, 2015 at 5:45 PM, Vinod Koul wrote: [...] >> > I asked how the device address in configured. For both MM2S S2MM you are >> > using sg for memory address, where are you getting device adress, are you >> > assuming/hardcoding or getting somehow, if so how? >> As the name says,

Re: [PATCH v7] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-06-28 Thread Nicolae Rosia
HI, On Sun, Jun 28, 2015 at 5:45 PM, Vinod Koul vinod.k...@intel.com wrote: [...] I asked how the device address in configured. For both MM2S S2MM you are using sg for memory address, where are you getting device adress, are you assuming/hardcoding or getting somehow, if so how? As the name

Re: [PATCH v7] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-06-27 Thread Nicolae Rosia
On Sat, Jun 27, 2015 at 5:40 PM, Vinod Koul wrote: [...] >> Please let me know if you are not clear. > No sorry am not... > > I asked how the device address in configured. For both MM2S S2MM you are > using sg for memory address, where are you getting device adress, are you > assuming/hardcoding

Re: [PATCH v7] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-06-27 Thread Nicolae Rosia
On Sat, Jun 27, 2015 at 5:40 PM, Vinod Koul vinod.k...@intel.com wrote: [...] Please let me know if you are not clear. No sorry am not... I asked how the device address in configured. For both MM2S S2MM you are using sg for memory address, where are you getting device adress, are you

Re: [PATCH v7] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-06-16 Thread Nicolae Rosia
Hi, How do I match the driver? The old one, from Xilinx git, was setting the private field so I could use a filter function. On Tue, Jun 9, 2015 at 9:35 AM, Kedareswara rao Appana wrote: > This is the driver for the AXI Direct Memory Access (AXI DMA) > core, which is a soft Xilinx IP core that

Re: [PATCH v7] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-06-16 Thread Nicolae Rosia
Hi, How do I match the driver? The old one, from Xilinx git, was setting the private field so I could use a filter function. On Tue, Jun 9, 2015 at 9:35 AM, Kedareswara rao Appana appana.durga@xilinx.com wrote: This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-07 Thread Nicolae Rosia
ug report and fix! Best regards, Nicolae Rosia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-07 Thread Nicolae Rosia
and fix! Best regards, Nicolae Rosia -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
e to test tomorrow. [1] http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/firmware/imx/sdma?h=imx_3.14.28_1.0.0_ga Best regards, Nicolae Rosia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
upstream FSL SDMA firmware. > so seems currently disable SDMA support for uart is our only option > at the moment. > Have you submited a patch for this issue? How do I disable SDMA? Best regards, Nicolae Rosia -- To unsubscribe from this list: send the line "unsubscribe li

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
FSL SDMA firmware. so seems currently disable SDMA support for uart is our only option at the moment. Have you submited a patch for this issue? How do I disable SDMA? Best regards, Nicolae Rosia -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
tomorrow. [1] http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/firmware/imx/sdma?h=imx_3.14.28_1.0.0_ga Best regards, Nicolae Rosia -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v5] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-03-02 Thread Nicolae Rosia
. This works with very well with scatter gatter. You can cache the Control register to avoid reading it. More comments are inline. I have a version in which I've addressed all of the issues I've presented if you are interested. Best regards, Nicolae Rosia On Mon, Mar 2, 2015 at 7:55 PM, Kedareswara

Re: [PATCH v5] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-03-02 Thread Nicolae Rosia
. This works with very well with scatter gatter. You can cache the Control register to avoid reading it. More comments are inline. I have a version in which I've addressed all of the issues I've presented if you are interested. Best regards, Nicolae Rosia On Mon, Mar 2, 2015 at 7:55 PM, Kedareswara

[PATCH] net: phy: fix phy device autoneg wrong value

2015-01-22 Thread Nicolae Rosia
, but it is never called if autonegotiation is enabled, which is always the case. Signed-off-by: Nicolae Rosia --- drivers/net/phy/phy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 767cd11..9c35136 100644 --- a/drivers

[PATCH] net: phy: fix phy device autoneg wrong value

2015-01-22 Thread Nicolae Rosia
, but it is never called if autonegotiation is enabled, which is always the case. Signed-off-by: Nicolae Rosia nicolae.ro...@certsign.ro --- drivers/net/phy/phy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 767cd11

Re: [PATCH v4 0/6] Touchscreen performance related fixes

2014-12-11 Thread Nicolae Rosia
/touchscreen/ti_am335x_tsc.c Regards, Nicolae Rosia On Mon, Dec 1, 2014 at 12:29 PM, Vignesh R wrote: > > Hi, > > On Monday 01 December 2014 03:29 PM, Sebastian Andrzej Siewior wrote: >> On 12/01/2014 10:53 AM, Vignesh R wrote: >>> Hi Sebastian, >> >&g

Re: [PATCH v4 0/6] Touchscreen performance related fixes

2014-12-11 Thread Nicolae Rosia
/touchscreen/ti_am335x_tsc.c Regards, Nicolae Rosia On Mon, Dec 1, 2014 at 12:29 PM, Vignesh R vigne...@ti.com wrote: Hi, On Monday 01 December 2014 03:29 PM, Sebastian Andrzej Siewior wrote: On 12/01/2014 10:53 AM, Vignesh R wrote: Hi Sebastian, Hi Vignesh, I fixed the issue that was triggering