Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8058008ybl; Thu, 16 Jan 2020 09:55:22 -0800 (PST) X-Google-Smtp-Source: APXvYqyqXrmQuV8LzueEpGAqm4Llu+jNYUA/ZYNOmvswLrvdjnAjL3yDSU2UHtNj2tXcs+Q8BmL2 X-Received: by 2002:a9d:2264:: with SMTP id o91mr3055030ota.328.1579197321993; Thu, 16 Jan 2020 09:55:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579197321; cv=none; d=google.com; s=arc-20160816; b=UHxcDIiSjICccgOouVqhxhPMhQiz8IonwoNjZGDHC9+Anvr4+rMsRH16WU7WkbyxLM Q1nY2WEawDEwW7yNMc8RaTy9Z5LMGwrz8hkXpblU0uXwO8q1W6rQaABz9+5+ha4dAhVe D5TGFfazZQ75AuLoe3ooRhZOaPBXc06yZKI2z3x56zydNjLo8cAByh46HdrOWgV2SOI5 qcxhcCJlX61BgWV+BQhUKt4K8oMtEsjzjFaACAuqx9V5KWm/4kgjUkt+eK9hV64x2csn 6+F0saPbXqLQJsKVisZ5Jo4JxppUq7xR/M23qOtoI5SsmfFl3+YBJ7nwqttHzFInAkRY av7w== 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; bh=t8orkGLdN+VEXtw9A9i1nVzcxXSIJKWT0HvQf4WRsYY=; b=J5dlJ28kOfMJzi5+yGghrHIUS7H4HORDJGIeSHXQX6eq1onn9UcnAHU6ZvR0bIaVLP Tovm3LotBhF+tsondVtfGoXexkk+yT4esEXdPk87P7hJQyHGlRsqfK6dzbAvnLqpvUqf 3gbxtOBMyQDPoGqQo8h41gKnM3NA752H5ryCtEB/ALtaa0nS+gNkQjgL+x5WLdPXGIaz eBD+8XI4XOf1kctEER6HhkIFa0P2Zca14VQA5nkS5z99weiNNexDeJ5CE1imfyXdJBD7 IW1bSxspLdQ9Vdt1jE/PdINF5A2ld2H9ORU3oyY3h/saeWGwxa4f5kT4vzqSYUeBlAUX AHpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=N1igzSg8; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l21si14210247otk.142.2020.01.16.09.55.09; Thu, 16 Jan 2020 09:55:21 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=N1igzSg8; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406278AbgAPRxt (ORCPT + 99 others); Thu, 16 Jan 2020 12:53:49 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:42730 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394443AbgAPRxo (ORCPT ); Thu, 16 Jan 2020 12:53:44 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 00GHrebX029057; Thu, 16 Jan 2020 11:53:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1579197220; bh=t8orkGLdN+VEXtw9A9i1nVzcxXSIJKWT0HvQf4WRsYY=; h=From:To:CC:Subject:Date; b=N1igzSg8HbQMxuU4mta1clFA76Qk1XUzdinIySGWB+yb/Zux0quMvg80JWiaE9ayb /5shhxzvWfPk4XkO+83lET+byiR7cu3XFaNKVueVt4+ay3muvxw+3LaYSUyAYXYKon nKdeT6DSnxLA2o8qMd1Nv2e2aL9Se7Dmy4VX2oN8= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 00GHreNl075932 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 Jan 2020 11:53:40 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 16 Jan 2020 11:53:40 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 16 Jan 2020 11:53:40 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00GHresi040565; Thu, 16 Jan 2020 11:53:40 -0600 From: Dan Murphy To: CC: , , Dan Murphy Subject: [PATCH v4 0/4] BQ25150/155 Driver introduction Date: Thu, 16 Jan 2020 11:50:35 -0600 Message-ID: <20200116175039.1317-1-dmurphy@ti.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello I am introducing the TI BQ25150/155 Charge driver. The driver also supports the JEITA spec for Thermal battery management. This support for Hot, Warm and Cool are being added to the power supply class. Datasheets for these devices can be found at: http://www.ti.com/lit/ds/symlink/bq25150.pdf http://www.ti.com/lit/ds/symlink/bq25155.pdf Dan Dan Murphy (4): power: supply: core: Update sysfs-class-power ABI document power_supply: Add additional health properties to the header dt-bindings: power: Add the bq2515x family dt bindings power: supply: bq2515x: Introduce the bq2515x family Documentation/ABI/testing/sysfs-class-power | 3 +- .../bindings/power/supply/bq2515x.yaml | 85 ++ drivers/power/supply/Kconfig | 8 + drivers/power/supply/Makefile | 1 + drivers/power/supply/bq2515x_charger.c | 739 ++++++++++++++++++ drivers/power/supply/power_supply_sysfs.c | 2 +- include/linux/power_supply.h | 3 + 7 files changed, 839 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/supply/bq2515x.yaml create mode 100644 drivers/power/supply/bq2515x_charger.c -- 2.25.0