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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0141CC71133 for ; Fri, 25 Aug 2023 08:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1V/z4H93zrY7ugSMB2QdjQ2+fIxQpTY43XU6b3IWChc=; b=a3tLv7hl1H/Ney X2psLLH1VZ/Kqxz62x7DtJ6G6/QWcCY2L+W/UF2UuzkpV4ZNI5BaxPQKzIDNCgKbtW0sywYXk71Qc TouVi+JwdwpHEmfIeoyDd3Clhf+Iy6FzMQOBM+il03NufKutxCrshR51tWrgTBq4nTt9VMeg1+RVI ERl75bGSNQXA2UNgqcl5YC0psDGW3dJfid4CVMtTbMx/y7iVhLA3XBby0V7A8M30AYq5/tyLVJf+M FN/5glgUtinX06t8jIaC2wOynP8wkDG6VxR75f4S2IhoWcmyzpEYghdfohwZP2aE0UhNkDn5eMVjY 2XaUHr+i06bRYBmKhDHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qZS9E-004d4u-0C; Fri, 25 Aug 2023 08:26:28 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qZS9A-004d4K-32 for linux-arm-kernel@lists.infradead.org; Fri, 25 Aug 2023 08:26:26 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DB5CA619E4; Fri, 25 Aug 2023 08:26:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C897CC433C7; Fri, 25 Aug 2023 08:26:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1692951982; bh=fbssi10KHPpHQrchGVRvapO9aMUTdbU6J3cD+61Z/y4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZEq2wWYsUfmzADOSTjZuBixsX+xrbFkwZLfVB39KuPkKQpdDqij/apEvF8FTbBFGa MQBjvvbOhioC9dbGhnvjQ/tqCCyQ2Zkz25IYrHka8sgka6Yhq8twIqBR0L3t+ptFzY N2x2wHl74giNhRSODm9+HMTC1A6eGO/SzSVznYfg= Date: Thu, 24 Aug 2023 21:23:32 +0200 From: Greg Kroah-Hartman To: Krzysztof Kozlowski Cc: Rob Herring , Pankaj Gupta , shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, clin@suse.com, conor+dt@kernel.org, pierre.gondois@arm.com, ping.bai@nxp.com, xiaoning.wang@nxp.com, wei.fang@nxp.com, peng.fan@nxp.com, haibo.chen@nxp.com, festevam@gmail.com, linux-imx@nxp.com, davem@davemloft.net, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gaurav.jain@nxp.com, alexander.stein@ew.tq-group.com, sahil.malhotra@nxp.com, aisheng.dong@nxp.com, V.Sethi@nxp.com Subject: Re: [PATCH v5 01/11] dt-bindings: arm: fsl: add imx-se-fw binding doc Message-ID: <2023082422-proofing-dispense-1a1a@gregkh> References: <20230823073330.1712721-1-pankaj.gupta@nxp.com> <20230823073330.1712721-2-pankaj.gupta@nxp.com> <20230823124340.GA2022486-robh@kernel.org> <574e93da-ec74-f1a2-7170-c16bb225a2bb@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <574e93da-ec74-f1a2-7170-c16bb225a2bb@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230825_012625_061698_7D6B3C5E X-CRM114-Status: GOOD ( 19.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 24, 2023 at 08:45:41PM +0200, Krzysztof Kozlowski wrote: > On 23/08/2023 14:43, Rob Herring wrote: > >> + | > >> + +------------------------------------------------------ | > >> + | | | | > >> + userspace /dev/ele_muXch0 | | | > >> + /dev/ele_muXch1 | | > >> + /dev/ele_muXchY | > >> + | > >> + > >> + When a user sends a command to the firmware, it registers its device_ctx > >> + as waiter of a response from firmware. > >> + > >> + A user can be registered as receiver of command from the ELE. > >> + Create char devices in /dev as channels of the form /dev/ele_muXchY with X > >> + the id of the driver and Y for each users. It allows to send and receive > >> + messages to the NXP EdgeLock Enclave IP firmware on NXP SoC, where current > >> + possible value, i.e., supported SoC(s) are imx8ulp, imx93. > > > > Looks like a bunch of Linux details which don't belong in the binding. > > > > Why do you need your own custom interface to userspace? No one else has > > a similar feature in their platforms? Something like virtio or rpmsg > > doesn't work? > > +Cc Greg, > > I doubt they care. This is some stub-driver to pass messages from > user-space to the firmware. The interface is undocumented, without > examples and no user-space user. Great, no user? Let's delete the code then :) thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel