Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp916555pxf; Wed, 7 Apr 2021 15:00:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi8L1IG/oiZaR3EWcSSsNSMAiKJfxm4wCO/hvDehA02X6hd/fzBSnY2vwzJWMj5KB30B3n X-Received: by 2002:a17:902:e74e:b029:e7:1f01:c6b1 with SMTP id p14-20020a170902e74eb02900e71f01c6b1mr5007395plf.43.1617832857064; Wed, 07 Apr 2021 15:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617832857; cv=none; d=google.com; s=arc-20160816; b=JYElmEc9ynWnpz7F4y9HKui931TpgCB/kh2YF8Y/mfRXNRPvveqhHeW0knnvMLqhVC 1seSbEBbNUB4CwszGmczJ3qG1ETKKiakFdf7PTnlj5iZQMw00vp0rP8vlThxN2KCEvW0 SIKeVWbDB8z3LHUIzIr67QAfinWdnFMIT4PEvTVc5mfmdA+7a4E3W9wJinXQP4GIspx7 bMBPO5P6dt8UAa4kr8dc3YWxms9vEcUFsIVbsg57hsysCJAW/QKhaz4rk1zVP6JNM04M EsQzBooynv/RJv0h8kH/6IN6iE7iMqz5s/xBciRunfoMDjhzISKp96RbXeCTsyKlCW7k E73A== 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=t6Wz/CVZhwgzgH8yLnIu+vnyKNs6ZhIxtjweGyR/2B8=; b=pRdAbGkAzXs5OKgkvqI5ndEJzqBdkw7WeBjTd03Fmw/jFdJcxMhDOcsvdXrmixcAZn hSzHc8Fs3qpemixp1hYBErWuPXVZSnrjIGMalIABuiJgYSU7KJ+HlK+Pr1MeJ7W53SkM 26dkInpgfJG1ni0ocoPBXT0HXTB9lrBndzswmJimMYtbsW7wuepQcYpqEuo6ko8GBCrp lbzshgM6/2ofpPq6flsx1kzwuVMzbJzC0FxU8iT0+ww233Ezfh2gmL5MnNRh1T0m4ukH hCYB993xk/6jKf64IG6Acm4wQfubBMoq/vjFYh6IweWOwu18qTlbicQXJ/TY/JBv0hB0 Br9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FSC2jYpP; 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 o1si24588338pgr.518.2021.04.07.15.00.45; Wed, 07 Apr 2021 15:00:57 -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=FSC2jYpP; 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 S1355953AbhDGUHz (ORCPT + 99 others); Wed, 7 Apr 2021 16:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355937AbhDGUHu (ORCPT ); Wed, 7 Apr 2021 16:07:50 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5A77C0613DE for ; Wed, 7 Apr 2021 13:07:37 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id d127so1462712ybc.17 for ; Wed, 07 Apr 2021 13:07:37 -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=t6Wz/CVZhwgzgH8yLnIu+vnyKNs6ZhIxtjweGyR/2B8=; b=FSC2jYpPA82SAAkfv1hMUNBohzVcc7Th6hrXiJqSgER6+jeR4Ccx4adLo9Hn+SW1hu cwAAscw+AetobhNdNh+yBc5og9bElI6Iz/RcobSM1X19YTxv8AG8RM28QDvqCnRcaJJB fJPctp+wQlmCDQ6ck64VOXj2kGoo2OpjzosSBBzcOKNiTU4hgXUKRtGy/FFy1IND5EQ3 spJZ8YWOC+YwKmDutHXr/z/KIvVPk0kKgt0rYSQYDw+FalpkvXJszSIMmbPyaWjamQSM tbAsNyheZj1QrZoJL4TXbLmmz/7DiDZqdkq+hX5S9PdX2XG8FPduZZapDvsE0J5lPCC7 odYg== 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=t6Wz/CVZhwgzgH8yLnIu+vnyKNs6ZhIxtjweGyR/2B8=; b=ZVMgtQDlCvP5Li7/maWX1b88cEhuvOPErnZkVa6ROVSvd/CJ8ulN9mYGZWD7Eml6LM 0RV2hWCbFdJUHQXsYbceWS+/C2l2xMv00fWzWoqo+ed7V1c+AwsN85DIFduielQWr6TW 9E5BFzkVk6i5/DDAighyq/WDPAelQrVYYkFjB+MRa3A3/qyovLDBuiNe739wMuFDX0HW 6y/WsCewE+ndbZoRUYftI3RIFflJDewIU1u198Z1lhQLui4vauG/OimhTw7EonvWzLF3 nfcPeXNIPPM1FTunkPupr7SU99/+fWClUxKWpLfdlcIMj7KuW2LdSp1L6eid5UAzPvY9 trCw== X-Gm-Message-State: AOAM533G8Qljf8ZPmy8a/MWmXIueS7MgleEFyrxBDHQFDX2JhLxg0Yho Qa/102tqGQcWrAYEnxk4j7IM0snBsu4= X-Received: from badhri.mtv.corp.google.com ([2620:15c:211:201:991:6d08:9e6d:683d]) (user=badhri job=sendgmr) by 2002:a25:5146:: with SMTP id f67mr6672249ybb.332.1617826057017; Wed, 07 Apr 2021 13:07:37 -0700 (PDT) Date: Wed, 7 Apr 2021 13:07:23 -0700 In-Reply-To: <20210407200723.1914388-1-badhri@google.com> Message-Id: <20210407200723.1914388-6-badhri@google.com> Mime-Version: 1.0 References: <20210407200723.1914388-1-badhri@google.com> X-Mailer: git-send-email 2.31.1.295.g9ea45b61b8-goog Subject: [PATCH v2 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.1.295.g9ea45b61b8-goog