Re: [U-Boot] [PATCH 6/9] Exynos: Add peripherial id for pwm

2013-02-28 Thread Simon Glass
On Thu, Feb 28, 2013 at 2:54 AM, Akshay Saraswat aksha...@samsung.comwrote:

  Hi simon,



 Hi Akshay,

 
 On Wed, Feb 27, 2013 at 2:02 AM, Akshay Saraswat aksha...@samsung.com
 wrote:
  Add peripherial id for pwm inorder to support
  generic api to get the clk frequency
 
  TEST=sf probe 1:0; time sf read 40008000 0 1000

  Try with different numbers of bytes and see that sane values are
 obtained
  Build and boot U-boot with this patch, backlight works properly.
 
  Signed-off-by: Padmavathi Venna padm...@samsung.com
  Signed-off-by: Akshay Saraswat aksha...@samsung.com
  ---
   arch/arm/include/asm/arch-exynos/periph.h | 5 +
   1 file changed, 5 insertions(+)
 
  diff --git a/arch/arm/include/asm/arch-exynos/periph.h
 b/arch/arm/include/asm/arch-exynos/periph.h
  index 89bcdfc..e5aed4b 100644
  --- a/arch/arm/include/asm/arch-exynos/periph.h
  +++ b/arch/arm/include/asm/arch-exynos/periph.h
  @@ -61,6 +61,11 @@ enum periph_id {
  PERIPH_ID_SPI3,
  PERIPH_ID_SPI4,
  PERIPH_ID_SDMMC4,
  +   PERIPH_ID_PWM0,
  +   PERIPH_ID_PWM1,
  +   PERIPH_ID_PWM2,
  +   PERIPH_ID_PWM3,
  +   PERIPH_ID_PWM4,
 
 I don't believe this file is used now.

 We need this file because we are using it in the next patch of this patch
 set and also for pinmux.


Yes I understand. Thanks.

Acked-by: Simon Glass s...@chromium.org




 
 Regards,
 Simon

 
 
  PERIPH_ID_COUNT,
  PERIPH_ID_NONE = -1,
  --
  1.8.0
 



 Regards,

 Akshay Saraswat

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 6/9] Exynos: Add peripherial id for pwm

2013-02-27 Thread Akshay Saraswat
Add peripherial id for pwm inorder to support
generic api to get the clk frequency

TEST=sf probe 1:0; time sf read 40008000 0 1000
Try with different numbers of bytes and see that sane values are obtained
Build and boot U-boot with this patch, backlight works properly.

Signed-off-by: Padmavathi Venna padm...@samsung.com
Signed-off-by: Akshay Saraswat aksha...@samsung.com
---
 arch/arm/include/asm/arch-exynos/periph.h | 5 +
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/include/asm/arch-exynos/periph.h 
b/arch/arm/include/asm/arch-exynos/periph.h
index 89bcdfc..e5aed4b 100644
--- a/arch/arm/include/asm/arch-exynos/periph.h
+++ b/arch/arm/include/asm/arch-exynos/periph.h
@@ -61,6 +61,11 @@ enum periph_id {
PERIPH_ID_SPI3,
PERIPH_ID_SPI4,
PERIPH_ID_SDMMC4,
+   PERIPH_ID_PWM0,
+   PERIPH_ID_PWM1,
+   PERIPH_ID_PWM2,
+   PERIPH_ID_PWM3,
+   PERIPH_ID_PWM4,
 
PERIPH_ID_COUNT,
PERIPH_ID_NONE = -1,
-- 
1.8.0

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/9] Exynos: Add peripherial id for pwm

2013-02-27 Thread Simon Glass
Hi Akshay,

On Wed, Feb 27, 2013 at 2:02 AM, Akshay Saraswat aksha...@samsung.com wrote:
 Add peripherial id for pwm inorder to support
 generic api to get the clk frequency

 TEST=sf probe 1:0; time sf read 40008000 0 1000
 Try with different numbers of bytes and see that sane values are obtained
 Build and boot U-boot with this patch, backlight works properly.

 Signed-off-by: Padmavathi Venna padm...@samsung.com
 Signed-off-by: Akshay Saraswat aksha...@samsung.com
 ---
  arch/arm/include/asm/arch-exynos/periph.h | 5 +
  1 file changed, 5 insertions(+)

 diff --git a/arch/arm/include/asm/arch-exynos/periph.h 
 b/arch/arm/include/asm/arch-exynos/periph.h
 index 89bcdfc..e5aed4b 100644
 --- a/arch/arm/include/asm/arch-exynos/periph.h
 +++ b/arch/arm/include/asm/arch-exynos/periph.h
 @@ -61,6 +61,11 @@ enum periph_id {
 PERIPH_ID_SPI3,
 PERIPH_ID_SPI4,
 PERIPH_ID_SDMMC4,
 +   PERIPH_ID_PWM0,
 +   PERIPH_ID_PWM1,
 +   PERIPH_ID_PWM2,
 +   PERIPH_ID_PWM3,
 +   PERIPH_ID_PWM4,

I don't believe this file is used now.

Regards,
Simon


 PERIPH_ID_COUNT,
 PERIPH_ID_NONE = -1,
 --
 1.8.0

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot