With device core now able to setup the default pin configuration,
the pin configuration code based on the deprecated Samsung specific
gpio bindings is removed.
Signed-off-by: Thomas Abraham
---
.../devicetree/bindings/spi/spi-samsung.txt|8 +--
drivers/spi/spi-s3c64xx.c
Convert clk_enable/clk_disable to clk_prepare_enable/clk_disable_unprepare
calls as required by common clock framework.
Signed-off-by: Thomas Abraham
---
drivers/spi/spi-s3c64xx.c | 32
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers
On 14 August 2012 03:14, Guenter Roeck wrote:
> Hi all,
>
> looking through SPI master drivers, I noticed that the following drivers call
> spi_master_get() in their suspend and resume functions. Yet, there is no
> matching call to spi_master_put(), meaning the reference count will increase
> with
On 13 July 2012 19:12, Kukjin Kim wrote:
> Thomas Abraham wrote:
>>
>> On 13 July 2012 16:58, Kukjin Kim wrote:
>> > Thomas Abraham wrote:
>> >>
>> >> On 13 July 2012 04:08, Kukjin Kim wrote:
>> >> > Thomas, the DMACH_DT_PROP is a
On 13 July 2012 16:58, Kukjin Kim wrote:
> Thomas Abraham wrote:
>>
>> On 13 July 2012 04:08, Kukjin Kim wrote:
>> > Thomas, the DMACH_DT_PROP is available only on pl330 now. So seems occur
>> > following build error with s3c6400_defconfig.
>> >
&
On 13 July 2012 04:08, Kukjin Kim wrote:
> Thomas, the DMACH_DT_PROP is available only on pl330 now. So seems occur
> following build error with s3c6400_defconfig.
>
> drivers/spi/spi-s3c64xx.c: In function 's3c64xx_spi_get_dmares':
> drivers/spi/spi-s3c64xx.c:1098: error: 'DMACH_DT_PROP' undeclar
On 12 July 2012 18:32, Mark Brown wrote:
> On Thu, Jul 12, 2012 at 06:11:05PM +0900, Kukjin Kim wrote:
>
>> And Mark, this touches various samsung stuff in arch/arm/ so if you're ok,
>> I'd like to pick this up in samsung tree. We don't want to see conflicts...
>
> Well, simple conflicts aren't th
On 11 July 2012 23:30, Thomas Abraham wrote:
> On 11 July 2012 23:19, Mark Brown wrote:
>> On Wed, Jul 11, 2012 at 09:10:59PM +0530, Thomas Abraham wrote:
>>> Changes since v4:
>>> - Includes the missing gpio request for slave select line gpio as suggested
>>>
On 11 July 2012 23:19, Mark Brown wrote:
> On Wed, Jul 11, 2012 at 09:10:59PM +0530, Thomas Abraham wrote:
>> Changes since v4:
>> - Includes the missing gpio request for slave select line gpio as suggested
>> by Mark Brown.
>
> These looked OK (and have had quite
On 11 July 2012 19:01, Mark Brown wrote:
> On Wed, Jul 11, 2012 at 05:51:13PM +0530, Thomas Abraham wrote:
>
>> Based on your comments to add the gpio request, only two patches 5/6
>> and 6/6 in this series have changed since. I have cc'ed you in the
>> other 4 patche
With the spi controller hardware configuration moved into the driver data, there
are no more default hardware configuration data that is passed through platform
data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to
these changes.
Signed-off-by: Thomas Abraham
Acked-by
Add support for device based discovery.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
.../devicetree/bindings/spi/spi-samsung.txt| 113
drivers/spi/spi-s3c64xx.c | 305 +---
2 files changed, 378
-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
arch/arm/mach-exynos/clock-exynos4.c | 18 ++--
arch/arm/mach-exynos/setup-spi.c | 25
arch/arm/mach-s3c24xx/clock-s3c2416.c|3 +-
arch/arm/mach-s3c24xx/clock-s3c2443.c
The platform data pointer that is passed to the spi gpio setup functions
is not used. Hence, this parameter is removed from all the spi gpio setup
functions.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
---
arch/arm/mach-exynos/setup-spi.c |8 +++-
arch/arm
and replaced with call to gpio_set_value in the driver.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -
drivers/spi/spi-s3c64xx.c| 31 ++---
2 files changed
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
drivers/spi/spi-s3c64xx.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers
Changes since v4:
- Includes the missing gpio request for slave select line gpio as suggested
by Mark Brown.
Changes since v3:
- Fixed the build breakage after applying 3rd patch in this series (which
had dependency on the 6th patch). This was reported by Doug Anderson.
Changes since v2:
- Re
On 11 July 2012 17:17, Mark Brown wrote:
> On Wed, Jul 11, 2012 at 04:45:59PM +0530, Thomas Abraham wrote:
>> The set_level callback in the controller data, which is used to configure
>> the slave select line, cannot be supported when migrating the driver to
>> device tree b
Add support for device based discovery.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
.../devicetree/bindings/spi/spi-samsung.txt| 113 +++
drivers/spi/spi-s3c64xx.c | 306 +---
2 files changed, 379
and replaced with call to gpio_set_value in the driver.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -
drivers/spi/spi-s3c64xx.c| 30 ++---
2 files changed
On 10 July 2012 22:27, Mark Brown wrote:
> On Tue, Jul 10, 2012 at 10:22:31PM +0530, Thomas Abraham wrote:
>
>> In non-dt case, the platform code supplying the gpio number (slave
>> select line) is responsible for requesting the gpio during the
>> machine_init call. So
On 10 July 2012 20:08, Mark Brown wrote:
> On Tue, Jul 10, 2012 at 07:57:38PM +0530, Thomas Abraham wrote:
>> The set_level callback in the controller data, which is used to configure
>> the slave select line, cannot be supported when migrating the driver to
>> device tree b
The platform data pointer that is passed to the spi gpio setup functions
is not used. Hence, this paremeter is removed from all the spi gpio setup
functions.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
---
arch/arm/mach-exynos/setup-spi.c |8 +++-
arch/arm
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
drivers/spi/spi-s3c64xx.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers
-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
arch/arm/mach-exynos/clock-exynos4.c | 18 ++--
arch/arm/mach-exynos/setup-spi.c | 25
arch/arm/mach-s3c24xx/clock-s3c2416.c|3 +-
arch/arm/mach-s3c24xx/clock-s3c2443.c
ested for Exynos4210
and Exynos5250 with onboard spi nor flash device.
The patch series (6 patches) that add board/platform specific support has
no changes since the v2 version. This series is available at:
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-May/100812.html
Thomas Abrah
Add support for device based discovery.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
.../devicetree/bindings/spi/spi-samsung.txt| 113
drivers/spi/spi-s3c64xx.c | 277 +---
2 files changed, 358
and replaced with call to gpio_set_value in the driver.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 --
drivers/spi/spi-s3c64xx.c| 11 ++-
2 files changed, 6
With the spi controller hardware configuration moved into the driver data, there
are no more default hardware configuration data that is passed through platform
data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to
these changes.
Signed-off-by: Thomas Abraham
Acked-by
-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
arch/arm/mach-exynos/clock-exynos4.c | 18 ++--
arch/arm/mach-exynos/setup-spi.c | 25
arch/arm/mach-s3c24xx/clock-s3c2416.c|3 +-
arch/arm/mach-s3c24xx/clock-s3c2443.c
Add support for device based discovery.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
.../devicetree/bindings/spi/spi-samsung.txt| 113
drivers/spi/spi-s3c64xx.c | 279 +---
2 files changed, 359
The platform data pointer that is passed to the spi gpio setup functions
is not used. Hence, this paremeter is removed from all the spi gpio setup
functions.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
---
arch/arm/mach-exynos/setup-spi.c |8 +++-
arch/arm
and replaced with call to gpio_set_value in the driver.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 --
drivers/spi/spi-s3c64xx.c|8
2 files changed, 4 insertions
With the spi controller hardware configuration moved into the driver data, there
are no more default hardware configuration data that is passed through platform
data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to
these changes.
Signed-off-by: Thomas Abraham
Acked-by
Singh .
This patch series adds device tree based discovery support for Samsung's
s3c64xx compatible spi controller. This is mainly tested for Exynos4210
and Exynos5250 with onboard spi nor flash device.
Thomas Abraham (6):
spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro
spi: s3
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
Acked-by: Grant Likely
---
drivers/spi/spi-s3c64xx.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers
On 1 June 2012 18:09, Mark Brown wrote:
> On Fri, Jun 01, 2012 at 10:47:44AM +0800, Thomas Abraham wrote:
>
>> 1. There is one instance of 'struct platform_device' for each of the
>> spi controller instances (0/1/2) named "s3c64xx-spi" (in
>> arch/arm/
On 31 May 2012 19:36, Mark Brown wrote:
> On Thu, May 31, 2012 at 10:05:42AM +0800, Thomas Abraham wrote:
>> On 30 May 2012 18:13, Mark Brown wrote:
>
>> > No there isn't. You've got things like s3c64xx_device_spi0 in
>> > arch/arm/plat-samsung/devs.c
On 30 May 2012 18:13, Mark Brown wrote:
> On Wed, May 30, 2012 at 06:05:31PM +0800, Thomas Abraham wrote:
>> On 30 May 2012 17:34, Mark Brown wrote:
>
>> > Right, and there's no problem at all with using the name. The thing is
>> > that there's no n
On 30 May 2012 17:34, Mark Brown wrote:
> On Wed, May 30, 2012 at 12:28:55AM -0700, Olof Johansson wrote:
>> On Sun, May 20, 2012 at 2:21 AM, Mark Brown
>
>> > This dev_name also isn't equivalent to dev_name() which makes matters
>> > more confusing than they need to be.
>
>> Looks like they use t
Hi Olof,
On 30 May 2012 15:23, Olof Johansson wrote:
> Hi,
>
> Some comments below.
>
> On Tue, May 8, 2012 at 3:04 PM, Thomas Abraham
> wrote:
>> Platform data is used to specify controller hardware specific information
>> such as the tx/rx fifo level mask and bit
On 30 May 2012 15:28, Olof Johansson wrote:
> On Sun, May 20, 2012 at 2:21 AM, Mark Brown
> wrote:
>> On Fri, May 18, 2012 at 03:03:31PM +0530, Thomas Abraham wrote:
>>
>>> - s3c64xx_spi0_set_platdata(&s3c64xx_spi0_pdata, 0, 1);
>>> + s3c64xx_spi
On 24 May 2012 12:48, Kukjin Kim wrote:
> Thomas Abraham wrote:
>>
>> Platform data is used to specify controller hardware specific information
>> such as the tx/rx fifo level mask and bit offset of rx fifo level. Such
>> information is not suitable to be supplied from
-by: Thomas Abraham
Acked-by: Jaswinder Singh
---
arch/arm/mach-exynos/clock-exynos4.c | 18 +-
arch/arm/mach-exynos/setup-spi.c | 25 ---
arch/arm/mach-s3c24xx/clock-s3c2416.c|2 +-
arch/arm/mach-s3c24xx/clock-s3c2443.c|2 +-
arch/arm
Add support for device based discovery.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
---
.../devicetree/bindings/spi/spi-samsung.txt| 113
drivers/spi/spi-s3c64xx.c | 277 +---
2 files changed, 358 insertions(+), 32
With the spi controller hardware configuration moved into the driver data, there
are no more default hardware configuration data that is passed through platform
data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to
these changes.
Signed-off-by: Thomas Abraham
Acked-by
and replaced with call to gpio_set_value in the driver.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
---
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 --
drivers/spi/spi-s3c64xx.c|8
2 files changed, 4 insertions(+), 6 deletions(-)
diff
The platform data pointer that is passed to the spi gpio setup functions
is not used. Hence, this paremeter is removed from all the spi gpio setup
functions.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
---
arch/arm/mach-exynos/setup-spi.c |8 +++-
arch/arm
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed.
Signed-off-by: Thomas Abraham
Acked-by: Jaswinder Singh
---
drivers/spi/spi-s3c64xx.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index
with onboard spi nor flash device.
Thomas Abraham (6):
spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro
spi: s3c64xx: move controller information into driver data
ARM: Samsung: Remove pdev pointer paremeter from spi gpio setup functions
ARM: Samsung: Modify s3c64xx_spi{
On 10 May 2012 00:47, Mark Brown wrote:
> On Thu, May 10, 2012 at 12:39:29AM +0800, Thomas Abraham wrote:
>> On 9 May 2012 22:32, Mark Brown wrote:
>
>> > Yeah, I know. I'm saying we should try to come up with a binding for
>> > this that can be used by
On 9 May 2012 22:28, Mark Brown wrote:
> On Wed, May 09, 2012 at 09:40:26PM +0800, Thomas Abraham wrote:
>> On 9 May 2012 16:52, Mark Brown wrote:
>
>> > This should've been squashed into the patch that updated to use driver
>> > data in order to avoid breaking
On 9 May 2012 22:32, Mark Brown wrote:
> On Wed, May 09, 2012 at 10:13:28PM +0800, Thomas Abraham wrote:
>> On 9 May 2012 17:07, Mark Brown wrote:
>> > On Wed, May 09, 2012 at 03:34:54AM +0530, Thomas Abraham wrote:
>
>> >> +- gpios: The gpio specifier for clo
On 9 May 2012 22:33, Mark Brown wrote:
> On Wed, May 09, 2012 at 10:22:26PM +0800, Thomas Abraham wrote:
>> On 9 May 2012 18:55, Mark Brown wrote:
>
>> > Yes, that's the normal way of handling this and is actually what the
>> > code was originally doing - th
On 9 May 2012 18:55, Mark Brown wrote:
> On Wed, May 09, 2012 at 11:10:14AM +0200, Heiko Stübner wrote:
>
>> Similar to the adc and rtc driver, all Samsung platforms reuse a common
>> platform-device definition for the s3c64xx-spi and simply will set the
>> correct
>> name when the machine type i
On 9 May 2012 17:07, Mark Brown wrote:
> On Wed, May 09, 2012 at 03:34:54AM +0530, Thomas Abraham wrote:
>
>> +- gpios: The gpio specifier for clock, mosi and miso interface lines (in no
>> + particular order). The format of the gpio specifier depends on the gpio
>> + co
On 9 May 2012 16:52, Mark Brown wrote:
> On Wed, May 09, 2012 at 03:34:49AM +0530, Thomas Abraham wrote:
>> With the addition of platform specific driver data in the spi-s3c64xx
>> driver, the device name of spi controllers are changed. Accordingly,
>> update the devi
Add support for device based discovery.
Cc: Jaswinder Singh
Signed-off-by: Thomas Abraham
---
.../devicetree/bindings/spi/spi-samsung.txt| 113
drivers/spi/spi-s3c64xx.c | 277 +---
2 files changed, 358 insertions(+), 32 deletions
Add support for clock instances for each spi controller.
Signed-off-by: Thomas Abraham
---
arch/arm/mach-exynos/clock-exynos5.c | 98
arch/arm/mach-exynos/include/mach/regs-clock.h |4 +
2 files changed, 102 insertions(+), 0 deletions(-)
diff --git a
and replaced with call to gpio_set_value in the driver.
Cc: Jaswinder Singh
Signed-off-by: Thomas Abraham
---
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 --
drivers/spi/spi-s3c64xx.c|8
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git
sclk_spi clock.
Signed-off-by: Thomas Abraham
---
arch/arm/mach-exynos/clock-exynos4.c | 48 -
1 files changed, 40 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-exynos/clock-exynos4.c
b/arch/arm/mach-exynos/clock-exynos4.c
index 57b5464..331186e 100644
The platform data pointer that is passed to the spi gpio setup functions
is not used. Hence, this paremeter is removed from all the spi gpio setup
functions.
Cc: Jaswinder Singh
Signed-off-by: Thomas Abraham
---
arch/arm/mach-exynos/setup-spi.c |8 +++-
arch/arm/mach
With the addition of platform specific driver data in the spi-s3c64xx
driver, the device name of spi controllers are changed. Accordingly,
update the device name of spi clocks instances.
Signed-off-by: Thomas Abraham
---
arch/arm/mach-exynos/clock-exynos4.c | 18 +-
arch/arm
: Jaswinder Singh
Signed-off-by: Thomas Abraham
---
drivers/spi/spi-s3c64xx.c | 180 ++---
1 files changed, 153 insertions(+), 27 deletions(-)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 6a3d51a..f6bc0e3 100644
--- a/drivers/spi/spi
: Thomas Abraham
---
arch/arm/mach-s3c64xx/mach-crag6410.c|2 +-
arch/arm/plat-samsung/devs.c | 50 -
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |6 +-
3 files changed, 23 insertions(+), 35 deletions(-)
diff --git a/arch/arm/mach
With the spi hardware controller information moved to spi driver data,
this information can be removed from the spi platform data.
Cc: Jaswinder Singh
Signed-off-by: Thomas Abraham
---
arch/arm/mach-exynos/setup-spi.c | 25 --
arch/arm/mach-s3c24xx/setup
http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg10494.html
[PATCH 00/20] ARM: Samsung: Add support for Exynos5250 Rev1.0
[2] http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg09640.html
[PATCH 0/6] S3C24XX: Add support for HSSPI on S3C2416/S3C2443
Thomas Abraha
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed.
Cc: Jaswinder Singh
Signed-off-by: Thomas Abraham
---
drivers/spi/spi-s3c64xx.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 972a94c
68 matches
Mail list logo