From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4] i2c: s3c24xx: add hsi2c controller support
Date: Thu, 02 May 2013 12:06:54 +0200 [thread overview]
Message-ID: <51823ABE.5060803@denx.de> (raw)
In-Reply-To: <CAHfPSqAod4CY1jY2zENF=5H1Ws3VB1UvQfFZ7y1D=pqhRetPRw@mail.gmail.com>
Hello Naveen,
On 01.05.2013 21:04, Naveen Krishna Ch wrote:
> Hello Heiko,
>
> On 29 April 2013 21:14, Heiko Schocher <hs@denx.de> wrote:
>> Hello Naveen,
>>
>> On 26.04.2013 05:08, Naveen Krishna Ch wrote:
>>> On 14 April 2013 22:48, Heiko Schocher <hs@denx.de> wrote:
>>>> Hello Naveen Krishna,
>>>>
>>>>
>>>> On 13.04.2013 06:42, Naveen Krishna Ch wrote:
>>>>>
>>>>> On 6 April 2013 07:07, Naveen Krishna Chatradhi
>>>>> <naveenkrishna.ch@gmail.com> wrote:
>>>>>>
>>>>>> Add support for hsi2c controller available on exynos5420.
>>>>>>
>>>>>> Note: driver currently supports only fast speed mode 100kbps
>>>>>>
>>>>>> Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43
>>>>>> Signed-off-by: Naveen Krishna Chatradhi<ch.naveen@samsung.com>
>>>>>> Signed-off-by: R. Chandrasekar<rc.sekar@samsung.com>
>>>>>> Reviewed-by: Vadim Bendebury<vbendeb@google.com>
>>>>>> Reviewed-by: Simon Glass<sjg@google.com>
>>>>>> ---
>>>>>> Changes since v3:
>>>>>>
>>>>>> 1. Implemented get_timer instead of while and udelay for master busy
>>>>>> function
>>>>>> 2. Use reg base address from device tree
>>>>>> 3. Split the timing function to check for the errors
>>>>>> 4. Implemented reset function for to recover from failure cases
>>>>>> 5. Implemented a comat string for hsi2c to distingush the channels
>>>>>> 6. Minor cosmotic changes
>>>>>>
>>>>>> Note: FIFOs will be implemented in subsequent patches
>>>>>>
>>>>>> drivers/i2c/s3c24x0_i2c.c | 494
>>>>>> +++++++++++++++++++++++++++++++++++++++++----
>>>>>> drivers/i2c/s3c24x0_i2c.h | 36 ++++
>>>>>> 2 files changed, 486 insertions(+), 44 deletions(-)
>>>>
>>>> [...]
>>>>
>>>>>> --
>>>>>> 1.7.9.5
>>>>>
>>>>> Hello all i got it review by Simon and Vadim.
>>>>> Any updates on this driver please
>>>>
>>>>
>>>> As this patch in patchwork is in the responsibilty of Minkyu Kang (why?,
>>>> added to cc):
>>>>
>>>> Reviewed-by: Heiko Schocher<hs@denx.de>
>>>> Acked-by: Heiko Schocher <hs@denx.de>
>>> Hello Minkyu Kang,
>>>
>>> This patch was Acked and reviewed a while ago.
>>> Can you please update on this.
>>
>> Tom Rini wrote:
>>>> Naveen Krishna Ch (1):
>>>> i2c: s3c24xx: add hsi2c controller support
>>>>
>>>> drivers/i2c/s3c24x0_i2c.c | 494
>>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
>>>> drivers/i2c/s3c24x0_i2c.h | 36 ++++++++++
>>>> post/drivers/i2c.c | 2 +
>>>> 3 Dateien ge?ndert, 488 Zeilen hinzugef?gt(+), 44 Zeilen entfernt(-)
>>>
>>> NAK. MAKEALL -a arm:
>>> --------------------- SUMMARY ----------------------------
>>> Boards compiled: 306
>>> Boards with errors: 3 ( snow VCMA9 smdk5250 )
>>> ----------------------------------------------------------
>>>
>>> And the problem is:
>>> s3c24x0_i2c.c: In function 'board_i2c_init':
>>> s3c24x0_i2c.c:945:3: error: 'COMPAT_SAMSUNG_EXYNOS5_I2C' undeclared
>>> (first use in this function)
>>
>> Please fix, thanks!
>
> I've submitted a patch to u-boot at lists.denx.de as soon as i saw the build error.
>
> "fdtdec: Add compatible string for High speed i2c"
> http://www.mail-archive.com/u-boot at lists.denx.de/msg112143.html
>
> which should fix. Can you please confirm the same.
On current HEAD with your 2 patches, I see:
[hs at pollux u-boot]$ ./MAKEALL VCMA9
Configuring for VCMA9 board...
s3c24x0_i2c.c:133:16: error: 'i2c_busses' undeclared (first use in this function)
s3c24x0_i2c.c:134:11: error: 'i2c_bus' undeclared (first use in this function)
s3c24x0_i2c.c:911:10: error: 'i2c_bus' undeclared (first use in this function)
s3c24x0_i2c.c:923:18: error: 'i2c_busses' undeclared (first use in this function)
arm-linux-gnueabi-size: './u-boot': No such file
s3c24x0_i2c.c: In function 'get_bus':
s3c24x0_i2c.c:133:16: error: 'i2c_busses' undeclared (first use in this function)
s3c24x0_i2c.c:133:16: note: each undeclared identifier is reported only once for each function it appears in
s3c24x0_i2c.c:134:11: error: 'i2c_bus' undeclared (first use in this function)
s3c24x0_i2c.c: In function 'hsi2c_get_clk_details':
s3c24x0_i2c.c:267:2: warning: implicit declaration of function 'get_i2c_clk' [-Wimplicit-function-declaration]
s3c24x0_i2c.c: In function 'process_nodes':
s3c24x0_i2c.c:911:10: error: 'i2c_bus' undeclared (first use in this function)
s3c24x0_i2c.c:921:3: warning: implicit declaration of function 'pinmux_decode_periph_id' [-Wimplicit-function-declaration]
s3c24x0_i2c.c:923:18: error: 'i2c_busses' undeclared (first use in this function)
s3c24x0_i2c.c:924:3: warning: implicit declaration of function 'exynos_pinmux_config' [-Wimplicit-function-declaration]
s3c24x0_i2c.c: At top level:
s3c24x0_i2c.c:264:12: warning: 'hsi2c_get_clk_details' defined but not used [-Wunused-function]
s3c24x0_i2c.c:899:13: warning: 'process_nodes' defined but not used [-Wunused-function]
make[1]: *** [s3c24x0_i2c.o] Fehler 1
make: *** [drivers/i2c/libi2c.o] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with errors: 1 ( VCMA9 )
----------------------------------------------------------
[hs at pollux u-boot]$ git log
commit b89874f919da1255d50f47b4b349224f5f4fb4a7
Author: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
Date: Fri Apr 5 15:37:57 2013 +0000
i2c: s3c24xx: add hsi2c controller support
Add support for hsi2c controller available on exynos5420.
Note: driver currently supports only fast speed mode 100kbps
Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: R. Chandrasekar <rc.sekar@samsung.com>
Reviewed-by: Vadim Bendebury <vbendeb@google.com>
Reviewed-by: Simon Glass <sjg@google.com>
Reviewed-by: Heiko Schocher<hs@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
commit 1d3381320c9f9181c4dd4f1edf5e7e28285b1c41
Author: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
Date: Mon Apr 29 12:58:52 2013 +0000
fdtdec: Add compatible string for High speed i2c
Adds a new COMPAT string exynos5-hsi2c for high speed i2c controller
available on exynos5 SoCs from Samsung.
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
ommit 971020c755e5633c9a8f532356ee1750b38dd86f
Author: Simon Glass <sjg@chromium.org>
Date: Sat Apr 20 08:42:52 2013 +0000
sandbox: config: Enable CONFIG_FIT and CONFIG_CMD_FIT
Enable these options to use FITs on sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2013-05-02 10:06 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 10:58 [U-Boot] [PATCH] i2c: s3c24xx: add hsi2c controller support Naveen Krishna Chatradhi
2013-03-12 13:11 ` Simon Glass
2013-03-12 14:03 ` Naveen Krishna Ch
2013-04-06 1:37 ` [U-Boot] [PATCH v4] " Naveen Krishna Chatradhi
2013-04-13 4:42 ` Naveen Krishna Ch
2013-04-15 5:48 ` Heiko Schocher
2013-04-15 12:48 ` Tom Rini
2013-04-26 3:08 ` Naveen Krishna Ch
2013-04-29 6:36 ` Minkyu Kang
2013-04-30 4:14 ` Heiko Schocher
2013-05-01 19:04 ` Naveen Krishna Ch
2013-05-02 10:06 ` Heiko Schocher [this message]
2013-05-02 17:52 ` Naveen Krishna Ch
2013-09-30 6:58 ` [U-Boot] [PATCH 0/3] i2c: improve s3c24x0 with High-speed and new SYS_I2C framework support Naveen Krishna Chatradhi
2013-09-30 6:58 ` [U-Boot] [PATCH 1/4] exynos: i2c: Fix i2c driver to handle NACKs properly Naveen Krishna Chatradhi
2013-10-02 13:51 ` Heiko Schocher
2013-09-30 6:58 ` [U-Boot] [PATCH 2/4] exynos: i2c: Change FDT bus setup code to enumerate ports correctly Naveen Krishna Chatradhi
2013-10-03 11:23 ` [U-Boot] [PATCH 2/3 v2] " Naveen Krishna Chatradhi
2013-10-15 10:32 ` [U-Boot] [PATCH 2/3 v4] " Naveen Krishna Chatradhi
2013-10-17 6:31 ` [U-Boot] [U-Boot, 2/3, " Heiko Schocher
2013-09-30 6:58 ` [U-Boot] [PATCH v5 3/4] i2c: s3c24xx: add hsi2c controller support Naveen Krishna Chatradhi
2013-09-30 6:58 ` [U-Boot] [PATCH] RFC: samsung: i2c: Enable new CONFIG_SYS_I2C framework Naveen Krishna Chatradhi
2013-10-14 6:06 ` Heiko Schocher
2013-11-08 7:45 ` Piotr Wilczek
2013-11-08 7:59 ` Naveen Krishna Ch
2013-11-20 10:50 ` [U-Boot] [PATCH 2/2 v2] " Naveen Krishna Chatradhi
2013-11-25 11:28 ` [U-Boot] [PATCH] i2c: samsung: register i2c busses for Exynso5420 and Exynos5250 Naveen Krishna Chatradhi
2013-11-25 11:31 ` Naveen Krishna Ch
2013-12-05 11:26 ` [U-Boot] " Heiko Schocher
2013-12-05 12:21 ` Naveen Krishna Ch
2013-12-05 12:47 ` Heiko Schocher
2013-12-06 5:47 ` Naveen Krishna Ch
2013-12-06 6:16 ` Heiko Schocher
2013-12-06 6:42 ` [U-Boot] [PATCH v2] " Naveen Krishna Chatradhi
2013-12-09 6:58 ` [U-Boot] [U-Boot, " Heiko Schocher
2013-09-30 8:05 ` [U-Boot] [PATCH 0/3] i2c: improve s3c24x0 with High-speed and new SYS_I2C framework support Heiko Schocher
2013-09-30 10:03 ` Naveen Krishna Ch
2013-10-01 6:05 ` Heiko Schocher
2013-10-01 6:19 ` Naveen Krishna Ch
2013-10-01 6:36 ` Heiko Schocher
2013-10-03 11:22 ` [U-Boot] [PATCH 1/3 v2] exynos: i2c: Fix i2c driver to handle NACKs properly Naveen Krishna Chatradhi
2013-10-14 6:29 ` Heiko Schocher
2013-10-15 4:48 ` Naveen Krishna Ch
2013-10-15 5:10 ` Heiko Schocher
2013-10-15 6:34 ` Lukasz Majewski
2013-10-15 10:31 ` [U-Boot] [PATCH 1/3 v4] " Naveen Krishna Chatradhi
2013-10-17 6:29 ` [U-Boot] [U-Boot, 1/3, " Heiko Schocher
2013-10-15 6:07 ` [U-Boot] [PATCH 1/3 v3] " Naveen Krishna Chatradhi
2013-10-15 6:07 ` [U-Boot] [PATCH 2/3 v3] exynos: i2c: Change FDT bus setup code to enumerate ports correctly Naveen Krishna Chatradhi
2013-10-15 6:07 ` [U-Boot] [PATCH 3/3 v6] i2c: s3c24xx: add hsi2c controller support Naveen Krishna Chatradhi
2013-10-15 6:40 ` Heiko Schocher
2013-10-15 9:34 ` Naveen Krishna Ch
2013-10-15 9:39 ` Heiko Schocher
2013-10-15 9:44 ` Naveen Krishna Ch
2013-10-03 11:24 ` [U-Boot] [PATCH 3/3 v2]: " Naveen Krishna Chatradhi
2013-10-15 10:32 ` [U-Boot] [PATCH 3/3 v7] " Naveen Krishna Chatradhi
2013-10-17 6:32 ` [U-Boot] [U-Boot, 3/3, " Heiko Schocher
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=51823ABE.5060803@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox