From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752045AbcHGVhU (ORCPT ); Sun, 7 Aug 2016 17:37:20 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:48220 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbcHGVhS (ORCPT ); Sun, 7 Aug 2016 17:37:18 -0400 Date: Sun, 7 Aug 2016 23:37:10 +0200 From: Pavel Machek To: Oliver Neukum Cc: Heikki Krogerus , Andy Shevchenko , Rajaram R , Felipe Balbi , Mathias Nyman , Greg KH , Guenter Roeck , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [RFC PATCHv2] usb: USB Type-C Connector Class Message-ID: <20160807213710.GA27135@amd> References: <1463661894-22820-1-git-send-email-heikki.krogerus@linux.intel.com> <1466514532.2091.5.camel@suse.com> <20160621135845.GA10715@kuha.fi.intel.com> <1466541785.2014.16.camel@suse.com> <20160622093156.GA19856@kuha.fi.intel.com> <1466590137.12516.5.camel@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1466590137.12516.5.camel@suse.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > With these boards, you will not see anything on the screen that is > > attached to a Type-C connector until the OS has booted to the point > > where it has negotiated the power contract and entered a mode. > > > > If the system has BIOS/FW/EC capable of negotiating the power contract > > and enter a mode, but where we still are expected to take over the > > whole TCPM in OS, I think the connection will be reset. > > Think about a DP over type C display with a USB PD power brick on a > daisy chain. > If the host needs more than 15W or more than 5V, a reset is suicide. > > And losing earlyprintk hurts a lot. > This means we need USB PD statically in the kernel. And a kernel > based policy that brings up all displays. Yes please. Of course, even that will hurt, because I guess that means printk() after USB, and that means late in the boot process, but better late in kernel than in initrd. (And yes, N900 has display pretty late in the bootprocess, and yes, it is very annoying.) Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html