Received: by 10.192.165.148 with SMTP id m20csp893104imm; Fri, 27 Apr 2018 09:09:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpatrn7LDidZ9XGdljSeff8Y2AIHHL5K1UbzS1hqeSgjVR4l8d6fyEB1URiNpHUal2ULrjb X-Received: by 2002:a63:942:: with SMTP id 63-v6mr2657768pgj.103.1524845370687; Fri, 27 Apr 2018 09:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524845370; cv=none; d=google.com; s=arc-20160816; b=SXwuup3WvfsS9UKx4ADRZsbX7hScR21v6PFGDWZtaqE5TvDmOoPaVi6YiKtdVtxGuH cfJhBrisaceIDFvqLeKmEtNcOIHJbJJLEeH9TeVjZq+Cl+HjyScDvwCgB9N5R50UZjIB JSpn7YlR22LpLJloZW+LVoj2XEmAfjIV67PgtRpGEQICkNLvhT0r/5U7IrkriQt+JfUH HwycHqXY/49Gmyn2kJr64rdKvi0z+miDp2dpEp1hkqdiTe5Zk3pfWX4H4LzsiCgozblO 0HHLrHuI0Qj08eHbD/RCPmvbikyYjUM+1MeFJpqHN4buBmY2jB9la0hEyoFtJdMCfhIv J+yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=qsmipXqAavoDKUfCf2k3nFluAS5M/9FOJofHjGW364w=; b=KLPNkcoMoGn9OcoRPW78gP1BpFS3t/WfDajB5jjuEbPY3uP8KpRfErGkf02ZSdn3za seXflvM75XM7qnraofLuXeILqwCygZknAY8kHBQiaEbi9e+xE8Elglpl/Ctm1+qVqAG+ EVOPnRzIn+qe8oPc8RjYYB3l/FkVEyERoo7p5ypcsXRDVGl7NgWq2koTuDril83P1fWF CKKQXPTVp6giZpq4+BFPcRWb4kdxh6pFSmJrLDxFfnOcsVo2n+9bFYSWQjFdJi7/FN2e lLQhvTMQPuaKcqDV3KBC2buQbprXS+csDn6JzZw0AY98GTvUm/qXWmDHO3Isfnv7Z6tb UitA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rSFu2wZb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j185-v6si1443620pgc.606.2018.04.27.09.09.16; Fri, 27 Apr 2018 09:09:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rSFu2wZb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758631AbeD0QF0 (ORCPT + 99 others); Fri, 27 Apr 2018 12:05:26 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:43340 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758550AbeD0QFX (ORCPT ); Fri, 27 Apr 2018 12:05:23 -0400 Received: by mail-lf0-f68.google.com with SMTP id g12-v6so3424934lfb.10; Fri, 27 Apr 2018 09:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qsmipXqAavoDKUfCf2k3nFluAS5M/9FOJofHjGW364w=; b=rSFu2wZbXmkMEpE8bAMLqSQBQtwHd+Wn1yzxBAv3M5fWoltZC7UbgBj3T5ShkYgmIj XHNxh8ZGAQ0N39W6y3Gu/e26LP8IcnLj16pDL7eVm3yY42zwgE94ceUuvp9XktE5dbnR 6IKyGDU1MBQzKHSN52x08mwDXPeGNZlLkk9gst+8QsLNlLoB8DF4X7BsNprwEe4oRvKE mtV/0bu8t1A5sX0oU7yGTuOmmZSOhboblJrn/CFqmNR8Wjf527DW3xQs3qx7tlzzRNwI 8Tog7h8SzNGjXTR9L6A9xJtNaZfbbBhzbNqvvF01l8h/VqCpJK37qOIeLIEYeKFsbbWZ jDKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qsmipXqAavoDKUfCf2k3nFluAS5M/9FOJofHjGW364w=; b=XrzGDcn1YmEKgenA2KO9SfLtCCSJ1tTVeVbCdO+yLmWahThsILyJ2db1djOA3/NzoG YcOIEEFATlkiguulRjtGoO+EfuIbwPNVVfcWM49nuVIYHyGDoSV7TMJbfjQRl5BwJIzy tZnF5hwmTVDSnVFstFYuNwqkZaYhAv92BAshbSk3O5ofM08n5QBCeIAdto04jbaEb44a 4KGVmtxwCiWI8m5jwzj3ht/xA5nF/5S3RTn+D/vfNpD74o9shEoskINXYmIm4LeklVLL l368O821KG/kl6deFAtWquPoBhZQqFysZqr5PVQ/NstqL3lc8oZGg07O7+ku8z8uPVBQ 3D7g== X-Gm-Message-State: ALQs6tCCH9UjGlexH7jjG0D/r3C6wXVDtmkMWss6udDnjYZ0OTJJJQ82 XivfxN1lW3PKKlRuPHGj0f5BN9XnyMk= X-Received: by 2002:a19:e583:: with SMTP id i3-v6mr1973198lfk.135.1524845121776; Fri, 27 Apr 2018 09:05:21 -0700 (PDT) Received: from localhost.localdomain (user-94-254-173-44.play-internet.pl. [94.254.173.44]) by smtp.googlemail.com with ESMTPSA id j85-v6sm324083lfh.5.2018.04.27.09.05.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Apr 2018 09:05:20 -0700 (PDT) From: =?UTF-8?q?Pawe=C5=82=20Chmiel?= To: lgirdwood@gmail.com, broonie@kernel.org, sre@kernel.org, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, =?UTF-8?q?Pawe=C5=82=20Chmiel?= Subject: [PATCH 0/4] mfd: max8998: Device Tree support fixes Date: Fri, 27 Apr 2018 18:02:58 +0200 Message-Id: <1524844982-4714-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series compose of 4 patches. First patch, fixes platform data retrieval issue in max8998 regulator driver, which could cause NULL pointer dereference. Second patch, fixes platform data retrieval issue in max8998 charger driver, which could cause NULL pointer dereference. Third patch, updates max8998 charger driver, so it's possible to parse devicetree for configuration. Fourth patch, updates max8998 documentation, so it includes new node and properties, needed for charger. All patches has been tested on (not yet mainlined), an S5PV210 based Samsung Galaxy S (i9000) phone. Paweł Chmiel (3): regulator: max8998: Fix platform data retrieval. power: supply: max8998-charger: Parse device tree for required data. dt-bindings: mfd: max8998: Add charger subnode binding Tomasz Figa (1): power: supply: max8998-charger: Fix platform data retrieval Documentation/devicetree/bindings/mfd/max8998.txt | 22 ++++++++++ drivers/power/supply/max8998_charger.c | 52 ++++++++++++++++++++++- drivers/regulator/max8998.c | 3 +- 3 files changed, 74 insertions(+), 3 deletions(-) -- 2.7.4