Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2032806imn; Mon, 1 Aug 2022 08:47:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR5g9mQsuLcjNmTQjcwH3a9UrE8Rk1Wutp2KNOfDv+pe1287ra6u1CLFnEGUG9ba0N/c6lV3 X-Received: by 2002:a63:8748:0:b0:41b:fa46:7118 with SMTP id i69-20020a638748000000b0041bfa467118mr5658849pge.281.1659368835637; Mon, 01 Aug 2022 08:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659368835; cv=none; d=google.com; s=arc-20160816; b=kNyr+vydGonLjnJXak4/knyp97EOhWrxwqzgJR3jAk0566RBRYN4pjDBGCX85K3AcL C/sQZUziztxnpOdUzKlTJU4xQ9uXpwDQ91+/WX8D0rwLY6HKTlA5Wex7GL+c1YJx8PUc /MFd8zD+U9ElRACriPFw14JXM3OPXEEswy5Gw7UhjxG1t5yYMrv9am7nWUq/LDsr0e4t akXBHYTC5SWMXWEOIRWVEyH9t8xMHZR19n2ybmQkdCVrk6bTGIm+VSAqQFUcvNVqG3Ly ogu30v9LKTy6Ws0MCiE5gB9MAdNwTV5D/ZnS1WzzVL9TF9yZqd9NETpPzb8ugPcESbyK USMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0zyZ2hFRDCL/PAB+77dCIxgz+ZJjPhAukCUQAK9K37I=; b=vuzPtyGccWuVcVMZXT4S7mky60m1mfbEtB3SQLEZIb2cEdLn20dOGj1fvkZg4A3vJ5 sk9wUILL+p6VLnDu7BrfJw3KB3+kSrrpyPxY5Hp5HZhJ9YzIDPUDCPS+hNEPpSul3gtC FzFe1W/NK1D8g4bRiiETsf2cbN7IcZlWBXxpWQt34nR/loEKN0DYXy6fuNvfz8L4JO5R 3vjQe8yxeCaXNnqA4k+tDaKuNS3KfzEy5hgRPO1us+2WlwNBXSdDgwFIpVsOsEStaCh3 SOcNaBz0RjFtRidlX8DDl7EfPT0n0cUeXs22kqHdZ9l4koj3IGhnvOURwbxhbN4FNw0g ACAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NmBGuOwD; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix14-20020a170902f80e00b00163fe7e3925si12346056plb.290.2022.08.01.08.47.00; Mon, 01 Aug 2022 08:47:15 -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; dkim=pass header.i=@linaro.org header.s=google header.b=NmBGuOwD; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232827AbiHAPpU (ORCPT + 99 others); Mon, 1 Aug 2022 11:45:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232594AbiHAPpR (ORCPT ); Mon, 1 Aug 2022 11:45:17 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE49455BD for ; Mon, 1 Aug 2022 08:45:14 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id v7so5110432ljh.5 for ; Mon, 01 Aug 2022 08:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=0zyZ2hFRDCL/PAB+77dCIxgz+ZJjPhAukCUQAK9K37I=; b=NmBGuOwDmFWyAOTwqfb7d0MouyyUkpKz34kkXOGcVYw0WRLvLsRd4fzADyU365P/wJ 4/kuB9jG8oBgZrBtB86EZlee2Yt8ZPCxja9c1dHOFQz2eCXJfGsfdSxHPW9jdazR1A99 25LR9NouXBhS9+9ZbzDYMr7QxJlW/U+E96aX0ihqOp32X0ZnbLjk5f8MoUrW/RhkyuqC HF+M5aB7NuAUv2biIB0egFdMSiT5o6au74UTgfRpQ02KgJmUlHYvIp+arg/VNkCjd/Oi 5woCRF4s/3oLhjdAdqLnJ+IRKxk1C2YZu1MVihCyHcCbBUIRxgiqNK5hZe+Bxt870hmG dhsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=0zyZ2hFRDCL/PAB+77dCIxgz+ZJjPhAukCUQAK9K37I=; b=VVvkyOoneZyQxVIKJjPeMeAC/xxAnoUUgHin7zwT5pPtP4D//qQvaHbU9Cd3xPmbJR gSmf+tGEba3A45nHVSdCAFmJiFVpzDwgA9d/ydCBDTUxmybkLgUS9+n8xe6iA3cbBBHk HZLsBKbdDwsr6GvahmmTgO9JmXk/SMY+MckW+u4NvrbDNFQDhhJEhesr+mI0MyVmRmaG sD5rj+ZxBEPZxch768zYm6DL3mq/ZEb9cZp3sOg6yWpvS+1JlveQQQeTB92karBBjQ2C 3tzd5pE58UraF7F2zspZkhtFI9pu10TQMENof+faZyiGJ+sPdkuBK/bfz2s+QvlS/WE3 Esaw== X-Gm-Message-State: AJIora9bEe31adxX8QT4XU+6NhKYEBvjmowW1hxXxWuInaVGp9HCFe9i 9maRDtMmwV+pgZW9ezhkzCNuAA== X-Received: by 2002:a2e:8247:0:b0:25d:b515:92e with SMTP id j7-20020a2e8247000000b0025db515092emr5248224ljh.527.1659368713339; Mon, 01 Aug 2022 08:45:13 -0700 (PDT) Received: from [192.168.1.6] ([213.161.169.44]) by smtp.gmail.com with ESMTPSA id g7-20020a056512118700b0047dace7c7e5sm1769765lfr.212.2022.08.01.08.45.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Aug 2022 08:45:12 -0700 (PDT) Message-ID: Date: Mon, 1 Aug 2022 17:45:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v2 00/10] dt-bindings: iio: use spi-peripheral-props.yaml Content-Language: en-US To: Lukas Wunner Cc: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Lucas Stankus , Puranjay Mohan , Cosmin Tanislav , Alexandru Tachici , Marcelo Schmitt , Marcus Folkesson , Kent Gustavsson , Tomislav Denis , Oleksij Rempel , kernel@pengutronix.de, Antoniu Miclaus , Ricardo Ribalda , Dragos Bogdan , Jean-Baptiste Maneyrol , Lorenzo Bianconi , Stefan Popa , Linus Walleij , Stephan Gerhold , Mike Looijmans , Joachim Eastwood , Tomas Melin , Sean Nyekjaer , Beniamin Bia , Patrick Vasseur , Charles-Antoine Couret , Vladimir Barinov , Miquel Raynal , Philippe Reynes , Jacopo Mondi , Akinobu Mita , Alexandru Lazar , Oskar Andero , =?UTF-8?Q?M=c3=a5rten_Lindahl?= , Bogdan Pricop , Angelo Compagnucci , Matt Ranostay , Dan Murphy , Gregory Clement , Phil Reid , Michael Welling , Robert Jones , Chris Coffey , Slawomir Stepien , Sankar Velliangiri , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org References: <20220727164646.387541-1-krzysztof.kozlowski@linaro.org> <20220730224643.GB11662@wunner.de> From: Krzysztof Kozlowski In-Reply-To: <20220730224643.GB11662@wunner.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 31/07/2022 00:46, Lukas Wunner wrote: > On Wed, Jul 27, 2022 at 06:46:36PM +0200, Krzysztof Kozlowski wrote: >> 78 files changed, 324 insertions(+), 249 deletions(-) > > Pardon me for being dense, but what is the benefit of this series > that justifies inflating the schema definitions by a total of 75 lines? The commits were explaining rationale, so let me bring it here. The benefits are: This allows using all properties typical for SPI-connected devices, even these which device bindings author did not tried yet. Also, what I did not mention in commit msg, this makes sure, that spi-xxx properties have a type, which is validated by spi-peripheral-props.yaml. Otherwise, when someone puts bogus data as spi-max-frequency (e.g. phandle) and checks only with that device schema, no errors are reported. Best regards, Krzysztof