diff mbox

[v5,3/4] ARM: dts: at91: sama5d2: add ADC hw trigger edge type

Message ID 1497533097-12052-4-git-send-email-eugen.hristev@microchip.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eugen Hristev June 15, 2017, 1:24 p.m. UTC
Added ADTRG edge type property as interrupt edge type value

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
---
  Changes in v4:
 - Modified bindings to be similar with interrupts

 arch/arm/boot/dts/sama5d2.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Jonathan Cameron June 20, 2017, 4:56 p.m. UTC | #1
On Thu, 15 Jun 2017 16:24:56 +0300
Eugen Hristev <eugen.hristev@microchip.com> wrote:

> Added ADTRG edge type property as interrupt edge type value
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Driver support heading upstream.

Acked-by: Jonathan Cameron <jic23@kernel.org>
> ---
>   Changes in v4:
>  - Modified bindings to be similar with interrupts
> 
>  arch/arm/boot/dts/sama5d2.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 8067c71..483a387 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -1267,6 +1267,7 @@
>  				atmel,min-sample-rate-hz = <200000>;
>  				atmel,max-sample-rate-hz = <20000000>;
>  				atmel,startup-time-ms = <4>;
> +				atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
>  				status = "disabled";
>  			};
>
Nicolas Ferre June 21, 2017, 7:51 a.m. UTC | #2
On 20/06/2017 at 18:56, Jonathan Cameron wrote:
> On Thu, 15 Jun 2017 16:24:56 +0300
> Eugen Hristev <eugen.hristev@microchip.com> wrote:
> 
>> Added ADTRG edge type property as interrupt edge type value
>>
>> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
>> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
> Driver support heading upstream.
> 
> Acked-by: Jonathan Cameron <jic23@kernel.org>

Thanks,

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

>> ---
>>   Changes in v4:
>>  - Modified bindings to be similar with interrupts
>>
>>  arch/arm/boot/dts/sama5d2.dtsi | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
>> index 8067c71..483a387 100644
>> --- a/arch/arm/boot/dts/sama5d2.dtsi
>> +++ b/arch/arm/boot/dts/sama5d2.dtsi
>> @@ -1267,6 +1267,7 @@
>>  				atmel,min-sample-rate-hz = <200000>;
>>  				atmel,max-sample-rate-hz = <20000000>;
>>  				atmel,startup-time-ms = <4>;
>> +				atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
>>  				status = "disabled";
>>  			};
>>  
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 8067c71..483a387 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1267,6 +1267,7 @@ 
 				atmel,min-sample-rate-hz = <200000>;
 				atmel,max-sample-rate-hz = <20000000>;
 				atmel,startup-time-ms = <4>;
+				atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
 				status = "disabled";
 			};