[PATCH] devicetree: Add support for I2C and related devices to TI-NSPIRE platform

2015-05-31 Thread Daniel Tang
This patch adds device tree entries for I2C hardware to the TI-NSPIRE platforms that have it. It also adds support for the touchpad that communicates over the I2C bus. Signed-off-by: Daniel Tang --- arch/arm/boot/dts/nspire-cx.dts | 13 + arch/arm/boot/dts/nspire-tp.dts | 14

[PATCH] devicetree: Add support for I2C and related devices to TI-NSPIRE platform

2015-05-31 Thread Daniel Tang
This patch adds device tree entries for I2C hardware to the TI-NSPIRE platforms that have it. It also adds support for the touchpad that communicates over the I2C bus. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- arch/arm/boot/dts/nspire-cx.dts | 13 + arch/arm/boot/dts/nspire

[PATCH] devicetree: Add TI-NSPIRE USB OTG support to device tree

2015-02-09 Thread Daniel Tang
Signed-off-by: Daniel Tang --- arch/arm/boot/dts/nspire-classic.dtsi | 5 + arch/arm/boot/dts/nspire-cx.dts | 4 arch/arm/boot/dts/nspire.dtsi | 21 + 3 files changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/nspire-classic.dtsi b/arch/arm

[PATCH] devicetree: Add TI-NSPIRE USB OTG support to device tree

2015-02-09 Thread Daniel Tang
Signed-off-by: Daniel Tang dt.ta...@gmail.com --- arch/arm/boot/dts/nspire-classic.dtsi | 5 + arch/arm/boot/dts/nspire-cx.dts | 4 arch/arm/boot/dts/nspire.dtsi | 21 + 3 files changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/nspire

[PATCH 1/2] Chipidea: TI-NSPIRE USB OTG hardware does not support high speed and must connect at full speed

2015-01-03 Thread Daniel Tang
Signed-off-by: Daniel Tang --- drivers/usb/chipidea/ci_hdrc_zevio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_zevio.c b/drivers/usb/chipidea/ci_hdrc_zevio.c index d976fc1..1264de5 100644 --- a/drivers/usb/chipidea/ci_hdrc_zevio.c +++ b

[PATCH 2/2] Chipidea: Set connect-at-fullspeed bit when entering host mode if CI_HDRC_FORCE_FULLSPEED is set in the platform data

2015-01-03 Thread Daniel Tang
-by: Daniel Tang --- drivers/usb/chipidea/host.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index c1694cf..f106d25 100644 --- a/drivers/usb/chipidea/host.c +++ b/drivers/usb/chipidea/host.c @@ -132,6 +132,9 @@ static int

[PATCH 1/2] Chipidea: TI-NSPIRE USB OTG hardware does not support high speed and must connect at full speed

2015-01-03 Thread Daniel Tang
Signed-off-by: Daniel Tang dt.ta...@gmail.com --- drivers/usb/chipidea/ci_hdrc_zevio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_zevio.c b/drivers/usb/chipidea/ci_hdrc_zevio.c index d976fc1..1264de5 100644 --- a/drivers/usb/chipidea

[PATCH 2/2] Chipidea: Set connect-at-fullspeed bit when entering host mode if CI_HDRC_FORCE_FULLSPEED is set in the platform data

2015-01-03 Thread Daniel Tang
-by: Daniel Tang dt.ta...@gmail.com --- drivers/usb/chipidea/host.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index c1694cf..f106d25 100644 --- a/drivers/usb/chipidea/host.c +++ b/drivers/usb/chipidea/host.c @@ -132,6 +132,9

[tip:irq/core] irqchip: Add support for TI-NSPIRE irqchip

2014-01-22 Thread tip-bot for Daniel Tang
Commit-ID: 397e7b515785cad6e10b29f3001fd80c3f519bb8 Gitweb: http://git.kernel.org/tip/397e7b515785cad6e10b29f3001fd80c3f519bb8 Author: Daniel Tang AuthorDate: Thu, 5 Dec 2013 17:12:17 +1100 Committer: Thomas Gleixner CommitDate: Wed, 22 Jan 2014 21:48:55 +0100 irqchip: Add support

[tip:irq/core] irqchip: Add support for TI-NSPIRE irqchip

