From: eric.y.miao@gmail.com (Eric Miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 07/11] [ARM] pxa/balloon3: Machine file cleanup
Date: Sat, 7 Aug 2010 17:06:17 +0800 [thread overview]
Message-ID: <AANLkTikpPEKkow_4HwAtc4P+6vzXYUMA6BEw6q5LjnuQ@mail.gmail.com> (raw)
In-Reply-To: <201008062347.30423.marek.vasut@gmail.com>
On Sat, Aug 7, 2010 at 5:47 AM, Marek Vasut <marek.vasut@gmail.com> wrote:
> Dne P? 6. srpna 2010 21:52:18 Jonathan McDowell napsal(a):
>> On Fri, Aug 06, 2010 at 09:49:29AM +0200, Marek Vasut wrote:
>> > Dne P? 6. srpna 2010 01:25:06 Jonathan McDowell napsal(a):
>> > > On Wed, Aug 04, 2010 at 01:22:09PM +0200, Marek Vasut wrote:
>> > > > Modularize components of the Balloon3 board.
>> > >
>> > > NAK.
>> > >
>> > > That's not what a large portion of this patch does.
>> >
>> > Oh, really ?
>>
>> A large portion of it removes setting the MFPs based on the board
>> capabilities. That's a different piece of work to making the various
>> components modular.
>>
>> > > You have put all of the pin definitions into balloon3_pin_config and
>> > > negated the work that was done to ensure that a single kernel could
>> > > run on different variants of the balloon3.
>> >
>> > I have only this one, but read on.
>>
>> I suspect you have a similar board to me; a double sided board fairly
>> well populated (sound, CF, USB host + slave, LCD). The Lightwriter, for
>> example, is a single sided board using fewer peripherals. The CUED
>> variant I believe is different again for their needs.
>
> That's just great.
>>
>> > > If a feature isn't configured on the board you shouldn't configure
>> > > the MFPs for that feature.
>> >
>> > That's not true. You should configure them as inputs. The big plan (in
>> > another patch) is to do this the same way colibri270 is done (balloon3
>> > baseboard + expansion boards).
>>
>> I don't have a copy of the PXA reference to hand, so I'm happy to accept
>> best practise is to set unused pins to be inputs. However the changes in
>> this patch don't do this and may end up setting some pins that are used
>> for something else to an unexpected output.
>
> The changes in this patch should not screw up anything. If they do break
> something, it'll be eventually found out. Do you have any trouble with this
> patch on your board?
>>
>> I'm failing to understand the motivation for these changes, especially
>> if you have a plan to later do more appropriate cleanup.
>
> Because you can't do everything at once. I prepared the ground for further
> changes.
>
> I wonder why noone actually sent a better patch ever since balloon3 was pushed
> mainline ... that's like 15 kernel versions already, isn't it? I also believe
> this patch will make it very hard to forward-port the out-of-the-tree patches on
> balloon3 website, which are often in terrible shape ... well that's sad.
Well, possibly you can now sleep even less ;-)
next prev parent reply other threads:[~2010-08-07 9:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 11:22 [PATCH 01/11] [ARM] pxa/palm: Introduce Palm27x Marek Vasut
2010-08-04 11:22 ` [PATCH 02/11] [ARM] pxa/palm: Flip Palm LD,TX,T5,Z72 to Palm27x Marek Vasut
2010-08-04 11:22 ` [PATCH 03/11] [ARM] pxa/spitz: Rework spitz Marek Vasut
2010-08-04 11:22 ` [PATCH 04/11] [ARM] pxa/spitz: Formating and naming fixes Marek Vasut
2010-08-04 11:22 ` [PATCH 05/11] [ARM] pxa/z2: Fix flash layout typo Marek Vasut
2010-08-04 11:22 ` [PATCH 06/11] [ARM] pxa/balloon3: Machine file cleanup Marek Vasut
2010-08-04 11:22 ` [PATCH 07/11] " Marek Vasut
2010-08-05 23:25 ` Jonathan McDowell
2010-08-06 7:49 ` Marek Vasut
2010-08-06 19:52 ` Jonathan McDowell
2010-08-06 21:47 ` Marek Vasut
2010-08-07 9:06 ` Eric Miao [this message]
2010-08-07 11:15 ` Marek Vasut
2010-08-07 13:03 ` Jonathan McDowell
2010-08-04 11:22 ` [PATCH 08/11] [ARM] pxa/balloon3: PCMCIA Support Marek Vasut
2010-08-04 11:22 ` [PATCH 09/11] [ARM] pxa/balloon3: PCF857x GPIO expander and LEDs Marek Vasut
2010-08-04 11:22 ` [PATCH 10/11] [ARM] pxa/balloon3: Add NAND driver Marek Vasut
2010-08-04 11:22 ` [PATCH 11/11] [ARM] pxa/balloon3: Add MAX1586 PMIC support Marek Vasut
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=AANLkTikpPEKkow_4HwAtc4P+6vzXYUMA6BEw6q5LjnuQ@mail.gmail.com \
--to=eric.y.miao@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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 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).