[GIT PULL] Samsung fixes for v3.2

2011-11-21 Thread Kukjin Kim
Hi Arnd,

Please pull samsung-fixes for v3.2 from:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

This includes fix of inclusion header.
If any problems, please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim kgene@samsung.com, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

The following changes since commit 1ea6b8f48918282bdca0b32a34095504ee65bab5:

  Linux 3.2-rc1 (2011-11-07 16:16:02 -0800)

are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

Axel Lin (1):
  ARM: SAMSUNG: include linux/types.h at gpio-cfg.h

Kukjin Kim (2):
  ARM: S5P: Fix export.h inclusion
  ARM: SAMSUNG: inclusion export.h instead of module.h

Kyungmin Park (1):
  ARM: EXYNOS: Fix compiler error with THIS_MODULE

 arch/arm/mach-exynos/cpuidle.c|2 ++
 arch/arm/mach-s3c64xx/mach-crag6410-module.c  |2 +-
 arch/arm/plat-s3c24xx/cpu-freq-debugfs.c  |2 +-
 arch/arm/plat-s5p/sysmmu.c|1 +
 arch/arm/plat-samsung/include/plat/gpio-cfg.h |2 ++
 arch/arm/plat-samsung/pd.c|2 +-
 arch/arm/plat-samsung/pwm.c   |2 +-
 7 files changed, 9 insertions(+), 4 deletions(-)

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH RESEND V4] mmc: core: HS200 mode support for eMMC 4.5

