Message ID | 1523629125-16332-5-git-send-email-jun.li@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-usb-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D2ADF6039A for <patchwork-linux-usb@patchwork.kernel.org>; Fri, 13 Apr 2018 14:34:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDA30201BD for <patchwork-linux-usb@patchwork.kernel.org>; Fri, 13 Apr 2018 14:34:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C04F3288B6; Fri, 13 Apr 2018 14:34:46 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 4F876201BD for <patchwork-linux-usb@patchwork.kernel.org>; Fri, 13 Apr 2018 14:34:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753146AbeDMOeo (ORCPT <rfc822;patchwork-linux-usb@patchwork.kernel.org>); Fri, 13 Apr 2018 10:34:44 -0400 Received: from mail-eopbgr30048.outbound.protection.outlook.com ([40.107.3.48]:59968 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753103AbeDMOen (ORCPT <rfc822;linux-usb@vger.kernel.org>); Fri, 13 Apr 2018 10:34:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TkJ/j2E2xf1LIRkZM9Fmf9hKdYvJN2wdpARHpDkS2eY=; b=Y5GtgBGhKrBfdxSs6Z+4mwIJi1nrLykJcBBOmUHrjpa+hoot8bKOaXiWr6B+8nTWTn0PoCp60pbQFn+1//wT8MNCk+43NsIuWdQn1l5VLqNBaxO0z1m04tpm9vQp4FxnH8ahHHt6ZYpE5CCpXu/zO6B5lB6/f4f3BV42QnfWPqY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jun.li@nxp.com; Received: from b47624-OptiPlex-7040.ap.freescale.net (92.121.68.129) by VI1PR0402MB3920.eurprd04.prod.outlook.com (2603:10a6:803:23::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Fri, 13 Apr 2018 14:34:36 +0000 From: Li Jun <jun.li@nxp.com> To: gregkh@linuxfoundation.org, robh+dt@kernel.org, heikki.krogerus@linux.intel.com, hdegoede@redhat.com Cc: linux@roeck-us.net, rmfrfs@gmail.com, yueyao.zhu@gmail.com, linux-usb@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH v4 4/5] usb: typec: wcove: remove max_snk_* for sink config Date: Fri, 13 Apr 2018 22:18:44 +0800 Message-Id: <1523629125-16332-5-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523629125-16332-1-git-send-email-jun.li@nxp.com> References: <1523629125-16332-1-git-send-email-jun.li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [92.121.68.129] X-ClientProxiedBy: HK2PR02CA0139.apcprd02.prod.outlook.com (2603:1096:202:16::23) To VI1PR0402MB3920.eurprd04.prod.outlook.com (2603:10a6:803:23::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB3920; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB3920; 3:EHAf7oe6qXXr9Dm0RkX1P5GuXuf7DLU0RozUs3ZqgYJQ6K5s94po/JlRwbshmM1U826ttw4nZEB8+dSSdfPlDJgsyr3E+bBnxTpWxbHrqbBT7F4Xdu7CVI2WQ8dWrQAyTV9KFMD3ens+l+efMHfQpBHskgsAvSYktGbOt1g9mjRKkiUgDIMmclm1LZxnnlwjBehRkhN5CfZWXLbmiAwfCQRTmo0zGpg8r1PAMSY2JK0e95g1l6NROUZ1CjN2JasD; 25:+XgE3UeALHdO0Sc8f5bpi2a2CMe5kL9ic6znwhiHDxKq6RQzK6ok6s7mEirie7xB2s4RS8XnhlpCW7RSmHY8x5IQrYbCqmWiCDeg4VuQDcNV83OOVve0n1CTJc3UklqvxVtU1jtgEQjSX+PhARm2yLNhxN2uvsCwJWKA/Agg8N6mV+6P1oiBZYNe8Mm9voGpKwZfOvJZIAo0dBCcBrmpwB1V90aesQo3D3o0Ei/j75OAoew9IL8lkME6/lF9AfEoMDlMCJHYLmSYS/OzPqpDkRqGY6AnXpn9p9YHfmv+Ruz/m3OcggFHiFj6KaRMZup0aEDd2sG0GJN74n80M4gXrg==; 31:wH99Qkzpm22dZTt71pn/KMhCwziMDblqXe24mYrxopEErnRfYG9/i8QEtPueZXnuXgy6mI21sNXluIh0CKw5Dwsy6b3DpVDEPIcQs4aGzslYdQv1DjhTnURPx8nGMsh3cZ9Re+jWtxI7N8QvF/MnqoriGilJqTusQi1CZY2aiR8VWOayaoIVknWwPbN1NNquUxuTQCWV5Z5p8XYKcrR1aqgAsfxUiGfNbDCnpNzzYmw= X-MS-TrafficTypeDiagnostic: VI1PR0402MB3920: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB3920; 20:uQr1VrUE7OlgfuYLRc86O8Sq736nhh/JFV4tMbYUg8ygqqNV9F8fgpBLIhKYu1TuV+wtvVm+T/Svi/f0OGFq6kghoJ4xnJOO15hEpCvl6v02hyDYs93Daf1vikfGRh7OeRdVOwX3XXnv37AnDhgm7VB34Rv1fwpZtSzoA3mVIejlZp+IzobIcOBaUI1BhHUbVvaz6IyAACn0lf1cDBvR+Zx/+UvvJguyBPTJTEmDYeN6vL32gIVIk0iAzqMt7OTaqLem+hG+s/PnBcxodOOdw9MOKn6YswpCmyvVT2p7F1Deu03Ru18AZPjaSGkawgFKkMhi07eBx+4mt+MdeP5vbom5JKEAiDfTTaDkjBqxp9HWxQ6bhsnWCVKrU6c9/+kMRNN4bEWHYF/q0zsmwmXYRNJKFi/W2PtsFdIoeRx4mGYvv5U1fzJMKytI40cdnFphhGji8Mi5wfKjPfUKeML+u4HbWhtsJPHHCX6+SqquTdrv9+9kRAhi7xeGAuSXHzqZ; 4:JipmQWoZfXzxW+SDVuvahxFo+KcpcVdvRxC8lLvw2x8Ly1Q78IZpzom/9sEDhSlBKsCzMD0OSC/fxMohdPS+mnP9ySYsd8YD4hjIM1yp6Tx8A1B8/j3v/sFSruG6cWGTaJdFj1elb4E2uxuoJOANy3vTA+leCajZjitcUwWMaAyXrr6ylSf71DXnxuFS9FyPFm4v43W8DAylYw6Xpm6w1NlQC5otiSdJxirUmguS584e4SSOuvnTsXy3+o0O7+cSMBwnZaXD33Y5TOaCgOARUTLqzQ4Vj3fWLfXhtT5a8UtNocAIALej3vdxj95j/dIW X-Microsoft-Antispam-PRVS: <VI1PR0402MB3920AB7DB0C3FF7CBFCE339889B30@VI1PR0402MB3920.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231232)(944501327)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0402MB3920; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB3920; X-Forefront-PRVS: 0641678E68 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(39380400002)(366004)(396003)(376002)(189003)(199004)(305945005)(16526019)(3846002)(6506007)(6512007)(7736002)(446003)(476003)(47776003)(50466002)(48376002)(66066001)(486006)(81156014)(81166006)(956004)(2616005)(8936002)(11346002)(6486002)(2906002)(39060400002)(105586002)(6116002)(16586007)(53936002)(26005)(316002)(8676002)(36756003)(186003)(6666003)(478600001)(25786009)(50226002)(97736004)(52116002)(86362001)(76176011)(68736007)(106356001)(4326008)(51416003)(386003)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3920; H:b47624-OptiPlex-7040.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0402MB3920; 23:UxpXfSAXImxBmbiyy3tyF/E2u56kuOi1StRRjzQ?= =?us-ascii?Q?NLFscBERhJ7jOumhs1kWD5nDgCZlRseC6eLJxbhx+fkkKgw7jOSNnbJJLWNp?= =?us-ascii?Q?AMb15ZxEUTlOfO4O2B/sJCEBg8QCKcgv5hhHvuIiOf/pUInnzb8brq8hPifo?= =?us-ascii?Q?IzBlBq9NBPbD18agu1sLaqa1uuYBPG4Lh048ujgpeUmEltolwTg5bW1khBKm?= =?us-ascii?Q?ZOcOtkjXnpCWb7w/2BpTWJOC60eCtG2WhiDF6Inej7eH5lDY/D59K8Lra9gs?= =?us-ascii?Q?bCTjzlnSRYUjajRsa0suyF3r0Dw+lSYfjyUhH3Qz4nZGYyPJutyNF+ZrLkZU?= =?us-ascii?Q?/ChA5yTs6AkJH+f5CK3/WmB85MrkNDqzm48Yoml7tkwRBfSj3woRamI8SgJo?= =?us-ascii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7pfOENfLOdkeZALfbKeWdauvZr25Va7et6vS8AeWbmxtJiiA2ulrjxQHWPlgd8fYvtMeKvojpFk3qM8Cyz/gcXQvHfwv+aWwLIDhH0Pi38n3YMXq4TGwPu4SInWxd7A8QUjFVb9jXyHNg7XBAt7OOPveEK0u43RN6b0GCz64Pr02I22Sd3dv9ZNnSL X-MS-Office365-Filtering-Correlation-Id: 5578fdbc-4508-4fa0-beeb-08d5a14bb066 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2018 14:34:36.0685 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5578fdbc-4508-4fa0-beeb-08d5a14bb066 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3920 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/usb/typec/typec_wcove.c b/drivers/usb/typec/typec_wcove.c index 19cca7f..39cff11 100644 --- a/drivers/usb/typec/typec_wcove.c +++ b/drivers/usb/typec/typec_wcove.c @@ -558,6 +558,7 @@ static const u32 src_pdo[] = { static const u32 snk_pdo[] = { PDO_FIXED(5000, 500, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP | PDO_FIXED_USB_COMM), + PDO_VAR(5000, 12000, 3000), }; static struct tcpc_config wcove_typec_config = { @@ -566,9 +567,6 @@ static struct tcpc_config wcove_typec_config = { .snk_pdo = snk_pdo, .nr_snk_pdo = ARRAY_SIZE(snk_pdo), - .max_snk_mv = 12000, - .max_snk_ma = 3000, - .max_snk_mw = 36000, .operating_snk_mw = 15000, .type = TYPEC_PORT_DRP,