2014-01-22 Thread tip-bot for Daniel Tang
Commit-ID: 397e7b515785cad6e10b29f3001fd80c3f519bb8 Gitweb: http://git.kernel.org/tip/397e7b515785cad6e10b29f3001fd80c3f519bb8 Author: Daniel Tang dt.ta...@gmail.com AuthorDate: Thu, 5 Dec 2013 17:12:17 +1100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 22 Jan 2014 21

Re: [PATCH 1/3] usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs

2013-12-15 Thread Daniel Tang
; > Best Regards, > Peter Chen > Thank you very much Cheers, Daniel Tang -- 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 1/3] usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs

2013-12-15 Thread Daniel Tang
, Peter Chen Thank you very much Cheers, Daniel Tang -- 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 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-05 Thread Daniel Tang
Hi, On 05/12/2013, at 7:49 PM, Peter Chen wrote: > On Thu, Dec 05, 2013 at 04:44:13PM +1100, Daniel Tang wrote: >> Hi, >> >> On 05/12/2013, at 12:44 AM, Peter Chen wrote: >> >>> >>> lsi is vendor name, what are zevio and nspire? >>>

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-05 Thread Daniel Tang
Hi, On 05/12/2013, at 7:49 PM, Peter Chen peter.c...@freescale.com wrote: On Thu, Dec 05, 2013 at 04:44:13PM +1100, Daniel Tang wrote: Hi, On 05/12/2013, at 12:44 AM, Peter Chen peter.c...@freescale.com wrote: lsi is vendor name, what are zevio and nspire? Usually, the compatible

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-04 Thread Daniel Tang
io-timer > binding? You're right. I'll fix up the patch and send it back in. > > Thanks, > Mark. Cheers, Daniel Tang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo in

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-04 Thread Daniel Tang
>> -- >> 1.7.10.4 >> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-usb" in >> the body of a message to majord...@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > -- > > Best Regards, > Peter Chen > Cheers, Daniel Tang-- 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: [PATCHv2 RESEND] irqchip: Add support for TI-NSPIRE irqchip

2013-12-04 Thread Daniel Tang
Hi, I've noticed this patch hasn't gotten a reply for a while now. Just wondering what's the status of this patch and whether there is anything else I should fix before this can get accepted. Cheers, Daniel Tang On 25/11/2013, at 3:02 PM, dt.ta...@gmail.com wrote: > From: Daniel T

Re: [PATCHv2 RESEND] irqchip: Add support for TI-NSPIRE irqchip

2013-12-04 Thread Daniel Tang
Hi, I've noticed this patch hasn't gotten a reply for a while now. Just wondering what's the status of this patch and whether there is anything else I should fix before this can get accepted. Cheers, Daniel Tang On 25/11/2013, at 3:02 PM, dt.ta...@gmail.com wrote: From: Daniel Tang dt.ta

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-04 Thread Daniel Tang
*/ } }; -- 1.7.10.4 -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards, Peter Chen Cheers, Daniel Tang-- To unsubscribe from

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-04 Thread Daniel Tang
the patch and send it back in. Thanks, Mark. Cheers, Daniel Tang -- 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

Re: [PATCHv3] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-11-24 Thread Daniel Tang
Hi, On 25/11/2013, at 4:32 PM, Peter Chen wrote: > >> >> From: Daniel Tang >> >> The USB controller in TI-NSPIRE calculators are based off either >> Freescale's >> USB OTG controller or the USB controller found in the IMX233, both of >> which

Re: [PATCHv2] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-11-24 Thread Daniel Tang
gt;> +MODULE_ALIAS("platform:nspire_usb"); >> +MODULE_ALIAS("platform:ci_hdrc_nspire"); > > Just curious, why you need to two alias? Oops, I must've forgotten to remove this. I'll remove it in the next patch. > > -- > > Best Regards, > Peter Chen > C