2011-11-21 Thread Girish K S
On 19 November 2011 00:29, Subhash Jadavani subha...@codeaurora.org wrote:
 Hi Girish,

 -Original Message-
 From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-
 ow...@vger.kernel.org] On Behalf Of Girish K S
 Sent: Wednesday, October 26, 2011 10:30 AM
 To: linux-...@vger.kernel.org
 Cc: c...@laptop.org; patc...@linaro.org; linux-samsung-
 s...@vger.kernel.org; Girish K S
 Subject: [PATCH RESEND V4] mmc: core: HS200 mode support for eMMC 4.5

 This patch adds the support of the HS200 bus speed for eMMC 4.5
 devices.
 The eMMC 4.5 devices have support for 200MHz bus speed.The mmc core and
 host modules have been touched to add support for this module.

 It is necessary to know the card type in the sdhci.c file to add
 support
 for eMMC tuning function. So card.h file is included to import the card
 data structure.

 We don't need to know the card type in the host controller driver if we pass
 the command opcode as the 2nd argument to execute_tuning() ops. Command
 opcode can have have either CMD19 or CMD21 as it's value depending on the
 card type (whether it's SD3.0 card or eMMC4.5 card).



 cc: Chris Ball c...@laptop.org
 Signed-off-by: Girish K S girish.shivananja...@linaro.org
 ---
 Changes in v4:
       Rebased onto chris-mmc/mmc-next branch. This patch is
 successfully
       applied on commit with id
 de022ed3fdc14808299b2fa66dbb1ed5ab921912.
 Changes in v3:
       In the previous commits of chris-mmc/mmc-next branch, the patch
 with
       commit id (c0f22a2c92e357e7cb3988b0b13034d70b7461f9) defines
 caps2 for
       more capabilities. This patch version deletes the member
 ext_caps(created
       in my earlier patch) from struct mmc_host and reuses already
 accepted
       caps2 member.
 Changes in v2:
       Rebased to latest chris-mmc/mmc-next branch. Resolved indentation
       problems identified in review. This patch has to be applied
 before
       the patch released for modifying the printk messages.
 Changes in v1:
       Case statements in switch that produce same result have
       been combined to reduce repeated assignments.
       patch recreated after rebase to chris balls mmc-next branch.

  drivers/mmc/core/bus.c    |    3 +-
  drivers/mmc/core/mmc.c    |   92
 
  drivers/mmc/host/sdhci.c  |   36 +++---
  include/linux/mmc/card.h  |    3 +
  include/linux/mmc/host.h  |    6 +++
  include/linux/mmc/mmc.h   |    8 +++-
  include/linux/mmc/sdhci.h |    1 +
  7 files changed, 132 insertions(+), 17 deletions(-)

 diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c
 index 46b6e84..2f82f6b 100644
 --- a/drivers/mmc/core/bus.c
 +++ b/drivers/mmc/core/bus.c
 @@ -301,10 +301,11 @@ int mmc_add_card(struct mmc_card *card)
                       mmc_card_ddr_mode(card) ? DDR  : ,
                       type);
       } else {
 -             printk(KERN_INFO %s: new %s%s%s card at address %04x\n,
 +             pr_info(%s: new %s%s%s%s card at address %04x\n,
                       mmc_hostname(card-host),
                       mmc_sd_card_uhs(card) ? ultra high speed  :
                       (mmc_card_highspeed(card) ? high speed  : ),
 +                     (mmc_card_hs200(card) ? HS200  : ),
                       mmc_card_ddr_mode(card) ? DDR  : ,
                       type, card-rca);
       }
 diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
 index 3627044..4db248c 100644
 --- a/drivers/mmc/core/mmc.c
 +++ b/drivers/mmc/core/mmc.c
 @@ -285,6 +285,39 @@ static int mmc_read_ext_csd(struct mmc_card *card,
 u8 *ext_csd)
       }
       card-ext_csd.raw_card_type = ext_csd[EXT_CSD_CARD_TYPE];
       switch (ext_csd[EXT_CSD_CARD_TYPE]  EXT_CSD_CARD_TYPE_MASK) {
 +     case EXT_CSD_CARD_TYPE_SDR_200 |
 +          EXT_CSD_CARD_TYPE_52 | EXT_CSD_CARD_TYPE_26:
 +     case EXT_CSD_CARD_TYPE_SDR_200 | EXT_CSD_CARD_TYPE_DDR_1_8V |
 +          EXT_CSD_CARD_TYPE_52 | EXT_CSD_CARD_TYPE_26:
 +     case EXT_CSD_CARD_TYPE_SDR_200 | EXT_CSD_CARD_TYPE_DDR_1_2V |
 +          EXT_CSD_CARD_TYPE_52 | EXT_CSD_CARD_TYPE_26:
 +     case EXT_CSD_CARD_TYPE_SDR_200 | EXT_CSD_CARD_TYPE_DDR_52 |
 +          EXT_CSD_CARD_TYPE_52 | EXT_CSD_CARD_TYPE_26:
 +             card-ext_csd.hs_max_dtr = 2;
 +             card-ext_csd.card_type = EXT_CSD_CARD_TYPE_SDR_200;
 +             break;
 +     case EXT_CSD_CARD_TYPE_SDR_1_2V |
 +          EXT_CSD_CARD_TYPE_52 | EXT_CSD_CARD_TYPE_26:
 +     case EXT_CSD_CARD_TYPE_SDR_1_2V | EXT_CSD_CARD_TYPE_DDR_1_8V |
 +          EXT_CSD_CARD_TYPE_52 | EXT_CSD_CARD_TYPE_26:
 +     case EXT_CSD_CARD_TYPE_SDR_1_2V | EXT_CSD_CARD_TYPE_DDR_1_2V |
 +          EXT_CSD_CARD_TYPE_52 | EXT_CSD_CARD_TYPE_26:
 +     case EXT_CSD_CARD_TYPE_SDR_1_2V | EXT_CSD_CARD_TYPE_DDR_52 |
 +          EXT_CSD_CARD_TYPE_52 | EXT_CSD_CARD_TYPE_26:
 +             card-ext_csd.hs_max_dtr = 2;
 +             card-ext_csd.card_type = EXT_CSD_CARD_TYPE_SDR_1_2V;
 +             break;
 +     case 

Re: Re: [PATCH 0/3] Support Samsung S5P OHCI device and driver

2011-11-21 Thread Jingoo Han
 -Original Message-
 From: Greg KH [mailto:g...@kroah.com]
 Sent: Friday, November 18, 2011 4:12 AM
 To: Jingoo Han
 Cc: linux-arm-ker...@lists.infradead.org; linux-...@vger.kernel.org;
 linux-samsung-soc@vger.kernel.org; gre...@suse.de;
 st...@rowland.harvard.edu; kgene@samsung.com; yulgon@samsung.com;
 jy0922.s...@samsung.com
 Subject: Re: [PATCH 0/3] Support Samsung S5P OHCI device and driver
 
 On Tue, Nov 15, 2011 at 06:49:58AM +, Jingoo Han wrote:
  Hello.
 
  This patch series adds USB OHCI device and initial driver for Samsung
  S5P SoCs and is based from Linux 3.2-rc1. I have tested on SMDKV310
 board
  using EXYNOS4.
 
 This is to be sent through some arm tree, not the usb tree, right?
Right, 1st and 2nd patch are sent throught arm tree.
However, 3rd patch is sent through the usb tree.
Thanks.
[PATCH 1/3] ARM: SAMSUNG: Add USB OHCI device
[PATCH 2/3]  ARM: EXYNOS: Add USB OHCI support to SMDKV310 board
[PATCH 3/3] USB: Add S5P OHCI diver
 
 thanks,
 
 greg k-h
N떑꿩�r툤y鉉싕b쾊Ф푤v�^�)頻{.n�+돴쪐{굇ß틏,″㎍썳變}찠꼿쟺�j:+v돣�쳭喩zZ+€�+zf"톒쉱�~넮녬i鎬z�췿ⅱ�?솳鈺��)刪f

Re: Re: [PATCH 0/3] Support Samsung S5P OHCI device and driver

2011-11-21 Thread Greg KH
On Mon, Nov 21, 2011 at 11:57:16AM +, Jingoo Han wrote:
  -Original Message-
  From: Greg KH [mailto:g...@kroah.com]
  Sent: Friday, November 18, 2011 4:12 AM
  To: Jingoo Han
  Cc: linux-arm-ker...@lists.infradead.org; linux-...@vger.kernel.org;
  linux-samsung-soc@vger.kernel.org; gre...@suse.de;
  st...@rowland.harvard.edu; kgene@samsung.com; yulgon@samsung.com;
  jy0922.s...@samsung.com
  Subject: Re: [PATCH 0/3] Support Samsung S5P OHCI device and driver
  
  On Tue, Nov 15, 2011 at 06:49:58AM +, Jingoo Han wrote:
   Hello.
  
   This patch series adds USB OHCI device and initial driver for Samsung
   S5P SoCs and is based from Linux 3.2-rc1. I have tested on SMDKV310
  board
   using EXYNOS4.
  
  This is to be sent through some arm tree, not the usb tree, right?
 Right, 1st and 2nd patch are sent throught arm tree.
 However, 3rd patch is sent through the usb tree.
 Thanks.
 [PATCH 1/3] ARM: SAMSUNG: Add USB OHCI device
 [PATCH 2/3]  ARM: EXYNOS: Add USB OHCI support to SMDKV310 board
 [PATCH 3/3] USB: Add S5P OHCI diver

So the third patch does not depend on the first two?  If it does, that
means I will get build errors in the USB tree when I apply that patch,
right?

If so, then all three should go through a single tree.

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [GIT PULL] Samsung fixes for v3.2

2011-11-21 Thread Kyungmin Park
Hi,

Don't you fix the mct compiler error if LOCAL_TIMERS are not defined?

arch/arm/mach-exynos/mct.c: In function 'exynos4_timer_resources':
arch/arm/mach-exynos/mct.c:451: error: 'exynos4_mct_tick_isr'
undeclared (first use in this function)
arch/arm/mach-exynos/mct.c:451: error: (Each undeclared identifier is
reported only once
arch/arm/mach-exynos/mct.c:451: error: for each function it appears in.)
make[1]: *** [arch/arm/mach-exynos/mct.o] Error 1

Thank you,
Kyungmin Park

On 11/21/11, Kukjin Kim kgene@samsung.com wrote:
 Hi Arnd,

 Please pull samsung-fixes for v3.2 from:

 git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
 samsung-fixes

 This includes fix of inclusion header.
 If any problems, please let me know.

 Thanks.

 Best regards,
 Kgene.
 --
 Kukjin Kim kgene@samsung.com, Senior Engineer,
 SW Solution Development Team, Samsung Electronics Co., Ltd.

 The following changes since commit 1ea6b8f48918282bdca0b32a34095504ee65bab5:

   Linux 3.2-rc1 (2011-11-07 16:16:02 -0800)

 are available in the git repository at:
   git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
 samsung-fixes

 Axel Lin (1):
   ARM: SAMSUNG: include linux/types.h at gpio-cfg.h

 Kukjin Kim (2):
   ARM: S5P: Fix export.h inclusion
   ARM: SAMSUNG: inclusion export.h instead of module.h

 Kyungmin Park (1):
   ARM: EXYNOS: Fix compiler error with THIS_MODULE

  arch/arm/mach-exynos/cpuidle.c|2 ++
  arch/arm/mach-s3c64xx/mach-crag6410-module.c  |2 +-
  arch/arm/plat-s3c24xx/cpu-freq-debugfs.c  |2 +-
  arch/arm/plat-s5p/sysmmu.c|1 +
  arch/arm/plat-samsung/include/plat/gpio-cfg.h |2 ++
  arch/arm/plat-samsung/pd.c|2 +-
  arch/arm/plat-samsung/pwm.c   |2 +-
  7 files changed, 9 insertions(+), 4 deletions(-)

 --
 To unsubscribe from this list: send the line unsubscribe linux-samsung-soc
 in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html