Re: [PATCH v6 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-01-29 Thread Markus Pargmann
Hi, On Fri, Jan 30, 2015 at 07:43:24AM +0100, Lothar Waßmann wrote: > Hi, > > Markus Pargmann wrote: > > This is the core driver for imx25 touchscreen/adc driver. The module > > has one shared ADC and two different conversion queues which use the > > ADC. The two que

[PATCH v6 2/8] ARM: dt: Binding documentation for imx25 GCQ

2015-01-29 Thread Markus Pargmann
The documentation describes the bindings for the imx25 GCQ unit which is essentially a generic conversion queue using the imx25 ADC. Signed-off-by: Markus Pargmann --- Notes: Changes in v6: - Moved the raw_read code out to a different function to cleanup the code - Changed

[PATCH v6 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-01-29 Thread Markus Pargmann
This documentation describes the devicetree bindings for the ADC/Touchscreen unit of the i.MX25 SoC. Signed-off-by: Markus Pargmann --- Notes: Changes in v6: - Removed adc-ref property and replaced it with refp and refn for positive and negative references. The properties are

[PATCH v6 6/8] input: touchscreen: imx25 tcq driver

2015-01-29 Thread Markus Pargmann
, precharge and another touch detection. This driver uses the regmap from the parent to setup some touch specific settings in the core driver and setup a idle configuration with touch detection. Signed-off-by: Markus Pargmann Signed-off-by: Denis Carikli Acked-by: Dmitry Torokhov Signed-off-by: Markus

[PATCH v6 5/8] iio: adc: fsl,imx25-gcq driver

2015-01-29 Thread Markus Pargmann
for the chosen channel. It then executes the queue once and disables the conversion queue afterwards. The reference voltages are configurable through devicetree subnodes, depending on the connections of the ADC inputs. Signed-off-by: Markus Pargmann Signed-off-by: Denis Carikli Signed-off-by

[PATCH v6 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-01-29 Thread Markus Pargmann
This is the touchscreen conversion queue binding documentation. It uses the shared imx25 ADC. Signed-off-by: Markus Pargmann --- Notes: Changes in v5: - Fix signed/unsigned comparison - Fix unused variable settling_time by putting it in the correct argument list - Use

[PATCH v6 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-01-29 Thread Markus Pargmann
the central components and registers of the TSC/ADC unit. It manages the IRQs and forwards them to the correct components. Signed-off-by: Markus Pargmann Signed-off-by: Denis Carikli Acked-by: Jonathan Cameron --- Notes: Changes in v5: - Remove ifdef CONFIG_OF as this driver is only

[PATCH v6 8/8] ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support.

2015-01-29 Thread Markus Pargmann
From: Denis Carikli Signed-off-by: Denis Carikli Signed-off-by: Markus Pargmann --- arch/arm/configs/imx_v4_v5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig index e6b0007355f8..e1bda0136f6c 100644

[PATCH v6 0/8] imx25 adc and touchscreen driver

2015-01-29 Thread Markus Pargmann
support. Markus Pargmann (6): ARM: dt: Binding documentation for imx25 ADC/TSC ARM: dt: Binding documentation for imx25 GCQ ARM: dt: Binding documentation for imx25 touchscreen controller mfd: fsl imx25 Touchscreen ADC driver iio: adc: fsl,imx25-gcq driver input: touchscreen: imx25

[PATCH v6 7/8] ARM: dts: imx25: Add TSC and ADC support

2015-01-29 Thread Markus Pargmann
From: Denis Carikli Signed-off-by: Denis Carikli Signed-off-by: Markus Pargmann --- arch/arm/boot/dts/imx25.dtsi | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index e4d3aecc4ed2

Re: [PATCH v5 3/6] iio: adc: fsl,imx25-gcq driver

2015-01-29 Thread Markus Pargmann
On Tue, Jan 27, 2015 at 08:30:56PM +, Jonathan Cameron wrote: > On 24/01/15 14:01, Markus Pargmann wrote: > > This is a conversion queue driver for the mx25 SoC. It uses the central > > ADC which is used by two seperate independent queues. This driver > > prepares

[PATCH v5 0/6] imx25 adc and touchscreen driver

2015-01-24 Thread Markus Pargmann
breaked lines Denis Carikli (2): ARM: dts: imx25: Add TSC and ADC support ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support. Markus Pargmann (4): mfd: fsl imx25 Touchscreen ADC driver ARM: dt: Binding documentation for imx25 ADC/TSC iio: adc: fsl,imx25-gcq

[PATCH v5 4/6] input: touchscreen: imx25 tcq driver

2015-01-24 Thread Markus Pargmann
, precharge and another touch detection. This driver uses the regmap from the parent to setup some touch specific settings in the core driver and setup a idle configuration with touch detection. Signed-off-by: Markus Pargmann Signed-off-by: Denis Carikli Acked-by: Dmitry Torokhov --- Notes: Changes

[PATCH v5 1/6] mfd: fsl imx25 Touchscreen ADC driver

2015-01-24 Thread Markus Pargmann
the central components and registers of the TSC/ADC unit. It manages the IRQs and forwards them to the correct components. Signed-off-by: Markus Pargmann Signed-off-by: Denis Carikli Acked-by: Jonathan Cameron --- Notes: Changes in v5: - Remove ifdef CONFIG_OF as this driver is only

[PATCH v5 5/6] ARM: dts: imx25: Add TSC and ADC support

2015-01-24 Thread Markus Pargmann
From: Denis Carikli Signed-off-by: Denis Carikli Signed-off-by: Markus Pargmann --- arch/arm/boot/dts/imx25.dtsi | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 58d3c3cf2923

[PATCH v5 3/6] iio: adc: fsl,imx25-gcq driver

2015-01-24 Thread Markus Pargmann
for the chosen channel. It then executes the queue once and disables the conversion queue afterwards. The reference voltages are configurable through devicetree subnodes, depending on the connections of the ADC inputs. Signed-off-by: Markus Pargmann Signed-off-by: Denis Carikli --- Notes

[PATCH v5 2/6] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-01-24 Thread Markus Pargmann
This documentation describes the devicetree bindings for the ADC/Touchscreen unit of the i.MX25 SoC. Signed-off-by: Markus Pargmann --- .../devicetree/bindings/mfd/fsl-imx25-tsadc.txt| 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v5 6/6] ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support.

2015-01-24 Thread Markus Pargmann
From: Denis Carikli Signed-off-by: Denis Carikli Signed-off-by: Markus Pargmann --- arch/arm/configs/imx_v4_v5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig index e6b0007355f8..e1bda0136f6c 100644

[PATCH RESEND v6 7/7] arm: dts: am33xx, Add syscon phandle to cpsw node

2014-09-28 Thread Markus Pargmann
There are 2 MACIDs stored in the control module of the am33xx. These are read by the cpsw driver if no valid MACID was found in the devicetree. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Acked-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 1 + 1 file changed, 1 insertion

[PATCH RESEND v6 6/7] am33xx: define syscon control module device node

2014-09-28 Thread Markus Pargmann
Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Acked-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 3a0a161342ba..25e38b6ac376 100644 --- a/arch/arm/boot

[PATCH RESEND v6 5/7] net: cpsw: Add am33xx MACID readout

2014-09-28 Thread Markus Pargmann
This patch adds a function to get the MACIDs from the am33xx SoC control module registers which hold unique vendor MACIDs. This is only used if of_get_mac_address() fails to get a valid mac address. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Tested-by: Steven Rostedt Acked-by

[PATCH RESEND v6 0/7] net: cpsw: Support for am335x chip MACIDs

2014-09-28 Thread Markus Pargmann
, Markus Markus Pargmann (7): DT doc: net: cpsw mac-address is optional net: cpsw: Add missing return value net: cpsw: header, Add missing include net: cpsw: Replace pr_err by dev_err net: cpsw: Add am33xx MACID readout am33xx: define syscon control module device node arm: dts: am33xx

[PATCH RESEND v6 3/7] net: cpsw: header, Add missing include

2014-09-28 Thread Markus Pargmann
"MII_BUS_ID_SIZE" is defined in linux/phy.h which is not included in the cpsw.h file. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet

[PATCH RESEND v6 2/7] net: cpsw: Add missing return value

2014-09-28 Thread Markus Pargmann
ret is set 0 at this point, so jumping to that error label would result in a return value of 0. Set ret to -ENOMEM to return a proper error value. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH RESEND v6 1/7] DT doc: net: cpsw mac-address is optional

2014-09-28 Thread Markus Pargmann
mac-address is an optional property. If no mac-address is set, a random mac-address will be generated. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- Documentation/devicetree/bindings/net/cpsw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation

[PATCH RESEND v6 4/7] net: cpsw: Replace pr_err by dev_err

2014-09-28 Thread Markus Pargmann
Use dev_err instead of pr_err. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index f09b4639ad31..0bc2c2a2c236 100644

[PATCH RESEND v6 0/7] DT doc: net: cpsw mac-address is optional

2014-09-28 Thread Markus Pargmann
the devicetree, for example set by a bootloader. Best regards, Markus Markus Pargmann (7): DT doc: net: cpsw mac-address is optional net: cpsw: Add missing return value net: cpsw: header, Add missing include net: cpsw: Replace pr_err by dev_err net: cpsw: Add am33xx MACID readout

[PATCH RESEND v6 1/7] DT doc: net: cpsw mac-address is optional

2014-09-28 Thread Markus Pargmann
mac-address is an optional property. If no mac-address is set, a random mac-address will be generated. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- Documentation/devicetree/bindings/net/cpsw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation

[PATCH RESEND v6 5/7] net: cpsw: Add am33xx MACID readout

2014-09-28 Thread Markus Pargmann
This patch adds a function to get the MACIDs from the am33xx SoC control module registers which hold unique vendor MACIDs. This is only used if of_get_mac_address() fails to get a valid mac address. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Tested-by: Steven Rostedt Acked-by

[PATCH RESEND v6 3/7] net: cpsw: header, Add missing include

2014-09-28 Thread Markus Pargmann
"MII_BUS_ID_SIZE" is defined in linux/phy.h which is not included in the cpsw.h file. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet

[PATCH RESEND v6 6/7] am33xx: define syscon control module device node

2014-09-28 Thread Markus Pargmann
Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Acked-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 3a0a161342ba..25e38b6ac376 100644 --- a/arch/arm/boot

[PATCH RESEND v6 2/7] net: cpsw: Add missing return value

2014-09-28 Thread Markus Pargmann
ret is set 0 at this point, so jumping to that error label would result in a return value of 0. Set ret to -ENOMEM to return a proper error value. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH RESEND v6 4/7] net: cpsw: Replace pr_err by dev_err

2014-09-28 Thread Markus Pargmann
Use dev_err instead of pr_err. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index f09b4639ad31..0bc2c2a2c236 100644

[PATCH RESEND v6 7/7] arm: dts: am33xx, Add syscon phandle to cpsw node

2014-09-28 Thread Markus Pargmann
There are 2 MACIDs stored in the control module of the am33xx. These are read by the cpsw driver if no valid MACID was found in the devicetree. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Acked-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 1 + 1 file changed, 1 insertion

Re: [alsa-devel] [PATCH 2/5] ASoC: fsl: add imx-tlv320aic3x machine driver

2014-09-10 Thread Markus Pargmann
On Wed, Sep 10, 2014 at 11:14:15AM -0700, Nicolin Chen wrote: > On Wed, Sep 10, 2014 at 7:27 AM, Markus Pargmann wrote: > > Hi, > > > > On Wed, Sep 10, 2014 at 04:46:46PM +0300, Dmitry Lavnikevich wrote: > >> This is driver for i.MX6 boards with tlv320aic3x audio c

Re: [alsa-devel] [PATCH 2/5] ASoC: fsl: add imx-tlv320aic3x machine driver

2014-09-10 Thread Markus Pargmann
Hi, On Wed, Sep 10, 2014 at 04:46:46PM +0300, Dmitry Lavnikevich wrote: > This is driver for i.MX6 boards with tlv320aic3x audio codecs. > > Signed-off-by: Dmitry Lavnikevich > --- > .../bindings/sound/fsl,imx-audio-tlv320aic3x.txt | 27 > sound/soc/fsl/Kconfig

Re: Watchdog start during boot

2014-09-09 Thread Markus Pargmann
Hi, On Tue, Sep 09, 2014 at 12:29:29PM +0200, Lisovy Rostislav wrote: > Hello; > If my understanding is correct, the purpose of the "watchdog subsystem" > is to provide an unified interface from user-space to watchdog devices > (via /dev). The issue I am trying to solve is how to start the watchdo

Re: [PATCH v6 5/7] net: cpsw: Add am33xx MACID readout

2014-09-08 Thread Markus Pargmann
On Mon, Sep 08, 2014 at 09:51:17AM -0700, Tony Lindgren wrote: > * Markus Pargmann [140907 10:20]: > > This patch adds a function to get the MACIDs from the am33xx SoC > > control module registers which hold unique vendor MACIDs. This is only > > used if of_get_mac_address()

[PATCH v6 5/7] net: cpsw: Add am33xx MACID readout

2014-09-07 Thread Markus Pargmann
This patch adds a function to get the MACIDs from the am33xx SoC control module registers which hold unique vendor MACIDs. This is only used if of_get_mac_address() fails to get a valid mac address. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Tested-by: Steven Rostedt --- Notes

[PATCH v6 2/7] net: cpsw: Add missing return value

2014-09-07 Thread Markus Pargmann
ret is set 0 at this point, so jumping to that error label would result in a return value of 0. Set ret to -ENOMEM to return a proper error value. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v6 0/7] DT doc: net: cpsw mac-address is optional

