Skip to contentSkip to conversation

Cleanup Samsung stuff

DISCUSSION Kukjin Kim 8 participants 12 messages Apr 19, 2011 – Apr 21, 2011 Arm Samsung Exynos

lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

Hi all,

I think, you know about current situation of Linux ARM world.

So...

As Russell suggested, I also will focus on consolidations and bug fixes for Samsung stuff for a while so don't complain about missing new stuff. In my opinion, we can keep going it later...

As a note, I'm doing(or preparing) following at the moment.

- Removing some "mach-s5pxxxx"s
- Removing useless header files in include/{mach,plat} of Samsung
- Samsung GPIO stuff cleanup/consolidation
- Samsung DMA stuff consolidation?
- Device tree (with Linaro)
- and so on...

If required anything else, please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

#1 lore raw
Quoted 6 lines · Kukjin Kim

Hi all,

I think, you know about current situation of Linux ARM world.

So...

Quoted 7 lines

As Russell suggested, I also will focus on consolidations and bug fixes for Samsung stuff for a while so don't complain about missing new stuff. In my opinion, we can keep going it later...

As a note, I'm doing(or preparing) following at the moment.

- Removing some "mach-s5pxxxx"s

Why not mach-s3c series? don't you think too much plat-{s3c, s5p, samsung}? how about to use the plat-samsung only?

Quoted 3 lines

- Removing useless header files in include/{mach,plat} of Samsung
- Samsung GPIO stuff cleanup/consolidation
- Samsung DMA stuff consolidation?

-> Move to dmaengine and use it.

Quoted 2 lines

- Device tree (with Linaro)
- and so on...

- Strange Samsung Clock and names consolidation.
- IRQ stuff (some parts are done by tglx but need to use the
generic IRQ base instead of odd +32 magic)
- generic IOMMU consolidation.

BTW, who works on this at LSI?

Thank you,
Kyungmin Park

#2 lore raw

Hello everyone,

Anyway, I've got a quick question about the directory structure in arch/arm/*

Is there any reason not to keep mach-* in plat-* directories while mach-* appears to be a "sub-categories" of plat-*?

For example, rather than the current structure:
arch/arm/plat-samsung/
arch/arm/mach-s5pv210/
arch/arm/mach-s5p****/
, why don't we structure them like:
arch/arm/plat-samsung/mach-s5pv210/
arch/arm/plat-samsung/mach-s5p****/

For mach-* that is not included in and does not use any plat-*, we may make "arch/arm/plat-common" or just put them at arch/arm/.

Probably there could be discussions like this (likely), but I just don't know why we are not structured like that. If it is because we have some mach-* that use multiple plat-*, (multiple inheritance?) we may be able to move on with this consolidation.

Cheers!

- MyungJoo

2011/4/19 Kyungmin Park <[email protected]>:

Quoted 38 lines · Kukjin Kim
Quoted 6 lines

Hi all,

I think, you know about current situation of Linux ARM world.

So...

Quoted 7 lines

As Russell suggested, I also will focus on consolidations and bug fixes for Samsung stuff for a while so don't complain about missing new stuff. In my opinion, we can keep going it later...

As a note, I'm doing(or preparing) following at the moment.

- Removing some "mach-s5pxxxx"s

Why not mach-s3c series? don't you think too much plat-{s3c, s5p, samsung}? how about to use the plat-samsung only?

Quoted 3 lines

- Removing useless header files in include/{mach,plat} of Samsung
- Samsung GPIO stuff cleanup/consolidation
- Samsung DMA stuff consolidation?

? -> Move to dmaengine and use it.

Quoted 2 lines

- Device tree (with Linaro)
- and so on...

? - Strange Samsung Clock and names consolidation.
? - IRQ stuff (some parts are done by tglx but need to use the generic IRQ base instead of odd +32 magic)
? - generic IOMMU consolidation.

BTW, who works on this at LSI?

Thank you,
Kyungmin Park

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 5 lines
MyungJoo Ham (???), Ph.D.
Mobile Software Platform Lab,
Digital Media and Communications (DMC) Business
Samsung Electronics
cell: 82-10-6714-2858
#5 lore raw
In reply to Kukjin Kim
Quoted 1 line · Kukjin Kim

- Device tree (with Linaro)

What is going on with device tree? I've asked a couple of times about this in the other thread but I'm still not clear where the code is or what could usefully be done with it.

#6 lore raw
Quoted 7 lines · Mark Brown
Quoted 1 line · Kukjin Kim

- Device tree (with Linaro)

What is going on with device tree? ?I've asked a couple of times about this in the other thread but I'm still not clear where the code is or what could usefully be done with it.

The initial work on Samsung's s5pv310 is available at
http://lists.ozlabs.org/pipermail/devicetree-discuss/2011-February/004350.html

It is based on Grant's tree.
git://git.secretlab.ca/git/linux-2.6 devicetree/test

Currently I am working on supporting clkdev and Jeremy's common clock for all of Samsung's platforms and then continue with the device tree support for s5pv310.

Regards,
Thomas.

Quoted 5 lines

--
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

#7 lore raw
Quoted 6 lines · Thomas Abraham
Quoted 4 lines · Mark Brown
Quoted 1 line · Kukjin Kim

- Device tree (with Linaro)

Quoted 7 lines
Quoted 3 lines

What is going on with device tree? ?I've asked a couple of times about this in the other thread but I'm still not clear where the code is or what could usefully be done with it.

Currently I am working on supporting clkdev and Jeremy's common clock for all of Samsung's platforms and then continue with the device tree support for s5pv310.

