Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp514881pxy; Thu, 22 Apr 2021 07:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2MNAu7PkvbbwpwNaFqbfzMjvIbEV7070yjm7nwpV75VzNHjlqY3Jnr2LxHt7Efh9/OYT3 X-Received: by 2002:a65:5203:: with SMTP id o3mr3745593pgp.305.1619101267772; Thu, 22 Apr 2021 07:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619101267; cv=none; d=google.com; s=arc-20160816; b=ssPwN+4KXmybIHrlmxtbbl+OtR6IgHAEzofc7wrxhCVI+Skyokhrwd/r/uEdkBo2QQ sXwJPFmR/ARqVVkrsaGTXtoOHmLRAKTdPMlvVPa2c+kLsCnOdPogNzEr901oDeFgFyQB de316j5opglIXaf2+T+eZpE0dIPa2d6qDRT4XIYhPYaH7u3QRHGfZfpFBDMZT81jf7AK gGEQTnp2LJ8rhYte1bLhfaAZpXkU06qNu3/wSd+qJ8v/lsZ7+JDdX1ZkrfTaIgdp0ZP9 HT0ODUqC7lpbILDhxW/iTtLWwSWUqpdUu0TVJDdQ2DaXUN8wo6Lx3vo+V3fvd9a22sPK Wing== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=eLCNEeT9z0g1L4VWRS3pYMec87wOC2TuVWX5CHcWjjc=; b=UkvHE3wjIDQ3MKTVhENn0J3THMHrBFfj/pefdjamFXOyPvtGnAPhhSkaAOZiQ6mOKe AuzOtVLIYQPjiZ1xyeDJ715oLUtV/Y24cqQV0NYMk4LZZHeFEOnbZx+a3KGq57Ot/h8X o0+heWo+t6KBlqYd4X3kfKVbUv3wFV9AiVJa4euOhOXR1kd37mBgdUwiVNgNENQ8Kx8S GzumFkQL68bGEFqh+PaBuz/U5i54KWgztEJ2gSw1lTanrO7DZ1l3QLVASRABPXctQz9/ KHFWjtlZCealeJ6iKBH8KDV+bhbWBZJMJctJpZW86XiOdjLEonWa+AJnUiqw0rqn92VT K44w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JX2Qi2RV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b2si3309907plh.76.2021.04.22.07.20.54; Thu, 22 Apr 2021 07:21:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JX2Qi2RV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236780AbhDVOUx (ORCPT + 99 others); Thu, 22 Apr 2021 10:20:53 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:58106 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236496AbhDVOUw (ORCPT ); Thu, 22 Apr 2021 10:20:52 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 13MEKClj074412; Thu, 22 Apr 2021 09:20:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1619101212; bh=eLCNEeT9z0g1L4VWRS3pYMec87wOC2TuVWX5CHcWjjc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=JX2Qi2RVy+cgLm4xZG0ELG0EljMsR2mUXfYv3oa+z9aF47wFE+SjUecuwFEDCfDjs dNO0AKFSR98+cG6xBzfyj7/P9Hqx9TLyBW/4dyc+pC+xazht9tuLnGETnlgs0+f3hC Uq6Yj9jzR0cLlz5qf1PW6nAiSFl7DCv5dX9Z7Tek= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 13MEKCYg067110 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 22 Apr 2021 09:20:12 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 22 Apr 2021 09:20:12 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Thu, 22 Apr 2021 09:20:12 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 13MEKCNu104239; Thu, 22 Apr 2021 09:20:12 -0500 Date: Thu, 22 Apr 2021 09:20:12 -0500 From: Nishanth Menon To: Rob Herring CC: Jens Wiklander , , , Subject: Re: [PATCH] dt-bindings: arm: firmware: Convert linaro,optee-tz to json schema Message-ID: <20210422142012.lcjiy2gaoqllzlna@nervy> References: <20210416222518.15801-1-nm@ti.com> <20210421225212.GB1750844@robh.at.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210421225212.GB1750844@robh.at.kernel.org> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17:52-20210421, Rob Herring wrote: > On Fri, Apr 16, 2021 at 05:25:18PM -0500, Nishanth Menon wrote: > > Convert linaro,optee-tz to json schema format for better documentation > > and error checks. > > > > NOTE: > > 1. This change does introduce a stricter naming convention for > > optee nodes. > > 2. We do have false positive checkpatch warning with this patch: > > "DT binding docs and includes should be a separate patch" > > Not really something that needs to be in the commit msg. I'm aware of > the issue, just haven't gotten around to fixing it. sure, thanks.. In this patch and my previous patches as well, I will move them all to diffstat comment. > > +properties: > > + $nodename: > > + const: 'optee' > > Don't need quotes. aarrgh.. yes, ofcourse. > > > + > > + compatible: > > + const: linaro,optee-tz > > + > > + method: > > + description: The method of calling the OP-TEE Trusted OS. > > + oneOf: > > + - description: | > > + SMC #0, with the register assignments specified > > + in drivers/tee/optee/optee_smc.h > > + items: > > + - const: smc > > + - description: | > > + HVC #0, with the register assignments specified > > + in drivers/tee/optee/optee_smc.h > > + items: > > + - const: hvc > > Please just do 'enum: [ smc, hvc ]' and rework to a single description. Sure, will do. thanks for the comments. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D)/Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D