Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754785AbcDDSWA (ORCPT ); Mon, 4 Apr 2016 14:22:00 -0400 Received: from mga04.intel.com ([192.55.52.120]:59753 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754941AbcDDSV6 (ORCPT ); Mon, 4 Apr 2016 14:21:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,441,1455004800"; d="scan'208";a="938039554" From: Crestez Dan Leonard To: Jonathan Cameron , linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Daniel Baluta , Crestez Dan Leonard Subject: [PATCH v2 0/2] Add support for adc101c* and adc121c* Date: Mon, 4 Apr 2016 21:21:40 +0300 Message-Id: X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 24 Changes since last version: * Use struct adcxx1_model in the first patch as well. * Use VLA buf in adc081c_trigger_handler. * Rerrange code so the diffs look nicer. * Fixed other smaller review comments. I did not add an enum for models because it's not clear how adding another layer of indirection would help. Maybe if we ever want to scan the table of models? But that's not useful here. The devices actually have names like ADC121C021/ADC121C027 to identify chips with different pinouts but identical I2C interfaces. Those differences don't currently matter to the driver. Crestez Dan Leonard (2): ti-adc081c: Add support for adc101c* and adc121c* ti-adc081c: Initial triggered buffer support drivers/iio/adc/Kconfig | 6 +-- drivers/iio/adc/ti-adc081c.c | 103 ++++++++++++++++++++++++++++++++++++++----- 2 files changed, 94 insertions(+), 15 deletions(-) -- 2.5.5