Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3983533pxf; Tue, 6 Apr 2021 05:23:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweFMtayYRT7nBMa5RSpRn01wHfdh1nq7AW/2Jb4dmsZC9n+EDo+NNjlcKe0jePEUw/IKs0 X-Received: by 2002:a05:6402:1a31:: with SMTP id be17mr13059736edb.330.1617711801253; Tue, 06 Apr 2021 05:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617711801; cv=none; d=google.com; s=arc-20160816; b=tgKlAqIMrjCER6H5K/GU+nyCF8Vx5lWG8NKTWoU04zsjswzIcR7E+LMRd9h7IXf/BT C4awSKTPtxQsU7NwJ9y1KtZYv43cGFXjEYtSkpUNcfBtuV1BVF7SI80sUVWjiCcrdSTy DdSLsnicBLipHUFj5dP8tTTsGK4NRwznIMlP1kXH1fj1jA/6mE4VAZKtVQ+1WI6h7lAu WomQ0u+R2j4CEkM+iWPv1XhT/d1HuwRiQrfIRC9JmcQ85URinzv6fECojgojrca3rpBU Tg+e2NNP4kp84MKD9qNGf+IQTJncjl+xopv0YjMNCYA3qZHRI530xxD7Ur8gC9QrFidq 8dGw== 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:mime-version:message-id:date :dkim-signature; bh=F6RFq19GrARDqIU8oQ/2cAl1QQQCKUpg/f4wX1jMwdc=; b=HwOEHjPrsjgQyRE11W8fH0qk25uxTumAannOR3klybE0h891PCa55i42RMzrB/o7L8 NdId4Qpm2IJ+mZT9cg7hDOAEYJj3GotKHbBxUNg0MU6zIZ0rNu2NVQytb4EHaClJ7IG0 vR8enXllbu+/4dSSW9G6seFc5z4RkeYdgf3TxlX0l1QjZWrwKyarZSBb9LG3hbSAXgju wheMoEiQGWXVQDFNwMvfI/NKajSt3SSkGlIKTJNfyIp8zjgdwk9dz2NtuTv5Kv4ubTBd 7g5kDDlovv61YldP+p3DfRU/SbMTu/EaLKEWP9LOVuMW2bCMW3oeE9QqaLTVXh2Tm9aM lt1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=qYvFm8ED; 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 ga26si340985ejc.301.2021.04.06.05.22.57; Tue, 06 Apr 2021 05:23:21 -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=qYvFm8ED; 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 S243143AbhDFBg6 (ORCPT + 99 others); Mon, 5 Apr 2021 21:36:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243132AbhDFBg5 (ORCPT ); Mon, 5 Apr 2021 21:36:57 -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 1F6A4C061760 for ; Mon, 5 Apr 2021 18:36:49 -0700 (PDT) Received: by mail-qv1-xf4a.google.com with SMTP id e10so9422912qvr.17 for ; Mon, 05 Apr 2021 18:36:49 -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=F6RFq19GrARDqIU8oQ/2cAl1QQQCKUpg/f4wX1jMwdc=; b=qYvFm8EDAPU9Wmq0N07jK0WWJqxF5h5F6BbmsYZkG/CiVvl56NscvHZl2bkeUk7vTO HIbjLhQ7NxGUmp/Dqmgv9NZpgx7djcHUI2252v/ow9SxAfOJSm53NRbU7NzB6akDfw+9 QGRshzesgFjYYYiQijUrK7YvyL/y5OjwOfPk2m4epxmhJuJKuINT7w1T4Ewih2vJU38D o1fWwP4/v6Tmazfk49foULmAQT7nh+FMpmk+8W4/ReRGBy5/fzvNE5SXaUXJWRVCthNr /qr7S+46ly1HpYIyuvHIiN12RqrloykxiOzg4ZEDkJROkOuB57azIvqIr3DEGC+gAqGw XFsg== 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=F6RFq19GrARDqIU8oQ/2cAl1QQQCKUpg/f4wX1jMwdc=; b=j+86WykMQKDDvY4fJ+pPHplB4eb4106580zbYRc111QcyEN3fQ2PLoRXwZHgXPa4Fh 463AFDgu1q4A4NzRGy4gb8woUC3O2dk/62UOfvIQzS/L6Vo2s1NnZ1d1WiP3bvNnqRE0 VYOJFl2p/fAxdLsNpHZzBEWE6MpuGreueYZ0Zx39ILOXlYlTZbiQIHF5yrAuanDaXYle K8YdDPdSrZnf4WjaE+FIw2sXiNPxelTmtFszHYBBOB+FsZ5rj+EJy8fViRAskBxQLNvF vMrWBj0p/9uk5wr90306DgPcCjQnArW1IsErzXVyXBJbgrOumJoTD7FZ9THVaqDyixZx CQDg== X-Gm-Message-State: AOAM531jjtAO4HcBft68jHe/B+/5WhVmlBfXRtn4dt3Xl04TPZ4MKz43 huRMq6ESYFHzSS7beLHOKWjz00hTtaw= X-Received: from badhri.mtv.corp.google.com ([2620:15c:211:201:7080:32f9:cd15:6178]) (user=badhri job=sendgmr) by 2002:ad4:58a1:: with SMTP id ea1mr624318qvb.11.1617673008244; Mon, 05 Apr 2021 18:36:48 -0700 (PDT) Date: Mon, 5 Apr 2021 18:36:37 -0700 Message-Id: <20210406013643.3280369-1-badhri@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.31.0.208.g409f899ff0-goog Subject: [PATCH v1 0/6] Fixes for tcpm-source-psy- and pSnkStby 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 Hi, (1) and (2) in the series addresses the problem that Adam Thomson had pointed out in: https://lore.kernel.org/linux-usb/PR3PR10MB4142450638A8E07A33E475B080689@PR3PR10MB4142.EURPRD10.PROD.OUTLOOK.COM/ (3) updates the power_supply_changed based on changes made through (1) and (2) (4) (5) (6) makes TCPM comply pSnkStby requirement for both fast and slow charging loops. This was also previously sent as part of https://lore.kernel.org/patchwork/patch/1283928/ Since the patches were dependent on each other sending them this way. Badhri Jagan Sridharan (6): usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply usb: typec: tcpm: update power supply once partner accepts usb: typec: tcpm: Honour pSnkStdby requirement during negotiation usb: typec: tcpm: Allow slow charging loops to comply to pSnkStby Documentation: connector: Add slow-charger-loop definition .../bindings/connector/usb-connector.yaml | 7 + drivers/usb/typec/tcpm/tcpm.c | 136 ++++++++++++------ include/linux/usb/pd.h | 2 + 3 files changed, 99 insertions(+), 46 deletions(-) -- 2.31.0.208.g409f899ff0-goog