From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEC27C282D8 for ; Sat, 2 Feb 2019 03:02:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A080D21872 for ; Sat, 2 Feb 2019 03:02:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ofy9asEn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A080D21872 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aspeedtech.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:In-Reply-To: References:Message-ID:Date:Subject:To:From:Reply-To:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mvrbVJ2YwoH1zopaIXdpTWChMfWqF6jtbQOe2mWTGSE=; b=Ofy9asEnrn96kQ WoPrng+FdF772zSaQ+pe4D5rYZe2G/QBIdJgGwnU0L5XbXcQGZaEkmvvhTYx1nRznrY1IFdTDT1nV Ovgy+SHTNewsy++FaS3sNaWSG+KpyWxCvaBwdFsAkj5KUGKwr8OelsbLgy7Ldd6EviqXFMt9elD3e PbUQsXz/85LIP+9CWvvKru2e+xbd4caruO2FohsDp8K/d/mfwspWyN+u+vQdtB3gHwiilJS8bjy3i blGlRYy/U5xq3hCDUCXKNyHQCBmg0vnervNaAqZjh/wj0EzO+ktsB3zq8RYo/yGF4oDHrgIVL0xCu to9WrczDiUmh4z9db0CA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gplZO-0006XT-5c; Sat, 02 Feb 2019 03:02:14 +0000 Received: from twspam01.aspeedtech.com ([211.20.114.71]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gplZL-0006Wz-Mu for linux-i3c@lists.infradead.org; Sat, 02 Feb 2019 03:02:13 +0000 Received: from mail.aspeedtech.com (twmbx02.aspeed.com [192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id x1230Cnv044811; Sat, 2 Feb 2019 11:00:12 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from TWMBX01.aspeed.com (192.168.0.23) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.620.29; Sat, 2 Feb 2019 11:01:52 +0800 Received: from TWMBX02.aspeed.com (192.168.0.24) by TWMBX01.aspeed.com (192.168.0.23) with Microsoft SMTP Server (TLS) id 15.0.620.29; Sat, 2 Feb 2019 11:01:52 +0800 Received: from TWMBX02.aspeed.com ([fe80::997d:c0a7:f01f:e1a7]) by TWMBX02.aspeed.com ([fe80::997d:c0a7:f01f:e1a7%12]) with mapi id 15.00.0620.020; Sat, 2 Feb 2019 11:01:51 +0800 From: Ryan Chen To: "'Boris Brezillon'" Subject: RE: i3c application Thread-Topic: i3c application Thread-Index: AdS3bO5Ifw/HfVccSv2fDAJg+J3UeAAJsvCAALM2vQA= Date: Sat, 2 Feb 2019 03:01:51 +0000 Message-ID: <002b01d4baa3$a36667a0$ea3336e0$@aspeedtech.com> References: <20190129143021.475588a7@bbrezillon> In-Reply-To: <20190129143021.475588a7@bbrezillon> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Microsoft Outlook 16.0 Content-ID: <5DD18886514B784E998905B35CB19B3B@aspeedtech.com> MIME-Version: 1.0 X-DNSRBL: X-MAIL: twspam01.aspeedtech.com x1230Cnv044811 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190201_190211_996205_14406630 X-CRM114-Status: GOOD ( 10.75 ) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux I3C List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "linux-i3c@lists.infradead.org" , 'Vitor Soares' Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org Hello Boris, Thanks a lot. >+Vitor who started a discussion around i3c-tools and the associate > kernel <-> userspace interface. Does there have open source repo in internet? > Hi all, > I just work with I3C, does there have any application like i2c-tools I can used? >No, but I'll ask the same question I already asked Vitor: what would you use i3c-tools for? What should it contain? I'm not against the idea, but I'd like to delimit the scope of the userspace >interface. Sure, it definitely a user space application. I will connect with some i3c device or have loop back interact. I3c master <-> i3c slave > Or any Linux i3c application I can have i3c slave and master loop test? >>Not sure I get this request correctly. Are you talking about a dummy slave driver that would return any data it receives to the TX queue so that the next read request coming from the >>master returns what the master wrote in its previous write access? >>If that's what you have in mind, then it's definitely not supported. >>But before we even consider doing that, we should first introduce the concept of I3C slave controller and then decide how we want to expose slave features. Note that Vitor and I disagree >>on the solution: I think we should mimic the USB gadget approach (where you can attach a generic profile to any USB device controller), and Vitor thinks slave IPs should have their >>profile/feature-set hardcoded in the driver (which works fine for hardcoded slave IPs, but is not that great if the slave block is generic). Thanks, if I can refer from with I3c-tools, I can start for i3c-master and i3c slave dummy test. Regards, Ryan _______________________________________________ linux-i3c mailing list linux-i3c@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-i3c