Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp723477pxb; Fri, 15 Apr 2022 09:42:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOUDD1OTg/AbfPqa1/N+uR/UXrB9KZgOwCY6d/pOl0Vx/+o3Z2bbt0B6DfiG0CworymMdq X-Received: by 2002:a05:6402:2689:b0:422:15c4:e17e with SMTP id w9-20020a056402268900b0042215c4e17emr95655edd.33.1650040937381; Fri, 15 Apr 2022 09:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650040937; cv=none; d=google.com; s=arc-20160816; b=VSIBzF/zPXwXfrAaeDSG/Dl74z/h13BAneKaWLelMA3idQyUfiWdgI61GkMBQIN0IP hUjbIHRsz5D4pfFIe0XhQLFIivkf67u3vGmMFCifyEl91WSgTZtNYRj/dpGZjEEUpuvn WHyrLBqqZ+s0885BH1KtWBMrJ0pBiqHoomX9jmyCSjNKPBaEnMOKxGo/l2790Bx0PiS1 LUPA+9gYvX8alXzvoiPSQiJr2hOypPcjFtXiXS9ajnYKhltPU0EChmBYVVxnCcq9V9Ks aKud+//JVeKIJ75lNnUxoQJ1VJddJ7vfXO25hgKDrWxZsLrzolQRD5tN9gB0602FZ4Nv VoeA== 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=sTjycxzZ7F3dCMSb/aO9ZF1TYGmB9SbVtqQIGpu1O+I=; b=TJbangpM3re9YmG8rNTPoqplBAYcpbzR1HQeamuB0MNIf9s/7RiqMPi4/4+/RgS/LO /3HeVZVtOu8FtGZpcl9CsGqmOHYXqnf/a1g9zW03uXK8axpMfkR07UoIZxXBdAgowIoe nl2SM7dNAjxWoZgDAbe5lyYdf/1lwvP0I096+Hm6EkVinv4oiEpCoWv8eoUVAI6awASP +9ZEMk+vu06DdX+A8JWr0RQNIIi/IA2xjIPP2dfq2BFCEKQx6az3frg3ZT11lsRMEYT4 ABOGyatWTxF06IEtpGTdSuaFVkdgTKBdGAqMix5FbEgLbdtYrZ9LhR0kSyfoa+WbmApf 0NCQ== 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 j20-20020aa7c354000000b0041d9a12d675si1243436edr.138.2022.04.15.09.41.51; Fri, 15 Apr 2022 09:42:17 -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 S1345803AbiDNTnO (ORCPT + 99 others); Thu, 14 Apr 2022 15:43:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345719AbiDNTnB (ORCPT ); Thu, 14 Apr 2022 15:43:01 -0400 Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC00549FBD; Thu, 14 Apr 2022 12:40:34 -0700 (PDT) Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-d6e29fb3d7so6278304fac.7; Thu, 14 Apr 2022 12:40:34 -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=sTjycxzZ7F3dCMSb/aO9ZF1TYGmB9SbVtqQIGpu1O+I=; b=bSyw+jcovvIvJVR8k0GeVz668v2UTDf3H5QBgq5+yr5nC+xSeiSPcZRinVQ2yIufJU mzoeiVpSkCu+u1kbGxUcsxmklI8JayjwW7pXYBgi6/Yog2Lbm02J5X2BS35c+Y29iUEu hkCiJsqLs0Ei4xDGw2e6xFLa4dGK5+Ron0ycpAsLWlH3OTH+7C4+VzwSmRsUuQhpKvLU higIF45djJMlpYFq6ITCPkRabc0ylMuMmJUeG7MYILz3Lo0AY42l7nj93m0tP54f1DCW lyykKnhfkHrlPCrKhz3cand1rlduRnUj+bTdf4BGrZGYK7ERLU0MPzVZrWZUTG/nWcwG AxuA== X-Gm-Message-State: AOAM533Ya7PBWCiviJmNiHuxS0hX+dmGIBd3M6gea17wsZB5xw+YlkY3 gz5xsM42sGwJAa9L6vBxFg== X-Received: by 2002:a05:6870:2216:b0:e2:9dea:4611 with SMTP id i22-20020a056870221600b000e29dea4611mr79826oaf.122.1649965234241; Thu, 14 Apr 2022 12:40:34 -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 p22-20020a056870831600b000ccfbea4f23sm1095357oae.33.2022.04.14.12.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 12:40:34 -0700 (PDT) Received: (nullmailer pid 2513925 invoked by uid 1000); Thu, 14 Apr 2022 19:40:33 -0000 Date: Thu, 14 Apr 2022 14:40:33 -0500 From: Rob Herring To: Vincent Whitchurch Cc: "wsa@kernel.org" , kernel , "linux-i2c@vger.kernel.org" , "devicetree@vger.kernel.org" , "krzk+dt@kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 1/2] dt-bindings: i2c: add property to avoid device detection Message-ID: References: <20220412085046.1110127-1-vincent.whitchurch@axis.com> <20220412085046.1110127-2-vincent.whitchurch@axis.com> <20220414085539.GA7392@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220414085539.GA7392@axis.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, Apr 14, 2022 at 10:55:40AM +0200, Vincent Whitchurch wrote: > On Tue, Apr 12, 2022 at 11:22:41PM +0200, Rob Herring wrote: > > On Tue, Apr 12, 2022 at 10:50:45AM +0200, Vincent Whitchurch wrote: > > > diff --git a/Documentation/devicetree/bindings/i2c/i2c.txt b/Documentation/devicetree/bindings/i2c/i2c.txt > > > index fc3dd7ec0445..960d1d5c9362 100644 > > > --- a/Documentation/devicetree/bindings/i2c/i2c.txt > > > +++ b/Documentation/devicetree/bindings/i2c/i2c.txt > > > @@ -72,6 +72,10 @@ wants to support one of the below features, it should adapt these bindings. > > > this information to adapt power management to keep the arbitration awake > > > all the time, for example. Can not be combined with 'single-master'. > > > > > > +- no-detect > > > + states that no other devices are present on this bus other than the > > > + ones listed in the devicetree. > > > > This belongs in the schema instead: > > > > https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/i2c/i2c-controller.yaml > > OK, thank you, I've sent a PR[0] now, but I must admit I don't quite > understand how this property differs from the other ones in this file > which aren't documented there. Thanks. The issue in general is we need permission to relicense anything in the kernel tree to move it. In some cases, the schema is written, but the descriptions have not been moved (as that's the part needing to be copied. If we missed properties, I'm not sure what happened but they should be in the schema too. Maybe they were added around the same time the schema got written. Rob