From: Heiko Schocher <hs-ynQEQJNshbs@public.gmane.org>
To: Sekhar Nori <nsekhar-l0cyMroinI0@public.gmane.org>
Cc: davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
Kevin Hilman <khilman-l0cyMroinI0@public.gmane.org>,
Wolfgang Denk <wd-ynQEQJNshbs@public.gmane.org>,
Scott Wood <scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
Sylwester Nawrocki
<s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH v6 7/7] ARM: davinci: add support for the am1808 based enbw_cmc board
Date: Thu, 09 Aug 2012 09:52:40 +0200 [thread overview]
Message-ID: <50236C48.3090108@denx.de> (raw)
In-Reply-To: <5022A367.1070903-l0cyMroinI0@public.gmane.org>
Hello Nori,
On 08.08.2012 19:35, Sekhar Nori wrote:
> Hi Heiko,
>
> On 7/5/2012 6:20 PM, Heiko Schocher wrote:
>> - AM1808 based board
>> - 64 MiB DDR ram
>> - 2 MiB Nor flash
>> - 128 MiB NAND flash
>> - use internal RTC
>> - I2C support
>> - hwmon lm75 support
>> - UBI/UBIFS support
>> - MMC support
>> - USB OTG support
>>
>> Signed-off-by: Heiko Schocher<hs-ynQEQJNshbs@public.gmane.org>
>> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
>> Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
>> Cc: davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org
>> Cc: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
>> Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> Cc: David Woodhouse<dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
>> Cc: Ben Dooks<ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
>> Cc: Wolfram Sang<w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
>> Cc: Sekhar Nori<nsekhar-l0cyMroinI0@public.gmane.org>
>> Cc: Kevin Hilman<khilman-l0cyMroinI0@public.gmane.org>
>> Cc: Wolfgang Denk<wd-ynQEQJNshbs@public.gmane.org>
>> Cc: Scott Wood<scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
>> Cc: Sylwester Nawrocki<s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
>>
>> ---
>> - post this board support with USB support, even though
>> USB is only working with the 10 ms "workaround", posted here:
>> http://comments.gmane.org/gmane.linux.usb.general/54505
>> I see this issue also on the AM1808 TMDXEXP1808L evalboard.
>> - MMC and USB are not using OF support yet, ideas how to port
>> this are welcome. I need for USB and MMC boards board
>> specific callbacks, how to solve this with OF support?
>>
>> - changes for v2:
>> - changes in the nand node due to comments from Scott Wood:
>> - add "ti,davinci-" prefix
>> - Dashes are preferred to underscores
>> - rename "nandflash" to "nand"
>> - introduce new "ti,davinci" specific properties for setting
>> up ecc_mode, ecc_bits, options and bbt options, instead
>> using linux defines
>> - changes for i2c due to comments from Sylwester Nawrocki:
>> - use "cell-index" instead "id"
>> - OF_DEV_AUXDATA in the machine code, instead pre-define
>> platform device name
>> - add comment from Grant Likely for i2c:
>> - removed "id" resp. "cell-index" completely
>> - fixed documentation
>> - use of_match_ptr()
>> - use devm_kzalloc() for allocating plattform data mem
>> - fixed a whitespace issue
>> - add net comments from Grant Likely:
>> - add prefix "ti,davinci-" to davinci specific property names
>> - remove version property
>> - use compatible name "ti,davinci-dm6460-emac"
>> - add comment from Grant Likely:
>> - rename compatible node
>> - do not use cell-index
>> - CONFIG_OF required for this board
>> TODO:
>> - create a generic board support file, as I got no
>> answer to my ping to grant, maybe this could be done
>> in a second step?
>> - changes for v3:
>> - add comments from Sergei Shtylyov:
>> - rename compatible" prop to "ti,cp_intc"
>> - cp_intc_init now used for Interrupt controller init
>> - changes for v4:
>> add comment from Nori Sekhar:
>> - rename davinci emac compatible property to "ti,davinci-dm6467-emac"
>> - remove "pinmux-handle" property as discussed here:
>> http://www.spinics.net/lists/arm-kernel/msg175701.html
>> with Nori Sekhar
>>
>> - changes for v5:
>> add comments from Grant Likely:
>> - rename compatible" prop to "ti,cp-intc"
>>
>> - changes for v6:
>> rework this patch, as patch
>> ARM: davinci: cp_intc: Add OF support for TI interrupt controller
>> was changed from Nori Sekhar on Jul 03, 2012; 9:16pm
>> Changes therefore in this patch:
>>
>> Call of_irq_init() in the generic DT board file and not in the
>> interrupt controller code. See arch/arm/mach-at91/board-dt.c or
>> arch/arm/mach-omap2/board-generic.c for examples.
>>
>> At this point the question raises, if we should rename this
>> board port from arch/arm/mach-davinci/enbw_cmc.c to
>> arch/arm/mach-davinci/board-dt.c ? Also the defconfig to
>> davinci_of_defconfig ... ? The USB and MMC callbacks are
>> currently board specific, but if other boards come in,
>> that could be easily adapted for their needs ...
>>
>> arch/arm/boot/dts/enbw_cmc.dts | 183 +++++++++++
>> arch/arm/configs/enbw_cmc_defconfig | 126 ++++++++
>> arch/arm/mach-davinci/Kconfig | 9 +
>> arch/arm/mach-davinci/Makefile | 1 +
>> arch/arm/mach-davinci/board-enbw-cmc.c | 385 +++++++++++++++++++++++
>> arch/arm/mach-davinci/include/mach/uncompress.h | 1 +
>> 6 files changed, 705 insertions(+), 0 deletions(-)
>> create mode 100644 arch/arm/boot/dts/enbw_cmc.dts
>> create mode 100644 arch/arm/configs/enbw_cmc_defconfig
>> create mode 100644 arch/arm/mach-davinci/board-enbw-cmc.c
>
> With the move to DT, we are not going to add more board specific files
> and defconfigs. I am working on adding a generic dt board file for DA850
> (similar to what has been done for imx). That file is not going to do
> any platform device registrations. If you are OK with it, I will add the
> dts file for enbw_cmc board in the patch series I am planning to post.
I am fine with that. If you have a working version, you can sent it
(if you want) to me, so I can test it on the enbw_cmc board.
> Things like USB and MMC/SD will need to be converted to DT before they
> can be supported on new boards.
Ok, understood.
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
prev parent reply other threads:[~2012-08-09 7:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-05 12:50 [PATCH v6 7/7] ARM: davinci: add support for the am1808 based enbw_cmc board Heiko Schocher
[not found] ` <1341492608-20597-1-git-send-email-hs-ynQEQJNshbs@public.gmane.org>
2012-08-08 17:35 ` Sekhar Nori
[not found] ` <5022A367.1070903-l0cyMroinI0@public.gmane.org>
2012-08-09 7:52 ` Heiko Schocher [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=50236C48.3090108@denx.de \
--to=hs-ynqeqjnshbs@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=khilman-l0cyMroinI0@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=nsekhar-l0cyMroinI0@public.gmane.org \
--cc=s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=wd-ynQEQJNshbs@public.gmane.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).