Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4834874ybv; Mon, 17 Feb 2020 06:52:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxAa7l/wXUkYRlUQY+CN/LVTLy2szfBtYUO08pIWaA6Kz+7871CotWJlmvCJqhUj0f3w43c X-Received: by 2002:a05:6830:1094:: with SMTP id y20mr12234068oto.12.1581951124496; Mon, 17 Feb 2020 06:52:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581951124; cv=none; d=google.com; s=arc-20160816; b=v9CcKAV177RS1yJYUMw3JkStgBoNPANPDq4VWggEmmMkjHFa8CMd0iXQwTFG2VXJd2 cECQkMNLUO684GDQdEuT9VKRPJPKO/agWnY8EIfYlSxovv13o6hng+X3Dp94FJfJY8Oz nJqH7cvY1vrK326RXMxJ8D8B9Jq6ERM8vYwfhe9WitcKT5RvRPzomjA+r1C9PNvJ+bK8 loXhSV3VoJwifyIKvkgRFESt7BveJIPBK0BYdb4Sxl+PWpIhmFK2PfwFIMUgAybWL1nn p3+iCqDj6557/NqICB0ewsRjZgSKi/UuRZoqt6t56Yt0XIIJiO7yLHlGMDeuLKee2axU sksg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=f3OOIR+L13Gkk5oY4NNXRDpNFQDtelwi729ud5mwiPk=; b=ftHkLV8czjaBbBU3RX6nk6p5gc0GWhOcD6UO9RzO0x1jHZG82kYsBav7CzntqyZDDI D52VrD3YBdI0Kp6D3VOuiwkP92c7nZj1zj0K2lb8XP+ssbBYhyD5vNzDLH/8vw737nyu S6TsXv9x36RVT/lno+HjzghAVyvxsI6WqeGuDVyOn7N0EjIJQLCnIk9z70rbwhEkOSh6 Nxbm6dxBJYCPv2g++L9JbwiB1RlQJ4fI9MFeTRcxL7R4o6WjGVHCu5bm4ZXQFcmNowoj X595lSIwztntvruKvxg6dudbKK5XGy4SXQbkittUTpjxJrXTbVrGtczdaBESNTVSqYp7 S0kg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j8si265837otr.161.2020.02.17.06.51.52; Mon, 17 Feb 2020 06:52:04 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729118AbgBQOvr (ORCPT + 99 others); Mon, 17 Feb 2020 09:51:47 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:41272 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728375AbgBQOvr (ORCPT ); Mon, 17 Feb 2020 09:51:47 -0500 Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 5B6EF293C87; Mon, 17 Feb 2020 14:51:45 +0000 (GMT) Date: Mon, 17 Feb 2020 15:51:41 +0100 From: Boris Brezillon To: Vitor Soares Cc: linux-kernel@vger.kernel.org, linux-i3c@lists.infradead.org, Jose.Abreu@synopsys.com, Joao.Pinto@synopsys.com, arnd@arndb.de, wsa@the-dreams.de, gregkh@linuxfoundation.org, bbrezillon@kernel.org, broonie@kernel.org Subject: Re: [RFC v2 0/4] Introduce i3c device userspace interface Message-ID: <20200217155141.08e87b3f@collabora.com> In-Reply-To: References: Organization: Collabora X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Vitor, Sorry for taking so long to reply, and thanks for working on that topic. On Wed, 29 Jan 2020 13:17:31 +0100 Vitor Soares wrote: > For today there is no way to use i3c devices from user space and > the introduction of such API will help developers during the i3c device > or i3c host controllers development. > > The i3cdev module is highly based on i2c-dev and yet I tried to address > the concerns raised in [1]. > > NOTES: > - The i3cdev dynamically request an unused major number. > > - The i3c devices are dynamically exposed/removed from dev/ folder based > on if they have a device driver bound to it. May I ask why you need to automatically bind devices to the i3cdev driver when they don't have a driver matching the device id loaded/compiled-in? If we get the i3c subsystem to generate proper uevents we should be able to load the i3cdev module and bind the device to this driver using a udev rule. Regards, Boris