[U-Boot] [PATCH 4/6 v2] i2c: designware_i2c: Prepare for DM driver conversion

Heiko Schocher hs at denx.de
Wed Apr 13 07:49:08 CEST 2016


Hello Stefan,

Am 12.04.2016 um 15:22 schrieb Stefan Roese:
> Hi Heiko,
>
> On 28.03.2016 09:33, Heiko Schocher wrote:
>> Am 23.03.2016 um 06:46 schrieb Stefan Roese:
>>> This patch prepares the designware I2C driver for the DM conversion.
>>> This is mainly done by removing struct i2c_adapter from the functions
>>> that shall be used by the DM driver version as well.
>>>
>>> Signed-off-by: Stefan Roese <sr at denx.de>
>>> Cc: Simon Glass <sjg at chromium.org>
>>> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>>> Cc: Marek Vasut <marex at denx.de>
>>> Cc: Heiko Schocher <hs at denx.de>
>>> ---
>>> v2:
>>> - Added Reviewed-by from Bin
>>>
>>>   drivers/i2c/designware_i2c.c | 173
>>> ++++++++++++++++++++++---------------------
>>>   1 file changed, 90 insertions(+), 83 deletions(-)
>>
>> I tried to apply this patch, but get the following error:
>>
>> Wende an: i2c: designware_i2c: Prepare for DM driver conversion
>> fatal: sha1 information is lacking or useless
>> (drivers/i2c/designware_i2c.c).
>> Dem Repository fehlen notwendige Blobs um auf einen 3-Wege-Merge
>> zurückzufallen.
>> Kann nicht zu 3-Wege-Merge zurückfallen.
>> Anwendung des Patches fehlgeschlagen bei 0001 i2c: designware_i2c:
>> Prepare for DM driver conversion
>>
>> I tried the this patch on current mainline, with the following
>> patches applied:
>>
>> http://patchwork.ozlabs.org/patch/601112/
>> http://patchwork.ozlabs.org/patch/601128/
>> http://patchwork.ozlabs.org/patch/601117/
>>
>> Could you take a look?
>
> This should be fixed with v3 of this patch:
>
> https://patchwork.ozlabs.org/patch/609406/
>
> Could you give it another try please?

Yes, this patch applies now fine, but the patch:

[U-Boot,5/6,v2] i2c: designware_i2c: Add DM support
http://patchwork.ozlabs.org/patch/601116/

fails now:

--2016-04-13 07:30:54--  http://patchwork.ozlabs.org/patch/601116/mbox
Auflösen des Hostnamens »patchwork.ozlabs.org (patchwork.ozlabs.org)« … 103.22.144.67, 2401:3900:2:1::2
Verbindungsaufbau zu patchwork.ozlabs.org (patchwork.ozlabs.org)|103.22.144.67|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 MOVED PERMANENTLY
Platz: http://patchwork.ozlabs.org/patch/601116/mbox/ [folgend]
--2016-04-13 07:30:54--  http://patchwork.ozlabs.org/patch/601116/mbox/
Wiederverwendung der bestehenden Verbindung zu patchwork.ozlabs.org:80.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: nicht spezifiziert [text/plain]
Wird in »»mbox«« gespeichert.

mbox                                         [ <=> 
                            ]   6,06K  --.-KB/s    in 0,004s

2016-04-13 07:30:54 (1,39 MB/s) - »mbox« gespeichert [6202]

total: 0 errors, 0 warnings, 0 checks, 181 lines checked

NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE 
NETWORKING_BLOCK_COMMENT_STYLE PREFER_ETHER_ADDR_COPY USLEEP_RANGE

mbox has no obvious style problems and is ready for submission.
Wende an: i2c: designware_i2c: Add DM support
fatal: sha1 information is lacking or useless (drivers/i2c/designware_i2c.c).
Dem Repository fehlen notwendige Blobs um auf einen 3-Wege-Merge zurückzufallen.
Kann nicht zu 3-Wege-Merge zurückfallen.
Anwendung des Patches fehlgeschlagen bei 0001 i2c: designware_i2c: Add DM support
Die Kopie des fehlgeschlagenen Patches befindet sich in:
    /home/hs/i2c/u-boot/.git/rebase-apply/patch
Wenn Sie das Problem gelöst haben, führen Sie "git am --continue" aus.
Falls Sie diesen Patch auslassen möchten, führen Sie stattdessen
"git am --skip" aus.
Um den ursprünglichen Branch wiederherzustellen und die Anwendung der
Patches abzubrechen, führen Sie "git am --abort" aus.
pollux:u-boot hs [master] $

Base is current mainline (with 2 i2c patches from Michal, but they
should not interfere with your patches ...):

pollux:u-boot hs [master] $ git log --oneline
2ddd09a i2c: designware_i2c: Prepare for DM driver conversion
f824253 i2c: designware_i2c: Integrate set_speed() into dw_i2c_set_bus_speed()
709a9e6 i2c: designware_i2c: Add dw_i2c_enable() helper function
1b89299 i2c: designware_i2c: Add ic_enable_status to ic_regs struct
d4cc513 dm: i2c: Add driver for Cadence I2C IP
be332ef i2c: Describe Cadence I2C devicetree bindings
39fbd98 Merge git://www.denx.de/git/u-boot-marvell

patches from you in the above list:
- [U-Boot,1/6,v2] i2c: designware_i2c: Add ic_enable_status to ic_regs struct
http://patchwork.ozlabs.org/patch/601112/
- [U-Boot,2/6,v3] i2c: designware_i2c: Add dw_i2c_enable() helper function
http://patchwork.ozlabs.org/patch/601128/
- [U-Boot,3/6,v2] i2c: designware_i2c: Integrate set_speed() into dw_i2c_set_bus_speed()
http://patchwork.ozlabs.org/patch/601117/
- [U-Boot,v3] i2c: designware_i2c: Prepare for DM driver conversion
http://patchwork.ozlabs.org/patch/609406/

Did I missed an update patch?

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list