Re: booting an exynos

2013-01-02 Thread Thomas Abraham
On 2 January 2013 03:32, Daniel Lezcano wrote: > > Hi All, > > happy new year ! > > I am trying to boot my exynos board for the first time but I have no > console output (the line shows "offline"). > > I used a serial-usb with minicom and screen. > > The web site origenboard.org is down, so I have

Re: [PATCH v2 1/2] ARM: EXYNOS: Add USB HOST register definitions

2012-03-01 Thread Thomas Abraham
On 1 March 2012 21:40, Sangwook Lee wrote: [...] >  I found out some code related to this burst function. > >  the snip from ehci-s5pv210.c, 2.6.35 kernel > >     /* Mark hardware accessible again as we are out of D3 state by now > */ >     set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags); >

Re: [PATCH 1/2] ARM: EXYNOS: Add EHCI AHB burst function

2012-02-29 Thread Thomas Abraham
Hi Sangwook, On 29 February 2012 18:11, Sangwook Lee wrote: > Enable burst transfer from AHB for EHCI. > This fixes data transfer of USB Ethernet with EHCI. > Without this patch, scp hardly works. > > Signed-off-by: Sangwook Lee > --- >  arch/arm/mach-exynos/setup-usb-phy.c      |    6 ++ >

Re: [PATCH v5 1/4] regulator: helper routine to extract regulator_init_data

2011-12-05 Thread Thomas Abraham
On 5 December 2011 16:27, Mark Brown wrote: > On Mon, Dec 05, 2011 at 04:14:40PM +0530, Thomas Abraham wrote: >> On 5 December 2011 16:04, Mark Brown > >> > With the regulator device tree bindings if the regulator is configured >> > to run a single voltage

Re: [PATCH v5 1/4] regulator: helper routine to extract regulator_init_data

2011-12-05 Thread Thomas Abraham
On 5 December 2011 16:04, Mark Brown wrote: > On Mon, Dec 05, 2011 at 02:40:50PM +0530, Thomas Abraham wrote: >> On 4 December 2011 21:24, Mark Brown > >> > If the regulator isn't software managed then always_on covers this - the >> > regulator core will e

Re: [PATCH v5 1/4] regulator: helper routine to extract regulator_init_data

2011-12-05 Thread Thomas Abraham
Hi Mark, On 4 December 2011 21:24, Mark Brown wrote: > On Sun, Dec 04, 2011 at 06:51:23PM +0530, Thomas Abraham wrote: > >> For regulators that are not turned on by bootloader, and which require >> 'apply_uV' constraint, is there any alternative for turning on th

Re: [PATCH v5 1/4] regulator: helper routine to extract regulator_init_data

2011-12-04 Thread Thomas Abraham
On 18 November 2011 16:47, Rajendra Nayak wrote: > The helper routine is meant to be used by the regulator drivers > to extract the regulator_init_data structure from the data > that is passed from device tree. > 'consumer_supplies' which is part of regulator_init_data is not extracted > as the re

Re: [PATCH v5 3/4] regulator: pass additional of_node to regulator_register()

2011-12-04 Thread Thomas Abraham
Hi Rajendra, On 18 November 2011 16:47, Rajendra Nayak wrote: > With device tree support for regulators, its needed that the > regulator_dev->dev device has the right of_node attached. > To be able to do this add an additional parameter to the > regulator_register() api, wherein the dt-adapted dr

Re: For the device tree topic, is there anything I can do in the 11.12 (28th November 2011 - 18th November 2011)?

2011-11-29 Thread Thomas Abraham
Hi Botao, On 30 November 2011 09:36, Botao Sun wrote: > Hi Angus & Grant, > > Because the Linaro Android 11.11 release has been done successfully, I have > some time to continue to work on device tree topic, here is my blue print > for it: > > https://blueprints.launchpad.net/linaro-android/+spec

Re: [RFC 1/3] pinctrl: add a driver for the OMAP pinmux

2011-11-22 Thread Thomas Abraham
Hi Linus, On 17 November 2011 19:27, Linus Walleij wrote: > On Thu, Nov 17, 2011 at 12:26 PM, Thomas Abraham > wrote: > >> For now, the Samsung GPIO, Pinconfig and Pinmux information is >> represented in device tree as listed below. > > Does this mean that the unde

Re: [RFC 1/3] pinctrl: add a driver for the OMAP pinmux

2011-11-17 Thread Thomas Abraham
On 17 November 2011 13:38, Linus Walleij wrote: >> Linus, >> Is there a plan to move even the data that exists in the pinmux >> drivers today (including the function/pin-groups definition) >> eventually to DT? Or is it just the 'mapping' data to map >> devices to functions (that today is done from

Re: [PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver

2011-06-24 Thread Thomas Abraham
Hi Grant, On 24 June 2011 01:38, Grant Likely wrote: > Despite the fact that this is exactly what I asked you to write, this > ends up being rather ugly.  (I originally put in the '*4' to match the > behaviour of the existing of_read_number(), but that was a mistake. > tglx also pointed it out).

Re: [PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver

2011-06-22 Thread Thomas Abraham
Hi Grant, On 20 June 2011 22:13, Grant Likely wrote: > Okay, this is getting ugly (not your fault, but this pattern has > become too common.  Can you craft and post a patch that adds the > following functions to drivers/of/base.c and include/linux/of.h > > /* offset in cells, not bytes */ > int d

Re: [PATCH 6/6] arm: exynos4: Add a new Exynos4 device tree enabled machine

2011-06-21 Thread Thomas Abraham
On 20 June 2011 22:25, Grant Likely wrote: >> + >> +static const struct of_dev_auxdata exynos4_auxdata_lookup[] __initconst = { >> +       OF_DEV_AUXDATA("samsung,s3c-sdhci", EXYNOS4_PA_HSMMC(2), >> +                               "s3c-sdhci.2", &s3c_hsmmc2_def_platdata), >> +       OF_DEV_AUXD

Re: [PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver

2011-06-21 Thread Thomas Abraham
Hi Grant, On 20 June 2011 22:13, Grant Likely wrote: > > For custom properties, you should prefix the property name with 'samsung,'. > > This looks very much like directly encoding the Linux flags into the > device tree.  The binding should be completely contained within > itself, and not refer t

Re: [PATCH 1/6] serial: samsung: Keep a copy of platform data in driver's private data

2011-06-21 Thread Thomas Abraham
Hi Grant, On 20 June 2011 21:24, Grant Likely wrote: > On Mon, Jun 20, 2011 at 5:02 AM, Thomas Abraham > wrote: >> The driver depends on pdev->dev.platform_data to retrive information >> about the platform data even after the initialization. To add device >> tree supp

[PATCH 6/6] arm: exynos4: Add a new Exynos4 device tree enabled machine

2011-06-20 Thread Thomas Abraham
Basic Exynos4 machine with device tree support that can boot on a Exynos4 based smdkv310 board and bring up the console. Signed-off-by: Thomas Abraham --- Documentation/devicetree/bindings/arm/samsung.txt |3 +- arch/arm/mach-exynos4/Kconfig | 11 +++ arch/arm/mach

[PATCH 1/6] serial: samsung: Keep a copy of platform data in driver's private data

2011-06-20 Thread Thomas Abraham
y of the plaform data in s3c24xx_uart_info and using it when needed after the initialization. Signed-off-by: Thomas Abraham --- drivers/tty/serial/s5pv210.c | 12 ++-- drivers/tty/serial/samsung.c | 24 drivers/tty/serial/samsung.h |4 +++- 3 files cha

[PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver

2011-06-20 Thread Thomas Abraham
ached to the driver's private data. The samsung uart core driver is also modified to parse the device tree node and pick up the platform data from the node. Signed-off-by: Thomas Abraham --- .../bindings/tty/serial/samsung_uart.txt | 50 +++ drivers/tty/ser

[PATCH 3/6] watchdog: s3c2410: Add support for device tree based probe

2011-06-20 Thread Thomas Abraham
This patch adds the of_match_table to enable s3c2410-wdt driver to be probed when watchdog device node is found in the device tree. Signed-off-by: Thomas Abraham --- .../devicetree/bindings/watchdog/samsung-wdt.txt | 12 drivers/watchdog/s3c2410_wdt.c | 10

[PATCH 4/6] mmc: sdhci-s3c: Add support for device tree based probe

2011-06-20 Thread Thomas Abraham
Add of_match_table to enable sdhci-s3c driver to be probed when a compatible sdhci device node is found in device tree. Signed-off-by: Thomas Abraham --- This is temporary patch. sdhci-s3c driver has to be moved to sdhci-pltfm based driver. drivers/mmc/host/sdhci-s3c.c | 11 +++ 1

[PATCH 5/6] arm: dts: Add nodes in smdkv310 device tree source file

2011-06-20 Thread Thomas Abraham
Include device tree nodes for watchdog timer, sdhci instance 0 and 1, and uart instances 0 to 3. Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4-smdkv310.dts | 135 +++- 1 files changed, 133 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 0/6] Add basic device tree support for Samsung's Exynos4 platform

2011-06-20 Thread Thomas Abraham
g-soc@vger.kernel.org/msg04874.html] 4. Consolidate the clkdev header files [http://patchwork.ozlabs.org/patch/97862/] Thomas Abraham (6): serial: samsung: Keep a copy of platform data in driver's private data serial: samsung: Add device tree support for s5pv210 uart driver watchdog: s3

Re: [PATCH V2] ARM: S5P: Fix compilation error for exynos4_defconfig

2011-06-03 Thread Thomas Abraham
On 3 June 2011 12:34, Tushar Behera wrote: > Added Kconfig entry for setup-usb-phy.c on which EHCI support is > dependent on. > > Following the naming convention of other setup files, we have following > renaming. >        usb-phy.c ==> setup-usb-phy.c > > Signed-off-by: Tushar Behera > --- >  ar

Re: Boot sanity testing of release candidate kernel

2011-05-26 Thread Thomas Abraham
On 25 May 2011 23:23, Deepak Saxena wrote: > On 25 May 2011 03:29, Tixy wrote: >> On Tue, 2011-05-24 at 19:42 -0700, Deepak Saxena wrote: >>> The Kernel Working Group is getting ready to release the first of our new >>> monthly development snapshot in a few days and we would like folks >>> to do

[PATCH] ARM: EXYNOS4: Fix card insert/removal event detection on smdkv310 board

2011-04-12 Thread Thomas Abraham
On SMDKV310 board, a card detect gpio pin is available that is directly connected to the io pad of the sdhci controller. Fix incorrect value of cd_type field in platform data for sdhci instance 0 and 2. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/mach-smdkv310.c |4 ++-- 1 files

[PATCH] ARM: EXYNOS4: Fix incorrect mapping of gpio pull-up macro to register setting

2011-04-12 Thread Thomas Abraham
The S3C_GPIO_PULL_UP macro value incorrectly maps to a reserved setting of GPIO pull up/down registers on Exynos4 platform. Fix this incorrect mapping by adding wrappers to the s3c_gpio_setpull_updown and s3c_gpio_getpull_updown functions. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4

[PATCH] ARM: EXYNOS4: Fix addruart macro

2011-03-22 Thread Thomas Abraham
Fix incorrect conditional execution of ldr instructions in addruart macro. Signed-off-by: Thomas Abraham Signed-off-by: Abhilash Kesavan --- arch/arm/mach-exynos4/include/mach/debug-macro.S |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos4

Re: [PATCH 0/7] Add Samsung's s5pv310 machine with device tree enabled

2011-02-17 Thread Thomas Abraham
Hi Grant, On 17 February 2011 06:09, Grant Likely wrote: > On Sat, Feb 12, 2011 at 5:46 AM, Thomas Abraham > wrote: >> This patchset adds Samsung's s5pv310 machine with device tree support. This >> is based on >> >> git://git.secretlab.ca/git/linux-2.6

Re: [PATCH 7/7] serial: samsung: Get default port register settings from device tree

2011-02-17 Thread Thomas Abraham
Hi Grant, On 17 February 2011 05:56, Grant Likely wrote: > On Sat, Feb 12, 2011 at 06:17:05PM +0530, Thomas Abraham wrote: >> The default uart port register settings are obtained from the platform data. >> In addition to that, this patch adds support for obtaining the defaul

Re: [PATCH 4/7] watchdog: s3c2410: Add support for device tree based probe

2011-02-17 Thread Thomas Abraham
Hi Grant, On 17 February 2011 05:47, Grant Likely wrote: > On Sat, Feb 12, 2011 at 06:17:02PM +0530, Thomas Abraham wrote: >> This patch adds the of_match_table to enable s3c2410-wdt driver >> to be probed when watchdog device node is found in the device tree. >> >> Si

Re: [PATCH 2/7] ARM: s5pv310-dt: Add a basic dts file for SMDKV310 machine

2011-02-17 Thread Thomas Abraham
Hi Grant, On 17 February 2011 06:04, Grant Likely wrote: > On Sat, Feb 12, 2011 at 06:17:00PM +0530, Thomas Abraham wrote: >> This patch adds a basic dts file for Samsung's SMDKV310 board which >> is based on the s5pv310 machine. >> >> Signed-off-by: Thomas A

[PATCH 0/7] Add Samsung's s5pv310 machine with device tree enabled

2011-02-12 Thread Thomas Abraham
fault console register values from device tree. In addition, the first 5 patches have been tested with git://git.secretlab.ca/git/linux-2.6 devicetree/arm and (with minor modification [driver/tty/serial -> drivers/serial]) git://git.secretlab.ca/git/linux-2.6 devicetree/arm-linaro-2.6.37

[PATCH 7/7] serial: samsung: Get default port register settings from device tree

2011-02-12 Thread Thomas Abraham
The default uart port register settings are obtained from the platform data. In addition to that, this patch adds support for obtaining the default uart port register values from the uart node in device tree. Signed-off-by: Thomas Abraham --- drivers/tty/serial/samsung.c | 13 + 1

[PATCH 4/7] watchdog: s3c2410: Add support for device tree based probe

2011-02-12 Thread Thomas Abraham
This patch adds the of_match_table to enable s3c2410-wdt driver to be probed when watchdog device node is found in the device tree. Signed-off-by: Thomas Abraham --- drivers/watchdog/s3c2410_wdt.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers

[PATCH 3/7] ARM: s5pv310-dt: Add support for probing platform bus on s5pv310 dt-enabled machine

2011-02-12 Thread Thomas Abraham
This patch adds support for probing devices from device tree for Samsung's s5pv310 device-tree enabled machine. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pv310/mach-s5pv310-dt.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5

[PATCH 2/7] ARM: s5pv310-dt: Add a basic dts file for SMDKV310 machine

2011-02-12 Thread Thomas Abraham
This patch adds a basic dts file for Samsung's SMDKV310 board which is based on the s5pv310 machine. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pv310/mach-smdkv310.dts | 78 +++ 1 files changed, 78 insertions(+), 0 deletions(-) create mode 100755 arc

[PATCH 5/7] serial: samsung: Get console register defaults from device tree

2011-02-12 Thread Thomas Abraham
g the default port register values from the device tree. The default values should be specified in the 'chosen' node of the device tree. Signed-off-by: Thomas Abraham --- drivers/tty/serial/samsung.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/dri

[PATCH 6/7] ARM: s5pv310-dt: Enable snooping of platform_device registrations

2011-02-12 Thread Thomas Abraham
Enable snooping of platform_device registrations for s5pv310-dt machine. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pv310/mach-s5pv310-dt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5pv310/mach-s5pv310-dt.c b/arch/arm/mach-s5pv310/mach

[PATCH 1/7] ARM: s5pv310-dt: Add s5pv310 machine with device tree support

2011-02-12 Thread Thomas Abraham
This patch adds a new Samsung's s5pv310 machine that boots with a minimal device tree support. The bootargs, memory information, console port register defaults and external crystal frequency are obtained from the device tree during boot. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5

Re: [RFC] dt: add of_platform_bus_snoop() which attaches nodes to devices

2011-02-11 Thread Thomas Abraham
Hi Grant, On 1 February 2011 03:31, Grant Likely wrote: > This patch implements an alternate method for using device tree data > for populating machine device registration.  Traditionally, board > support has directly generated and registered devices based on nodes > in the device tree.  The boar

[PATCH] ARM: S5P: Fix end address in memory resource information for UART devices

2011-02-08 Thread Thomas Abraham
For S5P platforms, the end address in memory resource information for UART devices is one byte more than the intended value. Fix this by reducing the end address by one byte. Signed-off-by: Thomas Abraham --- arch/arm/plat-s5p/dev-uart.c | 12 ++-- 1 files changed, 6 insertions(+), 6

Re: [PATCH] ARM: S5P: Fix length of memory resource definition for UART devices

2011-02-08 Thread Thomas Abraham
On 8 February 2011 09:30, Nicolas Pitre wrote: > On Tue, 8 Feb 2011, thomas.abra...@linaro.org wrote: > >> From: Thomas Abraham >> >> The length of memory resource definition for UART devices in all the >> s5p platforms is one byte more than the intended value

[PATCH] ARM: S5P: Fix length of memory resource definition for UART devices

2011-02-07 Thread thomas . abraham
From: Thomas Abraham The length of memory resource definition for UART devices in all the s5p platforms is one byte more than the intended value. This patch fixes the UART memory resource definition for all s5p platforms. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5p6442/include/mach

Re: Device Tree on ARM status report

2011-02-06 Thread Thomas Abraham
On 6 February 2011 10:12, Grant Likely wrote: > Hi all, > > With several more engineers working on ARM device tree support, I'm > going to start collecting the status of all the work that is going on > (and I know about) and posting it in a regular status report, > hopefully weekly, for the next f

[PATCH 3/4] ARM: DT: Add support for probing platform bus on SMDKV310 machine

2011-02-06 Thread Thomas Abraham
This patch adds support for probing devices from device tree for Samsung's SMDKV310 machine. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pv310/mach-smdkv310-dt.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5pv310/mach-smdkv310-dt.c b

[PATCH 1/4] ARM: DT: Add SMDKV310 machine with device tree support.

2011-02-06 Thread Thomas Abraham
This patch adds a new SMDKV310 machine that boots with a minimal device tree support. The bootargs and memory information is obtained from the device tree during boot. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pv310/Kconfig|7 ++ arch/arm/mach-s5pv310/Makefile

[PATCH 4/4] watchdog: s3c2410: Add support for device tree based probe

2011-02-06 Thread Thomas Abraham
This patch adds the of_match_table to enable s3c2410-wdt driver to be probed when watchdog device node is found in the device tree. Signed-off-by: Thomas Abraham --- drivers/watchdog/s3c2410_wdt.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers

[PATCH 2/4] ARM: DT: Add a basic dts file for SMDKV310 machine

2011-02-06 Thread Thomas Abraham
This patch adds a basic dts file for Samsung's SMDKV310 machine. Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pv310/mach-smdkv310.dts | 38 +++ 1 files changed, 38 insertions(+), 0 deletions(-) create mode 100755 arch/arm/mach-s5pv310/mach-smdkv310.dts

[PATCH 0/4] Add basic device tree support for Samsung's SMDKV310 machine.

2011-02-06 Thread Thomas Abraham
This patchset adds Samsung's SMDKV310 machine with device tree support. The bootargs and memory information is obtained from the device tree. The watchdog driver is also modified such that it is probed based on the information from the device tree. Thomas Abraham (4): ARM: DT: Add SMD

[RFC PATCH] SDHCI: S3C: Add support for retrieving memory and irq resource information from device tree.

2011-01-31 Thread thomas . abraham
From: Thomas Abraham Add support for retrieving memory and irq resource information from device tree for Samsung's SDHCI controller driver. Signed-off-by: Thomas Abraham --- The modification will be made more generic to support both DT and non-DT versions of the driver without the #if

Re: [PATCH] Fix build failure for s5pv310 target when CONFIG_S5PV310_DEV_SYSMMU is not defined

2011-01-27 Thread Thomas Abraham
On 27 January 2011 18:49, Angus Ainslie wrote: > > Signed-off-by: Angus Ainslie > --- >  arch/arm/mach-s5pv310/mach-smdkv310.c |    2 ++ >  1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-s5pv310/mach-smdkv310.c > b/arch/arm/mach-s5pv310/mach-smdkv310.c > index 28