From patchwork Wed Feb 6 21:39:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Gupta X-Patchwork-Id: 10800255 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 96AF86C2 for ; Wed, 6 Feb 2019 21:40:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7CF09201F5 for ; Wed, 6 Feb 2019 21:40:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F4242D17D; Wed, 6 Feb 2019 21:40:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DCDE201F5 for ; Wed, 6 Feb 2019 21:40:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726188AbfBFVjy (ORCPT ); Wed, 6 Feb 2019 16:39:54 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:45430 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbfBFVjy (ORCPT ); Wed, 6 Feb 2019 16:39:54 -0500 Received: by mail-pl1-f193.google.com with SMTP id a14so3721248plm.12 for ; Wed, 06 Feb 2019 13:39:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=dpJmcC4taVkden0PkNJRVBa409n8d21b/NRmgPLS7IA=; b=cjjjmwOkqFq12HiBI5kA+dXGXAXHA2KeHIdmWLom9+FvLEbT5vHbS5n5x8Ir/C/ewk aRP3niQIZ5eEVqrP+8bRSxOOY/fQPTW6bmSF5AxDZt2vo3iKfHesQZrsqYPE/4lisBqg EtPu6lsBaH0i4j+Czi4/flKBtzQfMUR38m9ixMMZxxbsqclNI5JNUAXpkuQ3LNZx6J1o puCe7drfKYTwvOM59FyBln9za2ZDjvJmuYGs46p4GZz5NcDi/t2bi4Z15Lax9DfAcPGy wYE7pyPJv9gslrzoPqCGnzV4Hg9geJSGtfnm1CFDLo/QyDd3D/gwfUq8jFizTXu7htOJ j3Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dpJmcC4taVkden0PkNJRVBa409n8d21b/NRmgPLS7IA=; b=JKfE6tv/ikAZ+s5+y5sFEBMZNo9lx0J2Tlnqg3wZw0Mbt6z+00egCjWa3FR6azLxfV SZYf2mSKWjoDdVu6avzhkF1pknAAlmuITjlW5eqHSOJ961suzXXN37CNB/nefbyaM7l/ SoDusfDzaU3xp0vNlXJ95I3nKnDd56cYR3F9sOVtnV0rC8wNX3nxju7uAAjNgGYiFKEI OWZGa/CCdba951MkBTRrhrOM/BW5XUBH9sDcTwGmeTAnuqSlooVR4nSZxdWxp8l+lbUk NkyN2r2q3/k0DK0C41t1QCs2ZtpLu1bphzmj9Df0vYQbbifV5qjWIVet9duxhr9FjRye 1yUw== X-Gm-Message-State: AHQUAuZxcvq8KzJlgu1l9o6DFSCZInRv+JgcH/qjF1Vb/psvEj5ZVsQm kWKidzFEigiUAJaDHNmuJAQOTfzW X-Google-Smtp-Source: AHgI3IaHYoKpgsPReiNbXv7OYwXK6xuso3c88UXg7edNlqKaR3ynq5yFUsaW202JGZzAPtD+N0Mlng== X-Received: by 2002:a17:902:bd86:: with SMTP id q6mr12595187pls.16.1549489193670; Wed, 06 Feb 2019 13:39:53 -0800 (PST) Received: from ajayg.nvidia.com (searspoint.nvidia.com. [216.228.112.21]) by smtp.gmail.com with ESMTPSA id l184sm9453308pfc.112.2019.02.06.13.39.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Feb 2019 13:39:52 -0800 (PST) From: Ajay Gupta X-Google-Original-From: Ajay Gupta To: heikki.krogerus@linux.intel.com Cc: linux-usb@vger.kernel.org, Ajay Gupta Subject: [PATCH v4 0/2] Add support for firmware update on Cypres CCGx Date: Wed, 6 Feb 2019 13:39:40 -0800 Message-Id: <20190206213942.6124-1-ajayg@nvidia.com> X-Mailer: git-send-email 2.17.1 X-NVConfidentiality: public Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Heikki These changes adds support for updating firmware on Cypress CCGx controller. New version (v4) has two patches where second one is merge of patch 2,3,4,5 and 6 of previous version (v3) to fix git bisect compile warning. I have tested them on NVIDIA GPU card. Firmware binary pull-request is posted to linux-firmware.git at [1]. Please help review this set. Thanks Ajay [1] https://marc.info/?l=linux-usb&m=154948878626598&w=2 Ajay Gupta (2): usb: typec: ucsi: add get_fw_info function usb: typec: ucsi: add firmware flashing support drivers/usb/typec/ucsi/ucsi_ccg.c | 886 +++++++++++++++++++++++++++++- 1 file changed, 876 insertions(+), 10 deletions(-)