2014-09-07 Thread Markus Pargmann
that this function is only called for am33xx. Best regards, Markus Markus Pargmann (7): DT doc: net: cpsw mac-address is optional net: cpsw: Add missing return value net: cpsw: header, Add missing include net: cpsw: Replace pr_err by dev_err net: cpsw: Add am33xx MACID readout am33xx

[PATCH v6 3/7] net: cpsw: header, Add missing include

2014-09-07 Thread Markus Pargmann
"MII_BUS_ID_SIZE" is defined in linux/phy.h which is not included in the cpsw.h file. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet

[PATCH v6 7/7] arm: dts: am33xx, Add syscon phandle to cpsw node

2014-09-07 Thread Markus Pargmann
There are 2 MACIDs stored in the control module of the am33xx. These are read by the cpsw driver if no valid MACID was found in the devicetree. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Acked-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 1 + 1 file changed, 1 insertion

[PATCH v6 1/7] DT doc: net: cpsw mac-address is optional

2014-09-07 Thread Markus Pargmann
mac-address is an optional property. If no mac-address is set, a random mac-address will be generated. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- Documentation/devicetree/bindings/net/cpsw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation

[PATCH v6 4/7] net: cpsw: Replace pr_err by dev_err

2014-09-07 Thread Markus Pargmann
Use dev_err instead of pr_err. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index f09b4639ad31..0bc2c2a2c236 100644

