From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 561C2C00144 for ; Mon, 1 Aug 2022 15:45:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232875AbiHAPpW (ORCPT ); Mon, 1 Aug 2022 11:45:22 -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-Google-Smtp-Source: AGRyM1tioJLRexsAbEzPR5s9tl1SAoqjdAsmrvPwSvCHuyovgYJvBqfWj3511GuPNaK88Y3DupzQPQ== 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 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