All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Varnin <fenixk19@mail.ru>
To: Kukjin Kim <kgene@kernel.org>
Cc: linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH] ARM: S3C2443: SPI clock channel setup is fixed
Date: Thu, 22 Nov 2012 11:57:02 +0400	[thread overview]
Message-ID: <50ADDACE.9090709@mail.ru> (raw)
In-Reply-To: <0c8901cdc714$a567f7a0$f037e6e0$@org>

I also want to point, that irq resource in arch/arm/plat-samsung/devs.c 
for s3c2410-spi driver on S3C2443 points to wrong IRQ (SPI0 instead of 
SPI1). I've solved it with board specific code, but it is not most 
correct way, i think.

20.11.2012 15:46, Kukjin Kim пишет:
> Alexander Varnin wrote:
>> Actually, SPI channel 0 on 2443 is mapped to HS SPI controller,
>> and to enable s3c2410-spi controller, we should power on channel
>> 1 in PCLKCON. There is no channel 0 SPI on s3c2443, so delete its
>> clock.
>>
>> Signed-off-by: Alexander Varnin <fenixk19@mail.ru>
>> Reviewed-by: Heiko Stuebner <heiko@sntech.de>
>> ---
>>   arch/arm/mach-s3c24xx/clock-s3c2443.c |    6 ------
>>   1 files changed, 0 insertions(+), 6 deletions(-)
>>
>> diff --git a/arch/arm/mach-s3c24xx/clock-s3c2443.c
>> b/arch/arm/mach-s3c24xx/clock-s3c2443.c
>> index 7f689ce..bdaba59 100644
>> --- a/arch/arm/mach-s3c24xx/clock-s3c2443.c
>> +++ b/arch/arm/mach-s3c24xx/clock-s3c2443.c
>> @@ -158,12 +158,6 @@ static struct clk init_clocks_off[] = {
>>   		.devname	= "s3c2410-spi.0",
>>   		.parent		= &clk_p,
>>   		.enable		= s3c2443_clkcon_enable_p,
>> -		.ctrlbit	= S3C2443_PCLKCON_SPI0,
>> -	}, {
>> -		.name		= "spi",
>> -		.devname	= "s3c2410-spi.1",
>> -		.parent		= &clk_p,
>> -		.enable		= s3c2443_clkcon_enable_p,
>>   		.ctrlbit	= S3C2443_PCLKCON_SPI1,
>>   	}
>>   };
>> --
>> 1.7.2.5
> Applied, thanks.
>
> K-Gene <kgene@kernel.org>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-11-22 18:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 21:55 [PATCH] ARM: S3C2443: SPI clock channel setup is fixed Alexander Varnin
2012-11-20 11:46 ` Kukjin Kim
2012-11-22  7:57   ` Alexander Varnin [this message]
2012-11-22  8:22     ` Kukjin Kim
2012-11-22  8:29       ` Alexander Varnin
  -- strict thread matches above, loose matches on Subject: below --
2012-11-19 14:33 Alexander Varnin
2012-11-19 21:32 ` Heiko Stübner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50ADDACE.9090709@mail.ru \
    --to=fenixk19@mail.ru \
    --cc=kgene@kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.