From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932172AbcFBGpH (ORCPT ); Thu, 2 Jun 2016 02:45:07 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:36262 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932123AbcFBGpD (ORCPT ); Thu, 2 Jun 2016 02:45:03 -0400 From: chris@lapa.com.au To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Chris Lapa Subject: [PATCH 0/2] max8903: Add device tree support and logic fixup Date: Thu, 2 Jun 2016 16:44:55 +1000 Message-Id: <1464849897-21527-1-git-send-email-chris@lapa.com.au> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chris Lapa This patch set adds device tree support for the MAX8903 battery charger and also cleans up the logic with the dc_valid, dok and dcm pins. I verified these patches work on a board I have here, which uses the DC power side (not the USB portition) of the MAX8903. Chris Lapa (2): max8903: adds support for initiation via device tree. max8903: cleans up confusing relationship between dc_valid, dok and dcm. .../devicetree/bindings/power/max8903-charger.txt | 28 ++ drivers/power/max8903_charger.c | 287 ++++++++++++++++----- include/linux/power/max8903_charger.h | 6 +- 3 files changed, 250 insertions(+), 71 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/max8903-charger.txt -- 1.9.1