Re: [PATCHv2] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-11-24 Thread Daniel Tang
); +MODULE_ALIAS(platform:ci_hdrc_nspire); Just curious, why you need to two alias? Oops, I must've forgotten to remove this. I'll remove it in the next patch. -- Best Regards, Peter Chen Cheers, Daniel Tang -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCHv3] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-11-24 Thread Daniel Tang
Hi, On 25/11/2013, at 4:32 PM, Peter Chen peter.c...@freescale.com wrote: From: Daniel Tang dt.ta...@gmail.com The USB controller in TI-NSPIRE calculators are based off either Freescale's USB OTG controller or the USB controller found in the IMX233, both of which are Chipidea

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Daniel Tang
Hi, On 03/07/2013, at 10:28 PM, Michal Marek wrote: > > > What is the type of Elf64_Shdr::sh_offset in OS X's ? In glibc, > this is Elf64_Off, which is a typedef name for uint64_t. Huh, that's weird. Elf64_Off is defined as unsigned long in my elf.h which isn't 64 bit on x86_64 pretty sure.

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Daniel Tang
Hi, On 03/07/2013, at 10:07 PM, Michal Marek wrote: > On 3.7.2013 14:06, Michal Marek wrote: >> Added David Daney to CC. > > Second attempt, sorry. > > >> On 9.6.2013 04:33, Daniel Tang wrote: >>> The pointer passed to the _r() macro does not alway

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Daniel Tang
Hi, On 03/07/2013, at 10:07 PM, Michal Marek mma...@suse.cz wrote: On 3.7.2013 14:06, Michal Marek wrote: Added David Daney to CC. Second attempt, sorry. On 9.6.2013 04:33, Daniel Tang wrote: The pointer passed to the _r() macro does not always match the type of the function

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Daniel Tang
Hi, On 03/07/2013, at 10:28 PM, Michal Marek mma...@suse.cz wrote: What is the type of Elf64_Shdr::sh_offset in OS X's elf.h? In glibc, this is Elf64_Off, which is a typedef name for uint64_t. Huh, that's weird. Elf64_Off is defined as unsigned long in my elf.h which isn't 64 bit on

[PATCHv2 RESEND] irqchip: Add support for TI-NSPIRE irqchip

2013-06-22 Thread Daniel Tang
: * Converted to use generic IRQ chips. * Removed FIQ for now to simplify driver code. * Based against tip/irq/core and uses IRQ domain support for generic chips. Signed-off-by: Daniel Tang Acked-by: Grant Likely --- .../interrupt-controller/lsi,zevio-intc.txt| 18 +++ drivers/irqchip

[PATCHv2 RESEND] irqchip: Add support for TI-NSPIRE irqchip

2013-06-22 Thread Daniel Tang
: * Converted to use generic IRQ chips. * Removed FIQ for now to simplify driver code. * Based against tip/irq/core and uses IRQ domain support for generic chips. Signed-off-by: Daniel Tang dt.ta...@gmail.com Acked-by: Grant Likely grant.lik...@secretlab.ca --- .../interrupt-controller/lsi,zevio

Re: [PATCHv2] irqchip: Add support for TI-NSPIRE irqchip

2013-06-15 Thread Daniel Tang
Hi, On 08/06/2013, at 11:58 AM, Daniel Tang wrote: > This patch adds support for the interrupt controllers found in some > TI-Nspire models. > I was wondering if this patch had gone through yet. Was there something else I forgot to fix or needed to add? Cheers, Daniel Tang-- To un

Re: [PATCHv2] irqchip: Add support for TI-NSPIRE irqchip

2013-06-15 Thread Daniel Tang
Hi, On 08/06/2013, at 11:58 AM, Daniel Tang dt.ta...@gmail.com wrote: This patch adds support for the interrupt controllers found in some TI-Nspire models. I was wondering if this patch had gone through yet. Was there something else I forgot to fix or needed to add? Cheers, Daniel Tang

[PATCHv2 1/2] arm: Add Initial TI-Nspire support

2013-06-11 Thread Daniel Tang
This patch adds support for the TI-Nspire platform. Changes between v1 and v2: * Added GENERIC_IRQ_CHIP to platform Kconfig Signed-off-by: Daniel Tang --- arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug | 16 + arch/arm/Makefile | 1

[PATCHv2 2/2] arm: Add device trees for TI-Nspire hardware

2013-06-11 Thread Daniel Tang
This patch adds device trees for describing the TI-Nspire hardware. Changes between v1 and v2: * Change "keymap" binding to the standard "linux,keymap" binding. Signed-off-by: Daniel Tang --- Documentation/devicetree/bindings/arm/nspire.txt | 14 ++ .../device

[PATCHv2 1/2] arm: Add Initial TI-Nspire support

2013-06-11 Thread Daniel Tang
This patch adds support for the TI-Nspire platform. Changes between v1 and v2: * Added GENERIC_IRQ_CHIP to platform Kconfig Signed-off-by: Daniel Tang dt.ta...@gmail.com --- arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug | 16 + arch/arm/Makefile

