Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp573214ybg; Tue, 28 Jul 2020 13:09:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6qyYzx203FXMmMOStuApFzQ9YjO2P1JK9Dva1H7ld193Vri2aQLs1P/XCbdGrbVLDjI/+ X-Received: by 2002:a05:6402:1803:: with SMTP id g3mr26613287edy.377.1595966955464; Tue, 28 Jul 2020 13:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595966955; cv=none; d=google.com; s=arc-20160816; b=wQ4EK322ac/IdlSCVgFNfeCSjiNbspyvu7RpqehyNDaytQr0u4ig4Fo6EoCD0uOaPD XGuqCMMGfLcXCNE8zjmMAENItSwcNQZf9KMx4R8fUzREJNvlMv5Pm9UVX+h2l1iJNEgM 3cLo5wPJlQdFrNMJttIYuSfNk6BjQU2Jnhx5fjLF97FeRMfmLVy3X82KxAN0nAce5PV2 +bgUvqopIXDFUYszST1q6GpLmWr15jTrmU+aaBxBUANHi1TfZPefS0+GMADP5RyTWJ/Q X1It9sBHvkKE1m6IJWZ32TT6mYCLwitX68Zo7679h6fpcNbOxo1+xlshv7LxKStN80xt EJhA== 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=akHVJT6LMSDK7vcT2wS+hMkydCjWb5dkqbL/pztg4fY=; b=tjAgf6i7+pqMOoQ4+LdXH2PKsOb3xgvXvcKIIXE+R3HexYSp5BQjd2EjZGCAXKQVP5 DZjM0TrctwBKFdXlnGYlYolQNUZbZVkrYIzjwigua9KBKf7joZB1sbW2sirJuHUwXSSz 9brsY7i36C1dSOJQpBis2xtWByKxBMzXl2+GgFKy4nX8Wiq0g0Yi859kr4nvoMAP8y6+ 0cdkcblOg/91nEX62b1SJuoT0K6BpRdIZEshGrHgnuKuJ0lLwsogESWmDM5AxWcJrI9K Ku+m5opVphyW6w31jsnE1iO4v+7u7YC2Qp2k8c4CqPvT3PH3oA0Anod/oM5MDBUhQX/K sVyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CdbuEdXr; 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 h6si7788672ejg.220.2020.07.28.13.08.53; Tue, 28 Jul 2020 13:09:15 -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=CdbuEdXr; 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 S1728796AbgG1UIc (ORCPT + 99 others); Tue, 28 Jul 2020 16:08:32 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:47570 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728112AbgG1UIc (ORCPT ); Tue, 28 Jul 2020 16:08:32 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06SK8UEx061454; Tue, 28 Jul 2020 15:08:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1595966910; bh=akHVJT6LMSDK7vcT2wS+hMkydCjWb5dkqbL/pztg4fY=; h=From:To:CC:Subject:Date; b=CdbuEdXrd0YZFdUoZzWk02+Kxp+b8uDmlFkROmx8x2kx6sGJzCKPLDWI/YFCRHBdk GAiw4OpI7AjGzZcYadJwg3YFORk0Kc/tcte8lBNFa5qcnMYCFFp6NfxVy706EQlXUq jYx0Uk+RuVK40BtUzYxAVl3y+3DMNCYO1bbSsTWw= 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 06SK8T8v096610 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 Jul 2020 15:08:29 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) 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.1979.3; Tue, 28 Jul 2020 15:08:29 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) 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, 28 Jul 2020 15:08:29 -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 06SK8TMi107056; Tue, 28 Jul 2020 15:08:29 -0500 From: Ricardo Rivera-Matos To: , , CC: , , , , , , Subject: [PATCH v18 0/4] Add JEITA properties and introduce the bq2515x charger Date: Tue, 28 Jul 2020 15:08:10 -0500 Message-ID: <20200728200814.26501-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 | 139 ++ .../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, 1424 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