From: padma.kvr@gmail.com (padma venkat)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/7] ARM: SAMSUNG: Cleanup SPI platform specific code
Date: Thu, 30 Jun 2011 14:57:43 +0530 [thread overview]
Message-ID: <BANLkTimaMiFgKa95Zm4AtQVFdbSqukBfwg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTin2MAsTn3UhJDOLVvsams=xRR=REQ@mail.gmail.com>
Hi,
On Thu, Jun 30, 2011 at 1:01 PM, Jassi Brar <jassisinghbrar@gmail.com> wrote:
> On Thu, Jun 30, 2011 at 5:55 PM, Padmavathi Venna <padma.v@samsung.com> wrote:
>> This patchset does the following:
>>
>> 1. Move duplicated code to common place
>> [PATCH 1/7] ARM: SAMSUNG: Move SPI device definitions to plat-samsung
>> SPI platform devices are defined in respective machine folder of
>> Samsung S3C64XX and S5P series SoCs.This is duplicated for every SoC.
>> So all SPI platform devices are moved to a common place.
>
> The machine specific code is put in machine specific location for some reason.
> And the code is not duplicated, it's mostly data structures
> initialized with machine
> specific values.
>
> Have you considered if it would still be possible to build kernel
> image supporting
> more than 1 soc after your changes ?
I didn't consider the single image scenario. Because as far as I know,
the existing Samsung code doesn't have support for building a single kernel
image for multiple SoCs.
The intention behind my changes were
1) To reuse the dev-spi files for all the SoCs, as this reduces the code size.
Also future SoCs with SPI can use the same file.
2) To be in line with other IPs like i2c,sdhci etc
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>
Thanks&Regards
Padma
next prev parent reply other threads:[~2011-06-30 9:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 12:25 [PATCH 0/7] ARM: SAMSUNG: Cleanup SPI platform specific code Padmavathi Venna
2011-06-30 7:31 ` Jassi Brar
2011-06-30 9:27 ` padma venkat [this message]
2011-06-30 10:14 ` Jassi Brar
2011-06-30 9:25 ` Marek Szyprowski
2011-07-01 3:35 ` padma venkat
2011-06-30 12:25 ` [PATCH 1/7] ARM: SAMSUNG: Move SPI device definitions to plat-samsung Padmavathi Venna
2011-06-30 12:25 ` [PATCH 2/7] ARM: SAMSUNG: Define common macro for SPI physical address Padmavathi Venna
2011-06-30 12:25 ` [PATCH 3/7] ARM: SAMSUNG: Add SPI clock definitions for SAMSUNG SoCs Padmavathi Venna
2011-06-30 9:30 ` Russell King - ARM Linux
2011-06-30 9:43 ` Jassi Brar
2011-07-01 3:31 ` padma venkat
2011-06-30 12:25 ` [PATCH 4/7] ARM: SAMSUNG: Create SPI device setup files in respective machine folder Padmavathi Venna
2011-06-30 12:25 ` [PATCH 5/7] ARM: SAMSUNG: Add SPI platform specific code Padmavathi Venna
2011-06-30 12:25 ` [PATCH 6/7] SPI: S5PC100: Enable the SPI driver for S5PC100 Padmavathi Venna
2011-06-30 12:25 ` [PATCH 7/7] SPI: S5PV210: Enable the SPI driver for S5PV210 Padmavathi Venna
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=BANLkTimaMiFgKa95Zm4AtQVFdbSqukBfwg@mail.gmail.com \
--to=padma.kvr@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).