* [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency
@ 2014-10-31 8:02 Kuninori Morimoto
2014-10-31 8:07 ` Wolfram Sang
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Kuninori Morimoto @ 2014-10-31 8:02 UTC (permalink / raw)
To: linux-sh
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Current Koelsch I2C2 has 400kHz settings,
but, ak4643 audio codec chip which is connected to I2C2 can't
work such frequency.
Fixup I2C2 clock frequency.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index f722821..1ad9fb3 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -425,7 +425,6 @@
pinctrl-names = "default";
status = "okay";
- clock-frequency = <400000>;
composite-in@20 {
compatible = "adi,adv7180";
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency
2014-10-31 8:02 [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency Kuninori Morimoto
@ 2014-10-31 8:07 ` Wolfram Sang
2014-10-31 8:44 ` Kuninori Morimoto
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2014-10-31 8:07 UTC (permalink / raw)
To: linux-sh
[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]
On Fri, Oct 31, 2014 at 01:02:59AM -0700, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> Current Koelsch I2C2 has 400kHz settings,
> but, ak4643 audio codec chip which is connected to I2C2 can't
> work such frequency.
> Fixup I2C2 clock frequency.
Basically OK, but we should better explicitly set it to 100000 and not
rely on a default coming from somewhere.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> arch/arm/boot/dts/r8a7791-koelsch.dts | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
> index f722821..1ad9fb3 100644
> --- a/arch/arm/boot/dts/r8a7791-koelsch.dts
> +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
> @@ -425,7 +425,6 @@
> pinctrl-names = "default";
>
> status = "okay";
> - clock-frequency = <400000>;
>
> composite-in@20 {
> compatible = "adi,adv7180";
> --
> 1.7.9.5
>
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency
2014-10-31 8:02 [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency Kuninori Morimoto
2014-10-31 8:07 ` Wolfram Sang
@ 2014-10-31 8:44 ` Kuninori Morimoto
2014-10-31 9:01 ` Simon Horman
2014-11-04 2:14 ` Kuninori Morimoto
3 siblings, 0 replies; 5+ messages in thread
From: Kuninori Morimoto @ 2014-10-31 8:44 UTC (permalink / raw)
To: linux-sh
Hi Wolfram, Simon
> > Current Koelsch I2C2 has 400kHz settings,
> > but, ak4643 audio codec chip which is connected to I2C2 can't
> > work such frequency.
> > Fixup I2C2 clock frequency.
>
> Basically OK, but we should better explicitly set it to 100000 and not
> rely on a default coming from somewhere.
OK.
Simon
Lager board is expecting that I2C is working with 100000 too.
Can you accept this patch as-is ? if so, I will send
additional clock frequency 100000 setting patch for both lager/koelsch.
If not, I will send v2 of this patch-set + lager clock frequency patch.
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency
2014-10-31 8:02 [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency Kuninori Morimoto
2014-10-31 8:07 ` Wolfram Sang
2014-10-31 8:44 ` Kuninori Morimoto
@ 2014-10-31 9:01 ` Simon Horman
2014-11-04 2:14 ` Kuninori Morimoto
3 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2014-10-31 9:01 UTC (permalink / raw)
To: linux-sh
On Fri, Oct 31, 2014 at 01:44:35AM -0700, Kuninori Morimoto wrote:
>
> Hi Wolfram, Simon
>
> > > Current Koelsch I2C2 has 400kHz settings,
> > > but, ak4643 audio codec chip which is connected to I2C2 can't
> > > work such frequency.
> > > Fixup I2C2 clock frequency.
> >
> > Basically OK, but we should better explicitly set it to 100000 and not
> > rely on a default coming from somewhere.
>
> OK.
>
> Simon
> Lager board is expecting that I2C is working with 100000 too.
> Can you accept this patch as-is ? if so, I will send
> additional clock frequency 100000 setting patch for both lager/koelsch.
> If not, I will send v2 of this patch-set + lager clock frequency patch.
Could send a small patchset that only fixes up all the clock frequency
problems? That would be easiest for me.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency
2014-10-31 8:02 [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency Kuninori Morimoto
` (2 preceding siblings ...)
2014-10-31 9:01 ` Simon Horman
@ 2014-11-04 2:14 ` Kuninori Morimoto
3 siblings, 0 replies; 5+ messages in thread
From: Kuninori Morimoto @ 2014-11-04 2:14 UTC (permalink / raw)
To: linux-sh
Hi Simon
> > Lager board is expecting that I2C is working with 100000 too.
> > Can you accept this patch as-is ? if so, I will send
> > additional clock frequency 100000 setting patch for both lager/koelsch.
> > If not, I will send v2 of this patch-set + lager clock frequency patch.
>
> Could send a small patchset that only fixes up all the clock frequency
> problems? That would be easiest for me.
Done.
I sent v3 patch-set which includes above
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-11-04 2:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-31 8:02 [PATCH 07/12] ARM: shmobile: koelsch: fixup overkill I2C2 clock frequency Kuninori Morimoto
2014-10-31 8:07 ` Wolfram Sang
2014-10-31 8:44 ` Kuninori Morimoto
2014-10-31 9:01 ` Simon Horman
2014-11-04 2:14 ` Kuninori Morimoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).