From patchwork Tue Aug 28 09:02:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 145301 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp942334ljw; Tue, 28 Aug 2018 02:03:28 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbjofla0ENmRyx88jfPvJgEUYb1iSHANTgbKFjx8VPT/VvuniWsbGMa5lpevJIJb5nCmlYK X-Received: by 2002:a17:902:6bc8:: with SMTP id m8-v6mr650738plt.162.1535447008103; Tue, 28 Aug 2018 02:03:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535447008; cv=none; d=google.com; s=arc-20160816; b=ayubwI5TEu5PQL/u1u7V+5OFIOJbPWBEgMoe6aHSKYZGlmS0xxzQqkryyEU6Nsw7zf xVHXYk9fA9YNABQ6wxTmbljJe66uHmWsU3q2Kkj+A4GP6zw83Mzs4VihhfLkulh8rzE3 7MFBBFfxKiQW8sjr0LknT/RwdCHqBFJqB8cb5SqV13WAJ9mAb++ByozLOBk9ml81AFXo JoyEqbdydcRjq+PbB3v/0SD155ASKeV+SAygycXw2QllrxXzsA8EGGV65H9Yr+e9GLaa J7urHaeO+oOogNL6h+XMyCaYqA+hvK8PpePpWIpbNg2EtMyF9wpJ3sGWT+3RCtFWG85U BCxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=nAwmOnrb0wdKODUtZHJ2nYT/GWx0JLB/qBAyXK4vPaE=; b=tkFDgxts7rZ77P4XGxHn/7Kp9iE+8CiUZj8biAGFcehDoqiKhM66oJAgCm+WhZ7p47 Qgb4KhK+JZHiNIUBS5Xc1y7yNeaXj3zIO7+r9MVu9HcjmHpNe5K8LhP3LvwQxwkpLa+u J4EISZ4dq69ilGbNnT5jdEhcTEcH/CfpZ58B79Z8m50E9iPrF7FFBGrw8uvs8n31hwBM Eccj4cA7UEWrDxnzaPFc/YGx2i0IEdlr7N7M5XjYc+3gUSRiGDmq6Iw7cRyoBSbsaoc3 1XrAkNzvr8lGp7fv6vs0M4FtisNzIqQ3i/WjJu3CIkd2O3ly81F9YJQMguxDHv/PQNMj IzHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="XvLZ/yf/"; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s16-v6si470112plp.317.2018.08.28.02.03.27; Tue, 28 Aug 2018 02:03:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="XvLZ/yf/"; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727217AbeH1MyG (ORCPT + 10 others); Tue, 28 Aug 2018 08:54:06 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:36522 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726954AbeH1MyG (ORCPT ); Tue, 28 Aug 2018 08:54:06 -0400 Received: by mail-pl1-f194.google.com with SMTP id e11-v6so461239plb.3 for ; Tue, 28 Aug 2018 02:03:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=nAwmOnrb0wdKODUtZHJ2nYT/GWx0JLB/qBAyXK4vPaE=; b=XvLZ/yf/S1NpIdIvg7DyWMqWVkzTjZR7LNwqCJbvW2mgtFrjzKZSVOdS1ZO/Q/M3da /oEJbx4gqYsKV/vzogons50By4TEjqogZ+4wT+mcTC7UeK8NZDCcBWQpPq+VdbCPseJL Co1wOYY7EPPKOTLe9O1TdVPnEecikUZH34UFg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nAwmOnrb0wdKODUtZHJ2nYT/GWx0JLB/qBAyXK4vPaE=; b=mBLt97+XrxqG7et0MtXJyvAvKOT2tLhKViDv0jpi+kee/69kdMx35t3d4uOPzBSbRy o4v5S53pTag/cg9BFKm6AWhdcjtX9GrPlblfIkhqgsqCX1btaOvuczFWnQpOo0NMYkM1 cTgS1TIIqRt5AIlS0aiXAW30va6N/scDytWHg1izEImwpX1PVNgxpgT0b2DZqRGkH/9q xrjuG8Nt7RG67/TvirTSqJpPst1uFstcfgVJwcqqp7/gyTQ5UAOz5mfFHDXfdEe1xz4Z gHFOjJYLo9XM/ZI7mzTaDxS01+rrOoG1WkRptR1zaDXxPZNnd4hLhL+L4RFVGaW10cv7 p72Q== X-Gm-Message-State: APzg51BeQBnR+WscySU5HunnJJtd1i0DAsQDr24gp+fzgQN45na++w1N GM0BJ3Vt5qAZZ3D6oRJHeB9Juw== X-Received: by 2002:a17:902:26:: with SMTP id 35-v6mr626409pla.276.1535447006041; Tue, 28 Aug 2018 02:03:26 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id v140-v6sm1979292pgb.45.2018.08.28.02.03.23 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Aug 2018 02:03:25 -0700 (PDT) From: Baolin Wang To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, yuanjiang.yu@unisoc.com, baolin.wang@linaro.org, broonie@kernel.org Subject: [PATCH 1/2] dt-bindings: power: Add Spreadtrum SC2731 charger documentation Date: Tue, 28 Aug 2018 17:02:22 +0800 Message-Id: <5fcd93bbbcd55a5c23f1c75effdc3670ce7a811b.1535446321.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds the binding documentation for Spreadtrum SC2731 charger device. Signed-off-by: Baolin Wang --- .../bindings/power/supply/sc2731_charger.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/sc2731_charger.txt -- 1.7.9.5 diff --git a/Documentation/devicetree/bindings/power/supply/sc2731_charger.txt b/Documentation/devicetree/bindings/power/supply/sc2731_charger.txt new file mode 100644 index 0000000..02b616c --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/sc2731_charger.txt @@ -0,0 +1,14 @@ +Spreadtrum SC2731 PMIC battery charger binding + +Required properties: + - compatible: Should be "sprd,sc2731-charger". + - reg: Address offset of charger register. + - phys: Contains a phandle to the USB phy. + +Example: + + charger@0 { + compatible = "sprd,sc2731-charger"; + reg = <0x0>; + phys = <&ssphy>; + };