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
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
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
-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
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
;
> 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/
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?
>>>
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
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/
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:
>
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
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
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.
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
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
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
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
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
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
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
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
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/
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
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
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
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/
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.
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
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
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
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
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
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
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
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
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
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().
>
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!
>> +
.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
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
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
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
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
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
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
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
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 |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 '
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
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
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
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.
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 +
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 +---
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
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
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
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
72 matches
Mail list logo