Re: [PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-30 Thread Seung-Woo Kim
Hello Chanwoo,

On 2016년 11월 30일 17:36, Chanwoo Choi wrote:
> Dear Seung-Woo,
> 
> I think that this patch looks good to me.
> But, When I tested this patch on my TM2 board,
> the flash turn off after some millisecond automatically.

Thank you for testing on your side. I will check on my side about the
issue, and if I find, then I will send next version.

Regards,
- Seung-Woo Kim

> 
> It is strange situation. Unfortunately, I don't know the cause.
> I think that we better to check this issue for more time.
> 
> Best Regards,
> Chanwoo Choi
> 
> On 2016년 11월 30일 13:48, Seung-Woo Kim wrote:
>> From: Ingi Kim 
>>
>> This patch adds Kinetic ktd2692 flash led device node for TM2 board.
>>
>> Signed-off-by: Ingi Kim 
>> Signed-off-by: Seung-Woo Kim 
>> ---
>> Change from v1:
>> - gpio active value is set with defined macro instead of value.
>> ---
>>  arch/arm64/boot/dts/exynos/exynos5433-tm2.dts |   13 +
>>  1 files changed, 13 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts 
>> b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
>> index f21bdc2..0d454aa 100644
>> --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
>> +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
>> @@ -58,6 +58,19 @@
>>  reg = <0x0 0x2000 0x0 0xc000>;
>>  };
>>  
>> +camera-flash {
>> +compatible = "kinetic,ktd2692";
>> +ctrl-gpios = < 1 GPIO_ACTIVE_HIGH>;
>> +aux-gpios = < 2 GPIO_ACTIVE_HIGH>;
>> +
>> +flash-led {
>> +label = "ktd2692-flash";
>> +led-max-microamp = <30>;
>> +flash-max-microamp = <150>;
>> +flash-max-timeout-us = <1835000>;
>> +};
>> +};
>> +
>>  gpio-keys {
>>  compatible = "gpio-keys";
>>  
>>
> 
> 

-- 
Seung-Woo Kim
Samsung Software R Center
--



Re: [PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-30 Thread Seung-Woo Kim
Hello Chanwoo,

On 2016년 11월 30일 17:36, Chanwoo Choi wrote:
> Dear Seung-Woo,
> 
> I think that this patch looks good to me.
> But, When I tested this patch on my TM2 board,
> the flash turn off after some millisecond automatically.

Thank you for testing on your side. I will check on my side about the
issue, and if I find, then I will send next version.

Regards,
- Seung-Woo Kim

> 
> It is strange situation. Unfortunately, I don't know the cause.
> I think that we better to check this issue for more time.
> 
> Best Regards,
> Chanwoo Choi
> 
> On 2016년 11월 30일 13:48, Seung-Woo Kim wrote:
>> From: Ingi Kim 
>>
>> This patch adds Kinetic ktd2692 flash led device node for TM2 board.
>>
>> Signed-off-by: Ingi Kim 
>> Signed-off-by: Seung-Woo Kim 
>> ---
>> Change from v1:
>> - gpio active value is set with defined macro instead of value.
>> ---
>>  arch/arm64/boot/dts/exynos/exynos5433-tm2.dts |   13 +
>>  1 files changed, 13 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts 
>> b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
>> index f21bdc2..0d454aa 100644
>> --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
>> +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
>> @@ -58,6 +58,19 @@
>>  reg = <0x0 0x2000 0x0 0xc000>;
>>  };
>>  
>> +camera-flash {
>> +compatible = "kinetic,ktd2692";
>> +ctrl-gpios = < 1 GPIO_ACTIVE_HIGH>;
>> +aux-gpios = < 2 GPIO_ACTIVE_HIGH>;
>> +
>> +flash-led {
>> +label = "ktd2692-flash";
>> +led-max-microamp = <30>;
>> +flash-max-microamp = <150>;
>> +flash-max-timeout-us = <1835000>;
>> +};
>> +};
>> +
>>  gpio-keys {
>>  compatible = "gpio-keys";
>>  
>>
> 
> 

-- 
Seung-Woo Kim
Samsung Software R Center
--



Re: [PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-30 Thread Chanwoo Choi
Dear Seung-Woo,

I think that this patch looks good to me.
But, When I tested this patch on my TM2 board,
the flash turn off after some millisecond automatically.

It is strange situation. Unfortunately, I don't know the cause.
I think that we better to check this issue for more time.

Best Regards,
Chanwoo Choi

On 2016년 11월 30일 13:48, Seung-Woo Kim wrote:
> From: Ingi Kim 
> 
> This patch adds Kinetic ktd2692 flash led device node for TM2 board.
> 
> Signed-off-by: Ingi Kim 
> Signed-off-by: Seung-Woo Kim 
> ---
> Change from v1:
> - gpio active value is set with defined macro instead of value.
> ---
>  arch/arm64/boot/dts/exynos/exynos5433-tm2.dts |   13 +
>  1 files changed, 13 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts 
> b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
> index f21bdc2..0d454aa 100644
> --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
> +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
> @@ -58,6 +58,19 @@
>   reg = <0x0 0x2000 0x0 0xc000>;
>   };
>  
> + camera-flash {
> + compatible = "kinetic,ktd2692";
> + ctrl-gpios = < 1 GPIO_ACTIVE_HIGH>;
> + aux-gpios = < 2 GPIO_ACTIVE_HIGH>;
> +
> + flash-led {
> + label = "ktd2692-flash";
> + led-max-microamp = <30>;
> + flash-max-microamp = <150>;
> + flash-max-timeout-us = <1835000>;
> + };
> + };
> +
>   gpio-keys {
>   compatible = "gpio-keys";
>  
> 


Re: [PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-30 Thread Chanwoo Choi
Dear Seung-Woo,

I think that this patch looks good to me.
But, When I tested this patch on my TM2 board,
the flash turn off after some millisecond automatically.

It is strange situation. Unfortunately, I don't know the cause.
I think that we better to check this issue for more time.

Best Regards,
Chanwoo Choi

On 2016년 11월 30일 13:48, Seung-Woo Kim wrote:
> From: Ingi Kim 
> 
> This patch adds Kinetic ktd2692 flash led device node for TM2 board.
> 
> Signed-off-by: Ingi Kim 
> Signed-off-by: Seung-Woo Kim 
> ---
> Change from v1:
> - gpio active value is set with defined macro instead of value.
> ---
>  arch/arm64/boot/dts/exynos/exynos5433-tm2.dts |   13 +
>  1 files changed, 13 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts 
> b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
> index f21bdc2..0d454aa 100644
> --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
> +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
> @@ -58,6 +58,19 @@
>   reg = <0x0 0x2000 0x0 0xc000>;
>   };
>  
> + camera-flash {
> + compatible = "kinetic,ktd2692";
> + ctrl-gpios = < 1 GPIO_ACTIVE_HIGH>;
> + aux-gpios = < 2 GPIO_ACTIVE_HIGH>;
> +
> + flash-led {
> + label = "ktd2692-flash";
> + led-max-microamp = <30>;
> + flash-max-microamp = <150>;
> + flash-max-timeout-us = <1835000>;
> + };
> + };
> +
>   gpio-keys {
>   compatible = "gpio-keys";
>  
> 


[PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-29 Thread Seung-Woo Kim
From: Ingi Kim 

This patch adds Kinetic ktd2692 flash led device node for TM2 board.

Signed-off-by: Ingi Kim 
Signed-off-by: Seung-Woo Kim 
---
Change from v1:
- gpio active value is set with defined macro instead of value.
---
 arch/arm64/boot/dts/exynos/exynos5433-tm2.dts |   13 +
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts 
b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
index f21bdc2..0d454aa 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
@@ -58,6 +58,19 @@
reg = <0x0 0x2000 0x0 0xc000>;
};
 
+   camera-flash {
+   compatible = "kinetic,ktd2692";
+   ctrl-gpios = < 1 GPIO_ACTIVE_HIGH>;
+   aux-gpios = < 2 GPIO_ACTIVE_HIGH>;
+
+   flash-led {
+   label = "ktd2692-flash";
+   led-max-microamp = <30>;
+   flash-max-microamp = <150>;
+   flash-max-timeout-us = <1835000>;
+   };
+   };
+
gpio-keys {
compatible = "gpio-keys";
 
-- 
1.7.4.1



[PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-29 Thread Seung-Woo Kim
From: Ingi Kim 

This patch adds Kinetic ktd2692 flash led device node for TM2 board.

Signed-off-by: Ingi Kim 
Signed-off-by: Seung-Woo Kim 
---
Change from v1:
- gpio active value is set with defined macro instead of value.
---
 arch/arm64/boot/dts/exynos/exynos5433-tm2.dts |   13 +
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts 
b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
index f21bdc2..0d454aa 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts
@@ -58,6 +58,19 @@
reg = <0x0 0x2000 0x0 0xc000>;
};
 
+   camera-flash {
+   compatible = "kinetic,ktd2692";
+   ctrl-gpios = < 1 GPIO_ACTIVE_HIGH>;
+   aux-gpios = < 2 GPIO_ACTIVE_HIGH>;
+
+   flash-led {
+   label = "ktd2692-flash";
+   led-max-microamp = <30>;
+   flash-max-microamp = <150>;
+   flash-max-timeout-us = <1835000>;
+   };
+   };
+
gpio-keys {
compatible = "gpio-keys";
 
-- 
1.7.4.1