I already posted some patches that add DeviceTree to s3c24xx (gpio, sdi). I'm hanging on sdi because I found that mmc-spi already has some DT support and I'm working to generalize it.

If nobody opposes I'll continue with the effort.

cheers,
Domenico

-----[ Domenico Andreoli, aka cavok
?--[ http://www.dandreoli.com/gpgkey.asc
?? ---[ 3A0F 2F80 F79C 678A 8936? 4FEE 0677 9033 A20E BC50

#3 lore raw
In reply to Kyungmin Park

Greetings All,

i've been looking at a number of machine files for boards that are no longer in production(mainly the ones i maintain), thoughts on removing them?

Dave

Quoted 43 lines · Kyungmin Park
Quoted 6 lines · Kukjin Kim

Hi all,

I think, you know about current situation of Linux ARM world.

So...

Quoted 8 lines

As Russell suggested, I also will focus on consolidations and bug fixes for Samsung stuff for a while so don't complain about missing new stuff. In my opinion, we can keep going it later...

As a note, I'm doing(or preparing) following at the moment.

- Removing some "mach-s5pxxxx"s

Why not mach-s3c series? don't you think too much plat-{s3c, s5p, samsung}? how about to use the plat-samsung only?

Quoted 4 lines

- Removing useless header files in include/{mach,plat} of Samsung
- Samsung GPIO stuff cleanup/consolidation
- Samsung DMA stuff consolidation?

-> Move to dmaengine and use it.

Quoted 3 lines

- Device tree (with Linaro)
- and so on...

- Strange Samsung Clock and names consolidation.
- IRQ stuff (some parts are done by tglx but need to use the
generic IRQ base instead of odd +32 magic)
- generic IOMMU consolidation.

BTW, who works on this at LSI?

Thank you,
Kyungmin Park

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#10 lore raw
In reply to Kukjin Kim

Hi Kgene,

Quoted 2 lines · Kukjin Kim

As a note, I'm doing(or preparing) following at the moment.
- Removing some "mach-s5pxxxx"s

Are you planning to remove mach-s5pc100? If yes, is this with the intention of reducing arch/arm code size (by merging, say, with the s5pc110 tree), or because of some upcoming Samsung EOL event? :-(

(I'm building security cameras based on the s5pc100, working with mach-s5pc100 issues every day).

Best regards, ....Nick Pelling....

author
#11 lore raw
Quoted 3 lines · Nick Pelling

Hi Kgene,

Hi :)

Quoted 8 lines
Quoted 2 lines · Kukjin Kim

As a note, I'm doing(or preparing) following at the moment.
- Removing some "mach-s5pxxxx"s

Are you planning to remove mach-s5pc100? If yes, is this with the intention of reducing arch/arm code size (by merging, say, with the s5pc110 tree), or because of some upcoming Samsung EOL event? :-(

Hmm...There is no decisions about that yet. Just I'm thinking and checking the status of each ARCH(mach-xxxx).
Of course, if any updates, will inform here.

Quoted 3 lines

(I'm building security cameras based on the s5pc100, working with mach-s5pc100 issues every day).

Only for S5PC100?

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

author
#4 lore raw
In reply to David Anders

David Anders

Quoted 3 lines

Greetings All,

Hi,

Quoted 3 lines

i've been looking at a number of machine files for boards that are no longer in production(mainly the ones i maintain), thoughts on removing

them?

You mean mach-amlm5900.c and mach-tct_hammer.c in mach-s3c2410?

Hmm...as you know, we need to think again and talk to others before removing them even though you made them and as I said in previous reply, there is no decisions yet about that.

As a note, Ben Dooks maintains S3C SoCs. I mean I need to talk to him about that in detail.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

author
#8 lore raw
In reply to Domenico Andreoli
Quoted 17 lines · Domenico Andreoli
Quoted 6 lines · Thomas Abraham
Quoted 4 lines · Mark Brown
Quoted 1 line · Kukjin Kim

- Device tree (with Linaro)

Quoted 7 lines
Quoted 3 lines

What is going on with device tree? ?I've asked a couple of times about this in the other thread but I'm still not clear where the code is or what could usefully be done with it.

Currently I am working on supporting clkdev and Jeremy's common clock for all of Samsung's platforms and then continue with the device tree support for s5pv310.

Quoted 5 lines

I already posted some patches that add DeviceTree to s3c24xx (gpio, sdi). I'm hanging on sdi because I found that mmc-spi already has some DT support and I'm working to generalize it.

If nobody opposes I'll continue with the effort.

Could you please send them to me and Ben Dooks?

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

author
#9 lore raw
In reply to Thomas Abraham
Quoted 15 lines · Thomas Abraham
Quoted 7 lines · Mark Brown
Quoted 1 line · Kukjin Kim

- Device tree (with Linaro)

What is going on with device tree? ?I've asked a couple of times about this in the other thread but I'm still not clear where the code is or what could usefully be done with it.

The initial work on Samsung's s5pv310 is available at
http://lists.ozlabs.org/pipermail/devicetree-discuss/2011-
February/004350.html

Quoted 7 lines

It is based on Grant's tree.
git://git.secretlab.ca/git/linux-2.6 devicetree/test

Currently I am working on supporting clkdev and Jeremy's common clock for all of Samsung's platforms and then continue with the device tree support for s5pv310.

Hi Thomas,

Thanks for your reply.

I also will review your patches of device tree and supporting clkdev soon.

If any updates after your posting, please let me know :)

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.