From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932249AbbFSKrH (ORCPT ); Fri, 19 Jun 2015 06:47:07 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:56272 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932133AbbFSKrA (ORCPT ); Fri, 19 Jun 2015 06:47:00 -0400 From: Charles Keepax To: lee.jones@linaro.org, cw00.choi@samsung.com Cc: myungjoo.ham@samsung.com, sameo@linux.intel.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patches@opensource.wolfsonmicro.com Subject: [PATCH v3 0/7] Add basic microphone detection bindings Date: Fri, 19 Jun 2015 11:33:02 +0100 Message-Id: <1434709989-28300-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.2.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds basic microphone detection DT/ACPI bindings using the device properties API. The MFD parts and the extcon parts can go seperately through there respective trees, but I sent them together so everyone can see what is going on. There is no build dependency although the MFD patch will fix a couple of Sparse warnings that you get if using -Wsparse-all. Changes since v1: - Removed double include of property.h Changes since v2: - Removed check for CONFIG_OF to call arizona_extcon_device_get_pdata. - Add some defines for the pdata values of micd-dbtime. - Factor out the initial gpio level for the micd-pol-gpio. - Don't check if null before calling gpiod_set_value_cansleep. - Added a comment to explain why we can't use devm for gpiod. - Added patch to make some small corrections to the jack detection into this series to keep them all together for easy of applying. Thanks, Charles Charles Keepax (7): extcon: arizona: Factor out initial GPIO state extcon: arizona: Update to use the new device properties API extcon: arizona: Add basic microphone detection DT/ACPI bindings extcon: arizona: Convert to gpiod extcon: arizona: Ensure variables are set for headphone detection mfd: arizona: Update DT doc for new mic detection bindings mfd: arizona: Update several pdata members to unsigned Documentation/devicetree/bindings/mfd/arizona.txt | 16 ++++ drivers/extcon/extcon-arizona.c | 97 +++++++++++++++++---- include/linux/mfd/arizona/pdata.h | 15 ++-- 3 files changed, 106 insertions(+), 22 deletions(-) -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Keepax Subject: [PATCH v3 0/7] Add basic microphone detection bindings Date: Fri, 19 Jun 2015 11:33:02 +0100 Message-ID: <1434709989-28300-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: lee.jones@linaro.org, cw00.choi@samsung.com Cc: myungjoo.ham@samsung.com, sameo@linux.intel.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patches@opensource.wolfsonmicro.com List-Id: devicetree@vger.kernel.org This series adds basic microphone detection DT/ACPI bindings using the device properties API. The MFD parts and the extcon parts can go seperately through there respective trees, but I sent them together so everyone can see what is going on. There is no build dependency although the MFD patch will fix a couple of Sparse warnings that you get if using -Wsparse-all. Changes since v1: - Removed double include of property.h Changes since v2: - Removed check for CONFIG_OF to call arizona_extcon_device_get_pdata. - Add some defines for the pdata values of micd-dbtime. - Factor out the initial gpio level for the micd-pol-gpio. - Don't check if null before calling gpiod_set_value_cansleep. - Added a comment to explain why we can't use devm for gpiod. - Added patch to make some small corrections to the jack detection into this series to keep them all together for easy of applying. Thanks, Charles Charles Keepax (7): extcon: arizona: Factor out initial GPIO state extcon: arizona: Update to use the new device properties API extcon: arizona: Add basic microphone detection DT/ACPI bindings extcon: arizona: Convert to gpiod extcon: arizona: Ensure variables are set for headphone detection mfd: arizona: Update DT doc for new mic detection bindings mfd: arizona: Update several pdata members to unsigned Documentation/devicetree/bindings/mfd/arizona.txt | 16 ++++ drivers/extcon/extcon-arizona.c | 97 +++++++++++++++++---- include/linux/mfd/arizona/pdata.h | 15 ++-- 3 files changed, 106 insertions(+), 22 deletions(-) -- 1.7.2.5