Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932154Ab3FRNSY (ORCPT ); Tue, 18 Jun 2013 09:18:24 -0400 Received: from smtp4.epfl.ch ([128.178.224.219]:37227 "HELO smtp4.epfl.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754090Ab3FRNSW (ORCPT ); Tue, 18 Jun 2013 09:18:22 -0400 From: Florian Vaussard To: Grant Likely , Rob Herring , Samuel Ortiz Cc: Kevin Hilman , Rob Landley , Peter Ujfalusi , Mark Brown , Tero Kristo , devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Florian Vaussard Subject: [PATCH v2 0/5] mfd: twl4030-power: Start DT conversion and updates Date: Tue, 18 Jun 2013 15:17:55 +0200 Message-Id: <1371561480-28325-1-git-send-email-florian.vaussard@epfl.ch> X-Mailer: git-send-email 1.7.5.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1663 Lines: 47 Hello, This series enables a partial DT support for twl4030-power. The missing part is the power management scripts, as the required binding should be defined first. It however enables the complete shutdown of the processor at poweroff when booting with DT, dropping the power consumption from around 350 mA on Overo+Tobi to about 40 mA. The poweroff callback was tested with both DT and non-DT boots. The last two patches simplify the error path in the probe function, and fix registers relocking on error. Best regards, Florian Since v1: - use module_platform_driver() - split the refactoring of the probe function into a dedicated patch - new patch to fix registers relocking on error - rebased on mfd-next Florian Vaussard (5): mfd: twl4030-power: Split from twl-core into a dedicated module mfd: twl4030-power: Simplify probing of power scripts and resources mfd: twl4030-power: Start transition to DT mfd: twl4030-power: Simplify error path mfd: twl4030-power: Fix relocking on error .../devicetree/bindings/mfd/twl4030-power.txt | 28 ++++ drivers/mfd/twl-core.c | 12 +- drivers/mfd/twl4030-power.c | 149 ++++++++++++++----- include/linux/i2c/twl.h | 1 - 4 files changed, 146 insertions(+), 44 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/twl4030-power.txt -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/