All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller
@ 2013-07-16 12:56 ` Otavio Salvador
  0 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2013-07-16 12:56 UTC (permalink / raw)
  To: Jonathan Cameron, linux-kernel
  Cc: Otavio Salvador, Russell King, Shawn Guo, Fabio Estevam,
	linux-arm-kernel

The i.MX23EVK board provides a USB port so the USB PHY and controller
need to be enabled for it to be usable.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2: None

 arch/arm/boot/dts/imx23-evk.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts
index da0588a..dc3ab45 100644
--- a/arch/arm/boot/dts/imx23-evk.dts
+++ b/arch/arm/boot/dts/imx23-evk.dts
@@ -107,6 +107,16 @@
 				pinctrl-0 = <&duart_pins_a>;
 				status = "okay";
 			};
+
+			usbphy0: usbphy@8007c000 {
+				status = "okay";
+			};
+		};
+	};
+
+	ahb@80080000 {
+		usb0: usb@80080000 {
+			status = "okay";
 		};
 	};
 
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller
@ 2013-07-16 12:56 ` Otavio Salvador
  0 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2013-07-16 12:56 UTC (permalink / raw)
  To: linux-arm-kernel

The i.MX23EVK board provides a USB port so the USB PHY and controller
need to be enabled for it to be usable.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2: None

 arch/arm/boot/dts/imx23-evk.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts
index da0588a..dc3ab45 100644
--- a/arch/arm/boot/dts/imx23-evk.dts
+++ b/arch/arm/boot/dts/imx23-evk.dts
@@ -107,6 +107,16 @@
 				pinctrl-0 = <&duart_pins_a>;
 				status = "okay";
 			};
+
+			usbphy0: usbphy at 8007c000 {
+				status = "okay";
+			};
+		};
+	};
+
+	ahb at 80080000 {
+		usb0: usb at 80080000 {
+			status = "okay";
 		};
 	};
 
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 2/4] ARM: dts: imx23-evk: enable Low Resolution ADC
  2013-07-16 12:56 ` Otavio Salvador
@ 2013-07-16 12:56   ` Otavio Salvador
  -1 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2013-07-16 12:56 UTC (permalink / raw)
  To: Jonathan Cameron, linux-kernel
  Cc: Otavio Salvador, Russell King, Shawn Guo, Fabio Estevam,
	linux-arm-kernel

The i.XM23 has a internal Low Resolution ADC; this enables the support
for this device.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2: None

 arch/arm/boot/dts/imx23-evk.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts
