From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933562AbdDSIWk (ORCPT ); Wed, 19 Apr 2017 04:22:40 -0400 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:46014 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760881AbdDSIWg (ORCPT ); Wed, 19 Apr 2017 04:22:36 -0400 X-IronPort-AV: E=Sophos;i="5.37,220,1488870000"; d="scan'208";a="1733754" From: Eugen Hristev To: , , , , , , , CC: , Subject: [PATCH 0/3] iio: adc: sama5d2_adc hw triggers and buffers Date: Wed, 19 Apr 2017 11:20:42 +0300 Message-ID: <1492590045-17329-1-git-send-email-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch implements the hardware triggers support and buffer management for sama5d2. The DT modifications ( [PATCH 1/3] ARM: dts: at91: sama5d2_xplained: enable ADTRG pin) are for demonstration purposes of the feature, setting the pinctrl for the ADC hw trigger pin,should go through at91 maintainers. I also increased the buffer size for the trigger name in the generic_buffer application to cope with longer names and avoid stack smashing problem. This is in patch [PATCH 3/3] iio: tools: generic_buffer: increase trigger length Eugen Hristev (3): ARM: dts: at91: sama5d2_xplained: enable ADTRG pin iio: adc: at91-sama5d2_adc: add hw trigger and buffer support iio: tools: generic_buffer: increase trigger length arch/arm/boot/dts/at91-sama5d2_xplained.dts | 16 ++- drivers/iio/adc/at91-sama5d2_adc.c | 208 +++++++++++++++++++++++++++- tools/iio/iio_utils.h | 2 +- 3 files changed, 220 insertions(+), 6 deletions(-) -- 2.7.4