Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp183616ybh; Mon, 20 Jul 2020 13:48:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZB6k4aYl10543+6eIsva+ZrbBVdQ0AoM/Sb1jCZbW14XRqRJAQ2WbgtG16XE8gam/S5y4 X-Received: by 2002:a17:906:b0d3:: with SMTP id bk19mr23778844ejb.167.1595278096416; Mon, 20 Jul 2020 13:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595278096; cv=none; d=google.com; s=arc-20160816; b=XbxhzKUWIGBZm2EXw6Un2puPUIcgreNvKje3ODB5ly/Bhd1aILYSh6XjR6hR7aIEl6 MQ1qCTNiHOP+AHX0ABTbtakncjcPMte1Hd8uUJFVLKMRpq1tnKhDxhiryXSEnKWODVGw phEUqQcdkhQK9nyt7qzi6vTQNDVloPzvtSiYBMyLVwBfSxuy+qj3SO/QwDSkHG7gVkgk SpPE6KI6fIaDIQLUcJepSLcfLOPHzPr/lGgGRoMslWPql6rdsk4mxFtEGgqJiWwHuQvs 44UPV1FmRf47yoV/JMa7x5gX50cqw+YzbTc4wokHFN0FBN9ResobQQGY/4yxaIo3HWPL zL0w== 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=pNY14uoreEMb1N8k616MvSldr3BlysWH/SPhuew/hCs=; b=DdTrAaulQIlyq9xTRETx1YcH7a50M7At/Zp0OHVTWOt5jeZFoA1FvAb2gAtRQEcp7s AxNc6s/ac2N/0KfSoYhXXMcfbVyUVVPcBAHYrPoSkENcis17xTSnpcnmnsdfP2qMMvLk +itvGzaFcKDnFF/vNr0aXTiYvSFj7fb5AFzHOlsRkyiJqwtOQ+Oo9s4gwwWb51yMdw5Q Xsr62P49TwLLfD+z7STJSxJVb8RaKuD6lEsVnGMzz+cTKRiup/1hwDSyZh7I5mOm4VIg RO6OQ+m8z60YaiQW/RaEQ565Qm6WH4FZl56NNwQ/w0RPBlee4ztqIPywrKYFJDt+/W0H Sv0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VziS23T0; 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 ca10si11208532edb.224.2020.07.20.13.47.53; Mon, 20 Jul 2020 13:48:16 -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=VziS23T0; 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 S1728773AbgGTUoV (ORCPT + 99 others); Mon, 20 Jul 2020 16:44:21 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:39092 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726381AbgGTUoV (ORCPT ); Mon, 20 Jul 2020 16:44:21 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06KKiIol085956; Mon, 20 Jul 2020 15:44:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1595277858; bh=pNY14uoreEMb1N8k616MvSldr3BlysWH/SPhuew/hCs=; h=From:To:CC:Subject:Date; b=VziS23T06fyIEppKICvvFJnJxX0Cb855seVmhP2McWwXvq3CM9XUfT0TsnsZhLFbU et17FCsJh9FpgvniM/ufsgU+7t+ZBwSrQ5YYPEQnGLWIHcXub9CUGmbNpL4afNAAAd LG1RlzW4M88ZgMp+EyD8baa+DT5dcKLKnACl5wm4= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06KKiINE069802 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Jul 2020 15:44:18 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 20 Jul 2020 15:44:18 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE100.ent.ti.com (10.64.6.21) 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; Mon, 20 Jul 2020 15:44:18 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06KKiIr6038674; Mon, 20 Jul 2020 15:44:18 -0500 From: Ricardo Rivera-Matos To: , , CC: , , , , , , Subject: [PATCH v17 0/4] Add JEITA properties and introduce the bq2515x charger Date: Mon, 20 Jul 2020 15:43:56 -0500 Message-ID: <20200720204400.7351-1-r-rivera-matos@ti.com> X-Mailer: git-send-email 2.27.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, 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 | 3 +- .../bindings/power/supply/battery.txt | 86 +- .../bindings/power/supply/battery.yaml | 157 +++ .../bindings/power/supply/bq2515x.yaml | 93 ++ drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile | 1 + drivers/power/supply/bq2515x_charger.c | 1169 +++++++++++++++++ drivers/power/supply/power_supply_sysfs.c | 3 + include/linux/power_supply.h | 3 + 9 files changed, 1442 insertions(+), 86 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.27.0