[PATCHv2 2/2] arm: Add device trees for TI-Nspire hardware

2013-06-11 Thread Daniel Tang
This patch adds device trees for describing the TI-Nspire hardware. Changes between v1 and v2: * Change keymap binding to the standard linux,keymap binding. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- Documentation/devicetree/bindings/arm/nspire.txt | 14 ++ .../devicetree/bindings

[PATCH 2/2] Fix a build warning in scripts/mod/file2alias.c

2013-06-08 Thread Daniel Tang
cripts/mod/file2alias.c:13: /usr/include/sys/cdefs.h:146:1: warning: this is the location of the previous definition This adds an extra check before defining the __used macro to see if the macro was already defined elsewhere. Signed-off-by: Daniel Tang --- s

[PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-06-08 Thread Daniel Tang
with both the 32bit and 64bit code. Signed-off-by: Daniel Tang --- scripts/sortextable.h | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/scripts/sortextable.h b/scripts/sortextable.h index f5eb43d..0a38fbd 100644 --- a/scripts/sortextable.h +++ b

[PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-06-08 Thread Daniel Tang
with both the 32bit and 64bit code. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- scripts/sortextable.h | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/scripts/sortextable.h b/scripts/sortextable.h index f5eb43d..0a38fbd 100644 --- a/scripts

[PATCH 2/2] Fix a build warning in scripts/mod/file2alias.c

2013-06-08 Thread Daniel Tang
/file2alias.c:13: /usr/include/sys/cdefs.h:146:1: warning: this is the location of the previous definition This adds an extra check before defining the __used macro to see if the macro was already defined elsewhere. Signed-off-by: Daniel Tang dt.ta...@gmail.com

[PATCHv2] irqchip: Add support for TI-NSPIRE irqchip

2013-06-07 Thread Daniel Tang
: * Converted to use generic IRQ chips. * Removed FIQ for now to simplify driver code. * Based against tip/irq/core and uses IRQ domain support for generic chips. Signed-off-by: Daniel Tang --- .../interrupt-controller/lsi,zevio-intc.txt| 18 +++ drivers/irqchip/Makefile

Re: [PATCH] Add TI-Nspire irqchip support

2013-06-07 Thread Daniel Tang
should follow the > discussion that Thomas pointed you at below. > > g. > Cheers, Daniel Tang-- 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-

Re: [PATCH] Add Initial TI-Nspire support

2013-06-07 Thread Daniel Tang
Hi, On 08/06/2013, at 3:55 AM, Arnd Bergmann wrote: > On Friday 07 June 2013, Daniel Tang wrote: >> Hi, >> >> I was wondering if this patch had gone through yet. > > Sorry, not yet. A few things have changed since I sent in this patch so I need to add some adjust

Re: [PATCH] Add Initial TI-Nspire support

2013-06-07 Thread Daniel Tang
Hi, On 08/06/2013, at 3:55 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 07 June 2013, Daniel Tang wrote: Hi, I was wondering if this patch had gone through yet. Sorry, not yet. A few things have changed since I sent in this patch so I need to add some adjustments to the patch

Re: [PATCH] Add TI-Nspire irqchip support

2013-06-07 Thread Daniel Tang
the discussion that Thomas pointed you at below. g. Cheers, Daniel Tang-- 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

[PATCHv2] irqchip: Add support for TI-NSPIRE irqchip

2013-06-07 Thread Daniel Tang
: * Converted to use generic IRQ chips. * Removed FIQ for now to simplify driver code. * Based against tip/irq/core and uses IRQ domain support for generic chips. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../interrupt-controller/lsi,zevio-intc.txt| 18 +++ drivers/irqchip

Re: [PATCH] Add Initial TI-Nspire support

2013-06-06 Thread Daniel Tang
Hi, I was wondering if this patch had gone through yet. Cheers, Daniel Tang -- 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 re

Re: [PATCH] Add Initial TI-Nspire support

2013-06-06 Thread Daniel Tang
Hi, I was wondering if this patch had gone through yet. Cheers, Daniel Tang -- 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

Re: [PATCHv2] Add TI-Nspire timer support

2013-06-04 Thread Daniel Tang
On 04/06/2013, at 7:36 PM, Linus Walleij wrote: > On Sat, Jun 1, 2013 at 8:02 AM, Daniel Tang wrote: > >> The interrupt acknowledgement mechanism is a little strange because the >> interrupt mask and acknowledge registers are located in another memory >> mapped I/O

Re: [PATCHv2] Add TI-Nspire timer support

2013-06-04 Thread Daniel Tang
On 04/06/2013, at 7:36 PM, Linus Walleij linus.wall...@linaro.org wrote: On Sat, Jun 1, 2013 at 8:02 AM, Daniel Tang dt.ta...@gmail.com wrote: The interrupt acknowledgement mechanism is a little strange because the interrupt mask and acknowledge registers are located in another memory

Re: [PATCHv2] Add TI-Nspire timer support

2013-06-03 Thread Daniel Tang
hat in mind next time. Cheers, Daniel Tang-- 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] Add TI-Nspire keypad support

2013-06-03 Thread Daniel Tang
Hi, On 03/06/2013, at 4:36 PM, Dmitry Torokhov wrote: > > Does the patch below work for you? > > Thanks. > Looks perfect. Cheers, Daniel Tang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [PATCH] Add TI-Nspire keypad support

2013-06-03 Thread Daniel Tang
Hi, On 03/06/2013, at 4:36 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Does the patch below work for you? Thanks. Looks perfect. Cheers, Daniel Tang -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCHv2] Add TI-Nspire timer support

