Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp153658imm; Thu, 13 Sep 2018 17:44:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaKx0SvyIHAA8pfjNguSb0tI6k0w0rdecCXBD65DdmF67e+hiEFcfmcaJ9vWinc/Rs5O+Ym X-Received: by 2002:a62:9c17:: with SMTP id f23-v6mr9672335pfe.209.1536885890226; Thu, 13 Sep 2018 17:44:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536885890; cv=none; d=google.com; s=arc-20160816; b=VG4d3vug8RWppYkaeRjFXMcPtkDpIHDlj/9DPM0fE4fER6HUhu70Is8iXUMH4Qv+H3 KK/2r/JMbQRFjR7E5eWdlUsBJesEW2BSqqxO2W6TS3EJYllxVuB16iA+yAWqatziaIRH +3J21qxbVlnL8OYjeMacGxzLT+JPEXuACmZDpp1i+oEnVgYEPB9Zyi0DNGgkz0JfkTAB VkAvxk+kKLvSHEqvYGLt2TZWK4ZK9IDOrvGRt97R0MkckIhD80FgNCsd8J7yaC2Lr3vS Jg9OSnHQzvFgPjv4WQf9x8QYwk4JIRCFsPZ6R6uIcpuvyKx0JozQ7j0F7ZLdJGhcZVqc SXaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=7tBg7/PrlGMTuiAOmdsRf5MOTt2BMjYgsNfUk0nnYgk=; b=MJVuTHcc2WFKU5EGoVnYhwqnmCJc3CcZCBLb1tLifjz71DwpGo96uaqaqYjy18Y+MU XiXBnH0rNVI81tgmpDwEvdxFvzAiTnqa/C5Y1KlL5c4HzZAsruASS/9eCiiR7RPptZG9 YMxy8WLl1x0wma24qtNyLdNneuvRh5uWkAxpsXqM/nSOOvjnW0f57jh4ZkQ+gtdU52I4 87NvvUQR8HUyNfJ1tOG4uvacyayqhgNDxkF9kPja4xL+SGlPqCQ6pnM73x1MQ4Suxy27 x229CBiJn9Pn/3rDFbRIQ7CX6s5i9iiQXEP6WpdDAaB8l/TuWUaRH2jQW+JRShon97L5 g+Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=UR0rt7VF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10-v6si5694949pfe.291.2018.09.13.17.44.20; Thu, 13 Sep 2018 17:44:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=UR0rt7VF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728197AbeINFu0 (ORCPT + 99 others); Fri, 14 Sep 2018 01:50:26 -0400 Received: from mail-eopbgr10071.outbound.protection.outlook.com ([40.107.1.71]:51790 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726931AbeINFu0 (ORCPT ); Fri, 14 Sep 2018 01:50:26 -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:X-MS-Exchange-SenderADCheck; bh=7tBg7/PrlGMTuiAOmdsRf5MOTt2BMjYgsNfUk0nnYgk=; b=UR0rt7VF3oa3LzOVg29GugAX5p2SMzmSv50ZaC39OP3qhDqhSY0E2NmTyatPhYcAcxiMLuqVRwp9F/tqvzjhhKUnqXCEqx1dWeCoDC4/DHuUxC9+EbYW+j2ZxVsoDQ4utRjij1Qxnht9rOZL735aEkrHo6GyjA0rlzKJMklmNzw= Received: from VI1PR04MB4558.eurprd04.prod.outlook.com (20.177.55.216) by VI1PR04MB4159.eurprd04.prod.outlook.com (52.133.15.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.15; Fri, 14 Sep 2018 00:38:23 +0000 Received: from VI1PR04MB4558.eurprd04.prod.outlook.com ([fe80::806e:6caa:e774:689f]) by VI1PR04MB4558.eurprd04.prod.outlook.com ([fe80::806e:6caa:e774:689f%4]) with mapi id 15.20.1122.021; Fri, 14 Sep 2018 00:38:23 +0000 From: Jun Li To: Guenter Roeck , Angus Ainslie CC: Peter Chen , Heikki Krogerus , Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , lkml , Peter Chen Subject: RE: [PATCH v3] usb: typec: get the vbus source and charge values from the devicetree Thread-Topic: [PATCH v3] usb: typec: get the vbus source and charge values from the devicetree Thread-Index: AQHUS1JYxlnWFjVdqUGB7lFiUCPer6TueYIAgABnCwA= Date: Fri, 14 Sep 2018 00:38:23 +0000 Message-ID: References: <20180906192644.24587-1-angus@akkea.ca> <20180911145931.32441-1-angus@akkea.ca> <8A418EC6-62A4-4354-8928-7693696409D1@gmail.com> <9d7431e51aa069f288dd4bf39e9db9f1@www.akkea.ca> <20180912163259.GC3300@roeck-us.net> <20180913173452.GA10115@roeck-us.net> In-Reply-To: <20180913173452.GA10115@roeck-us.net> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB4159;6:9hnXS+DrLtIQI+Yp+mLkp6+e321Nhy5xSXHjjIzqtilFecT8VKqbAbRLcWB3VRPnWm+m1uQqW+NhQaDwsaa+ITO/G0L5UFA4nJre67WZITJADdfbpwE9ZdQeIfMS0E/MlDZOedcrOwXbASC0jzE5s/xIHV3LwKq4zR2R1Rmi/FvenezIwEhPUi95x+N11A3I+ri3jZxquYJaOCvyYr4m8IYhmdkb5Ns87rtSqaBWfqefQF2J6ZhmT8fi8l8M7+xhzCGv/YoWhzg0pRaq96AmEMRsqVI2wHy/6J5mKpOMaH6073gvZiZZ3RrPpfOWDMb2xXqMKsj8LfTGbZnrHHneGVxM2bDY6pkXI6yVWFkgl+DGZTaD+Zk8LYSh9x9c4I5iikvxsSfz2Gkp7yRrcM3jEyojA1vT+pKbhRyfxr6aANQaDcSAddXOHOlQStxa5TTgEb3Hvav6Tnti4STXW/c7/g==;5:okpXMnk9cvOtiM6sgXlrLt8cXxY0xdLB7pIi5iK8OZDdeDBUMvj7jmS5AsTcWzrDgm0I0wCWmGZTX11qYwvLajMedqMqurjrlK/oLYKbdw9CyL+/WlA3YiTFG/HwwR2Qf28sYkG8G0KTDk7wkzLZEdYTmDFvdcuYp1nIgXRgE+Y=;7:SjYE5gtjPqtavUqvMpnX6eFXiBfmucuFZgH5FJSJVEfg7lmdCnTQ9VIHMkREuxtIdksql8r3GQ3IW89sgO4oyTGA33Glg6/sQLjT3QkN/nIt3EJ94/gyX2OV6VTm1rXeiDNmooMeK8FouzKH7bM6H2H6Vzaybv3x9Ya84ONDHngHdU3r4wg+/SaC08M1Q7SFzEhXS2RA1xDGrMAWXIxX4R3Xai8MYiljya67p8pwV8/vQ4PAPQMtim1HC5I1PrYY x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 47ad2703-b189-40f8-8dfb-08d619da60bb x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB4159; x-ms-traffictypediagnostic: VI1PR04MB4159: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197)(85827821059158)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(93006095)(93001095)(3002001)(3231344)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201708071742011)(7699050)(76991041);SRVR:VI1PR04MB4159;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB4159; x-forefront-prvs: 07954CC105 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(136003)(39860400002)(346002)(376002)(366004)(45074003)(13464003)(199004)(189003)(2900100001)(44832011)(7696005)(102836004)(26005)(186003)(6346003)(53546011)(93886005)(76176011)(86362001)(5250100002)(4326008)(99286004)(6116002)(54906003)(3846002)(316002)(6506007)(476003)(446003)(106356001)(486006)(105586002)(5660300001)(25786009)(2906002)(11346002)(110136005)(478600001)(256004)(14454004)(68736007)(39060400002)(97736004)(53936002)(229853002)(74316002)(305945005)(7736002)(8936002)(8676002)(81156014)(33656002)(55016002)(9686003)(6246003)(81166006)(66066001)(6436002)(15583001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4159;H:VI1PR04MB4558.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jun.li@nxp.com; x-microsoft-antispam-message-info: S01RK3k+RKX52bJFxT9QYcRD/LC3bXJUw40mNnslv6A3ke4MiqKZIuQVgjpkQ5Sw5jvZrUJfH7AhAbgUBOM6w1Iyipazvy/RSoG8qF4pvTAfnGobtG4DWnSURM1EY3zQ5oMWDRLkcZk+iUQFfcWnFYvTOTUEYLBDTQKSNsnjfJE1YPWJ5BY9DmV/2ocBX4CVv8j1sIJcEpriQu/+ufisp3no4N4WhoNT4NuHl3AyCD8fTLw9e345JW52GSOfXZ6wQrMTnDfDvZ/+szz4WdFycbSG22VgAR8A/ApMC2lNuqRerwDMPmaCFstfXzLpJNv5VxvPVBHGEjjXHoLVfdSRfb6Iu/ZF5GMJkST6tIrUxnw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47ad2703-b189-40f8-8dfb-08d619da60bb X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2018 00:38:23.4021 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4159 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogR3VlbnRlciBSb2VjayA8 Z3JvZWNrN0BnbWFpbC5jb20+IE9uIEJlaGFsZiBPZiBHdWVudGVyIFJvZWNrDQo+IFNlbnQ6IDIw MTjE6jnUwjE0yNUgMTozNQ0KPiBUbzogQW5ndXMgQWluc2xpZSA8YW5ndXNAYWtrZWEuY2E+DQo+ IENjOiBQZXRlciBDaGVuIDxoenBldGVyY2hlbkBnbWFpbC5jb20+OyBIZWlra2kgS3JvZ2VydXMN Cj4gPGhlaWtraS5rcm9nZXJ1c0BsaW51eC5pbnRlbC5jb20+OyBHcmVnIEtyb2FoLUhhcnRtY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