Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3432993pxf; Mon, 22 Mar 2021 06:25:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvzXcZ2Pljj8i5ezqCM5g0Qq1Kg5Fp6ugYY2FkHwtn/TBqPmWQfZo7aJ1JrHK8NvtNY7bf X-Received: by 2002:aa7:d792:: with SMTP id s18mr25434053edq.176.1616419550922; Mon, 22 Mar 2021 06:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616419550; cv=none; d=google.com; s=arc-20160816; b=hYhbug+gOjsOwt59U9TXip99uKsWFvJTbbFk8zboOEwnGhOFgJokApYtCeWiudxI5o /0QnQQQRD++cv37fKTJSPZdCX1sRUT6/EwX9i7B90H/2W1OyUtQYf/yA30ZWnjow6EWg dxoB+fY0iWnB46bPYYWW8BRCoe7C4Jnr7vs8LxuSuknh5U/gd/IZvmTUwuntGtLBak7v YHyXtCqqpGCGBYX9AVIDgRlVVWhpgb35dYPJdNA6F1MBzTyo8nZiFbqNreBQ1swPa5V/ jZm7iyHuX+uzaBd5jT+RucImwps7Mxp3Bkz0u976igWYlx3nEu1BgEtEljBDlYezAMoK W2Ew== 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=26DPjYQQRL+10iBnOu2PfjSw1h9HtqmQpGx0mKS6rfc=; b=dDC78r4IjpHjGQ6fYPnU7y+INzrn30M7DCRzM7k9mcpYayaLigYSP7FUwLlNXua4zN Kcc8EbXb5Vc52ow/BPUjr1OBf27rHkjttinEeN2W1nEi2hTsUYn/O5Hat9kIKDUO1oHg MUpGBvvCUA2i39fP2qFYrqqfkhJv23OQt9yapSMwkGasEhv99p3khn476O2cG7dqj5r4 OsIGvb8Cc42lkiyDQkXNkxwLQMbvOXywMieHwJrdxT4kFFvec6BrA3HijM0NNcHtCNHw 7IwNPNj99POk7vTt7CqXBDilqiryq/C+Q6B7o+pH8z8ZHeLbS3oGPyUq/ukmTli8kuKv Fx2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=X1qtgf3E; 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 dx21si11538263ejb.567.2021.03.22.06.25.28; Mon, 22 Mar 2021 06:25:50 -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=X1qtgf3E; 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 S231783AbhCVNYV (ORCPT + 99 others); Mon, 22 Mar 2021 09:24:21 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:45812 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233240AbhCVNWi (ORCPT ); Mon, 22 Mar 2021 09:22:38 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12MDKScU111557; Mon, 22 Mar 2021 08:20:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1616419228; bh=26DPjYQQRL+10iBnOu2PfjSw1h9HtqmQpGx0mKS6rfc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=X1qtgf3E6OtWvC74sm9vBiyMIKB8KkHDLR26uraWd4kzAJg4cX+yZ58v2jnguNrQF SE8MJz+4mLoiflb4ve9bUdtgY4xu4lsc4vh42a27i0U2VAddUv383tdkDGp4vMzgjK gD0xXheAIufthqa7WfJqm6HvrJfXc1EGE9JUM72Y= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12MDKRVA120742 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 Mar 2021 08:20:27 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 22 Mar 2021 08:20:08 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) 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; Mon, 22 Mar 2021 08:20:08 -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 12MDK7dk112900; Mon, 22 Mar 2021 08:20:08 -0500 Date: Mon, 22 Mar 2021 18:50:06 +0530 From: Pratyush Yadav To: Kuldeep Singh CC: , , , Mark Brown , Rob Herring , Vladimir Oltean , Subject: Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema Message-ID: <20210322132004.n4r2thznsm7poq74@ti.com> References: <20210315121518.3710171-1-kuldeep.singh@nxp.com> <20210315183051.ugvmz4zqrvuo6iqq@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210315183051.ugvmz4zqrvuo6iqq@ti.com> 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 16/03/21 12:00AM, Pratyush Yadav wrote: > +Cc mtd list > > Hi, > > On 15/03/21 05:45PM, Kuldeep Singh wrote: > > Convert the Freescale DSPI binding to DT schema format using json-schema. > > > > Signed-off-by: Kuldeep Singh > > --- > > Hi Rob, > > This patch is checked with following commands with no warnings observed. > > make distclean; make allmodconfig; > > make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/spi/fsl,spi-fsl-dspi.yaml; > > make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/spi/fsl,spi-fsl-dspi.yaml > > When I add the "fsl,spi-cs-sck-delay" property under the flash@0 node in > the example and run dt_binding_check, I see the below error: > > /home/pratyush/src/linux/Documentation/devicetree/bindings/spi/fsl,spi-fsl-dspi.example.dt.yaml: flash@0: 'fsl,spi-cs-sck-delay' does not match any of the regexes: '^partition@', 'pinctrl-[0-9]+' > From schema: /home/pratyush/src/lin/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml > > I am trying to solve a similar problem for the Cadence QSPI controller > binding and I wonder what the best solution for this is. The obvious one > would be to add these properties to jedec,spi-nor.yaml. I haven't > managed to come up with any other solution to this problem. > > Rob, all, any suggestions on how to best model this? Ping. Any ideas? -- Regards, Pratyush Yadav Texas Instruments Inc.