2013-06-03 Thread Daniel Tang
that in mind next time. Cheers, Daniel Tang-- 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/

[PATCHv2] Add TI-Nspire timer support

2013-06-01 Thread Daniel Tang
use GFP_KERNEL * Remove redundant line break * Remove IRQF_DISABLED flag Cheers, Daniel Tang Reviewed-by: Linus Walleij Signed-off-by: Daniel Tang --- .../devicetree/bindings/timer/lsi,zevio-timer.txt | 33 drivers/clocksource/Makefile | 1 + drivers/c

[PATCHv2] Add TI-Nspire timer support

2013-06-01 Thread Daniel Tang
redundant line break * Remove IRQF_DISABLED flag Cheers, Daniel Tang Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/timer/lsi,zevio-timer.txt | 33 drivers/clocksource/Makefile | 1 + drivers

[PATCHv2] Add TI-Nspire clock drivers

2013-05-31 Thread Daniel Tang
This patch adds a basic clock driver for the TI-Nspire calculator series. Changes from v1: * Removed filename in header comment * Removed unnecessary #undef EXTRACT statement Signed-off-by: Daniel Tang --- .../devicetree/bindings/clock/nspire-clock.txt | 24 drivers/clk/Makefile

[PATCHv2] Add TI-Nspire clock drivers

2013-05-31 Thread Daniel Tang
This patch adds a basic clock driver for the TI-Nspire calculator series. Changes from v1: * Removed filename in header comment * Removed unnecessary #undef EXTRACT statement Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/clock/nspire-clock.txt | 24 drivers

[PATCH] Device trees for TI-Nspire hardware

2013-05-30 Thread Daniel Tang
This patch adds the device trees for describing the TI-Nspire hardware. Signed-off-by: Daniel Tang --- .../devicetree/bindings/vendor-prefixes.txt| 1 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/nspire-classic.dtsi | 74

[PATCH] Add Initial TI-Nspire support

2013-05-30 Thread Daniel Tang
Hi, Here is the final patch for adding the platform code needed for Linux support on the TI-Nspire calculator series. Signed-off-by: Daniel Tang --- Documentation/devicetree/bindings/arm/nspire.txt | 14 +++ arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug

[PATCH] Add TI-Nspire irqchip support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a driver for the interrupt controller found in the TI-Nspire calculator series. Cheers, Daniel Tang Signed-off-by: Daniel Tang --- .../interrupt-controller/lsi,zevio-intc.txt| 18 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq

[PATCH] Add TI-Nspire keypad support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a driver for the keypads found on the TI-Nspire series calculators. Cheers, Daniel Tang Signed-off-by: Daniel Tang --- .../devicetree/bindings/input/ti,nspire-keypad.txt | 60 drivers/input/keyboard/Kconfig | 10 + drivers/input/keyboard

[PATCH] Add TI-Nspire clock drivers

2013-05-30 Thread Daniel Tang
Hi, This patch adds a basic clock driver for the TI-Nspire calculator series. Cheers, Daniel Tang Signed-off-by: Daniel Tang --- .../devicetree/bindings/clock/nspire-clock.txt | 24 drivers/clk/Makefile | 1 + drivers/clk/clk-nspire.c

