Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3977538pxf; Tue, 6 Apr 2021 05:15:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOWlaL36qwHN1b4+7Lt0IQPq0MtTLbWGA4d3TEUXCcbpWxTC8AOAyxMoyMcdVySfvB8LuV X-Received: by 2002:a17:906:7c4:: with SMTP id m4mr34237172ejc.63.1617711307507; Tue, 06 Apr 2021 05:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617711307; cv=none; d=google.com; s=arc-20160816; b=B7Xk8zjjgzQZEDc49gHCfUeFSs2pjsl8p8sDQ68Dh+B9HAPdjXixeNr7WIE8BEF6Yi 5SiKx9EU/mpWxipIeZprcyAdZ5gs0jJ7ZUQLKGTyzJFqehjtHkAr1AT2ewX7128W8bH1 LLfHTrbGoffs1B02EOuqf4/GwwvoI7tSfMP+pINv7FPnFIaB6rxs/PKEAeyIq/2PySWR 3uHjmSxVKA4kjZ33f8MZW4qix8XGLfS3wuulTUjJXb513unKGeX9ylBa6C1CkhQMCZPb YWTwTF/cW4cuYZu71zI20nbX2XnzNTM2ZWucPzS+NCjpaLseHDNcyYFcJk2mRd9Lr3hx lmFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=MAtT5IENk0bC9gBQziGXRz4UgkBtlGCp0/LaMeeOCJs=; b=nUgDA9rGfI5LEvn5/gJqpTkHHaUoYjw+E0LRXSKH/6YiW8ss/uuCcF4LDbIBA6eWQX rNnQMqiiUi3wYmnxG+J1+EMC+CDvPge8pdNjD9WzbuX8AVZ9OVHv9ObvsbxLASK1ybYn /uDWCDVVS4wxsyyj4jiQ2GfGFlSlBnVxe7FX3keSe//22UcC6rZRKMmATsa8sa1Hy87T 6DQe1jDngsBqwBt4DwP9/7vjPfzNzcNnukYyEvg3tmeTQqDLu5m606dqkq7chOcvoG1k tDxFRtHsooc3tXd4TsvRvzSTc07SOPTOfnNfHepE+PFcoz8EnZb6mny3LwKXFE+n5Y19 +oVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Ivh9XNG4; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si15341431edr.104.2021.04.06.05.14.43; Tue, 06 Apr 2021 05:15:07 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=Ivh9XNG4; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243176AbhDFBhX (ORCPT + 99 others); Mon, 5 Apr 2021 21:37:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243187AbhDFBhJ (ORCPT ); Mon, 5 Apr 2021 21:37:09 -0400 Received: from mail-qv1-xf4a.google.com (mail-qv1-xf4a.google.com [IPv6:2607:f8b0:4864:20::f4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94B17C061794 for ; Mon, 5 Apr 2021 18:37:01 -0700 (PDT) Received: by mail-qv1-xf4a.google.com with SMTP id b20so4126700qvf.2 for ; Mon, 05 Apr 2021 18:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=MAtT5IENk0bC9gBQziGXRz4UgkBtlGCp0/LaMeeOCJs=; b=Ivh9XNG4Qutnb7/BovIsn7HjCHYJZgmeVhN28v2wxyya/IxwWx2RpOfZ/6k0qGfXGs TAaJ+ow+qxl47MKsWRTXkmIAv47ed07eRTnGHMfq68OPpY/iB7XRh/fQ6hzGIhAIHbWn vrBxvqcP8sbf395/YbRIhVNTMcJdqcpCRo33r4yObDiY4EfPMuEDlISWvKgPhdK7dPVi i+phbqB6tCQryjF7C/a+6MvgKzmlXJ66/IYUtxKLD13sJqfdgCCSWSYpl+qbLo8JWur1 Y7KKacZQWu4iQqtb90V2aylEfD3NAzXT7xng/WkHU/9Ro3ULhLRjkeY++Re9WZFAmlcP f9qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=MAtT5IENk0bC9gBQziGXRz4UgkBtlGCp0/LaMeeOCJs=; b=DDJmNGxiLL7tVJtwZ7oFYwfyp070cln4fFOepyZu/0D9ky8qc7SP6c+q3WU0/88M4r K3yq6fTK33ydpIFOmZTemTxQNtp7PtbL9lmTygW46lSytVlQQc+tCHlcsGmFQrcjAYdn 67gVF8FPOLl7unXNqaf5+oZaQjnvUPjbEiAVffxcHQeq6V8DINCOuoDwVIzXPFUa4OCe kard5Z0YfeNYQU8eQrZfGQ0cMjahRZW3MlnuaC/8im08UCkXXcMWT0uopotIfi7SW+XR clw4IbcLL4sHLq8P5V1ZDHWcrCDZpM+QZYhhrPj92AFNdckhMYGeirnsmAurn9XYOxKL BZ9w== X-Gm-Message-State: AOAM5328mlytycb1L0lhHtTdDy1E5sEph+JNETiT7tdIhH90v2RY+vvV bXini+yuOaIoQ04fPrd7Ww4f+CFVf3o= X-Received: from badhri.mtv.corp.google.com ([2620:15c:211:201:7080:32f9:cd15:6178]) (user=badhri job=sendgmr) by 2002:a0c:fcc6:: with SMTP id i6mr3362208qvq.18.1617673020739; Mon, 05 Apr 2021 18:37:00 -0700 (PDT) Date: Mon, 5 Apr 2021 18:36:43 -0700 In-Reply-To: <20210406013643.3280369-1-badhri@google.com> Message-Id: <20210406013643.3280369-7-badhri@google.com> Mime-Version: 1.0 References: <20210406013643.3280369-1-badhri@google.com> X-Mailer: git-send-email 2.31.0.208.g409f899ff0-goog Subject: [PATCH v1 6/6] Documentation: connector: Add slow-charger-loop definition From: Badhri Jagan Sridharan To: Guenter Roeck , Heikki Krogerus , Greg Kroah-Hartman , Rob Herring , Adam Thomson Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kyle Tso , Badhri Jagan Sridharan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To allow slow charger loops to comply to pSnkStby requirement, this patch introduces slow-charger-loop which when set makes the port request PD_P_SNK_STDBY_MW upon entering SNK_DISCOVERY (instead of 3A or the 1.5A during SNK_DISCOVERY) and the actual currrent limit after RX of PD_CTRL_PSRDY for PD link or during SNK_READY for non-pd link. Signed-off-by: Badhri Jagan Sridharan --- .../devicetree/bindings/connector/usb-connector.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml index b6daedd62516..09ad3ad983a6 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml @@ -197,6 +197,13 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 enum: [1, 2, 3] + slow-charger-loop: + description: Allows slow charging loops to comply to pSnkStby. When set makes + the port request pSnkStby(2.5W - 5V@500mA) upon entering SNK_DISCOVERY(instead + of 3A or the 1.5A during SNK_DISCOVERY) and the actual currrent limit after + reception of PS_Ready for PD link or during SNK_READY for non-pd link. + type: boolean + required: - compatible -- 2.31.0.208.g409f899ff0-goog