Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp524031imn; Thu, 28 Jul 2022 07:54:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1swRzl5Czvd/BhOfAi4xasF8VpRiuvDVwsFwkFWIRkcsSCdDAK2oJLIaOLuieFmQVBSXgcl X-Received: by 2002:a17:902:a516:b0:16c:ef6f:fec7 with SMTP id s22-20020a170902a51600b0016cef6ffec7mr26309718plq.140.1659020049699; Thu, 28 Jul 2022 07:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659020049; cv=none; d=google.com; s=arc-20160816; b=s0zOkTezwUkPqfdtZxQSpbG3gWgEk41wTBVFnRkRhB3uVGrJEYnuo5zjbhnQcCCcP8 Oa7J4AKBKy6Jqu6Nv8XrjYmtLmowv40cFXn1D4Okv5qyBXadC9cE2RBbOrHiDWFSO+Ve RXdDCXXU9PR+f5uitZgzYvwBZUkTjAtB1sJHyASOVEqiMWaFkDvs2hfrTkWrom6HSCSn UKGgndjXSGLLhEwGbO/Iej8Z6lMvSfvHzct8IDaoOaNsIfJx3pxR7upWz0esp6Y002Zp AJw6q9T/ESI3fV3QOUr8SL+UG0Rz0pu4/pSqkhQRVRye42ioDPqw220Hs/jI5niK1B75 Ny6Q== 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; bh=iwebLM2APk+bya6MtVEw287XqHrpuCM+W973YlSFmxM=; b=aBEx+XVcerukhAuS2z3mRxWd//4jyJHsZ/BFL3D5tvoOa0py0W8cV74lOT3H3OvosZ BhEUOe3Cn0b58VYtemJiaFWH9nR8++C2MRHBZxcfTi15uHaEJj+adl12FQsHtNl9Vmb9 uLL93ip6yZGqJ52PRCBM5BChs/QJPfvXtkS7BIrB+8biMJabU/2aAa1u2skUuRcUh0y1 5FBhX0kHPklQ/Y2vK5juSTMGE+oMFCsj3dP21ReU1u47VTOt6oNhfp74U0sVztHW72Vg 8gRlFzaRzHah3lBtfrzFYfKnmcc8Oz7ptcllfr03w7DxeQ9+yjtuD/q88B/NDAAjx2mR iroA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m1-20020a056a00080100b0051c2624807csi990085pfk.67.2022.07.28.07.53.52; Thu, 28 Jul 2022 07:54:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229522AbiG1Nmc (ORCPT + 99 others); Thu, 28 Jul 2022 09:42:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbiG1Nm2 (ORCPT ); Thu, 28 Jul 2022 09:42:28 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E03F661B13; Thu, 28 Jul 2022 06:42:26 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 264B2106F; Thu, 28 Jul 2022 06:42:27 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8D05E3F70D; Thu, 28 Jul 2022 06:42:24 -0700 (PDT) Date: Thu, 28 Jul 2022 14:42:22 +0100 From: Sudeep Holla To: Maximilian Luz Cc: Andy Gross , Bjorn Andersson , Ard Biesheuvel , Konrad Dybcio , Sudeep Holla , Rob Herring , Krzysztof Kozlowski , Steev Klimaszewski , Shawn Guo , Cristian Marussi , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, linux-efi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] dt-bindings: firmware: Add Qualcomm UEFI Secure Application client Message-ID: <20220728134222.hs2v75zkxgtcctrx@bogus> References: <20220723224949.1089973-1-luzmaximilian@gmail.com> <20220723224949.1089973-5-luzmaximilian@gmail.com> <20220726143005.wt4be7yo7sbd3xut@bogus> <829c8fee-cae5-597d-933d-784b4b57bd73@gmail.com> <20220726154138.74avqs6iqlzqpzjk@bogus> <20220728082330.w4ppmzvjaeywsglu@bogus> <4e777590-616a-558a-031e-3ef1f1e492b4@gmail.com> <20220728112150.hs5el6wufljeoqyy@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 28, 2022 at 01:45:57PM +0200, Maximilian Luz wrote: > > Would something like this work for you: Add a compatible for the TrEE > interface (e.g. qcom,sc8180x-tee) but not for the specific apps running IIUC, you would introduce a compatible for each unique production if there is a need. This constitutes as a strong need for that, but you need just that, no need to have any notion or info to indicate TrEE/TEE as you know this product runs those in TEE. In short, just use the platform specific(not SoC or SoC family) specific compatible to initialise your driver and don't introduce any specific compatible for this particular firmware interface need. -- Regards, Sudeep