From patchwork Wed Mar 8 08:44:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 6290 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp221865wrd; Wed, 8 Mar 2023 01:08:22 -0800 (PST) X-Google-Smtp-Source: AK7set9N18DUY0oHhY1z3ltL/b8S4bptj63T/fMFgEwxNVENxs72ccQrSaxqET6oNTGftd1Mepyf X-Received: by 2002:a62:5209:0:b0:5e5:e066:2304 with SMTP id g9-20020a625209000000b005e5e0662304mr14781668pfb.31.1678266502582; Wed, 08 Mar 2023 01:08:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678266502; cv=none; d=google.com; s=arc-20160816; b=apYRwftUJSEEbSdl+fY6XI18bajK34ciWjnY/rLtcD4oyFT0t9Dc3bNKxXANxAJovx cI5ri817AGuchc+ZfRsJhqsy0avT1V8o2TLTSX2mfR4420NP1FUQ/7jniOdhq/SGh6df ZAvP1wgrM/VcWmYgl10CtQri3XBtdhezd0izG0Lm9JCnysV06KVA0+SO7osQG5lkoZHx cpfFujqJ+pVi/NJGKD26RbdWjFdyQdF5SFrgdjoYcWP5yTt0PPQjW4JLoCw/XTjwHiW5 H3tpta5Y/Vboy0JnC77OXW9w3EN1tfcGsTOHxROZJZxs4x86nIzVwoqcuG8cYO8X5BN0 3dWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=RfRb5S56BPBA0+cLXTQV+70i2hjJgSw3qjK6yqkpQmA=; b=Uc+QwJFQC/ATeLxW+GUGoGPLsmG2/R0JvJ6ApqnK2SC0S5tVqubK5M2TuxnZEtYfLQ Bxq3g3Dv92w9Ov5f1OeBxOMmDWhzDMMh22suTpxKefohAvPp7uinS8hoKBoIxXXogpkO Qlif5r+sBb/NU9UzcwHWjLtLeJwzGq8rRunUtRjq3N6+Jk7XEhpvhAHjfVYcQfHTpXJ/ VHnlVBJOQp3I2x9VUKC5wvRtUoRqzwj7aXzWJJcSQhNIU15TBR09plzf/VyIPdj7V1N7 2Z3l8Bjcbod4nfeo5ueju5BZq0YUbyntsluBIP4mUM8uw7jD31ZQqgEHuYpc23BbFFsf jq2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=T+uYE2Lz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a654145000000b00502ece99eb3si13715268pgp.41.2023.03.08.01.08.09; Wed, 08 Mar 2023 01:08:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=T+uYE2Lz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229819AbjCHIoj (ORCPT + 99 others); Wed, 8 Mar 2023 03:44:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbjCHIoh (ORCPT ); Wed, 8 Mar 2023 03:44:37 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A00868FBDF; Wed, 8 Mar 2023 00:44:35 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id u9so62713483edd.2; Wed, 08 Mar 2023 00:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678265074; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RfRb5S56BPBA0+cLXTQV+70i2hjJgSw3qjK6yqkpQmA=; b=T+uYE2LzhkooSS7rrRfLJM9pWFxZwabb26+AHUd6qrHyOnbgZYXgUc0ADMS8nCXfl9 3Bammt8siYoiuycqzAgrEiYPXiRjPIl/+YH/A9OoTfddJg5wklJXWXZ9j++45rtEiP6L YyBgK5XelJ8yBvmTs8KxiEC9YN6GI/weGpfV2bio8eYv0pdi0bpHFaZnZP2oePi6pGHd UXdBBbTyqU4sgR/CGvHODaYxkQJef+DuoH3d3laT/Vl8gZgygKlCWw3DxA2mQ30SICmD 58jJlTOYwOfV+Di32Jvx4v9S5Apci9Gq/AKMv1CxqOt0ko8gEtDt+r/hmifxQGFWOJmi K7zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678265074; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RfRb5S56BPBA0+cLXTQV+70i2hjJgSw3qjK6yqkpQmA=; b=1gbxHcOpRH5ZxbCiVKbvIGZa8FiVlbT+R17aFDgEk4oKM6yvULC6FJXjaWP9yyDclv XW4pIMq1GPlsrGeUWaVO1c1KBmZ+7U8sSH2jWsS/ZEqHFkVXEhO02CubuW7u+1IOGjdo EXXb42qy/w5CGUzuTLgTaAB8U0xm7b4RgkKMPrrdEYq2GBRstPPAaqaPUgRXJ8RoLxja 0gDzP7iMNiVccpZROg/EcU2SRMzVhH9cBpjk1Q21ItW3mQio3cAV9GChq9L1pDMnua1a 6sM+GtUnk1e/6Note6XkFHDlIL6QxjHC+TtEl6lWvoT/5lvY4D0XcaS+g9eikMYe6DF2 8IDQ== X-Gm-Message-State: AO0yUKXyBk5wseS3svFIgqSXRea0cO6kvECcZrizfIO+TPlAU4GV5aut 8/0ZUwzjvzCMuwdTGY+XxSs7PFuZCPs= X-Received: by 2002:a17:906:4c8e:b0:8af:447a:ff8e with SMTP id q14-20020a1709064c8e00b008af447aff8emr15131068eju.20.1678265074178; Wed, 08 Mar 2023 00:44:34 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id p8-20020a170906838800b008ee95ccfe06sm7163891ejx.119.2023.03.08.00.44.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 00:44:33 -0800 (PST) From: Svyatoslav Ryhel To: Iskren Chernev , Krzysztof Kozlowski , Marek Szyprowski , Matheus Castello , Sebastian Reichel , Rob Herring , Svyatoslav Ryhel Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/4] Add optional properties to MAX17040 Date: Wed, 8 Mar 2023 10:44:15 +0200 Message-Id: <20230308084419.11934-1-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759789976036308260?= X-GMAIL-MSGID: =?utf-8?q?1759789976036308260?= Extend properties supported by max17040 fuel gauge with static simple battery cell properties, some supplier properties (like health and status) and thermal data from external sensor. Svyatoslav Ryhel (4): dt-bindings: power: supply: maxim,max17040: update properties power: max17040: add simple battery cell support power: max17040: add passing props from supplier power: max17040: get thermal data from adc if available .../bindings/power/supply/maxim,max17040.yaml | 37 +++++++++++ drivers/power/supply/max17040_battery.c | 66 +++++++++++++++++++ 2 files changed, 103 insertions(+)