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 C92F9C6FA8F for ; Thu, 24 Aug 2023 18:46:25 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7r6hoK7w+JQ2Pk8NQ9YxnZrIS+i9JaMWVe09o8+vV7I=; b=Wm5Tp+SxWUoUp1 +k9V0dCivGa2z7Iottorxr9KOiWB0PkqYpWHeg59GgBRPEKGUlB2xqlJ7N0tUOR1iRgG/rpyvB2vo mDwBbIdXQISX018jhsB4jiK3gpMYg+ShgPw4bxYkEdNip383H0YhhLqSsb4iYD1fREX52bP5YyZCm epKqNLLhWFVd8KJkKlvCG1ilx3MmlA9UXteOIT58TBF57KNOqqjkawyaQh1WPfiaW53i+M25lVEtD i6IWg7Y1/xrINyJOq+Q95gWuhajTT/P+s1OYTPmrRSkofjNy7/z5tBfO26sTmhz75Q2wnM8+5E1VY TCRIpKHEs6ZnxlVxAq1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qZFL8-003cdg-0T; Thu, 24 Aug 2023 18:45:54 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qZFL6-003cdD-0X for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2023 18:45:53 +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 5841060C94; Thu, 24 Aug 2023 18:45:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 240E7C433C7; Thu, 24 Aug 2023 18:45:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692902749; bh=5Mb0MpT4Rr86M02kOZb7MIamOKaM0JtZAhyMccOWT7s=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nI4Lgs8EfxsSd5q6uLEntRdh9HoZ9PQxpfpgVjEhcdxgcMyPdyCeoXzbSPgM0YUba V93MQQK8jnVd2TUM86y7SiVCNab/5bLyXG1rlHB3h786/LQu33QaadrO1tOjHOk+Ju mBs08j8J3U2Gk1Jdh1o+1nhT2w8sryXzcnJwOmVlVcH+cFJPM5pWr/D+uz8NteZA+t lvTRgEOIM/nOXxcpyyWCJqKl0MUcJLRdfCfkg+gFiF/fLbHJioCvEolH0nPllmuZgx BbtfXmj0qDFObi4IFjRLxgyUyAEM8qro1Q1n5gjdjpucvI3trHm+yj4ZIexq2fwuiD vA2NItjLkKZvg== Message-ID: <574e93da-ec74-f1a2-7170-c16bb225a2bb@kernel.org> Date: Thu, 24 Aug 2023 20:45:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v5 01/11] dt-bindings: arm: fsl: add imx-se-fw binding doc Content-Language: en-US To: Rob Herring , Pankaj Gupta Cc: 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, Greg Kroah-Hartman References: <20230823073330.1712721-1-pankaj.gupta@nxp.com> <20230823073330.1712721-2-pankaj.gupta@nxp.com> <20230823124340.GA2022486-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20230823124340.GA2022486-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230824_114552_266988_ADCF52C4 X-CRM114-Status: GOOD ( 15.62 ) 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 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. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel