Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5779559ioo; Wed, 1 Jun 2022 12:25:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPPZ6aszkb8qarnFX+BJvoWBGpPy1khr32hPTyX7ZlDHKRzXQsOxe3g4i2dwinp5WNQ3YN X-Received: by 2002:a63:82c8:0:b0:3fc:b8ab:8746 with SMTP id w191-20020a6382c8000000b003fcb8ab8746mr819114pgd.66.1654111523778; Wed, 01 Jun 2022 12:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654111523; cv=none; d=google.com; s=arc-20160816; b=YPuy9cL/QI5I55q9usGFTK1GFpwzbRT4oEnxH180nGGetMtBSAOCdwB88u/MX12qEx siDrIxgtTlf1GMD2JWcFMQDUZZgVcCwLTQtZmndZpxxr7c5YQ7lX9pUP2inqIMhKbpAd RhbvsOTUNrHQN2W/aMGyRCmTLBcRiH8HpZAq4Le4dL71DQPWtanD8dNi54PB60CcPV+R 4UYE1OFlyZNbnI2bEu7NBlo8dLr7QlnKZuQsaftPr5SnjM9ImWIc/zbDt3W8k1eVPuW8 8Qb2Ig25NDi6I6fsaDs6JgMjJ9v4VCCn5lCClWmjoRfXQQZfS1s4Mpne0NqyVmQRL7Uc CBQg== 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=RBXm9/Esfsyjt1r/aC8kkjNZpxuz6CMibBZbCrct5sU=; b=NRmH41rzvRwj+qR4dd3244kHE4NTVY/6Ngl9uJrKbSEqQQYCM4o8zjN7y4lgn0Lxcd O467wAafg0WPE3TevgCC0lWkVzp0fEJFbQgW54S8odXP0KFao5JiHxiOPD46TkgZmFVT dfj85RW0iO/2K4CKueWbnLWjdosnjb8rtI5D5ulItUYPV48FaVCH6e3BTCWz3dfFSq6a 7iUF4+Q7F1HNDTp+1XEoWq+c+oC120fQXqa2FDI0MVDTD9z1vfd2UsLhsmOGlIcz9yTF mESBmOuPwlMuxuTBXGoLHdrFLjdkvNvJZKB8xdECennPuazFiEfurkBTqyCjqUG7fXGC Buxw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k9-20020a170902694900b001588973b195si3090576plt.436.2022.06.01.12.25.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:25:23 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7AA5DC6E5C; Wed, 1 Jun 2022 11:58:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345522AbiEaPKf (ORCPT + 99 others); Tue, 31 May 2022 11:10:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbiEaPKe (ORCPT ); Tue, 31 May 2022 11:10:34 -0400 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0837A554AB; Tue, 31 May 2022 08:10:32 -0700 (PDT) Received: by mail-oi1-f181.google.com with SMTP id r65so12693860oia.9; Tue, 31 May 2022 08:10:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RBXm9/Esfsyjt1r/aC8kkjNZpxuz6CMibBZbCrct5sU=; b=fg8/p6zXxw6/SKsaovjlb0ENruHxX7IGCJ0/xRjlU+lDf4afG4PYZF9O2WgeRKRUnB 5Kch9S/8UGK4SEBmR4kEYCDKh3j0StvY/xmf+LTPx/voyeDkIkgw3NskKB9i0hc+5B9p HkVsuSjEHJY9nZNQt24bZG05MADitnYdsPDhqsWQ7hhQBsDOBzgJNO0edBLUe2sB93Ha I4SvaeTAvCEF/DzV0/0IML5dR8bOVlETpt90LDaJOFCtupAQzl2+ZlhcwZzEqorntyk3 LvJCgAgkh74NV4Olg2JyCjgf+cR4jcHD2UYCBvk3b5do/F1HEfW6Lce2UZhR2CiX41pe GZTw== X-Gm-Message-State: AOAM531MHpnIkoiLg3mORBK/tsAOMSFCougQd5Gj8tOYJyVUMQAgA2Sz 5jYkolM6akkrGhrCduwkVQ== X-Received: by 2002:a05:6808:2005:b0:32b:23a1:e6fd with SMTP id q5-20020a056808200500b0032b23a1e6fdmr12605499oiw.59.1654009831912; Tue, 31 May 2022 08:10:31 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id r13-20020a056830080d00b0060603221245sm6410657ots.21.2022.05.31.08.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 May 2022 08:10:31 -0700 (PDT) Received: (nullmailer pid 1770063 invoked by uid 1000); Tue, 31 May 2022 15:10:30 -0000 Date: Tue, 31 May 2022 10:10:30 -0500 From: Rob Herring To: Serge Semin Cc: Serge Semin , Pratyush Yadav , Mark Brown , Krzysztof Kozlowski , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] spi: dt-bindings: Move 'rx-sample-delay-ns' to spi-peripheral-props.yaml Message-ID: <20220531151030.GC1742958-robh@kernel.org> References: <20220525210053.2488756-1-robh@kernel.org> <20220526054642.zw44mgw2bd2u5v76@ti.com> <20220526135404.GA3831942-robh@kernel.org> <20220527113226.x62neigmrnljxtph@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220527113226.x62neigmrnljxtph@mobilestation> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, May 27, 2022 at 02:32:26PM +0300, Serge Semin wrote: > On Thu, May 26, 2022 at 08:54:04AM -0500, Rob Herring wrote: > > On Thu, May 26, 2022 at 11:16:42AM +0530, Pratyush Yadav wrote: > > > Hi Rob, > > > > > > On 25/05/22 04:00PM, Rob Herring wrote: > > > > SPI bus per device properties must be defined in spi-peripheral-props.yaml > > > > for unevaluatedProperties checks to work correctly on device nodes. > > > > > > > > This has the side effect of promoting 'rx-sample-delay-ns' to be a > > > > common property, but functionally it's no different if it was defined in > > > > a Synopsys specific schema file. > > > > > > Functionally it is no different, but does this property make sense for > > > other controllers? If not then I don't see why we should pollute the > > > common list with controller-specific ones. For one, this now no longer > > > makes it obvious that this property should only be used with the > > > Synopsys controller. And if you keep making small exceptions for other > > > controllers too, soon the common list will be full of controller > > > properties and it will be a mess finding out what belongs to who. > > > > > There's at least one other case already: > > > > cdns,read-delay: > > $ref: /schemas/types.yaml#/definitions/uint32 > > description: > > Delay for read capture logic, in clock cycles. > > What about creating the schemas hierarchy for the device-specific > properties as I already suggested in the other thread? Like this: > > https://lore.kernel.org/linux-ide/20220527101057.b5z7ase6y4naoxvk@mobilestation Because that doesn't work. I'll explain in that thread. Rob