Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp485156imm; Sat, 14 Jul 2018 05:28:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfnAqeL63gm2zcPtwt1QbPtb1bpwta4Netx4/rJwtdHPx6KbguBvbDGyKzHZFlrPL+KQAQy X-Received: by 2002:a63:c60:: with SMTP id 32-v6mr9474717pgm.155.1531571316667; Sat, 14 Jul 2018 05:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531571316; cv=none; d=google.com; s=arc-20160816; b=Od1KdPVUEp0Ixt3u4a+zJowKv2JT4So7XoZ72zl6EPqMOPzVYcWFU9Xknhmnp/hGra 6SWXTUi4XvXi+p6WPoNtGORxLR63YYKe73FOMRi7NZVvh5Hc3gMFDrPSQap2DAkGsnzV P94SBQdCQYPd+DqJ6Fx5c7ScA9M6/HC6Uj5GWwOccI8hU6biXvEyM9+THD1f1Hwy39dJ wyuEx9xa/2rRVavarPv0ZrECG1j6iL0kz992jw0IZlHH84i4Xpj0b0VTTbvvbnTnLyKt CzOkTQFenMaPqSksy5IyjNN6/hPbQOEnEXd8zRJvKtNpRY0Z9oQKnV+44g1B/lQrsMUd FY+w== 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=sRacs/0sUk8Brhz/EZ6vg8kcRACVqEmifaDYBaSj0So=; b=t1gM8BL8tYEBB6C6bQbu6TvkjC6eZieiaOcDZbWXao+fv/5quPmtPqSDE9f5oUQEkU +g++AR3PBVKBePPuaDQf7CS51Shd/BX/iF/2XHNwJ6k+tj7X4URj5nwyLIG6tdUdS6U1 Gp/k/khn++/IWiDDqpP2ZABI86nQM7pUyd/LTY89NulSBCf/ruqVYQUjt29JM8jl0GI5 FVa9xVH9kOsToiwC5aky8p12IjKdc4VEHTCxWl548UX0Lm1Cf9pMWIBoQUNGIUom+jmz KuUyY3SaJXPhIX1fJPDLy3uDRkkOKgPaZynKfTAPYUBn9hAEAbcNPrKnEnhAAMQlmL6J q5/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rx1UnMrk; 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 l11-v6si23952046pgq.174.2018.07.14.05.28.22; Sat, 14 Jul 2018 05:28:36 -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=rx1UnMrk; 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 S1727278AbeGNMp5 (ORCPT + 99 others); Sat, 14 Jul 2018 08:45:57 -0400 Received: from mail-lj1-f174.google.com ([209.85.208.174]:46984 "EHLO mail-lj1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726043AbeGNMp5 (ORCPT ); Sat, 14 Jul 2018 08:45:57 -0400 Received: by mail-lj1-f174.google.com with SMTP id 203-v6so15335881ljj.13; Sat, 14 Jul 2018 05:27:00 -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=sRacs/0sUk8Brhz/EZ6vg8kcRACVqEmifaDYBaSj0So=; b=rx1UnMrkGJCUWjv1P0TxlHnEPu/TT193gchHC5L/SutKueFdWUonc7uRlKoELdNvqL demXLb/6zFqXc5y3EIbaEMMy5nqD2bVLOm96VgaR5N0F9Dnph0swk6GrLtFEqwhNBgg6 bpawwHcApqrtxgRlXyZOmTBoaCUG9rwMnX/PrQyLcFjzGZsPa/TvU1iFy5QDg4ym8mzb q/g+IMKZolI/Ykx8opohgiCMHzd5vXiTNfTVUeO1MVbvJCj50MvN+qybGjOOh37EOT7L 3p+GZXiltk+k07H9W/pyY9zvs19/k93KMPNPLSBFgvlx+eqOrt0XqlFfiuPPBJKHFXFa BgPA== 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=sRacs/0sUk8Brhz/EZ6vg8kcRACVqEmifaDYBaSj0So=; b=Q7mgx5Oui+iM8qRlWaU1vn/to2k80i1QNY3PltYgrr9fwd93wLgtkPtXQU4GARr7KJ w3WqW1K1jnrVOWJx4tpyGiTgG+afvL2ey2iX7GsYVJBOpO56Z44XrETcURvCcQU+nuJs VY8Ub9tur6ZOQr7iC/VZ+F1F8IjnFV+5RZbZgWT+Qp5T0V5+P9d6Lyg/1QiyVQGVBDB4 8w7a/SF9xH2IliwYHhv4GCtsKh2oo4ZbdW6LrWuSvWFGTpMDvLhrHWu8e1Hlr7sU7XSN g2tLG8tCvWRgy8q0bXh3hInTz4CXbjz5QWnYf3xvrgqepDnhvXObDzHW6gTr/tFnPfx4 vd2Q== X-Gm-Message-State: AOUpUlEaWPpdWnD5/OcMRtMSw7SpybQyIT/zMLdFLiF8GlteSJFJY2YH t7WVMn+CmAb9nohJR50Gq8Y= X-Received: by 2002:a2e:2ac3:: with SMTP id q186-v6mr5384498ljq.123.1531571219596; Sat, 14 Jul 2018 05:26:59 -0700 (PDT) Received: from localhost.localdomain (user-94-254-174-73.play-internet.pl. [94.254.174.73]) by smtp.googlemail.com with ESMTPSA id l3-v6sm5860732lfi.36.2018.07.14.05.26.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 14 Jul 2018 05:26:58 -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 v2 0/3] power: supply: max8998-charger: Date: Sat, 14 Jul 2018 14:26:50 +0200 Message-Id: <1531571213-30593-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 3 patches. First patch, fixes platform data retrieval issue in max8998 charger driver, which could cause NULL pointer dereference. Second patch, updates max8998 charger driver, so it's possible to parse devicetree for configuration. Third patch, updates max8998 documentation, so it includes new node and properties, needed for charger. All patches has been tested on, Samsung Galaxy S (i9000) phone. Changes from v1: - Removed unneeded Fixes tag - Correct description of all charger values - Added missing property unit for charger properties - Removed already applied patch Paweł Chmiel (2): 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 | 24 +++++++++++ drivers/power/supply/max8998_charger.c | 52 ++++++++++++++++++++++- 2 files changed, 75 insertions(+), 1 deletion(-) -- 2.7.4