Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1663560pxb; Tue, 26 Oct 2021 13:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNs1/qWeYzOBdH3XhmfJkceRtoSdIUImsqWXaP0VbHU1Btg9yuxsfG/Um+li+SMYQWdLf/ X-Received: by 2002:a63:2cca:: with SMTP id s193mr20466930pgs.240.1635279595762; Tue, 26 Oct 2021 13:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635279595; cv=none; d=google.com; s=arc-20160816; b=QFytZRY4VvQebBYgewgH37GSnZqARsNazlVHnciAKwMWDlODv6fNbwWKDluO3+VTFw BgbkNgESrkEnHhhTMa1O7P8uZasiyUkH1ysxs/lfT4Elyg7Smj29CmyOp7s1fF9wZiXG ismY/MoBvsrgUb+2yITKOqDUjwn6CqZ/GxdkLJGblSM5UOPemgnGOYgPOHLBiIxd2DxW G1q/JQ05/lht4mY+TyjO58+QBZ5yTQjLDU/nQYmARVLZl82YGBhKj0awOvL++HgzcrhI 8HVThC79I7sDXk+dFOpPeXgsszjtFdYHOKhnYsJXcACB12XTqro0UjHmR5dkSlDN+Jjj pbzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+NO+NHQ2fS78TxYvXQrw5QRyilRlPg7IhuAEKWtGIDk=; b=u1bezytL/DCq3JfNTtRpwrWPEAdxFnoNtLZbzxBzcDhhCPYb5gAOA3c/bZedRrfuFY 1OjaY4dZXsOeMx4D2gPOkSOt+TXePpM9fUeG1FSCgy4ZZ5jnbX7LSlXsyhC0BDSeNx9B msi9qAk8y/bcU4Ge9Mqi+HWXgEUsEO6d5zv5hsFnZLv2bZrZ6nTs3wq3qbdysaaEwWHh 68PtvL1erc4f6HVQWrz7vg9yV91a8HeI1hAVKJ+NfT1jGP8SgSEPQVd/UQfaWDInQf93 2zltQcky+WusK9PRtcgsY2tEFzqrAGBJPn1nFm3dmyU8VFj/dHtXveyT9xyteLPgo1Za E7YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zeRS4rWX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si37299140pgk.157.2021.10.26.13.19.42; Tue, 26 Oct 2021 13:19:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zeRS4rWX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231660AbhJZPI7 (ORCPT + 99 others); Tue, 26 Oct 2021 11:08:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:34178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbhJZPIy (ORCPT ); Tue, 26 Oct 2021 11:08:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B388B604AC; Tue, 26 Oct 2021 15:06:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635260790; bh=+Z01TEK+QyGY0xo8I0ZHZPD2JObUitun2+iJ1F+8ky0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zeRS4rWXDIOP7OcI42dfE34DbZ/0RnnieZyC47+iNVCm/OFDi4nOkgsyBw7uiyMEI AShlVrx5bJu6uI3UG3krgnJ1uq8IaFcddNSC/xWbhdKGEW/Jvyi4O82Xvx0noVbiZ3 PlHeAJ55erDvywmbV2xmIsFf6sh0fyGshBd7DIvI= Date: Tue, 26 Oct 2021 17:06:28 +0200 From: Greg KH To: Heikki Krogerus Cc: Prashant Malani , Benson Leung , Adam Thomson , Guenter Roeck , Badhri Jagan Sridharan , Jack Pham , "Gopal, Saranya" , "Regupathy, Rajaram" , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/4] USB Power Delivery character device interface Message-ID: References: <20211026143352.78387-1-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211026143352.78387-1-heikki.krogerus@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 26, 2021 at 05:33:48PM +0300, Heikki Krogerus wrote: > Hi, > > This is the proposal for USB PD character devices that we could use to > communicate USB PD messages directly with the USB PD capable partners, > ports and cable plugs from user space. Originally I proposed this idea > here as a better way to get the PDOs from the partners (and ports and > plugs): https://lkml.org/lkml/2021/10/8/331 You should put the info there (and please use lore.kernel.org in the future, not lkml.org as we have no control over that site), into this 0/X message as I have no idea _why_ you need a char device and why the sysfs interface will not work. So, why not sysfs? :) thanks, greg k-h