[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 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 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

[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 for

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/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-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 ma

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
t; { /* sentinel */ } >> }; >> >> -- >> 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: >

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 >> w

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 &g

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 always match

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

2013-06-22 Thread Daniel Tang
m v1 to v2: * 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 +++ drive

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

[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

[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
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

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

2013-06-07 Thread Daniel Tang
m v1 to v2: * 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/irqchi

Re: [PATCH] Add TI-Nspire irqchip support

2013-06-07 Thread Daniel Tang
you 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/

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-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

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-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-02 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.

[PATCHv2] Add TI-Nspire timer support

2013-05-31 Thread Daniel Tang
ll to 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 + driv

[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

[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

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 merg

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 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 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-ti

[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 |

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-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 driv

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

2013-05-17 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 3/6] clk: Add TI-Nspire clock drivers

2013-05-16 Thread Daniel Tang
lk-fixed-rate.c but I'm guessing it's to use the node name as the clock name unless there is a property called "clock-output-names" Cheers, Daniel Tang-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@v

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

2013-05-14 Thread Daniel Tang
ally 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 often. > > The same goes for the clock event. The clock frequ

Re: [RFC PATCHv3 1/6] arm: Initial TI-Nspire support

2013-05-12 Thread Daniel Tang
On 12/05/2013, at 7:06 PM, Russell King - ARM Linux wrote: > On Sun, May 12, 2013 at 02:22:56PM +1000, Daniel Tang wrote: >> >> +.bpp= 8, >> +.grayscale = 1 >> +}; > > Still no capabilities in the above - how does the CLCD controller

[RFC PATCHv3 1/6] arm: Initial TI-Nspire support

2013-05-11 Thread Daniel Tang
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/Kconfig | 15 + arch/arm/mach-nspire

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

2013-05-11 Thread Daniel Tang
Signed-off-by: Daniel Tang --- drivers/clk/Makefile | 1 + drivers/clk/clk-nspire.c | 141 +++ 2 files changed, 142 insertions(+) create mode 100644 drivers/clk/clk-nspire.c diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index

[RFC PATCHv3 5/6] input: Add TI-Nspire keypad driver

2013-05-11 Thread Daniel Tang
Signed-off-by: Daniel Tang --- drivers/input/keyboard/Kconfig | 10 ++ drivers/input/keyboard/Makefile| 1 + drivers/input/keyboard/nspire-keypad.c | 315 + 3 files changed, 326 insertions(+) create mode 100644 drivers/input/keyboard/nspire

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

2013-05-11 Thread Daniel Tang
Signed-off-by: Daniel Tang --- drivers/clocksource/Makefile | 1 + drivers/clocksource/nspire-classic-timer.c | 199 + 2 files changed, 200 insertions(+) create mode 100644 drivers/clocksource/nspire-classic-timer.c diff --git a/drivers/clocksource

[RFC PATCHv3 6/6] irqchip: Add TI-Nspire irqchip

2013-05-11 Thread Daniel Tang
Signed-off-by: Daniel Tang --- drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-nspire-classic.c | 177 +++ 2 files changed, 178 insertions(+) create mode 100644 drivers/irqchip/irq-nspire-classic.c diff --git a/drivers/irqchip/Makefile b

[RFC PATCHv3 2/6] arm: Add device trees for TI-Nspire

2013-05-11 Thread Daniel Tang
Signed-off-by: Daniel Tang --- arch/arm/boot/dts/Makefile| 3 + arch/arm/boot/dts/nspire-classic.dtsi | 75 ++ arch/arm/boot/dts/nspire-clp.dts | 45 + arch/arm/boot/dts/nspire-cx.dts | 112 + arch/arm/boot/dts/nspire-tp.dts

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

2013-05-11 Thread Daniel Tang
ail, please forgive me if this turns pear shaped. Daniel Tang (6): arm: Initial TI-Nspire support arm: Add device trees for TI-Nspire clk: Add TI-Nspire clock drivers clocksource: Add TI-Nspire timer drivers input: Add TI-Nspire keypad driver irqchip: Add TI-Nspire irqchip arch/arm/Kcon

[RFC PATCH] Fix sortextable building on non-Linux systems

2013-05-02 Thread Daniel Tang
ame job and doesn't break compilation on non-Linux systems. Signed-off-by: Daniel Tang --- tools/include/tools/be_byteshift.h | 34 +- tools/include/tools/le_byteshift.h | 34 +- 2 files changed, 34 insertions(+), 34 deletions(-) di

[RESEND PATCH] Remove trailing whitespace in arch/arm/Makefile

2013-05-02 Thread Daniel Tang
Signed-off-by: Daniel Tang --- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index ee4605f..479b209 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -313,7 +313,7 @@ define archhelp echo '

Re: [RFC PATCHv2 arm: initial TI-Nspire support]

2013-04-11 Thread Daniel Tang
On 11/04/2013, at 10:30 PM, Arnd Bergmann wrote: > On Thursday 11 April 2013, Daniel Tang wrote: >> This is another updated patch for Linux on TI-Nspire support. >> >> Apologies for previously posting updated patches as replies to the first >> thread. I'll sen

[RFC PATCHv2 arm: initial TI-Nspire support]

2013-04-11 Thread Daniel Tang
ssage/20130408.113343.585af217.en.html and v2: * Added new drivers to support the irqchip and timers on older models. * Added new device trees to support the other models. Signed-off-by: Daniel Tang --- arch/arm/Kconfig| 2 + arch/arm/Kconfig.debug | 16 ++ arc

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-09 Thread Daniel Tang
Hi, Thanks for your comments! They're much appreciated. Just to bring you up to speed, we decided to begin reimplementing the machine from scratch and slowly pull things in from the original patch. Arnd pointed out a lot of fundamental issues with our patch so we thought it'd be better to jus

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-08 Thread Daniel Tang
On 09/04/2013, at 5:16 AM, Fabian Vogt wrote: > The latest kernel it seems to get stuck at > console_lock() in register_framebuffer (drivers/video/fbmem.c:1655) > if the LCD-controller is enabled. (Early printk and serial console works fine) > CONFIG_NO_HZ is not activated, it works completely.

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-08 Thread Daniel Tang
SP804 driver. * Fix up platform selection in Kconfig. TI-NSPIRE based option was visible even when ARCH_MULTI_V4_V5 is not selected. * Added keypad driver and keymap * Support for 'make dtbs' Signed-off-by: Daniel Tang --- arch/arm/Kconfig| 2 +

[PATCH] Fix sortextable building on non-Linux systems

2013-04-07 Thread Daniel Tang
x/types.h' doesn't exist. Included is a patch that fixes building on non-Linux systems. Cheers, tangrs Signed-off-by: Daniel Tang --- tools/include/tools/be_byteshift.h | 34 +- tools/include/tools/le_byteshift.h | 34 +---

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-06 Thread Daniel Tang
using the device tree to select the correct configuration. Signed-off-by: Daniel Tang --- arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug | 16 +++ arch/arm/Makefile | 3 +- arch/arm/boot/dts/nspire-cx.dts| 89 ++ arch/ar

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-06 Thread Daniel Tang
d_node_by_path(path); >> +base = of_iomap(timer, 0); >> +if (WARN_ON(!base)) >> +return; >> + >> +clk = of_clk_get_by_name(timer, NULL); >> +clk_register_clkdev(clk, timer->name, "sp804"); >> + >> +sp804_clocks

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-06 Thread Daniel Tang
hing basic that boots successfully using device trees. Some comments before we continue would be greatly appreciated. Signed-off-by: Daniel Tang --- arch/arm/Kconfig| 13 ++ arch/arm/Makefile |3 +- arch/arm/boot/dt

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-05 Thread Daniel Tang
Hi, First of all, thank you for your comments! On 04/04/2013, at 10:12 PM, Arnd Bergmann wrote: > For new platforms, we want to have only the absolute minimum amount of > code in arch/arm and move everything else into drivers. However, that > is only possible using device tree. It should not ad