[PATCH v6 6/7] am33xx: define syscon control module device node

2014-09-07 Thread Markus Pargmann
Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Acked-by: Tony Lindgren --- arch/arm/boot/dts/am33xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 3a0a161342ba..25e38b6ac376 100644 --- a/arch/arm/boot

Re: [PATCH v5 5/7] net: cpsw: Add am33xx MACID readout

2014-08-25 Thread Markus Pargmann
Hi, On Mon, Aug 25, 2014 at 09:01:19AM -0700, Tony Lindgren wrote: > > diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c > > index 0bc2c2a2c236..7c94a0fb24bc 100644 > > --- a/drivers/net/ethernet/ti/cpsw.c > > +++ b/drivers/net/ethernet/ti/cpsw.c > > @@ -33,6 +33,8 @@ >

[PATCH v5 1/7] DT doc: net: cpsw mac-address is optional

2014-08-24 Thread Markus Pargmann
mac-address is an optional property. If no mac-address is set, a random mac-address will be generated. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- Documentation/devicetree/bindings/net/cpsw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation

[PATCH v5 5/7] net: cpsw: Add am33xx MACID readout

2014-08-24 Thread Markus Pargmann
This patch adds a function to get the MACIDs from the am33xx SoC control module registers which hold unique vendor MACIDs. This is only used if of_get_mac_address() fails to get a valid mac address. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Tested-by: Steven Rostedt --- Notes

