Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp267076pxx; Thu, 29 Oct 2020 02:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrSO5REtMnCJMexJ89cQxdaX45uSRuUBTXPMIqHL5g+ICe77U0U+I+LBpO6aUnlpf2VMGf X-Received: by 2002:a17:906:f151:: with SMTP id gw17mr2950037ejb.119.1603962092264; Thu, 29 Oct 2020 02:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962092; cv=none; d=google.com; s=arc-20160816; b=rqWi5RIMzjWb4uoj0ywmt/mIKgRVDu1GdlFmTW4LryWYTuBDC/VyxVTXlsmooCr/do gRuQfiv0ZXBiJm/eAlJi2ymnUrFdcibaW8D7EZPOZ1RMgYhq17PxyBaLvU/mswP3bTXj OTn5Aeap/N0TRDJljcG3Uk0V8XPKX7S+yrJfL7DBonYwwMpl9QyMYWYS/FFHyWodd4ni RIiIy07/O15j+kg/HGW8kW5dYwdKoWbW0pRK2ExCBRpTR2WfpDIl395OnIVU6AX9zZ5T Yn81llK7V9rRIkZjO579XPdsw2n9sQQaj6Fc/0dkIl62olHfUFMttZYRU0KZQeTMYmI7 2HZA== 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 :sender:dkim-signature; bh=4aAjapW2g4WVwvkzNIoEg1ilkTogTj9VaUOLswnANNk=; b=he+HoE//zX+QhK2BVIvP2xcXvgi1+nIRR+mevML8oKqz48KyN33mqROLapvuWGhB3j JS4BCQ1M268ZWvxGVehcGehMhLq/SBl16TNZTrO7OCCAkle7XrkdEI9AWpvYYXDK8xOQ 1Ddx8LpUfRLuk/7JM8y9QbZKkwB5JuRdoo7bJHw/jJrbGHZoCF6TyiWur5qpDcN2F+Eo 35+oj4NetMmzgJgfvmeWqhWWrXD8QwMauDJqHzVQTi0nfm832kqszPVR2tABdAz9LAIP FvSimJo/6H3WyMxJoCmF41k7wBCSAIgXPHeCIY0NJVd/HcWodc6MrE/K6XmVMXjOoLmo CkCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JJ6GlOAj; 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 l13si1436409ejg.519.2020.10.29.02.01.10; Thu, 29 Oct 2020 02:01:32 -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=JJ6GlOAj; 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 S1726962AbgJ2HZA (ORCPT + 99 others); Thu, 29 Oct 2020 03:25:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726973AbgJ2HYi (ORCPT ); Thu, 29 Oct 2020 03:24:38 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95516C05BD16 for ; Wed, 28 Oct 2020 23:31:44 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id c4so1302775pll.20 for ; Wed, 28 Oct 2020 23:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=4aAjapW2g4WVwvkzNIoEg1ilkTogTj9VaUOLswnANNk=; b=JJ6GlOAjBHTLhA8EVphhV5Znn5NxVNjWlRv6InenqyI0qLaS8YC9SToQ87d3rcDQpM oyMEZZZJu/14exMxQa5m/Jg8qDk/qr0Ce9sw9jpm1eZl2QtNOA043FU24U0ACA+SqllG dZE46eOiqf3a50VroFY+mOAs6MNvkX7PtKdcKiNQZdaXnSBOP+WsnS9r7d+ZiIIgWYbZ Q082GGUCyaHEcJIJXKM2qw5A4R9w74j/P2bC5onv+mc+Y5clwr/p4+qwuGeHv316LN5P l6OCAUh6Gb0LyS03a6U3QvQ11sLSDULSmjD8pegWyfJxkkvqiI4WLOIV8hFbW1io1it2 H6ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=4aAjapW2g4WVwvkzNIoEg1ilkTogTj9VaUOLswnANNk=; b=QYhh+EaufoswpHFkMazfyOcDCv4JX8vz6M5lIeHhBk8ucRe852xIznlR4dwgDCxbfi 6RrKmT9nuJ2hRaVdEGFsOREzUnAuaWgn+v6P23GiytxhHUcyD5XB4BSXudkBB19BEDzv wR1O/I5IuXxMcRWGJ9q4od3a/vuSLdTChdiOs7LqAKCrXKdBkbedZ5VaCb124wBQ3RRY HpsbW6iwGClJQPfdAtpEIsLSu1LQC03ubH612AqMZEWENqWEhDIjx4cI6qlPHmHhID+v ZqgVGdglESbfTsDYlvu6cpEIhN5vjvCd5nJT23OxVjX3FL8nwdyGPEOe0cdSDikt+TO3 kyfQ== X-Gm-Message-State: AOAM532KlibVhi+b2i/aE09lHBp1I+eI1bNlP963kmJ+8zq0q0x/L32k 3D/2PA4KESwbg7rCxCmZ3rG2F8Aqehg= Sender: "badhri via sendgmr" X-Received: from badhri.mtv.corp.google.com ([2620:15c:211:201:f292:1cff:fee0:66cf]) (user=badhri job=sendgmr) by 2002:aa7:8bcd:0:b029:160:cb7:b639 with SMTP id s13-20020aa78bcd0000b02901600cb7b639mr2761561pfd.78.1603953103909; Wed, 28 Oct 2020 23:31:43 -0700 (PDT) Date: Wed, 28 Oct 2020 23:31:28 -0700 Message-Id: <20201029063138.1429760-1-badhri@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.29.1.341.ge80a0c044ae-goog Subject: [PATCH v12 00/10] TCPM support for FRS and AutoDischarge Disconnect From: Badhri Jagan Sridharan To: Guenter Roeck , Heikki Krogerus , Greg Kroah-Hartman , Rob Herring , Lee Jones , Mark Brown , Maxime Ripard , Alexandre Belloni , Thierry Reding , Prashant Malani , Badhri Jagan Sridharan , Dan Carpenter Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Addressed two comments in the series 1. From Rob Herring: Maxim parts are generally named 'maxim,max[0-9]+' https://lkml.org/lkml/2020/10/26/503 Changed all occurences of maxim,33359 to maxim,max33359. 2. Added a new patch to address warnings reported by Kernel test robot. https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2354139.html usb: typec: tcpci_maxim: Fix smatch warnings Heikki, now that Rob has reviewed the dts patches, the following patches are ready to be reviewed as well: usb: typec: tcpci_maxim: Fix the compatible string usb: typec: tcpm: Refactor logic for new-source-frs-typec-current Greatly appreciate all of your support reviewing the code. Thanks, Badhri. Badhri Jagan Sridharan (10): dt-bindings: usb: Maxim type-c controller device tree binding document usb: typec: tcpci_maxim: Fix the compatible string usb: typec: tcpm: Refactor logic for new-source-frs-typec-current usb: typec: tcpm: frs sourcing vbus callback usb: typec: tcpci: frs sourcing vbus callback usb: typec: tcpci_maxim: Fix vbus stuck on upon diconnecting sink usb: typec: tcpm: Implement enabling Auto Discharge disconnect support usb: typec: tcpci: Implement Auto discharge disconnect callbacks usb: typec: tcpci_maxim: Enable auto discharge disconnect usb: typec: tcpci_maxim: Fix smatch warnings .../bindings/usb/maxim,max33359.yaml | 75 ++++++++++++++++ drivers/usb/typec/tcpm/tcpci.c | 72 ++++++++++++++- drivers/usb/typec/tcpm/tcpci.h | 18 +++- drivers/usb/typec/tcpm/tcpci_maxim.c | 35 ++++---- drivers/usb/typec/tcpm/tcpm.c | 87 ++++++++++++++++--- include/linux/usb/tcpm.h | 19 ++++ 6 files changed, 274 insertions(+), 32 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/maxim,max33359.yaml base-commit: aee9ddb1d3718d3ba05b50c51622d7792ae749c9 -- 2.29.1.341.ge80a0c044ae-goog