Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B579C10F0E for ; Mon, 15 Apr 2019 12:09:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 60CFB2075B for ; Mon, 15 Apr 2019 12:09:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727117AbfDOMJe (ORCPT ); Mon, 15 Apr 2019 08:09:34 -0400 Received: from mga12.intel.com ([192.55.52.136]:10510 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726095AbfDOMJd (ORCPT ); Mon, 15 Apr 2019 08:09:33 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Apr 2019 05:09:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,353,1549958400"; d="scan'208";a="164850768" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 15 Apr 2019 05:09:32 -0700 From: Heikki Krogerus To: Greg Kroah-Hartman Cc: Ajay Gupta , linux-usb@vger.kernel.org Subject: [PATCH v2 0/7] usb: typec: Remaining changes for v5.2 Date: Mon, 15 Apr 2019 15:09:24 +0300 Message-Id: <20190415120931.61328-1-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi Greg, This is the second version of this series. The sparse warning, that was the only issue with the first version, is now fixed. The fix was made by adding the first patch ("i2c: nvidia-gpu: Supply CCGx driver the fw build info"). It add a device property for the CCGx device that the CCGx driver can use to identify the required firmware build. I also decided to include two extra patches from Ajay where NVIDIA probing driver is added for the DisplayPort alternate mode: https://www.spinics.net/lists/linux-usb/msg178847.html v1 commit message: Here are the remaining patches from me and Ajay for the UCSI driver. I took the liberty of collecting them for you, and resending everything together. There are two patches from Ajay adding support for firmware upgrading with the Cypress CCGx controllers [1], and two patches from me enabling DisplayPort alt mode with the UCSI driver [2]. [1] https://marc.info/?l=linux-usb&m=154957412422108&w=2 [2] https://www.spinics.net/lists/linux-usb/msg178192.html Let us know if you want anything to be changed. thanks, -- heikki Ajay Gupta (5): i2c: nvidia-gpu: Supply CCGx driver the fw build info usb: typec: ucsi: ccg: add get_fw_info function usb: typec: ucsi: ccg: add firmware flashing support usb: typec: displayport: Export probe and remove functions usb: typec: Add driver for NVIDIA Alt Modes Heikki Krogerus (2): usb: typec: ucsi: Preliminary support for alternate modes usb: typec: ucsi: Support for DisplayPort alt mode drivers/i2c/busses/i2c-nvidia-gpu.c | 7 + drivers/usb/typec/altmodes/Kconfig | 10 + drivers/usb/typec/altmodes/Makefile | 2 + drivers/usb/typec/altmodes/displayport.c | 12 +- drivers/usb/typec/altmodes/nvidia.c | 44 ++ drivers/usb/typec/ucsi/Makefile | 15 +- drivers/usb/typec/ucsi/displayport.c | 305 ++++++++ drivers/usb/typec/ucsi/trace.c | 12 + drivers/usb/typec/ucsi/trace.h | 26 + drivers/usb/typec/ucsi/ucsi.c | 377 ++++++++-- drivers/usb/typec/ucsi/ucsi.h | 93 +++ drivers/usb/typec/ucsi/ucsi_ccg.c | 895 ++++++++++++++++++++++- include/linux/usb/typec_dp.h | 5 + 13 files changed, 1717 insertions(+), 86 deletions(-) create mode 100644 drivers/usb/typec/altmodes/nvidia.c create mode 100644 drivers/usb/typec/ucsi/displayport.c -- 2.20.1