[PATCH v5 7/7] arm: dts: am33xx, Add syscon phandle to cpsw node

2014-08-24 Thread Markus Pargmann
There are 2 MACIDs stored in the control module of the am33xx. These are read by the cpsw driver if no valid MACID was found in the devicetree. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- arch/arm/boot/dts/am33xx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch

[PATCH v5 3/7] net: cpsw: header, Add missing include

2014-08-24 Thread Markus Pargmann
"MII_BUS_ID_SIZE" is defined in linux/phy.h which is not included in the cpsw.h file. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet

[PATCH v5 6/7] am33xx: define syscon control module device node

2014-08-24 Thread Markus Pargmann
Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- arch/arm/boot/dts/am33xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 3a0a161342ba..25e38b6ac376 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b

[PATCH v5 2/7] net: cpsw: Add missing return value

2014-08-24 Thread Markus Pargmann
ret is set 0 at this point, so jumping to that error label would result in a return value of 0. Set ret to -ENOMEM to return a proper error value. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v5 0/7] net: cpsw: Support for am335x chip MACIDs

2014-08-24 Thread Markus Pargmann
Pargmann Markus Pargmann (7): DT doc: net: cpsw mac-address is optional net: cpsw: Add missing return value net: cpsw: header, Add missing include net: cpsw: Replace pr_err by dev_err net: cpsw: Add am33xx MACID readout am33xx: define syscon control module device node arm: dts: am33xx, Add

