Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1354949pxf; Fri, 12 Mar 2021 07:46:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYEOcfrYBtLoxrf6uieJRkxhWsfbjyUgT4nAjMpf8+xdVBT1qmF8SJpl65/tDxn8aYgref X-Received: by 2002:a05:6402:1393:: with SMTP id b19mr14825669edv.333.1615564004974; Fri, 12 Mar 2021 07:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615564004; cv=none; d=google.com; s=arc-20160816; b=hF7lqDOZMrDOoE4MLfE6xRUtQ+f2tq+VTTurHqSCyVhFv5mDwrVXL7WgxiYLzA357k z4dvZwaojZ78WnmQnE860F6I/bD0iEhEs+ehl2qU+J40Ch8QHVXPNymACaA1OSgncSn+ LGl/5Xtg0s8h1IuKdEJnIUjBepZiG3Eke3o9ijMgHEGnx2nKkrVWQL1a2JL+oiWnk8Eb AsH+7Hi+to/3illffWulUN+stXbClE+OX2dL/d+Le8QHSkFwwjeMpX0P06XtdrhwDJ3j M+i3iDmHQLS2mQQGVaNpxRlB3aZ2lH/W5GQdY/lz62QePbotxDiXIXzK7rWM2rMcsSbA y2sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=5E2ToX1+AKygesg1mbIAR0ye9M3JlpPh140JVCmY6no=; b=KVEX+9NOpt8t34EYXsY2RTANFtSPHTSiHrNqnNjoCWlZ1vi55AIy9ougbVloRyxzI9 axvXnrugl0h/aMQ0Q5v4nFnB4zpBkVFVPvNd0kzP/i13aKnIzR105b2luA9lAjVpgmYw EwfNYeLhGA/RFOn26m1HZyXmsLo08Qu9cQPadCxXx6wDKWNMkPvybxi4WBs0TcaWYZMx LKyLn1Yxx9X7AfjMBrAHkhkigZXCvySDK9RDNb7rqX59hC9oaqxqym8b6Am+jzKgbyRU IHByYtsZRNIF0m4wLmNaGUTWdK8cdXdTQ3Tc47tgd78ud9njCnG681hlxb9GZM6P2vAL GRwg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y11si4623670edj.305.2021.03.12.07.46.21; Fri, 12 Mar 2021 07:46:44 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232718AbhCLPpT (ORCPT + 99 others); Fri, 12 Mar 2021 10:45:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232583AbhCLPoQ (ORCPT ); Fri, 12 Mar 2021 10:44:16 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50226C061761; Fri, 12 Mar 2021 07:44:16 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 3F3931F46EC3 Received: by jupiter.universe (Postfix, from userid 1000) id 4F3A64800FF; Fri, 12 Mar 2021 16:44:08 +0100 (CET) From: Sebastian Reichel To: Sebastian Reichel , Rob Herring Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH 15/38] dt-bindings: power: supply: tps65090: Convert to DT schema format Date: Fri, 12 Mar 2021 16:43:34 +0100 Message-Id: <20210312154357.1561730-16-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210312154357.1561730-1-sebastian.reichel@collabora.com> References: <20210312154357.1561730-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel --- .../power/supply/tps65090-charger.yaml | 36 +++++++++++++++++++ .../bindings/power/supply/tps65090.txt | 17 --------- 2 files changed, 36 insertions(+), 17 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml delete mode 100644 Documentation/devicetree/bindings/power/supply/tps65090.txt diff --git a/Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml b/Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml new file mode 100644 index 000000000000..f2dd38bf078c --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/power/supply/tps65090-charger.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: TPS65090 Frontend PMU with Switchmode Charger + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: ti,tps65090-charger + + ti,enable-low-current-chrg: + type: boolean + description: | + Enables charging when a low current is detected while the default logic is to stop charging. + +required: + - compatible + +additionalProperties: false + +examples: + - | + pmic { + charger { + compatible = "ti,tps65090-charger"; + ti,enable-low-current-chrg; + }; + }; diff --git a/Documentation/devicetree/bindings/power/supply/tps65090.txt b/Documentation/devicetree/bindings/power/supply/tps65090.txt deleted file mode 100644 index 8e5e0d3910df..000000000000 --- a/Documentation/devicetree/bindings/power/supply/tps65090.txt +++ /dev/null @@ -1,17 +0,0 @@ -TPS65090 Frontend PMU with Switchmode Charger - -Required Properties: --compatible: "ti,tps65090-charger" - -Optional Properties: --ti,enable-low-current-chrg: Enables charging when a low current is detected - while the default logic is to stop charging. - -This node is a subnode of the tps65090 PMIC. - -Example: - - tps65090-charger { - compatible = "ti,tps65090-charger"; - ti,enable-low-current-chrg; - }; -- 2.30.1