From patchwork Sat Jan 30 17:28:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timon Baetz X-Patchwork-Id: 374146 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D9D0C433E0 for ; Sat, 30 Jan 2021 17:29:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 449F964E0F for ; Sat, 30 Jan 2021 17:29:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231138AbhA3R3j (ORCPT ); Sat, 30 Jan 2021 12:29:39 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:59371 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231627AbhA3R3j (ORCPT ); Sat, 30 Jan 2021 12:29:39 -0500 Date: Sat, 30 Jan 2021 17:28:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1612027736; bh=6t41VqcyyZdCArTnBHxNv9rzmYfvAGRD55C9dQ+BKlw=; h=Date:To:From:Cc:Reply-To:Subject:From; b=JTjL5lKfGS5aBa3kvmy/TMq35P5jrzx+dAPapVglOwVByt+L2RtTdRV4hjenQ6F+8 R2HtFKy2EWIkKdAzvrgWkkx4dnBHrIzjFSeBA8TM40DpqWu8C9GgsIp4xoyV1uipn4 /XedgSD5qbPtTIt5+pqnbsFhJSuFLZp8Y0a55m5o= To: Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Rob Herring , Sebastian Reichel From: Timon Baetz Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, Timon Baetz Reply-To: Timon Baetz Subject: [PATCH 0/3] charger-supply for max8997_charger Message-ID: <20210130172747.2022977-1-timon.baetz@protonmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Based on the discussion from [0] add an optional DT property to retrieve the regulator used for charging control in the max8997_charger driver. [0] https://lore.kernel.org/lkml/20210118124505.GG4455@sirena.org.uk/ Timon Baetz (3): regulator: dt-bindings: Document charger-supply for max8997 ARM: dts: exynos: Add charger supply for I9100 power: supply: max8997_charger: Switch to new binding .../bindings/regulator/max8997-regulator.txt | 1 + arch/arm/boot/dts/exynos4210-i9100.dts | 2 ++ drivers/power/supply/max8997_charger.c | 12 ++++++++---- 3 files changed, 11 insertions(+), 4 deletions(-)