[PATCH v5 4/7] net: cpsw: Replace pr_err by dev_err

2014-08-24 Thread Markus Pargmann
Use dev_err instead of pr_err. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index f09b4639ad31..0bc2c2a2c236 100644

Re: [PATCH v4 5/7] net: cpsw: Add am33xx MACID readout

2014-08-24 Thread Markus Pargmann
On Thu, Aug 21, 2014 at 02:51:53PM +0530, Mugunthan V N wrote: > On Thursday 21 August 2014 11:21 AM, Markus Pargmann wrote: > > This patch adds a function to get the MACIDs from the am33xx SoC > > control module registers which hold unique vendor MACIDs. This is o

[PATCH v4 5/7] net: cpsw: Add am33xx MACID readout

2014-08-20 Thread Markus Pargmann
This patch adds a function to get the MACIDs from the am33xx SoC control module registers which hold unique vendor MACIDs. This is only used if of_get_mac_address() fails to get a valid mac address. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang Tested-by: Steven Rostedt

[PATCH v4 3/7] net: cpsw: header, Add missing include

2014-08-20 Thread Markus Pargmann
"MII_BUS_ID_SIZE" is defined in linux/phy.h which is not included in the cpsw.h file. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet

[PATCH v4 0/7] net: cpsw: Support for am335x chip MACIDs

2014-08-20 Thread Markus Pargmann
series introduced a seperate driver to read the MACID. As the code is now integrated into the main driver this is not necessary anymore. Best regards, Markus Pargmann Markus Pargmann (7): DT doc: net: cpsw mac-address is optional net: cpsw: Add missing return value net: cpsw: header, Add

[PATCH v4 6/7] am33xx: define syscon control module device node

2014-08-20 Thread Markus Pargmann
Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- arch/arm/boot/dts/am33xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 3a0a161342ba..25e38b6ac376 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b

[PATCH v4 2/7] net: cpsw: Add missing return value

2014-08-20 Thread Markus Pargmann
ret is set 0 at this point, so jumping to that error label would result in a return value of 0. Set ret to -ENOMEM to return a proper error value. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v4 4/7] net: cpsw: Replace pr_err by dev_err

2014-08-20 Thread Markus Pargmann
Use dev_err instead of pr_err. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index f09b4639ad31..0bc2c2a2c236 100644

[PATCH v4 1/7] DT doc: net: cpsw mac-address is optional

2014-08-20 Thread Markus Pargmann
mac-address is an optional property. If no mac-address is set, a random mac-address will be generated. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- Documentation/devicetree/bindings/net/cpsw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation

[PATCH v4 7/7] arm: dts: am33xx, Add syscon phandle to cpsw node

2014-08-20 Thread Markus Pargmann
There are 2 MACIDs stored in the control module of the am33xx. These are read by the cpsw driver if no valid MACID was found in the devicetree. Signed-off-by: Markus Pargmann Reviewed-by: Wolfram Sang --- arch/arm/boot/dts/am33xx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch

Re: [PATCH v3 5/7] net: cpsw: Add am33xx MACID readout

2014-08-19 Thread Markus Pargmann
Hi, On Tue, Aug 19, 2014 at 12:50:59AM +0200, Javier Martinez Canillas wrote: > Hello Mugunthan, > > On Mon, Aug 18, 2014 at 9:58 PM, Mugunthan V N wrote: > >> > >> Thus, for this patchset, as is: > >> > >> Tested-by: Steven Rostedt > > > > This will fail for DRA7xx not in AM33xx > > > > cpsw_

Re: [PATCH v3 5/7] net: cpsw: Add am33xx MACID readout

2014-08-18 Thread Markus Pargmann
On Sat, Aug 16, 2014 at 11:53:18AM -0500, Wolfram Sang wrote: > > > + mac_addr[5] = (macid_lo >> 8) & 0xff; > > + mac_addr[4] = macid_lo & 0xff; > > + mac_addr[3] = (macid_hi >> 24) & 0xff; > > + mac_addr[2] = (macid_hi >> 16) & 0xff; > > + mac_addr[1] = (macid_hi >> 8) & 0xff; > > + m

Re: [PATCH v3 5/7] net: cpsw: Add am33xx MACID readout

