Skip to contentSkip to conversation

Exynos: Add peripherial id for pwm

PATCH New Simon Glass 1 participant 1 message Feb 28, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 6/9 Exynos: Add peripherial id for pwm

Quoted 41 lines · Akshay Saraswat

Hi simon,

Quoted 4 lines

Hi Akshay,

On Wed, Feb 27, 2013 at 2:02 AM, Akshay Saraswat <[email protected]>

Quoted 6 lines · wrote:
Quoted 6 lines

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

Quoted 9 lines

Review

Quoted 9 lines

Build and boot U-boot with this patch, backlight works properly.

---
 arch/arm/include/asm/arch-exynos/periph.h | 5 +++++
 1 file changed, 5 insertions(+)
(quoted diff) +0 -0

b/arch/arm/include/asm/arch-exynos/periph.h

Quoted 6 lines
Quoted 6 lines

index 89bcdfc..e5aed4b 100644

arch/arm/include/asm/arch-exynos/periph.h +0 -0
@@ -61,6 +61,11 @@ enum periph_id {
        PERIPH_ID_SPI3,
        PERIPH_ID_SPI4,
Quoted 8 lines

arch/arm/include/asm/arch-exynos/periph.h enum periph_id { · line 68

Quoted 6 lines
arch/arm/include/asm/arch-exynos/periph.h +5 -0
        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.

Quoted 4 lines

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.

Quoted 20 lines
Quoted 13 lines

Regards,
Simon

Quoted 6 lines
arch/arm/include/asm/arch-exynos/periph.h +0 -1
        PERIPH_ID_COUNT,
        PERIPH_ID_NONE = -1,
--

1.8.0

Regards,

Akshay Saraswat