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=-26.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT,USER_IN_DEF_DKIM_WL 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 2EEF4C433C1 for ; Sat, 27 Mar 2021 19:16:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EDEEA61958 for ; Sat, 27 Mar 2021 19:16:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230458AbhC0TP4 (ORCPT ); Sat, 27 Mar 2021 15:15:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbhC0TP1 (ORCPT ); Sat, 27 Mar 2021 15:15:27 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D0ABC0613B2 for ; Sat, 27 Mar 2021 12:15:26 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id 6so14334413ybq.7 for ; Sat, 27 Mar 2021 12:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=D4BSvyULDIvQhM59Eq/aBYRm8DPbWmDg1808r3m/Wf4=; b=BnG8cw3ifTkS8jEwoTI35vUaDckSYmj2tZJ6miykb3li++zpgwt4/XBzq0NZtq2FHV NVfKlZ2hiwWeHlY0QkaYLPAlTNNLPxxrXuOiuoApYHtIdgVzZ/l0ViFd+1x4DLHqLEcz x81MXek+RJ5Ny2+EhB2zjoupHV1hmUgyDw6DJpo4pndlvLG9O9DkTLWy6xfEjFbaLu3u c8qqejYDPdAtxYzY3E/S/M9JYPmJ53CahKV44MjnkS4/M9V6X/9aKweQkefBtEFZdrJ2 agLTjDWulCRWrKzsqu31ZdpnvPzieZBfj6Yv0cUr2VCTU2yJ6GH79BBLlICCdcy5MvZa 18xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=D4BSvyULDIvQhM59Eq/aBYRm8DPbWmDg1808r3m/Wf4=; b=KCkPZf3AgRzDnWudLY0Wobyu4M+8GqUDOtxR0sHV9f0yuKcFcj20rcsp315QB4KsM+ XOpwvCQYYNeWnfE9VbtR57BNTeoro8ZfnspH4DEcELXt5ROpL30vhNB2C9V5st4PkyzZ 4pq84zqH+qyRCDqtP1WP7ohl4KEbpku/o1X1VGdtrJmoK9RrykkGC8TtXI4VE+q7Gseu 2AG1HFxjiR9lcOahXyMXEgn3JwxdJOD13vsEuLoDDYOQoSc4LjevAWorKmDiicdIJW3A pdV0EThYj1M4b5zZvRUf5XUPUMhyF6+dfICuHFTyrff8OZY1kpKTCylq09erqoobdAoB qwMg== X-Gm-Message-State: AOAM533fhtGp2kScFoe/eaWYoA3mPyBjhiqUhXTxwdkaKwpJLdnVwW2x ta94QgdWcqJiE0b4U916GT8FnZ/1c8A= X-Google-Smtp-Source: ABdhPJxk73Jxat1DtHJiVFtbG+2RDBMwpE7ccTi3X8BLFbdEGElL1whuRHyYuAcFqTEKdJhDNXxHRajvcoY= X-Received: from raychi.tao.corp.google.com ([2401:fa00:fc:202:493c:e5b:69c:54cb]) (user=raychi job=sendgmr) by 2002:a25:af49:: with SMTP id c9mr28974925ybj.335.1616872525346; Sat, 27 Mar 2021 12:15:25 -0700 (PDT) Date: Sun, 28 Mar 2021 03:15:20 +0800 Message-Id: <20210327191520.1824466-1-raychi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.31.0.291.g576ba9dcdaf-goog Subject: [PATCH] dt-bindings: usb: dwc3: Add usb-psy-name string From: Ray Chi To: gregkh@linuxfoundation.org, robh+dt@kernel.org, balbi@kernel.org Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kyletso@google.com, badhri@google.com, Ray Chi Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This commit adds documentation for usb-psy-name string. The string will use to find the power supply interface. And then, DWC3 can use the interface to control charing current with USB state and USB speed. Signed-off-by: Ray Chi --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 2247da77eac1..ad62f4552fad 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -301,6 +301,13 @@ properties: items: enum: [1, 4, 8, 16, 32, 64, 128, 256] + usb-psy-name: + description: + Contains the name for power supply interface. To follow + BC1.2 specification, DWC3 could use power supply interface + to control current with corresponding USB state and USB speed. + minItems: 1 + unevaluatedProperties: false required: -- 2.31.0.291.g576ba9dcdaf-goog