index dc3ab45..185c7c0 100644
--- a/arch/arm/boot/dts/imx23-evk.dts
+++ b/arch/arm/boot/dts/imx23-evk.dts
@@ -90,6 +90,11 @@
 		};
 
 		apbx@80040000 {
+			lradc@80050000 {
+				status = "okay";
+				fsl,lradc-touchscreen-wires = <4>;
+			};
+
 			pwm: pwm@80064000 {
 				pinctrl-names = "default";
 				pinctrl-0 = <&pwm2_pins_a>;
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 2/4] ARM: dts: imx23-evk: enable Low Resolution ADC
@ 2013-07-16 12:56   ` Otavio Salvador
  0 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2013-07-16 12:56 UTC (permalink / raw)
  To: linux-arm-kernel

The i.XM23 has a internal Low Resolution ADC; this enables the support
for this device.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2: None

 arch/arm/boot/dts/imx23-evk.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts
index dc3ab45..185c7c0 100644
--- a/arch/arm/boot/dts/imx23-evk.dts
+++ b/arch/arm/boot/dts/imx23-evk.dts
@@ -90,6 +90,11 @@
 		};
 
 		apbx at 80040000 {
+			lradc at 80050000 {
+				status = "okay";
+				fsl,lradc-touchscreen-wires = <4>;
+			};
+
 			pwm: pwm at 80064000 {
 				pinctrl-names = "default";
 				pinctrl-0 = <&pwm2_pins_a>;
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 3/4] ARM: dts: imx23-olinuxino: enable Low Resolution ADC
  2013-07-16 12:56 ` Otavio Salvador
@ 2013-07-16 12:56   ` Otavio Salvador
  -1 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2013-07-16 12:56 UTC (permalink / raw)
  To: Jonathan Cameron, linux-kernel
  Cc: Otavio Salvador, Russell King, Shawn Guo, Fabio Estevam,
	Alexandre Pereira da Silva, Fadil Berisha, linux-arm-kernel

The i.XM23 has a internal Low Resolution ADC; this enables the support
for this device.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2: None

 arch/arm/boot/dts/imx23-olinuxino.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts
index d107c4a..fc766ae 100644
--- a/arch/arm/boot/dts/imx23-olinuxino.dts
+++ b/arch/arm/boot/dts/imx23-olinuxino.dts
@@ -69,6 +69,10 @@
 		};
 
 		apbx@80040000 {
+			lradc@80050000 {
+				status = "okay";
+			};
+
 			duart: serial@80070000 {
 				pinctrl-names = "default";
 				pinctrl-0 = <&duart_pins_a>;
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 3/4] ARM: dts: imx23-olinuxino: enable Low Resolution ADC
@ 2013-07-16 12:56   ` Otavio Salvador
  0 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2013-07-16 12:56 UTC (permalink / raw)
  To: linux-arm-kernel

The i.XM23 has a internal Low Resolution ADC; this enables the support
for this device.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2: None

 arch/arm/boot/dts/imx23-olinuxino.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts
index d107c4a..fc766ae 100644
--- a/arch/arm/boot/dts/imx23-olinuxino.dts
+++ b/arch/arm/boot/dts/imx23-olinuxino.dts
@@ -69,6 +69,10 @@
 		};
 
 		apbx at 80040000 {
+			lradc at 80050000 {
+				status = "okay";
+			};
+
 			duart: serial at 80070000 {
 				pinctrl-names = "default";
 				pinctrl-0 = <&duart_pins_a>;
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v2 4/4] iio: add configuration option for debug support
  2013-07-16 12:56 ` Otavio Salvador
                   ` (2 preceding siblings ...)
  (?)
@ 2013-07-16 12:56 ` Otavio Salvador
  2013-07-16 16:54   ` Jonathan Cameron
  -1 siblings, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2013-07-16 12:56 UTC (permalink / raw)
  To: Jonathan Cameron, linux-kernel
  Cc: Otavio Salvador, Shawn Guo, Jonathan Cameron, linux-iio

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2:
- Rework Kconfig help (Lars-Peter Clausen)

 drivers/iio/Kconfig  | 7 +++++++
 drivers/iio/Makefile | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index 9af763a..e5d1cfc 100644
--- a/drivers/iio/Kconfig
+++ b/drivers/iio/Kconfig
@@ -12,6 +12,13 @@ menuconfig IIO
 
 if IIO
 
+config IIO_DEBUG
+	boolean "Debug support for Industrial I/O"
+	depends on DEBUG_KERNEL
+	help
+	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug)
+	  support in Industrial I/O subsystem and drivers.
+
 config IIO_BUFFER
 	bool "Enable buffer support within IIO"
 	help
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
index 7a3866c..6e43e5b 100644
--- a/drivers/iio/Makefile
+++ b/drivers/iio/Makefile
@@ -2,6 +2,8 @@
 # Makefile for the industrial I/O core.
 #
 
+ccflags-$(CONFIG_IIO_DEBUG) := -DDEBUG
+
 obj-$(CONFIG_IIO) += industrialio.o
 industrialio-y := industrialio-core.o industrialio-event.o inkern.o
 industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 4/4] iio: add configuration option for debug support
  2013-07-16 12:56 ` [PATCH v2 4/4] iio: add configuration option for debug support Otavio Salvador
@ 2013-07-16 16:54   ` Jonathan Cameron
  0 siblings, 0 replies; 12+ messages in thread
From: Jonathan Cameron @ 2013-07-16 16:54 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: linux-kernel, Shawn Guo, Jonathan Cameron, linux-iio

On 07/16/2013 01:56 PM, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Applied to the togreg branch of iio.git in place of v1