2014-08-17 Thread Markus Pargmann
Hi, On Sat, Aug 16, 2014 at 11:46:48AM -0500, Wolfram Sang wrote: > > > diff --git a/drivers/net/ethernet/ti/Makefile > > b/drivers/net/ethernet/ti/Makefile > > index 9cfaab8152be..5a31c2b322ee 100644 > > --- a/drivers/net/ethernet/ti/Makefile > > +++ b/drivers/net/ethernet/ti/Makefile > > @@ -8

[PATCH v3 4/7] net: cpsw: Replace pr_err by dev_err

2014-08-16 Thread Markus Pargmann
Use dev_err instead of pr_err. Signed-off-by: Markus Pargmann --- drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 43b2777f8e04..b52df53441b0 100644 --- a/drivers/net/ethernet

[PATCH v3 6/7] am33xx: define syscon control module device node

2014-08-16 Thread Markus Pargmann
Signed-off-by: Markus Pargmann --- arch/arm/boot/dts/am33xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 4a4e02d0ce9e..cb1113bcc290 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi

[PATCH v3 5/7] net: cpsw: Add am33xx MACID readout

2014-08-16 Thread Markus Pargmann
This patch adds a function to get the MACIDs from the am33xx SoC control module registers which hold unique vendor MACIDs. This is only used if of_get_mac_address() fails to get a valid mac address. Signed-off-by: Markus Pargmann --- Documentation/devicetree/bindings/net/cpsw.txt | 4

[PATCH v3 1/7] DT doc: net: cpsw mac-address is optional

2014-08-16 Thread Markus Pargmann
mac-address is an optional property. If no mac-address is set, a random mac-address will be generated. Signed-off-by: Markus Pargmann --- Documentation/devicetree/bindings/net/cpsw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net

[PATCH v3 2/7] net: cpsw: Add missing return value

2014-08-16 Thread Markus Pargmann
ret is set 0 at this point, so jumping to that error label would result in a return value of 0. Set ret to -ENOMEM to return a proper error value. Signed-off-by: Markus Pargmann --- drivers/net/ethernet/ti/cpsw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.c

[PATCH v3 7/7] arm: dts: am33xx, Add syscon phandle to cpsw node

2014-08-16 Thread Markus Pargmann
There are 2 MACIDs stored in the control module of the am33xx. These are read by the cpsw driver if no valid MACID was found in the devicetree. Signed-off-by: Markus Pargmann --- arch/arm/boot/dts/am33xx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b

[PATCH v3 0/7] net: cpsw: Support for am335x chip MACIDs

2014-08-16 Thread Markus Pargmann
Pargmann Markus Pargmann (7): DT doc: net: cpsw mac-address is optional net: cpsw: Add missing return value net: cpsw: header, Add missing include net: cpsw: Replace pr_err by dev_err net: cpsw: Add am33xx MACID readout am33xx: define syscon control module device node arm: dts: am33xx, Add

[PATCH v3 3/7] net: cpsw: header, Add missing include

2014-08-16 Thread Markus Pargmann
"MII_BUS_ID_SIZE" is defined in linux/phy.h which is not included in the cpsw.h file. Signed-off-by: Markus Pargmann --- drivers/net/ethernet/ti/cpsw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.h b/drivers/net/ethernet/ti/cpsw.h index 57

Re: [PATCH v11 2/8] ASoC: core: Generic ac97 link reset functions

2014-06-18 Thread Markus Pargmann
Hi Silvio, On Wed, Jun 18, 2014 at 08:42:34PM +0200, S. Fricke wrote: > > Hi Markus, > > I'm fighting with your ac97 pinctrl configuration per dts. > > > [...] > > +ssi { > > + ... > > + > > + pinctrl-names = "default", "ac97-running", "ac97-reset", > > "ac97-warm-reset"; > > + pinctrl-

Re: [PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-29 Thread Markus Pargmann
Hi, On Wed, Apr 30, 2014 at 12:43:49PM +0800, Xiubo Li wrote: [...] > diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c > index 8e8cea1..946e901 100644 > --- a/drivers/base/regmap/regmap.c > +++ b/drivers/base/regmap/regmap.c > @@ -15,6 +15,7 @@ > #include > #include >

Re: [PATCH] net: micrel : ks8851-ml: add vdd-supply support

2014-03-25 Thread Markus Pargmann
ality. > > > > Fixes: 66fda75f47dc (regulator: core: Replace direct ops->disable usage) > > Reported-by: Russell King > > Suggested-by: Markus Pargmann > > Signed-off-by: Nishanth Menon > > Applied, thanks. > The two regulator patches for enable and

Re: [PATCH] net: micrel : ks8851-ml: add vdd-supply support

2014-03-21 Thread Markus Pargmann
age) > Reported-by: Russell King > Suggested-by: Markus Pargmann > Signed-off-by: Nishanth Menon > --- > > This fixes a regression in SDP4430 platform as reported by Russel here: > http://marc.info/?t=139509918200014&r=1&w=2 > > Patch is based on [v3.14-r

