Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932111AbbHNKGa (ORCPT ); Fri, 14 Aug 2015 06:06:30 -0400 Received: from mail-bl2on0132.outbound.protection.outlook.com ([65.55.169.132]:2169 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752744AbbHNKG1 (ORCPT ); Fri, 14 Aug 2015 06:06:27 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Date: Fri, 14 Aug 2015 16:55:29 +0800 From: Li Jun To: Baolin Wang CC: , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v2 0/3] Introduce usb charger framework to deal with the usb gadget power negotation Message-ID: <20150814085527.GA17920@shlinux2> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD035;1:vkyNy9InzKNvntGJIOsiIvYL+0nuEXVOmC4dQHSdxOZ8cyQ+/yl68QkOv2av3Z9gq8mZNM8+2bAnzdXJdF6AUXsZki+fBDddZ2UpP11vhRFxWInf2HfbRfG5AOG/6tMzdffE5X+Z7brAlIix4Bg30/E8mdQ4QTkz+9kSAR+jse5re6QhzCQlmLj8DaZ8udkO/F8sLWKv1OAffvcQ7l14qQ9vKSpuWHb4Zu429yI9vxIMThNdIkxSLGCu/aVj2u3AJXrZ4EC3XKlLOLcbcnCZLyXA/1kiaCsgWNRIvionapKKjnuMJ15uyiXscEyN/ONfdjoOEBIlNGQhDV9fVc78X0ogyMu4YL/ENrrbYi11l3YieEYl0CANno1kied2NOlq/PY2qESBYCKjTnWe7+fNIw== X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(339900001)(3050300001)(24454002)(189002)(199003)(33716001)(6806004)(46406003)(33656002)(47776003)(64706001)(85426001)(46102003)(5001830100001)(110136002)(97736004)(2950100001)(189998001)(81156007)(5001960100002)(4001350100001)(50986999)(76176999)(105606002)(62966003)(77156002)(54356999)(106466001)(4001540100001)(83506001)(50466002)(23726002)(5001860100001)(104016003)(92566002)(68736005)(87936001)(97756001)(77096005);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0301MB0860;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0860;2:KRh3bP5nNORyMHzh9Rt97VWvTr9st55F2cmY6h5MfTJ1m8MOGBqTimyKUdhNwozDXgAzCX/N0TFSKLb2aFIKzWXrJk5V7zdCgQ2jfjQ0l+7gfTA/Z+2EmnZafIsiYBVF47TKlal+4ODUDEhuCM8tKFBtYhMHXkISuOeY38tUbu8=;3:9GHiGuiZTH73yf59OzvSyU3DzuNFPPrpVtWXstuu9c4fHcGXVPCoeEtwbsX22+7IvVI+n9ONe22DJuvrjP3ZH0NaGrh3JE90t16WupvhzlY0s5Stps4gsGwKRyEmAhL9ZHrceO1W8x7xGYdjoWAa4gv8An2GIeeMGrRq/MyfEfiWwKUJYnrkX0pwhMUq+BWt3CbqWm9SuotZwsx59WHWoyJTKASJsm+Rd6pQP03ieNY=;25:VwQ9dWnz0rhPH4k1XmsXF7fWxF7omNvjiiT0Hvt5dU0SUT6TVga8qpwRvQShtvvl+GgtiYQklclnZ3qkJRad/kfD8B4LGKjWsVhx411bUtbhF0o1wQqUaSaiCLcmP023hGvbJq9Rao8ZLlqQr3XofSGZf9ii8+wXEv3kUtfwsDUM2ttGYigtQQdX2L2ltMPbgQG3iN3AvjBDvsaE0gjVw8FC6iZas0jMWiA3B1JkIs6U5hikX9WE3z/67TNiSFaiwuc9xs4cc9a22Ij46sKynw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0860; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0860;20:NdLD40RngjJHL+1bNssOYndAhmIhH1wdWo9X7L9fLnqt8FVWkPWwrFTmhU/tc+XdUyU52NDYUOwVxGBhVx8yQcL5kES9GcK0ZPKZFk0dj2lu3KpwO2IuSSSoBmri7my6/W91uVA0m9k/xsg8WMB8DZ6KnEIZ68SLhTKyzkabWMRjg6vd46vATUIf71+cZAeRUD5/9G6QhpSplNVbfi9Q55F12/OhXm1lBwMvUavxtGsBeiHn6mDCEyNolTqunZJtmDRXDMqQq+alhQwyTO/3updxw74gG9b5xOGO6z8kXrLlDfUrQiOT2CXUXH2tGKspe9GsLEo1ZglAv48Td4+nD/YgbNkJMRDkkTc6UaRdg70=;4:hz0Op6H1Tg4B0EcDLlCRgv1ion77j+Emepq61fEqXZu63+Bp+uBZ6JEZQ4nmMmF3cv4Yqe5UNFuPfazhCnx/t1N5hGf77Dt5jeQtTNMMj8ppXcyI32nsjJ1pAsz1M4vcr1mN14HHCSOPe85NAtwmIDxR8lWENxM3Ol/OigZqZLQOJYELfSRV7J3/XV25GQsEJPQSJb3lg+C69Z4oDNjPmxlLO4H7N8DOoMJqtD+GdxBG+s40g6OtlMEHjwCVqG80aQCrbgfFmp2HAemeHmCMGnJ77cijsYVvYqOIjXAxgCw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:CY1PR0301MB0860;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0860; X-Forefront-PRVS: 066898046A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB0860;23:ZaN/FJYukb20VhYvbOl1P+RWSxm4fvRwY7Xw/IF?= =?us-ascii?Q?6sNXFpeoYmmEDyHJeKd72YrbzpTjBrrJuAYTmNFvEfZoCGl3ze7w2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Nw+REQeIKOvjyXVSe8y26EU1?= =?us-ascii?Q?ZIENAVg/3SfDdSlzUmmHHm/YSo6aWX3XfaI5WuHKAqP58mDN/j97lAva8kM6?= =?us-ascii?Q?ceOQXXto7KC1kaTRsoPnI74R6yfIfnB1/lxbOp5LAFmxfd0uXwA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0860;5:0Ssr+i7VYC7SXWjnCNd8NrtUdeAQkanHK4NnOb34E64/wnhRH79bIZE2z99wYA8sJQFn96jEg/DXvs/f6U2qA7qw9AAiu/Y088yx8ENs8SGTofDxD2cduDmhCSvT+Z68wZ4AvYeYGPXd42zVMumt1w==;24:/zllzWbZZBFNn86bz3/0Igye9yd1SttM2c5jNuGtmTAyMBKnVLYWrXiYVuSp0bKRuyKQnasPDhnP0NcRNGDp7PiNbOR2+Up85bMwf8BrHuM=;20:W9xO41t1L6IniBqnNnM4mYGBFvcQ3zzrVoLyBYCRQWdIljwPy3+jfdsuFbQGa6ZibtQHvWyiPTn6M/eZQLA7+Q== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2015 10:06:22.8853 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0860 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 780 Lines: 21 Hi Baolin, On Fri, Aug 14, 2015 at 05:47:43PM +0800, Baolin Wang wrote: > Currently the Linux kernel does not provide any standard integration of this > feature that integrates the USB subsystem with the system power regulation > provided by PMICs meaning that either vendors must add this in their kernels > or USB gadget devices based on Linux (such as mobile phones) may not behave > as they should. > > Providing a standard framework for doing this in the kernel. > Why not add power supply class support into this? Li Jun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/