> ---
> Changes in v2:
> - Rework Kconfig help (Lars-Peter Clausen)
> 
>  drivers/iio/Kconfig  | 7 +++++++
>  drivers/iio/Makefile | 2 ++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
> index 9af763a..e5d1cfc 100644
> --- a/drivers/iio/Kconfig
> +++ b/drivers/iio/Kconfig
> @@ -12,6 +12,13 @@ menuconfig IIO
>  
>  if IIO
>  
> +config IIO_DEBUG
> +	boolean "Debug support for Industrial I/O"
> +	depends on DEBUG_KERNEL
> +	help
> +	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug)
> +	  support in Industrial I/O subsystem and drivers.
> +
>  config IIO_BUFFER
>  	bool "Enable buffer support within IIO"
>  	help
> diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
> index 7a3866c..6e43e5b 100644
> --- a/drivers/iio/Makefile
> +++ b/drivers/iio/Makefile
> @@ -2,6 +2,8 @@
>  # Makefile for the industrial I/O core.
>  #
>  
> +ccflags-$(CONFIG_IIO_DEBUG) := -DDEBUG
> +
>  obj-$(CONFIG_IIO) += industrialio.o
>  industrialio-y := industrialio-core.o industrialio-event.o inkern.o
>  industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller
  2013-07-16 12:56 ` Otavio Salvador
@ 2013-07-17  3:50   ` Shawn Guo
  -1 siblings, 0 replies; 12+ messages in thread
From: Shawn Guo @ 2013-07-17  3:50 UTC (permalink / raw)
  To: Otavio Salvador
  Cc: Jonathan Cameron, linux-kernel, Russell King, Fabio Estevam,
	linux-arm-kernel

On Tue, Jul 16, 2013 at 09:56:12AM -0300, Otavio Salvador wrote:
> The i.MX23EVK board provides a USB port so the USB PHY and controller
> need to be enabled for it to be usable.
> 
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

There is a typo i.XM23 in commit log of patch #2 and #3.  I fixed them
up and applied all 3.

Shawn


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller
@ 2013-07-17  3:50   ` Shawn Guo
  0 siblings, 0 replies; 12+ messages in thread
From: Shawn Guo @ 2013-07-17  3:50 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 16, 2013 at 09:56:12AM -0300, Otavio Salvador wrote:
> The i.MX23EVK board provides a USB port so the USB PHY and controller
> need to be enabled for it to be usable.
> 
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

There is a typo i.XM23 in commit log of patch #2 and #3.  I fixed them
up and applied all 3.

Shawn

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller
  2013-07-17  3:50   ` Shawn Guo
@ 2013-07-17 11:56     ` Otavio Salvador
  -1 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2013-07-17 11:56 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Jonathan Cameron, Kernel development list, Russell King,
	Fabio Estevam, linux-arm-kernel

On Wed, Jul 17, 2013 at 12:50 AM, Shawn Guo <shawn.guo@linaro.org> wrote:
> On Tue, Jul 16, 2013 at 09:56:12AM -0300, Otavio Salvador wrote:
>> The i.MX23EVK board provides a USB port so the USB PHY and controller
>> need to be enabled for it to be usable.
>>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
> There is a typo i.XM23 in commit log of patch #2 and #3.  I fixed them
> up and applied all 3.

Thanks Shawn :)

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller
@ 2013-07-17 11:56     ` Otavio Salvador
  0 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2013-07-17 11:56 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 17, 2013 at 12:50 AM, Shawn Guo <shawn.guo@linaro.org> wrote:
> On Tue, Jul 16, 2013 at 09:56:12AM -0300, Otavio Salvador wrote:
>> The i.MX23EVK board provides a USB port so the USB PHY and controller
>> need to be enabled for it to be usable.
>>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
> There is a typo i.XM23 in commit log of patch #2 and #3.  I fixed them
> up and applied all 3.

Thanks Shawn :)

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-07-17 11:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-16 12:56 [PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller Otavio Salvador
2013-07-16 12:56 ` Otavio Salvador
2013-07-16 12:56 ` [PATCH v2 2/4] ARM: dts: imx23-evk: enable Low Resolution ADC Otavio Salvador
2013-07-16 12:56   ` Otavio Salvador
2013-07-16 12:56 ` [PATCH v2 3/4] ARM: dts: imx23-olinuxino: " Otavio Salvador
2013-07-16 12:56   ` Otavio Salvador
2013-07-16 12:56 ` [PATCH v2 4/4] iio: add configuration option for debug support Otavio Salvador
2013-07-16 16:54   ` Jonathan Cameron
2013-07-17  3:50 ` [PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller Shawn Guo
2013-07-17  3:50   ` Shawn Guo
2013-07-17 11:56   ` Otavio Salvador
2013-07-17 11:56     ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.