Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3399858rdb; Sun, 10 Dec 2023 04:26:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOIxD5GMSHvdC0wkK3XF2km79zCmtaqqA6DlAEMI0YOS4n9nkMwotPyFgwgYp4xoea94Ru X-Received: by 2002:a05:6870:3325:b0:1fb:75b:2fc6 with SMTP id x37-20020a056870332500b001fb075b2fc6mr3610149oae.93.1702211203416; Sun, 10 Dec 2023 04:26:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702211203; cv=none; d=google.com; s=arc-20160816; b=v9XntxPihB8vQ73mx9WVPgwv2QG2coisLlot6/n6a7VvUIugBntsT69jQyq+84krSB iWtMPJD5611XDIYVYxxuPXUu2AvK5CLaV86ONIAPioV88ehBkBaZ9Ft8Dxbye6/vVpw9 6c6s5lEqQjzxC0zwsNwYJX7x/co/2C9edTejW8mWqKkyvjG6oxIONM3821ii+WXWNclB uKLfixFfFyOiJlfUt1qwK229XUC9CvZvRtrd7gg2aMY/fVMS9psOXZ71YmACs4pFaQRe kwZeJD2EY2zyTHpyOjQ/5wd7ecaaKuzNqrDpWE+l5UgFjbTJStUt0FDntMgBtm9nnJs9 1WCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=vjxxTdBZx/UKuOtUEghRBYWZ8vQHHUmdtJI//Sa5cmY=; fh=DC8W0B987TODShnRyNZhJkbX022i4yv9J/qZb9bCKgA=; b=YIvxETeaxwXQU9wYHV00WkRDFun3otn2tku3fNllgHQP7aUU0ZdqsPjkjbMq05mxgG y11Xsnbnl5hB33AeYV3P7+ldSlPAXbyw8K68w9uo4d1WsaWac90+DGv85vWL3YYJUwFE AncnfYeYdCZ2a5XNwhlzFBHPy3IFMY+UDw20Mop04nG1H/VsXzeTXVRyH8+6fgxlxF7w kvQRM4YJqVWiNVbRNRpT/h8qZT/+g9808Ao+hvDT3B0z3Rk+dM60W6IxiytLLhfnK24X ki6oA7w2GqB3z7nccuKRAJuRZ448+2EYeQqHIy7ka5fAFcI5N4DsQPsYGaX5yh0uUnJt 1mjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k8nHEPhk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id s63-20020a632c42000000b005c6eb3502bcsi4310195pgs.408.2023.12.10.04.26.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 04:26:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k8nHEPhk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 20204806BC0B; Sun, 10 Dec 2023 04:26:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231778AbjLJM01 (ORCPT + 99 others); Sun, 10 Dec 2023 07:26:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjLJM01 (ORCPT ); Sun, 10 Dec 2023 07:26:27 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7976DFF for ; Sun, 10 Dec 2023 04:26:33 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADBA2C433C8; Sun, 10 Dec 2023 12:26:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702211193; bh=BAEGOiXxGiji7Yqd9F2gFQ5MrzDwy3Usblm+rgqjv30=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=k8nHEPhk3gGqCwrGy4zVJCHVGZVUJrtXP12s0QnFTgo441rpwwHWu7J9cxQLgm5fo 25VuSnGBiBJPU/MC05j/IZpl0rO/tR7SYUFZBgVxsAv3sya85ig2aBXxbNxPcY43ft G8Lv8mGh6l5JI7ueaFM/Nwnwe1HTUhhtmZ7wjVyfhq8yBDgCynbpnE6SMlIwQiJL2M Ib0TpHBM+ZruKCqrg3mjJ5SP+TKiOeP7BQnGaK9lvBfOcKjpsiwdVEn8A9hA7ZpCDH 1lgsF7gI/X/u8sHES276XDhc3iPgNsZC3lHc9dlKOgYaOJzbeoVCQ4xSiJ1ymaqS8c OjkvVIXTUqI0g== Date: Sun, 10 Dec 2023 12:26:24 +0000 From: Jonathan Cameron To: Marcelo Schmitt Cc: David Lechner , Marcelo Schmitt , apw@canonical.com, joe@perches.com, dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com, paul.cercueil@analog.com, Michael.Hennerich@analog.com, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dan.carpenter@linaro.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 10/13] dt-bindings: iio: Add AD7091R-8 Message-ID: <20231210122624.6a58b8c4@jic23-huawei> In-Reply-To: References: <53d55f3195b15bd8d47387e296036730ea270770.1701971344.git.marcelo.schmitt1@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 10 Dec 2023 04:26:41 -0800 (PST) On Fri, 8 Dec 2023 10:28:25 -0300 > > > + > > > + required: > > > + - reg > > > > Missing `unevaluatedProperties: false` for channels? > > > > Bigger picture: since no other properties besides `reg` are included > > here, do we actually need channel nodes? > > > > The channel nodes are not used by the drivers so we can remove them if we want. > I thought they would be required as documentation even if they were not used > in drivers. > Looks like they're not required so will remove them in v4. A lot of drivers assume that if you paid for a device with N channels you probably want N channels. Of course there are always boards that wire a subset but it's optional whether a driver cares about that. We have drivers where not channel nodes being supplied means they are all on so this is extensible if we later decide that fine grained information about what is routed where is needed or need to add per channel controls. So fine to drop this. Jonathan