From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F7F8C169C4 for ; Tue, 12 Feb 2019 01:03:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DB7FB217FA for ; Tue, 12 Feb 2019 01:03:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728105AbfBLBDA (ORCPT ); Mon, 11 Feb 2019 20:03:00 -0500 Received: from mx0a-00010702.pphosted.com ([148.163.156.75]:57182 "EHLO mx0b-00010702.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728042AbfBLBCy (ORCPT ); Mon, 11 Feb 2019 20:02:54 -0500 Received: from pps.filterd (m0098781.ppops.net [127.0.0.1]) by mx0a-00010702.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1C11HRV009616; Mon, 11 Feb 2019 19:02:49 -0600 Received: from ni.com (skprod2.natinst.com [130.164.80.23]) by mx0a-00010702.pphosted.com with ESMTP id 2qhus0se77-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Feb 2019 19:02:49 -0600 Received: from us-aus-exch2.ni.corp.natinst.com (us-aus-exch2.ni.corp.natinst.com [130.164.68.12]) by us-aus-skprod2.natinst.com (8.16.0.27/8.16.0.27) with ESMTPS id x1C12mw7016515 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 11 Feb 2019 19:02:48 -0600 Received: from us-aus-exhub1.ni.corp.natinst.com (130.164.68.41) by us-aus-exch2.ni.corp.natinst.com (130.164.68.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 11 Feb 2019 19:02:48 -0600 Received: from nisurp-linux-2.ni.corp.natinst.com (130.164.49.7) by us-aus-exhub1.ni.corp.natinst.com (130.164.68.41) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 11 Feb 2019 19:02:48 -0600 From: Virendra Kakade To: , , CC: , , , , , Virendra Kakade Subject: [RFC 3/6] power: supply: Ettus Research E31x charger driver Date: Mon, 11 Feb 2019 19:01:40 -0600 Message-ID: <20190212010143.3729-4-virendra.kakade@ni.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190212010143.3729-1-virendra.kakade@ni.com> References: <20190212010143.3729-1-virendra.kakade@ni.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-12_01:,, signatures=0 X-Proofpoint-Spam-Reason: safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document bindings for the E31x devices charger. Signed-off-by: Virendra Kakade --- Documentation/devicetree/bindings/mfd/e31x-pmu.txt | 8 ++++++++ .../bindings/power/supply/e31x-charger.txt | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/e31x-charger.txt diff --git a/Documentation/devicetree/bindings/mfd/e31x-pmu.txt b/Documentation/devicetree/bindings/mfd/e31x-pmu.txt index ebb5625f6c74..3798886578ba 100644 --- a/Documentation/devicetree/bindings/mfd/e31x-pmu.txt +++ b/Documentation/devicetree/bindings/mfd/e31x-pmu.txt @@ -4,11 +4,19 @@ Required properties: - compatible : Must be "ni,e31x-pmu" - regmap : Must be <®mapnode> +e31x-pmu has a sub-device called e31x-charger. + +For the e31x-charger properties please refer to: +Documentation/device-tree/bindings/power/supply/e31x-charger.txt + Example: pmu { compatible = "ni,e31x-pmu"; regmap = <&devctrl>; status = "okay"; + charger: charger@0{ + compatible = "ni,e31x-charger"; + }; }; diff --git a/Documentation/devicetree/bindings/power/supply/e31x-charger.txt b/Documentation/devicetree/bindings/power/supply/e31x-charger.txt new file mode 100644 index 000000000000..ae9fedcbf1b2 --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/e31x-charger.txt @@ -0,0 +1,14 @@ +Ettus Research/National Instruments E31x Devices Charger + +All E31x devices have to be connected to an external power supply +charger to charge the in-built battery or supply power. +Some capability is provided to monitor this charger. + +Required properties: +- compatible: Must be "ni,e31x-charger" + +Example: + +charger: charger@0{ + compatible = "ni,e31x-charger"; +}; -- 2.17.1