[PATCH] Add TI-Nspire timer support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a clocksource/clockevent driver for the TI-Nspire calculator series. Cheers, Daniel Tang Reviewed-by: Linus Walleij Signed-off-by: Daniel Tang --- .../devicetree/bindings/timer/lsi,zevio-timer.txt | 33 +++ drivers/clocksource/Makefile | 1

[PATCH] Add TI-Nspire timer support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a clocksource/clockevent driver for the TI-Nspire calculator series. Cheers, Daniel Tang Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/timer/lsi,zevio-timer.txt | 33 +++ drivers/clocksource

[PATCH] Add TI-Nspire clock drivers

2013-05-30 Thread Daniel Tang
Hi, This patch adds a basic clock driver for the TI-Nspire calculator series. Cheers, Daniel Tang Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/clock/nspire-clock.txt | 24 drivers/clk/Makefile | 1 + drivers/clk/clk

[PATCH] Add TI-Nspire keypad support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a driver for the keypads found on the TI-Nspire series calculators. Cheers, Daniel Tang Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/input/ti,nspire-keypad.txt | 60 drivers/input/keyboard/Kconfig | 10 + drivers

[PATCH] Add TI-Nspire irqchip support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a driver for the interrupt controller found in the TI-Nspire calculator series. Cheers, Daniel Tang Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../interrupt-controller/lsi,zevio-intc.txt| 18 +++ drivers/irqchip/Makefile | 1

[PATCH] Add Initial TI-Nspire support

2013-05-30 Thread Daniel Tang
Hi, Here is the final patch for adding the platform code needed for Linux support on the TI-Nspire calculator series. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- Documentation/devicetree/bindings/arm/nspire.txt | 14 +++ arch/arm/Kconfig | 2 + arch/arm

[PATCH] Device trees for TI-Nspire hardware

2013-05-30 Thread Daniel Tang
This patch adds the device trees for describing the TI-Nspire hardware. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/vendor-prefixes.txt| 1 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/nspire-classic.dtsi

Re: [RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-28 Thread Daniel Tang
On 27/05/2013, at 8:31 PM, Arnd Bergmann wrote: > On Monday 27 May 2013, Daniel Tang wrote: >>> The one remaining bit that sticks out is the clcd platform data. As I >>> said before, I won't require you to convert that to DT in order to >>> get your code merged, b

Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-28 Thread Daniel Tang
On 28/05/2013, at 1:15 AM, Arnd Bergmann wrote: > On Monday 27 May 2013, Daniel Tang wrote: >> Before any peripheral is accessed. I.e. before the clocksource and irqchip >> drivers. > > The irqchip comes first, and by that time, you can actually call > of_iomap(). >

Re: [RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-28 Thread Daniel Tang
On 27/05/2013, at 8:31 PM, Arnd Bergmann a...@arndb.de wrote: On Monday 27 May 2013, Daniel Tang wrote: The one remaining bit that sticks out is the clcd platform data. As I said before, I won't require you to convert that to DT in order to get your code merged, but I'd also really like

Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-28 Thread Daniel Tang
On 28/05/2013, at 1:15 AM, Arnd Bergmann a...@arndb.de wrote: On Monday 27 May 2013, Daniel Tang wrote: Before any peripheral is accessed. I.e. before the clocksource and irqchip drivers. The irqchip comes first, and by that time, you can actually call of_iomap(). The write to the port

Re: [RFC PATCHv4 4/6] clocksource: TI-Nspire timer support

2013-05-27 Thread Daniel Tang
On 27/05/2013, at 8:53 PM, Linus Walleij wrote: > On Sat, May 25, 2013 at 1:08 PM, Daniel Tang wrote: > >> Add clocksource and clockevent driver for the TI-Nspire. >> >> Signed-off-by: Daniel Tang > > This is *much* improved :-D Awesome! >> +

Re: [RFC PATCHv4 4/6] clocksource: TI-Nspire timer support

2013-05-27 Thread Daniel Tang
On 27/05/2013, at 8:53 PM, Linus Walleij linus.wall...@linaro.org wrote: On Sat, May 25, 2013 at 1:08 PM, Daniel Tang dt.ta...@gmail.com wrote: Add clocksource and clockevent driver for the TI-Nspire. Signed-off-by: Daniel Tang dt.ta...@gmail.com This is *much* improved :-D Awesome

Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-26 Thread Daniel Tang
.type = MT_DEVICE >> +} >> +}; > > And I think this one can be replaced with a call to of_iomap: Does of_iomap work that early in the boot process? Cheers, Daniel Tang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-26 Thread Daniel Tang
On 27/05/2013, at 7:23 AM, Arnd Bergmann wrote: > On Saturday 25 May 2013, Daniel Tang wrote: >> Changes between v3 and v4: >> * Remove redundant clock-names in device tree >> * Re-enable bus access to some peripherals on bootup >> * Clean up nspire-classic-

