Skip to contentSkip to conversation

provide sdhci driver for mmp2 and pxa910

PATCH Superseded zhangfei gao 3 participants 6 messages Jun 3, 2011 – Jun 7, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

v3 cover provide sdhci driver for mmp2 and pxa910

v2->v3, modify according to Arnd and Philip suggestion.

Here are patches to provide separate sdhci driver for mmp2 and pxa910 based on sdhci-platfm.
Rename to sdhci-pxav3.c and sdhci-pxav2.c
Remove sdhci-pxa.c, which is used to share among pxa serious, since under this method, platform difference have to be put under arch/arm, which is not easy to track.
As a result, mmp2 mmc resource should be updated accordingly.

#1 lore raw

v3 cover provide sdhci driver for mmp2 and pxa910

Quoted 7 lines · zhangfei gao

Here are patches to provide separate sdhci driver for mmp2 and pxa910 based on sdhci-platfm.
Rename to sdhci-pxav3.c and sdhci-pxav2.c
Remove sdhci-pxa.c, which is used to share among pxa serious, since under this method, platform difference have to be put under arch/arm, which is not easy to track.
As a result, mmp2 mmc resource should be updated accordingly.

Looks all good content-wise. I do have a few comments regarding the style of submission, please follow that the next time:

* Make all patches a reply to the [PATCH 0/x] email, so they show up as a single thread. This helps finding the emails when your mail client sorts threads by last reply. The option in git-send-email is '--thread --no-chain-reply'.

* The changelog has extra spaces in it that shouldn't be there. I assume they come from using git-show instead of git-format-patch to create the emails.

* Make sure a series is bisectable. This means that each patch results in a working kernel without regressions when you apply only part of the series. There are multiple ways to get there. In this case, you could fold the patch that updates the resources into the patch that changes the format. Alternatively, you could first create the new driver in the new format, then change the resources, and finally remove the now obsolete driver.

Arnd

#2 lore raw

v3 cover provide sdhci driver for mmp2 and pxa910

Quoted 29 lines · Arnd Bergmann
Quoted 7 lines · zhangfei gao

Here are patches to provide separate sdhci driver for mmp2 and pxa910 based on sdhci-platfm.
Rename to sdhci-pxav3.c and sdhci-pxav2.c
Remove sdhci-pxa.c, which is used to share among pxa serious, since under this method, platform difference have to be put under arch/arm, which is not easy to track.
As a result, mmp2 mmc resource should be updated accordingly.

Looks all good content-wise. I do have a few comments regarding the style of submission, please follow that the next time:

* Make all patches a reply to the ?[PATCH 0/x] email, so they show up ?as a single thread. This helps finding the emails when your mail ?client sorts threads by last reply. The option in git-send-email ?is '--thread --no-chain-reply'.

* The changelog has extra spaces in it that shouldn't be there. I assume ?they come from using git-show instead of git-format-patch to create ?the emails.

* Make sure a series is bisectable. This means that each patch results ?in a working kernel without regressions when you apply only part of ?the series. There are multiple ways to get there. In this case, you ?could fold the patch that updates the resources into the patch that ?changes the format. Alternatively, you could first create the new driver ?in the new format, then change the resources, and finally remove the ?now obsolete driver.

Quoted 1 line

? ? ? ?Arnd

Thanks Arnd for your patient explanation, will take more care next time.

Quoted 1 line
#3 lore raw

v3 cover provide sdhci driver for mmp2 and pxa910

In reply to zhangfei gao

Please update mmp2 and pxa defconfigs.

regards,

Philip

Quoted 9 lines · zhangfei gao

v2->v3, modify according to Arnd and Philip suggestion.

Here are patches to provide separate sdhci driver for mmp2 and pxa910 based on sdhci-platfm.
Rename to sdhci-pxav3.c and sdhci-pxav2.c
Remove sdhci-pxa.c, which is used to share among pxa serious, since under this method, platform difference have to be put under arch/arm, which is not easy to track.
As a result, mmp2 mmc resource should be updated accordingly.

#4 lore raw

v3 cover provide sdhci driver for mmp2 and pxa910

Quoted 2 lines · Philip Rakity

Please update mmp2 and pxa defconfigs.

The trend is replacing defconfig with device tree, it may not acceptable to update defconfig.

Quoted 18 lines

regards,

Philip

Quoted 9 lines · zhangfei gao

v2->v3, modify according to Arnd and Philip suggestion.

Here are patches to provide separate sdhci driver for mmp2 and pxa910 based on sdhci-platfm.
Rename to sdhci-pxav3.c and sdhci-pxav2.c
Remove sdhci-pxa.c, which is used to share among pxa serious, since under this method, platform difference have to be put under arch/arm, which is not easy to track.
As a result, mmp2 mmc resource should be updated accordingly.

#5 lore raw

v3 cover provide sdhci driver for mmp2 and pxa910

Quoted 6 lines · On Tuesday 07 June 2011 07:44:42 zhangfei gao wrote:
Quoted 2 lines · Philip Rakity

Please update mmp2 and pxa defconfigs.

The trend is replacing defconfig with device tree, it may not acceptable to update defconfig.

Actually, the defconfigs are not going away, at least not directly.

The device tree will replace the need for individual board files, but not for defconfig files. As a side-effect, the number of defconfig files can get reduced, but we should still maintain them.

Arnd