Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp75859ybt; Tue, 30 Jun 2020 15:09:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDa+8Pm+GkZpZOtvvFipRzfqMdvL+KdRaNe4622pJBG7/P3cXcIre79XbYoFS8MXjiiLNO X-Received: by 2002:a50:d983:: with SMTP id w3mr24742911edj.110.1593554651447; Tue, 30 Jun 2020 15:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593554651; cv=none; d=google.com; s=arc-20160816; b=DwIVmbdLCRwr6GNHNLpRPlCCCrYqWSRTxVfbuhxPjN4qNPnD9wygSulggARYrzH8Ge 0uUrd1uHyhu0Z/Lg9x3p8f553JOJP2aUWcUL3nLNvkaq8nuyd1B8jp2u+2z6fTB2tcp+ cMCJnK592Mg10Zoxw1dyItb6+kzkNJlZfy/90VNg2XW3JsiZ0pPkWIWM39VBYCOtBONg FTfvtghJ9RX7uQizsm91r1RSVXD9F3HI2P6r1f6mO7ClqtZzVli1sYP4Q+GokbZcR/4a fagRsAF+9t8fIIIknePY9hI+bRkpCqQh3f+9+KRnnjyD4Y40oGMuDy9ltCVbd1lSJTFY 889A== 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=uEJgcb4tcrP5fgkrX6EiOUahHBi41yHxOfg797i9G7Y=; b=lal8hPxTbxicHSNnStZKstZuBR0x/o9HIqf8oinF46qIIfiFmohqHSW+ntHitVxICj HqUV3Ut2AmvZNHprrfJdStvqs07rPoaf1a2h5XhLOBpnJVXD+EUl3qoOQ/DS3wk2kfWg J7gMCpNv7SrunXXf1/SFq6X0hT+P/adMf9OonyeWVuDUOxN+FaC2DgOjB/tvWWNfC9Vu tfaUVqKXymQEpAQFKjs2G9jyBUHjzgTJKSGVJFaYsNkShhqJeo5/Ia/KJphaViIh40Xy avM+NdqPtKMiFx3MG7DWl8dZdREzcI5z+oTiJrv9344vjTPhS8Qu96aLGXTYVUZqs6cQ Gl0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=luJLCjuo; 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 y6si2579231edp.197.2020.06.30.15.03.48; Tue, 30 Jun 2020 15:04:11 -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=luJLCjuo; 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 S1726448AbgF3VzA (ORCPT + 99 others); Tue, 30 Jun 2020 17:55:00 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:49430 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbgF3Vy6 (ORCPT ); Tue, 30 Jun 2020 17:54:58 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05ULstDJ045398; Tue, 30 Jun 2020 16:54:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593554095; bh=uEJgcb4tcrP5fgkrX6EiOUahHBi41yHxOfg797i9G7Y=; h=From:To:CC:Subject:Date; b=luJLCjuo3qyLzaTYTDGeMj8qnvTA/p8dChi5GC/qx6xjHk793ZR6fw1aq8vl/LbtH 6/53pvEVo5jHDk/gxP44InzITsFkaeuQDMNhxPZf3frWqrsh5JNwzAjY8EBbJyDVvO mea5vS7KyGYvkJPGp/uMFM67s7x/iGWYZkK2+Lm4= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05ULstac018843; Tue, 30 Jun 2020 16:54:55 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 30 Jun 2020 16:54:55 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.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; Tue, 30 Jun 2020 16:54:55 -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 05ULstKj046698; Tue, 30 Jun 2020 16:54:55 -0500 From: Ricardo Rivera-Matos To: , , CC: , , , , , , Subject: [PATCH v14 0/4] Add JEITA properties and introduce the bq2515x charger Date: Tue, 30 Jun 2020 16:54:22 -0500 Message-ID: <20200630215426.26450-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 | 1158 +++++++++++++++++ drivers/power/supply/power_supply_sysfs.c | 3 + include/linux/power_supply.h | 3 + 9 files changed, 1431 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