Re: [PATCH v2 3/5] net: cpsw: Add control-module macid driver

2014-03-18 Thread Markus Pargmann
Hi Uwe, On Mon, Mar 17, 2014 at 10:05:08AM +0100, Uwe Kleine-König wrote: > Hello Markus, > > On Sat, Mar 15, 2014 at 02:07:42PM +0100, Markus Pargmann wrote: > > This driver extracts the hardware macid from the control module of > > am335x processors. It exports a function

Re: [PATCH v2 3/5] net: cpsw: Add control-module macid driver

2014-03-18 Thread Markus Pargmann
Hi, On Mon, Mar 17, 2014 at 10:11:36AM -0700, Tony Lindgren wrote: > Hi, > > * Markus Pargmann [140315 06:12]: > > This driver extracts the hardware macid from the control module of > > am335x processors. It exports a function cpsw_ctrl_macid_read for cpsw > > to ge

[PATCH v2 4/5] net: cpsw: Use cpsw-ctrl-macid driver

2014-03-15 Thread Markus Pargmann
: Markus Pargmann --- Documentation/devicetree/bindings/net/cpsw.txt | 6 ++ drivers/net/ethernet/ti/cpsw.c | 16 +--- drivers/net/ethernet/ti/cpsw.h | 2 ++ 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree

[PATCH v2 1/5] net: cpsw: document mac-address being optional

2014-03-15 Thread Markus Pargmann
mac-address is an optional property. If no mac-address is set, a random mac-address will be generated. Signed-off-by: Markus Pargmann --- Documentation/devicetree/bindings/net/cpsw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net

[PATCH v2 0/5] net: cpsw: Support for am335x chip MACIDs

2014-03-15 Thread Markus Pargmann
-address and this driver. This driver is only used when no mac-address was set by the bootloader. This way we can avoid using random MAC addresses. There are other minor style and documentation fixes in v2. Best regards, Markus Markus Pargmann (5): net: cpsw: document mac-address being optional

[PATCH v2 3/5] net: cpsw: Add control-module macid driver

2014-03-15 Thread Markus Pargmann
This driver extracts the hardware macid from the control module of am335x processors. It exports a function cpsw_ctrl_macid_read for cpsw to get the macid from within the processor. Signed-off-by: Markus Pargmann --- .../devicetree/bindings/net/cpsw-ctrl-macid.txt| 32 + drivers/net

[PATCH v2 2/5] net: cpsw: make cpsw.h self-contained

2014-03-15 Thread Markus Pargmann
cpsw.h uses the symbol MII_BUS_ID_SIZE which is defined in . Add the respective #include to not depend on users to include it themselves. Signed-off-by: Markus Pargmann --- drivers/net/ethernet/ti/cpsw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpsw.h b

[PATCH v2 5/5] arm: dts: am33xx, Add device node for cpsw-ctrl-macid

2014-03-15 Thread Markus Pargmann
Add cpsw-ctrl-macid to the am33xx dtsi file. It does not change the behaviour of boards with a provided mac-address, so it is safe to add it for all boards with this CPU. Signed-off-by: Markus Pargmann --- arch/arm/boot/dts/am33xx.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH 2/3] input: touchscreen: imx25 tcq driver

2014-02-25 Thread Markus Pargmann
Hi, On Sat, Feb 22, 2014 at 10:44:06PM -0800, Dmitry Torokhov wrote: > Hi Marjus, > > On Thu, Feb 20, 2014 at 05:21:51PM +0100, Markus Pargmann wrote: > > This is a driver for the imx25 ADC/TSC module. It controls the > > touchscreen conversion queue and creates a tou

Re: [PATCH 1/3] mfd: fsl imx25 Touchscreen ADC driver

2014-02-21 Thread Markus Pargmann
Hi Fabio, On Thu, Feb 20, 2014 at 02:17:33PM -0300, Fabio Estevam wrote: > Hi Markus, > > On Thu, Feb 20, 2014 at 1:21 PM, Markus Pargmann wrote: > > This is the core driver for imx25 touchscreen/adc driver. The module > > has one shared ADC and two different conversion

