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: 10578055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 07F7414BD for ; Tue, 28 Aug 2018 09:03:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EAEB029665 for ; Tue, 28 Aug 2018 09:03:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DBA912966B; Tue, 28 Aug 2018 09:03:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BF5429665 for ; Tue, 28 Aug 2018 09:03:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727217AbeH1MyG (ORCPT ); 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-Google-Smtp-Source: ANB0Vda37dO5PJ853cBMLizm4OiFSWhqN9emGQCevT1ZtsfG0ObgYAGfbkOdk6i2MqdWDL/nNbQtyQ== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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>; + };