All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 0/15] samsung: Use common config files with Samsung boards
Date: Tue, 7 Oct 2014 22:04:32 -0600	[thread overview]
Message-ID: <CAPnjgZ2ah0nWwBpgxFHxOAKPbL1BigRFbgUfu_Z-jxx_u5=sFA@mail.gmail.com> (raw)
In-Reply-To: <54348EB7.1090706@samsung.com>

Hi Minkyu,

On 7 October 2014 19:09, Minkyu Kang <mk7.kang@samsung.com> wrote:
> On 08/10/14 00:14, Simon Glass wrote:
>> Hi Minkyu,
>>
>> On 7 October 2014 05:24, Minkyu Kang <mk7.kang@samsung.com> wrote:
>>> Dear Simon Glass,
>>>
>>> On 06/10/14 03:39, Simon Glass wrote:
>>>> Hi Minkyu,
>>>>
>>>> On 1 October 2014 21:44, Simon Glass <sjg@chromium.org> wrote:
>>>>> Hi Minkyu,
>>>>>
>>>>> On 1 October 2014 21:43, Simon Glass <sjg@chromium.org> wrote:
>>>>>> This series tries to unify the Samsung board configs into a few header
>>>>>> files for exynos5 and exynos4.
>>>>>>
>>>>>> The purpose is to make it easier to move to driver model. In that case
>>>>>> I would like things like the GPIO drivers and serial drivers to work in
>>>>>> a standard way, and not need to support device tree and platform data at
>>>>>> the same time. That would be quite painful.
>>>>>>
>>>>>> Another reason is that the Chrome OS EC drivers are currently included in
>>>>>> boards that don't have a Chrome OS EC. This concern was raised by the
>>>>>> Samsung maintainer (Minkyu) a while back.
>>>>>>
>>>>>> There are still a few boards that don't use CONFIG_OF_CONTROL so I have
>>>>>> updated these rudimentary of device tree files based on feedback.
>>>>>>
>>>>>> This series has the side-effect of getting the EC interface working
>>>>>> properly on Pit, so the keyboard works. It also provides access to the
>>>>>> TPS65090 PMIC, which means that the backlight is enabled.
>>>>>>
>>>>>> Changes in v5:
>>>>>> - Rebase on top of samsung/master
>>>>>
>>>>> Please check this and see if it works for what you need.
>>>>>
>>>>> I suppose the merge will be Albert's problem, but I will do a patch
>>>>> once I know the detla.
>>>>
>>>> Actually I see that Albert has pulled this in. So v4 should work for
>>>> you now. I just tried applying it on u-boot-arm/master and it worked
>>>> OK.
>>>>
>>>> Regards,
>>>> Simon
>>>>
>>>
>>> Hm, I tried to apply. but failed..
>>>
>>> Applying: Exynos: Use 900MHz ARM frequency in SPL for peach_pit
>>> Applying: exynos5: Enable data cache
>>> Applying: cros_ec: power: Add a tunnelled version of the tps65090 driver
>>> Applying: cros_ec: exynos: Use the correct tps65090 driver in each case
>>> Applying: dm: exynos: Split out the cros_ec drivers
>>> Applying: exynos: dts: Add device tree node for cros_ec keyboard
>>> Applying: exynos: Rename -dt config files to -common
>>> Applying: exynos: Move common exynos settings into a common file
>>> Applying: exynos: Move common smdk5420 things to common file
>>> Applying: exynos: config: Move cros_ec and tps65090 out of smdk boards
>>> Applying: config: Move arndale to use common exynos5250 file
>>> Applying: config: Move smdkv310 to use common exynos4 file
>>> Applying: samsung: Enable device tree for s5p_goni
>>> error: patch failed: arch/arm/Kconfig:547
>>> error: arch/arm/Kconfig: patch does not apply
>>> Patch failed at 0013 samsung: Enable device tree for s5p_goni
>>>
>>
>> It looks like you still haven't synced up with the ARM tree?
>>
>> In particular there are these patches there that are needed:
>>
>> f1ef2b6 kconfig: move CONFIG_DEFAULT_DEVICE_TREE to kconfig
>> 783e6a7 kconfig: move CONFIG_OF_* to Kconfig
>>
>> I put a bundle here:
>>
>> http://patchwork.ozlabs.org/bundle/sjg/pitv4/
>>
>> This should apply OK once you sync up with arm again. If you still
>> have problems then, please let me know.
>>
>
> No. I've sync with arm tree but it failed.
> and I tried to apply on arm tree directly, it also failed.
> Please test it.

Having a bit of a guess at what you are doing, since samsung/master
still is not synced with arm/master.

I tried this:

git checkout -b try-samsung samsung/master
git pull upstream-arm master

and then applied the patches on top of this without errors. Maybe git
is automatically fixing them up?

I'll send a v6 second with the resulting patches, If that doesn't
work, can I ask you please to push your branch to samsung/master so I
can be sure of what your base is?

Regards,
Simon

      reply	other threads:[~2014-10-08  4:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02  3:43 [U-Boot] [PATCH v5 0/15] samsung: Use common config files with Samsung boards Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 01/15] Exynos: Use 900MHz ARM frequency in SPL for peach_pit Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 02/15] exynos5: Enable data cache Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 03/15] cros_ec: power: Add a tunnelled version of the tps65090 driver Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 04/15] cros_ec: exynos: Use the correct tps65090 driver in each case Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 05/15] dm: exynos: Split out the cros_ec drivers Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 06/15] exynos: dts: Add device tree node for cros_ec keyboard Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 07/15] exynos: Rename -dt config files to -common Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 08/15] exynos: Move common exynos settings into a common file Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 09/15] exynos: Move common smdk5420 things to " Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 10/15] exynos: config: Move cros_ec and tps65090 out of smdk boards Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 11/15] config: Move arndale to use common exynos5250 file Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 12/15] config: Move smdkv310 to use common exynos4 file Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 13/15] samsung: Enable device tree for s5p_goni Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 14/15] samsung: Enable device tree for smdkc100 Simon Glass
2014-10-02  3:43 ` [U-Boot] [PATCH v5 15/15] exynos: Enable pre-relocation malloc() Simon Glass
2014-10-02  3:44 ` [U-Boot] [PATCH v5 0/15] samsung: Use common config files with Samsung boards Simon Glass
2014-10-05 18:39   ` Simon Glass
2014-10-07 11:24     ` Minkyu Kang
2014-10-07 15:14       ` Simon Glass
2014-10-08  1:09         ` Minkyu Kang
2014-10-08  4:04           ` Simon Glass [this message]

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='CAPnjgZ2ah0nWwBpgxFHxOAKPbL1BigRFbgUfu_Z-jxx_u5=sFA@mail.gmail.com' \
    --to=sjg@chromium.org \
    --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 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.