Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp54797ybm; Thu, 28 May 2020 15:57:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiQ3lmaSGLxeH0l4EB9bp7A25vs3e3fI5VaeH3ZMob08hDsR2QJ/eLlhZIjLET2plcnImj X-Received: by 2002:a17:906:33ce:: with SMTP id w14mr3852461eja.35.1590706655022; Thu, 28 May 2020 15:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590706655; cv=none; d=google.com; s=arc-20160816; b=m1MqpYxI9C0NzngnuoHIpuZbgGe+M7skX0U9dp0r6CDDH1EZ8noO2ZkiEPlLn6P5on cvihrPTEKiL9t6BaSpdGcU3X1qqGSrVWgDBw8n9Yf/YuOtdzpuLOnUoaCBMHUw0pcEuO Ps4h5jwtbBDj0QCi5ufCHwFXvrmsC+DGi8MeKp92wtt2tsh+fuhq6vNH2p75Lfr4eE2u Hn4md8zNmTcTsRNo7tnYKgDjZ9g9JNnKYxNRuSev/pyhrsHtCbyXDzSITzwzDPyx4jX9 Ska1R8zvNkS255KoaByraYX834D+oJ8vfaNpfcpQFvC+D0WP8maE6KZHl0w6CPVzp+Xr O7PA== 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=YFQBbkpTtChsFHoFb0UlaDRZEgQoT5kqDIE93sWYHhw=; b=wITmkWbbdQZEFa9iq6gvpAbVaHVDD4QN4AtYWxjtyDit43GUgs0TO31s7Fkm+vG7L7 1IRfX/MjnrYu+3Z9ZQxRDIpi+4EQGsh3+c2V41dx3I72pkSogLBNWsSA130CkDaxQo70 alT+zbasu8CeWXoVevJmo+24wP6Pf4WGWBzYBLFf2h9CGud0UpbGH66n4NbCrgUbngb/ 5LK3JOv4ne45vUVY/3otxpT8lcmA0a4E6x9UGCv4ZA4V2okcEbB7JeSNcjOmIUWTATlp wpFkjbBXGuySD39aV22L8pWRKAxMPJiYJhAqIaltxrpN6bgn83+8IHxaSxNz2KspXnGo SSyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=o82Byhs5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id o18si4605904ejm.8.2020.05.28.15.57.12; Thu, 28 May 2020 15:57:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=o82Byhs5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2437415AbgE1Wyp (ORCPT + 99 others); Thu, 28 May 2020 18:54:45 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36890 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437357AbgE1WyN (ORCPT ); Thu, 28 May 2020 18:54:13 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 04SMs8Ao103628; Thu, 28 May 2020 17:54:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1590706448; bh=YFQBbkpTtChsFHoFb0UlaDRZEgQoT5kqDIE93sWYHhw=; h=From:To:CC:Subject:Date; b=o82Byhs5nzpGem+Bh2Hgmyp9WIFzElosZ/pepm3RAJKuQLYQiaH7ehdWPdgELcO2D +bvdwEdlrsowH9jJJ2PclXpptpmqw5vd7KKM8uB0RzDdj8f/zovhIAGc7Nru4QRLDM zvFKNLUUtNHruFVRa0GI9JC622fZUXve8u3T6Bwc= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 04SMs8pQ083663 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 May 2020 17:54:08 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 28 May 2020 17:54:08 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 28 May 2020 17:54:08 -0500 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 04SMs7aS055158; Thu, 28 May 2020 17:54:08 -0500 From: Ricardo Rivera-Matos To: , , CC: , , , , , , Subject: [PATCH v12 0/4] Add JEITA properties and introduce the bq2515x charger Date: Thu, 28 May 2020 17:53:46 -0500 Message-ID: <20200528225350.661-1-r-rivera-matos@ti.com> X-Mailer: git-send-email 2.26.2 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, This patchset adds additional health properties to the power_supply header. These additional properties are taken from the JEITA specification. This patchset also introduces the bq2515x family of charging ICs. Dan Murphy (2): power_supply: Add additional health properties to the header dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power | 2 +- .../bindings/power/supply/battery.txt | 82 +- .../bindings/power/supply/battery.yaml | 143 ++ .../bindings/power/supply/bq2515x.yaml | 91 ++ drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile | 1 + drivers/power/supply/bq2515x_charger.c | 1158 +++++++++++++++++ drivers/power/supply/power_supply_sysfs.c | 2 +- include/linux/power_supply.h | 3 + 9 files changed, 1412 insertions(+), 83 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/supply/battery.yaml create mode 100644 Documentation/devicetree/bindings/power/supply/bq2515x.yaml create mode 100644 drivers/power/supply/bq2515x_charger.c -- 2.26.2