Re: [RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-26 Thread Daniel Tang
On 27/05/2013, at 7:23 AM, Arnd Bergmann a...@arndb.de wrote: On Saturday 25 May 2013, Daniel Tang wrote: Changes between v3 and v4: * Remove redundant clock-names in device tree * Re-enable bus access to some peripherals on bootup * Clean up nspire-classic-timer code. - Implement

Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-26 Thread Daniel Tang
+} +}; And I think this one can be replaced with a call to of_iomap: Does of_iomap work that early in the boot process? Cheers, Daniel Tang -- 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

[RFC PATCHv4 6/6] irqchip: TI-Nspire irqchip support

2013-05-25 Thread Daniel Tang
Add support for the interrupt controller on TI-Nspires. Signed-off-by: Daniel Tang --- .../interrupt-controller/lsi,zevio-intc.txt| 18 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-zevio.c| 177 + 3

[RFC PATCHv4 5/6] input: TI-Nspire keypad support

2013-05-25 Thread Daniel Tang
Add support for the built-in keypad on TI-Nspires. Signed-off-by: Daniel Tang --- .../devicetree/bindings/input/ti,nspire-keypad.txt | 60 drivers/input/keyboard/Kconfig | 10 + drivers/input/keyboard/Makefile| 1 + drivers/input/keyboard/nspire

[RFC PATCHv4 4/6] clocksource: TI-Nspire timer support

2013-05-25 Thread Daniel Tang
Add clocksource and clockevent driver for the TI-Nspire. Signed-off-by: Daniel Tang --- .../devicetree/bindings/timer/lsi,zevio-timer.txt | 33 +++ drivers/clocksource/Makefile | 1 + drivers/clocksource/zevio-timer.c | 231 + 3

[RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-25 Thread Daniel Tang
Add initial platform support for the TI-Nspire series. Signed-off-by: Daniel Tang --- arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug | 16 + arch/arm/Makefile | 1 + arch/arm/include/debug/nspire.S| 28 + arch/arm/mach-nspire

[RFC PATCHv4 3/6] clk: TI-Nspire clock drivers

2013-05-25 Thread Daniel Tang
Add support for TI-Nspire clocks. Signed-off-by: Daniel Tang --- .../devicetree/bindings/clock/nspire-clock.txt | 24 drivers/clk/Makefile | 1 + drivers/clk/clk-nspire.c | 155 + 3 files changed, 180

[RFC PATCHv4 2/6] arm: TI-Nspire device trees

2013-05-25 Thread Daniel Tang
Include device trees for the TI-Nspire. Signed-off-by: Daniel Tang --- .../devicetree/bindings/vendor-prefixes.txt| 1 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/nspire-classic.dtsi | 74 + arch/arm/boot/dts/nspire-clp.dts

[RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-25 Thread Daniel Tang
ore specific .caps for CLCD Daniel Tang (6): arm: TI-Nspire platform code arm: TI-Nspire device trees clk: TI-Nspire clock drivers clocksource: TI-Nspire timer support input: TI-Nspire keypad support irqchip: TI-Nspire irqchip support .../devicetree/bindings/clock/nspire-clock.txt |

[RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-25 Thread Daniel Tang
specific .caps for CLCD Daniel Tang (6): arm: TI-Nspire platform code arm: TI-Nspire device trees clk: TI-Nspire clock drivers clocksource: TI-Nspire timer support input: TI-Nspire keypad support irqchip: TI-Nspire irqchip support .../devicetree/bindings/clock/nspire-clock.txt | 24

[RFC PATCHv4 2/6] arm: TI-Nspire device trees

2013-05-25 Thread Daniel Tang
Include device trees for the TI-Nspire. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/vendor-prefixes.txt| 1 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/nspire-classic.dtsi | 74 + arch/arm/boot/dts

[RFC PATCHv4 3/6] clk: TI-Nspire clock drivers

2013-05-25 Thread Daniel Tang
Add support for TI-Nspire clocks. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/clock/nspire-clock.txt | 24 drivers/clk/Makefile | 1 + drivers/clk/clk-nspire.c | 155 + 3 files

[RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-25 Thread Daniel Tang
Add initial platform support for the TI-Nspire series. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug | 16 + arch/arm/Makefile | 1 + arch/arm/include/debug/nspire.S| 28

[RFC PATCHv4 4/6] clocksource: TI-Nspire timer support

2013-05-25 Thread Daniel Tang
Add clocksource and clockevent driver for the TI-Nspire. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/timer/lsi,zevio-timer.txt | 33 +++ drivers/clocksource/Makefile | 1 + drivers/clocksource/zevio-timer.c | 231

[RFC PATCHv4 5/6] input: TI-Nspire keypad support

2013-05-25 Thread Daniel Tang
Add support for the built-in keypad on TI-Nspires. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/input/ti,nspire-keypad.txt | 60 drivers/input/keyboard/Kconfig | 10 + drivers/input/keyboard/Makefile| 1 + drivers

[RFC PATCHv4 6/6] irqchip: TI-Nspire irqchip support

2013-05-25 Thread Daniel Tang
Add support for the interrupt controller on TI-Nspires. Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../interrupt-controller/lsi,zevio-intc.txt| 18 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-zevio.c| 177

Re: [RFC PATCHv3 3/6] clk: Add TI-Nspire clock drivers

2013-05-20 Thread Daniel Tang
On 20/05/2013, at 5:48 AM, Arnd Bergmann wrote: > On Sunday 19 May 2013, Daniel Tang wrote: >> If the vendors for the on-SOC components are unknown, should we just >> leave the compatible strings as is (i.e. "nspire-XXX")? > > In that case, I would use the name o

Re: [RFC PATCHv3 3/6] clk: Add TI-Nspire clock drivers

2013-05-20 Thread Daniel Tang
On 20/05/2013, at 5:48 AM, Arnd Bergmann a...@arndb.de wrote: On Sunday 19 May 2013, Daniel Tang wrote: If the vendors for the on-SOC components are unknown, should we just leave the compatible strings as is (i.e. nspire-XXX)? In that case, I would use the name of the company that made

Re: [RFC PATCHv3 3/6] clk: Add TI-Nspire clock drivers

2013-05-19 Thread Daniel Tang
On 16/05/2013, at 10:17 PM, Arnd Bergmann wrote: > On Thursday 16 May 2013, Daniel Tang wrote: >> >> On 16/05/2013, at 12:07 AM, Arnd Bergmann wrote: >> >>> You are missing a binding in Documentation/devicetree, same as for some of >>> the other d

Re: [RFC PATCHv3 3/6] clk: Add TI-Nspire clock drivers

2013-05-19 Thread Daniel Tang
On 16/05/2013, at 10:17 PM, Arnd Bergmann a...@arndb.de wrote: On Thursday 16 May 2013, Daniel Tang wrote: On 16/05/2013, at 12:07 AM, Arnd Bergmann a...@arndb.de wrote: You are missing a binding in Documentation/devicetree, same as for some of the other drivers in this series. Should

Re: [RFC PATCHv3 4/6] clocksource: Add TI-Nspire timer drivers

2013-05-18 Thread Daniel Tang
On 17/05/2013, at 11:17 PM, Linus Walleij wrote: >>> If this timer is really just 16 bits, it's a *pretty* good idea to use >>> the prescaler (I guess this is what IO_DIVIDER is) beacuse else you >>> will get short sleep times with CONFIG_NO_HZ_IDLE on this system, >>> and wake up unnecessarily

Re: [RFC PATCHv3 4/6] clocksource: Add TI-Nspire timer drivers

2013-05-18 Thread Daniel Tang
On 17/05/2013, at 11:17 PM, Linus Walleij linus.wall...@linaro.org wrote: If this timer is really just 16 bits, it's a *pretty* good idea to use the prescaler (I guess this is what IO_DIVIDER is) beacuse else you will get short sleep times with CONFIG_NO_HZ_IDLE on this system, and wake up

  1   2   >