Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1256299ioo; Fri, 27 May 2022 05:08:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrfii/LCX9I6TCabvK/w5KpJ34IzwffOZ8Py6CcZVMF5MwcrpjraSC1yBjsOqwx8Z2GlOX X-Received: by 2002:a05:6402:27cc:b0:42a:64da:64c8 with SMTP id c12-20020a05640227cc00b0042a64da64c8mr31972164ede.196.1653653284802; Fri, 27 May 2022 05:08:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653653284; cv=none; d=google.com; s=arc-20160816; b=ip77S87HSBS2slFepYBKkcqMJtz5rgU2L98RmvbqTQNPXX0QnIy1BlHSd6gJrhCifq 5aJMrmK5GI6W11MwXIT+A14TU7Hn9T/WvgHHqlpi6TEd8lWniQ7a6/6ZVDuYixKhCGQU h4lQthPWC6V3g09UBgMJ3+3OlIuB9IA7YCfHqx3FARFREpKJvD/1RRKPsvLyGrleuYHR Y4rs1VKx4WtX4mpaBNyKrqEefphpdlji9TLag2tlDRMyJo28LIoY5ajYXbc8TpNVrleS H6pzJudz6a/C4EC6BuCnR8G+s2T2GBg3ipUZIthFD+OStnzuiYdrhnf21IM/NtMaKsCi qIug== 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=tWtkq+ZgB9S1oTbgzHdEwf/ab9DFJtwyJBbeHOUfdrU=; b=jxqkneEAN/+AZPg/q7nnjTTwCyf7l5ynbzA15vRC39SDBu4Enf4cxeORnF4oZ8PXYH oTo4vwcNJ2C61o2c4Cm1Xdr7Qy5D6AB7TcZh6XocFQvIE02JQMiugJ+t4ZnZa0F7z/pf pfxOy2rVLbcJ53uuRQxzJoMALgDe6SK/7A1REMlx+uWGj0RhOMXN/FD2vf5RFhHHOmAW OxCeXvGguz1J+r+mFZl6D7ovMjAH9VHP/x5+695+FNucdjD3iD14v/lby+45uN9rmQLg GWqyg99EU2YSOtfdaO/vErQ3qEixPxcLzias+aC+xPg5FlV+XWdZ7EzyxseR7c9HljHd AGxg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qc12-20020a170906d8ac00b006f42f3c3042si1142709ejb.905.2022.05.27.05.07.36; Fri, 27 May 2022 05:08:04 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346282AbiEZNyJ (ORCPT + 99 others); Thu, 26 May 2022 09:54:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237784AbiEZNyH (ORCPT ); Thu, 26 May 2022 09:54:07 -0400 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10A2150E00; Thu, 26 May 2022 06:54:07 -0700 (PDT) Received: by mail-ot1-f50.google.com with SMTP id t14-20020a9d66ce000000b0060af9ed4b87so997771otm.9; Thu, 26 May 2022 06:54:07 -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=tWtkq+ZgB9S1oTbgzHdEwf/ab9DFJtwyJBbeHOUfdrU=; b=5+ocknvTOtzVIYPBjlC6i8+Pkej96bVA/TOTRGdeRmwM5M8JCxEkxqyzgzyUMNlWgy UoWNOfYkQnMNWIsFPbRU5Vvsnc4nTWrUX9TxKQvmYya7D0Fe92QbVwufkGxpxTJC4ujT UMumRj+p7XE3f9nVyBM5mWBiXv2wvFIxoJD3q1Ln0n/2NOwD/VkcuoOAyJHKaTvapKvn K+Q6fL0fPMLhJjH7tdzIVt6QUAObWS0E/+iHt6I/jujNFRZpZXmpqbOOIgUn9lQ29zEW LhHRSHO1rjFDRs22TBf6Ssm1MBHGUlTK5fXfUXsvulwJA82RG4pQhxX2ZpmPpE4Mm/iO 5BGg== X-Gm-Message-State: AOAM531N7F4KIAvAJUNMjehWWzMbCqJ3+oxBi+sNrx9KADD6EShYpBNn 0LHIsJ2VA0UHWU4eAKjOBg== X-Received: by 2002:a05:6830:44a4:b0:60b:39e7:ab22 with SMTP id r36-20020a05683044a400b0060b39e7ab22mr2274296otv.148.1653573246266; Thu, 26 May 2022 06:54:06 -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 g7-20020a9d6a07000000b0060603221279sm591495otn.73.2022.05.26.06.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 06:54:05 -0700 (PDT) Received: (nullmailer pid 3906910 invoked by uid 1000); Thu, 26 May 2022 13:54:04 -0000 Date: Thu, 26 May 2022 08:54:04 -0500 From: Rob Herring To: Pratyush Yadav Cc: Serge Semin , 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: <20220526135404.GA3831942-robh@kernel.org> References: <20220525210053.2488756-1-robh@kernel.org> <20220526054642.zw44mgw2bd2u5v76@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220526054642.zw44mgw2bd2u5v76@ti.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,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 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. Too many common properties is not a problem we have. Too many custom properties doing the same thing is the problem. Rob