From patchwork Thu Feb 7 19:18:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Gupta X-Patchwork-Id: 10802013 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 8E9141669 for ; Thu, 7 Feb 2019 19:18:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C8F62E08C for ; Thu, 7 Feb 2019 19:18:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B38E2E08F; Thu, 7 Feb 2019 19:18:28 +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 1165E2E08C for ; Thu, 7 Feb 2019 19:18:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727039AbfBGTS1 (ORCPT ); Thu, 7 Feb 2019 14:18:27 -0500 Received: from mail-pf1-f182.google.com ([209.85.210.182]:37624 "EHLO mail-pf1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726733AbfBGTS0 (ORCPT ); Thu, 7 Feb 2019 14:18:26 -0500 Received: by mail-pf1-f182.google.com with SMTP id y126so386688pfb.4 for ; Thu, 07 Feb 2019 11:18:26 -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=LAe7BIoaTzO/omymunMVSaWthpXFWWny0avV9nMnwsc=; b=eL89FeEzt4czp4+DwKSXP59Vjxp3bjosmtjEeSbQPyyVu3xbDsoM8Mei2Twvn4ec2z MAYlV4OgElbF7equxdKGgv2ha43OFb5eMuRL7wwHev2e6rpIAMqlBM8kH3AXJ03FFrJb n0WWgecDhVA92f5+qAJV23F2lEsY4VcvLLSGMFJ6KxvfUhPzXjvKeREqJOyxNQvqizjU BUcceHU4K+u9wCSaXqT9npfBtcx3lUfcqUjHDUjH3cswedmQICUyieZgwdQCAt/5IEjA gJzeChcDvnjI4nmh/vaqG7quaRGDl+/HzWisAwGfa4ocAaa+rINus42U/ex/UlUl4yn/ qgWQ== 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=LAe7BIoaTzO/omymunMVSaWthpXFWWny0avV9nMnwsc=; b=krm6qDwR+4un8ctl1qbO0nVlxrSkEtPMTJ+BO7AFuxxmmtrVccfu/oeueCDx3Vxc3J zhdXozeu8W7VIagPBR5Q6KYYRK1U0+ZnIXz0VzOfcHX0iyXxeynKIWlLsokG4AyF1iH7 mp426pbWE7E3u0zvTGNaEvAh61H3doRYJsMcj6+BSeHnJQE0FNF9l2Cu9SiBn7jBzSaA xwIpV9jWWiqezkk7iBF/EGcEtNIK1xgTAliIApsRpZOZ0i7EHPUx9zwDRyjjWD3qsYyD +Bicer2QnHclfM/HioKG+pup5m/D6zcpKyP3TDe4ZzNebRIKtcmmZ1cxk7Ere4xQeMmZ DIJg== X-Gm-Message-State: AHQUAuYeeuRrwPjCYTCYTkwXn/sXIt4SbC2WDBoJbmVffY/rZpmggvC5 Z4Kg8iQkjozLtHVaOyuu4zXXMhNR X-Google-Smtp-Source: AHgI3IZ6oHkn/1E4/3wWQ0x1hbDr/dQKsli+TR0gk+4iNiVoTlqH9K6+egsWgUFCcyaReBtyW2W22w== X-Received: by 2002:a65:62d9:: with SMTP id m25mr1364395pgv.168.1549567105671; Thu, 07 Feb 2019 11:18:25 -0800 (PST) Received: from ajayg.nvidia.com (searspoint.nvidia.com. [216.228.112.21]) by smtp.gmail.com with ESMTPSA id n14sm5116280pgd.48.2019.02.07.11.18.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Feb 2019 11:18:24 -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 v5 0/2] Add support for firmware update on Cypres CCGx Date: Thu, 7 Feb 2019 11:18:11 -0800 Message-Id: <20190207191813.8330-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 (v5) has fixes from Oliver Neukum 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 | 884 +++++++++++++++++++++++++++++- 1 file changed, 874 insertions(+), 10 deletions(-) Acked-by: Heikki Krogerus