Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1401389imm; Thu, 5 Jul 2018 22:38:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdnF3mpoxG7zfG6dn6o2nGQtwobgRu/0SRqVatoPMwUKUCVU1RDd1B1kQzD20Saoam+d468 X-Received: by 2002:a17:902:6b4c:: with SMTP id g12-v6mr8872282plt.159.1530855486263; Thu, 05 Jul 2018 22:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530855486; cv=none; d=google.com; s=arc-20160816; b=Vk89LI5/aYL4ubLVS4glObsxGDf3+uY7ns8SQQzumeNEBY1VfJVOWlaF0PofPk9q44 Y6IucToODqLsNRu0aDDtY6to9K5tsp912JhdRsSKlR+bxnGasrejzlO/2Bw74Nt+P42H FXne1pc/1qBwm2hYMNiYAZPsbn+t+PncJslDGIEzMfq7N/PmGpCr/Lg9XdWnEOTkdhzi pxrlqq46sMPZ1DA0uODT49ibTguo/vaNriUwBKvC4hz4fKgDS/cDzrT8Xt0YADHZfYTg L/7gGQJbfpwq9+8OAHCtRuhUHn632uchtPdkxMnA7gEwrcjwkj/TcH2tWhF9JlN/7I66 97UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=i13zUSSXHq4zxTMqVM8NH3zPphg7205Ollmb/RJjNjo=; b=RW41xXVvWad9CcevsM836jTEu6yhgsGE8ftDGPBWZnQM4PqMsvmOgYFXTYDvk5WzHO 2xwZj28ip9HhZkGCxwZqdCX43haCWWJ+FRLfmmW/GeD1ecltyUpUoau9DBdb+1dzDOt+ qwFFIVutEpguMsGUGgLkiKccOJ1vWR4TK5KipHzufwuri44F37prcZ60lt6S/RHIWJ0d hejFSClEvgHQe8V6aq4e3hlxC9NI4E4RA8BiixlIlBuNb9UOwdHT0j/PGaJtxahYEoP1 x2/LrZwE3GwwRB3n/AVIBMAacGA+S5I48E8A2w2zJMwdweGZchmXJjE+JLgrq6O4X445 DSUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c67-v6si7984775pfa.130.2018.07.05.22.37.52; Thu, 05 Jul 2018 22:38:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932748AbeGFFgw (ORCPT + 99 others); Fri, 6 Jul 2018 01:36:52 -0400 Received: from mail.bugwerft.de ([46.23.86.59]:37604 "EHLO mail.bugwerft.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932323AbeGFFgD (ORCPT ); Fri, 6 Jul 2018 01:36:03 -0400 Received: from localhost.localdomain (pD95EF57F.dip0.t-ipconnect.de [217.94.245.127]) by mail.bugwerft.de (Postfix) with ESMTPSA id 7321628DBF9; Fri, 6 Jul 2018 05:35:59 +0000 (UTC) From: Daniel Mack To: zbr@ioremap.net, robh+dt@kernel.org, mark.rutland@arm.com, szabolcs.gyurko@tlt.hu Cc: sre@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, robert.jarzmik@free.fr, Daniel Mack Subject: [PATCH v4 2/5] dt-bindings: w1: document bindings for ds2760 battery monitor Date: Fri, 6 Jul 2018 07:35:49 +0200 Message-Id: <20180706053552.11438-3-daniel@zonque.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180706053552.11438-1-daniel@zonque.org> References: <20180706053552.11438-1-daniel@zonque.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the devicetree bindings for Maxim's ds2760 battery monitors. Signed-off-by: Daniel Mack --- .../bindings/power/supply/maxim,ds2760.txt | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/maxim,ds2760.txt diff --git a/Documentation/devicetree/bindings/power/supply/maxim,ds2760.txt b/Documentation/devicetree/bindings/power/supply/maxim,ds2760.txt new file mode 100644 index 000000000000..55967a0bee11 --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/maxim,ds2760.txt @@ -0,0 +1,26 @@ +Devicetree bindings for Maxim DS2760 +==================================== + +The ds2760 is a w1 slave device and must hence have its sub-node in DT +under a w1 bus master node. + +The device exposes a power supply, so the details described in +Documentation/devicetree/bindings/power/supply/power_supply.txt apply. + +Required properties: +- compatible: must be "maxim,ds2760" + +Optional properties: +- power-supplies: Refers to one or more power supplies connected to + this battery. +- maxim,pmod-enabled: This boolean property enables the DS2760 to enter + sleep mode when the DQ line goes low for greater + than 2 seconds and leave sleep Mode when the DQ + line goes high. +- maxim,cache-time-ms: Time im milliseconds to cache the data for. When + this time expires, the values are read again from + the hardware. Defaults to 1000. +- rated-capacity-microamp-hours: + The rated capacity of the battery, in mAh. + If not specified, the value stored in the + non-volatile chip memory is used. -- 2.17.1