Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3216006pxu; Mon, 19 Oct 2020 06:58:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysZnwFMKoRY7atFlCqAw90BBlJamOrkBCXkXtJ0gO9AYTAx6cW9jX4u0HFQQYelVDCY4fC X-Received: by 2002:a17:906:7254:: with SMTP id n20mr27621ejk.382.1603115936036; Mon, 19 Oct 2020 06:58:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603115936; cv=none; d=google.com; s=arc-20160816; b=MEB45i6Qk0BJ+Uul64nyEUPbE7lfGgwtUpNz5yg9AoWje7oRtVRUyFS6DiHJ7kwcez sNYVn0obdfOZ84ekHisPicOAmVMdI5IBrYe+yDEbaI45RCu+z7yVc+apm4x19JYePsrI DM6Ia6IfmBNl1pUtURrGHV+EwCi8/DsTmj07AUeSofpwlMNNxDTpZgQZK2qA03J815Q4 ensSYtnBH9xXvjZMB2oW+ikHbroqyR3s2aD9h/GbCzMXoBSGE0ykE2O2o0JBf7aR52Va OytyG0/frlzgOdrwFtRhDiwzfZhCeqDo5V3z+Excf5MApw04tA2wxuB1Lapje8NfD2hy g8rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=VIfoGzeGvO6uoC3xwN0kIQ03NtLGNPAiseJeCrviqqw=; b=Sf5+w16pAezOTeS3nYuA0Xnl60/V9LpX2tpwptmMt3e/kw0W0d9uYye+6Se+/tZvU5 0Y6dirDZDzs6tJC4p5nGgmBwzJ7qSVEzqbA8y6hptFsQGgB9QGChuER+/QEJF49DKx63 gXGw9w7MukLLN/1dkhHTQzl8KE0jnXIRRLh+Dg8PZB5EOZ2KicP+i8svN+1GKWTpEIO0 sP+NWQlBHRzW1xFn8J9Ut+VcA225VA1YPhY/6bK4f62FPty2ycuzDU7gWwAJWmFpoFB6 I1yUHh/Pp/+D1Cz0I0M8+dRccTImrrG1z/s6OtC2STez6VFX3f3Kbs5jfC9G7gDF4yzl +oZw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si24546eja.42.2020.10.19.06.58.33; Mon, 19 Oct 2020 06:58:56 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728757AbgJSNz2 (ORCPT + 99 others); Mon, 19 Oct 2020 09:55:28 -0400 Received: from mga14.intel.com ([192.55.52.115]:51770 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728507AbgJSNz2 (ORCPT ); Mon, 19 Oct 2020 09:55:28 -0400 IronPort-SDR: 40hB9xW/WnuhsSwq3i693M36LUwagbZjyRYinQgycHIfcrkJB7X7QdK0Fiv0psbO/bglmtx5LS rQ5rE7D+6csg== X-IronPort-AV: E=McAfee;i="6000,8403,9778"; a="166257574" X-IronPort-AV: E=Sophos;i="5.77,394,1596524400"; d="scan'208";a="166257574" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2020 06:55:27 -0700 IronPort-SDR: 9D83PNF9XVXbPxxDX81V9DJwQUlAum87+ShWsbUDqmTtiQfaeSRTMsdKj9jYFRGdJg4707QgDc /nFY3D/Ol6sQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,394,1596524400"; d="scan'208";a="422187700" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 19 Oct 2020 06:55:23 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Mon, 19 Oct 2020 16:55:22 +0300 Date: Mon, 19 Oct 2020 16:55:22 +0300 From: Heikki Krogerus To: Badhri Jagan Sridharan Cc: Guenter Roeck , Greg Kroah-Hartman , Rob Herring , Lee Jones , Mark Brown , Maxime Ripard , Alexandre Belloni , Thierry Reding , Prashant Malani , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Amelie Delaunay Subject: Re: [PATCH v10 00/15] TCPM support for FRS and AutoDischarge Disconnect Message-ID: <20201019135522.GJ1667571@kuha.fi.intel.com> References: <20201008061556.1402293-1-badhri@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201008061556.1402293-1-badhri@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 07, 2020 at 11:15:41PM -0700, Badhri Jagan Sridharan wrote: > Hi, > > Made two changes: > > 1. Added "additionalProperties: false" as suggested by Rob Herring in > https://lore.kernel.org/linux-usb/20201005144618.GA154206@bogus/ > > 2. Removed FRS dts binding constants to address Rob Herring's comment in > https://lore.kernel.org/linux-usb/20201006182940.GA2574941@bogus/ I skipped 12/15. I thought that we better wait for Rob's approval for the device property. > Thanks, > Badhri > > Badhri Jagan Sridharan (15): > usb: typec: tcpci: Add a getter method to retrieve tcpm_port reference > usb: typec: tcpci: Add set_vbus tcpci callback > dt-bindings: usb: Maxim type-c controller device tree binding document > usb: typec: tcpci_maxim: Chip level TCPC driver > dt-bindings: connector: Add property to set initial current cap for > FRS > usb: typec: tcpm: Add support for Sink Fast Role SWAP(FRS) > usb: typec: tcpci: Implement callbacks for FRS > usb: typec: tcpci_maxim: Add support for Sink FRS > usb: typec: tcpm: frs sourcing vbus callback > usb: typec: tcpci: frs sourcing vbus callback > usb: typec: tcpci_max77759: Fix vbus stuck on upon diconnecting sink > usb: typec: tcpm: Parse frs type-c current from device tree > 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 > > .../bindings/connector/usb-connector.yaml | 26 + > .../devicetree/bindings/usb/maxim,tcpci.yaml | 70 +++ > drivers/usb/typec/tcpm/Kconfig | 6 + > drivers/usb/typec/tcpm/Makefile | 15 +- > drivers/usb/typec/tcpm/tcpci.c | 102 +++- > drivers/usb/typec/tcpm/tcpci.h | 30 +- > drivers/usb/typec/tcpm/tcpci_maxim.c | 504 ++++++++++++++++++ > drivers/usb/typec/tcpm/tcpm.c | 299 ++++++++++- > include/linux/usb/pd.h | 19 +- > include/linux/usb/tcpm.h | 27 +- > include/linux/usb/typec.h | 12 + > 11 files changed, 1085 insertions(+), 25 deletions(-) > create mode 100644 Documentation/devicetree/bindings/usb/maxim,tcpci.yaml > create mode 100644 drivers/usb/typec/tcpm/tcpci_maxim.c thanks, -- heikki