Re: [PATCH 3/3] iio: adc: fsl,imx25-gcq driver

2014-02-21 Thread Markus Pargmann
Hi, On Thu, Feb 20, 2014 at 06:46:26PM +0100, Lars-Peter Clausen wrote: > On 02/20/2014 05:21 PM, Markus Pargmann wrote: > >This is a conversion queue driver for the mx25 SoC. It uses the central > >ADC which is used by two seperate independent queues. This driver > >prepares

Re: [PATCH 1/3] mfd: fsl imx25 Touchscreen ADC driver

2014-02-21 Thread Markus Pargmann
Hi Fabio, On Thu, Feb 20, 2014 at 02:17:33PM -0300, Fabio Estevam wrote: > Hi Markus, > > On Thu, Feb 20, 2014 at 1:21 PM, Markus Pargmann wrote: > > This is the core driver for imx25 touchscreen/adc driver. The module > > has one shared ADC and two different conversion

[PATCH v6 1/4] ASoC: tlv320aic32x4: Support for master clock

2014-02-20 Thread Markus Pargmann
Add support for a master clock passed through DT. The master clock of the codec is only active when the codec is in use. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: devicetree@vger.kernel.org Signed-off-by: Markus Pargmann --- .../devicetree/bindings

[PATCH 3/3] iio: adc: fsl,imx25-gcq driver

2014-02-20 Thread Markus Pargmann
for the chosen channel. It then executes the queue once and disables the conversion queue afterwards. The reference voltages are configurable through devicetree subnodes, depending on the connections of the ADC inputs. Signed-off-by: Markus Pargmann --- .../devicetree/bindings/iio/adc/fsl,imx25

[PATCH 2/3] input: touchscreen: imx25 tcq driver

2014-02-20 Thread Markus Pargmann
, precharge and another touch detection. This driver uses the regmap from the parent to setup some touch specific settings in the core driver and setup a idle configuration with touch detection. Signed-off-by: Markus Pargmann --- .../bindings/input/touchscreen/fsl-mx25-tcq.txt| 29 + drivers/input

[PATCH 1/3] mfd: fsl imx25 Touchscreen ADC driver

2014-02-20 Thread Markus Pargmann
the central components and registers of the TSC/ADC unit. It manages the IRQs and forwards them to the correct components. Signed-off-by: Markus Pargmann --- .../devicetree/bindings/mfd/fsl-imx25-tsadc.txt| 46 drivers/mfd/Kconfig| 9 + drivers/mfd

[PATCH 0/3] arm imx25 touchscreen/ADC drivers

2014-02-20 Thread Markus Pargmann
conversion queue driver which registers a touchscreen input device. fsl-imx25-gcq is the generic conversion queue driver that registers a iio device for all inputs available. All drivers are initialized using devicetree bindings. Regards, Markus Pargmann Markus Pargmann (3): mfd: fsl imx25

Re: [PATCH v5 1/4] ASoC: tlv320aic32x4: Support for master clock

2014-02-20 Thread Markus Pargmann
Hi, On Wed, Feb 19, 2014 at 12:54:06PM +0900, Mark Brown wrote: > On Tue, Feb 18, 2014 at 09:46:46PM +0100, Markus Pargmann wrote: > > On Tue, Feb 18, 2014 at 10:23:29AM +0900, Mark Brown wrote: > > > > Looking at the code the clock isn't physically optional, why n

Re: [PATCH v5 1/4] ASoC: tlv320aic32x4: Support for master clock

2014-02-18 Thread Markus Pargmann
Hi, On Tue, Feb 18, 2014 at 10:23:29AM +0900, Mark Brown wrote: > On Mon, Feb 17, 2014 at 11:04:17AM +0100, Markus Pargmann wrote: > > > Optional properties: > > - reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt > > + - clocks/clock-names: Cl

[PATCH v5 1/4] ASoC: tlv320aic32x4: Support for master clock

2014-02-17 Thread Markus Pargmann
Add support for a master clock passed through DT. The master clock of the codec is only active when the codec is in use. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: devicetree@vger.kernel.org Signed-off-by: Markus Pargmann --- .../devicetree/bindings

[PATCH v4 1/4] ASoC: tlv320aic32x4: Support for master clock

2014-02-16 Thread Markus Pargmann
Add support for a master clock passed through DT. The master clock of the codec is only active when the codec is in use. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: devicetree@vger.kernel.org Signed-off-by: Markus Pargmann --- .../devicetree/bindings

<    1   2   3   >