Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2405921imn; Tue, 2 Aug 2022 01:16:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR74n/RZHGkFIhvdhHnzjbScLbrNj6xtNPsdGsO+Hekq0aVGMpqMe2uOYwAbBq1/gKIf6KSU X-Received: by 2002:a17:906:84f0:b0:730:a314:15ab with SMTP id zp16-20020a17090684f000b00730a31415abmr870600ejb.662.1659428201223; Tue, 02 Aug 2022 01:16:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659428201; cv=none; d=google.com; s=arc-20160816; b=L9yIEeDHewFesLnlkaw9Q6H8Cr+6LMYiegkf9IxzipujQUaEEbh56eizrcqVqaOK7y h/2KPcQk9WwijM7BYZz2ZWKWJZmJjfDpRzc0KSlhVqMIyYbcAIyYjK/5Xp3B2vsGGDAw 0/z4D5Li5KDo4lGqGgviVwnPS17ZXhJhZ+SxsWBnhHd0F63tfcvoOf/awQhF7Z8+QR/w WEpKPRMLWFxN4yHsG6owLa0EcO+dT739e6r3eRQGpI+hUBTqQfXetYPgxpsODaE7e8QR wRyEzndf4jngn4wnCr3VrLIkl0Q9iFxJ83MV1Vof5KuxAz/VCwOVkjTcD3yLuE3NtQeD I7nQ== 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=Qp/fom4yzLGREQ6eeR8li3mYbaq2TiER/tBpXxkXygo=; b=uuriAQbh95ZPrb5v1woJaAyYR2VjAOC8crFCyaYTNnuxuYRNyQUPdHNHz/bPVdKiGZ uoxotrZRklJiqLedIBoubkg3MOJtxQrr84UYgtS2/4k+wddDj/p62Z4xGF4jfnGA0AT5 eSloPj1EjaM3yXom6uuOVfbGsDI5AnIaLqHva785wE4sO08Fvg4OidYLR8Cp+ZIgdXLK 5Z9KjZa6z/sD18/EShHFsdbwZd8HOppFj6E2upzcupdx97JP2CC5YgA0cTbCv4vK2HvO rozbVqkv8zDSELKbMzIQJsHTFPgpR8b1BYn747F99XMBAgIrhiddFtGUCw7hydpoL3hG 7E3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TFKlaysW; 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 n9-20020a05640205c900b0043d1a40068csi12806051edx.321.2022.08.02.01.16.16; Tue, 02 Aug 2022 01:16:41 -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=TFKlaysW; 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 S236311AbiHBIBD (ORCPT + 99 others); Tue, 2 Aug 2022 04:01:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236154AbiHBIA4 (ORCPT ); Tue, 2 Aug 2022 04:00:56 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09631DEE7 for ; Tue, 2 Aug 2022 01:00:55 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id m9so14764796ljp.9 for ; Tue, 02 Aug 2022 01:00:54 -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=Qp/fom4yzLGREQ6eeR8li3mYbaq2TiER/tBpXxkXygo=; b=TFKlaysWDIVNTrpIejCvdZ3ShsEZpGjK197WnOqTVDguDiHpHDaSiYtLkMZnv5nWVL Y4HNIrLz/rrChsreSuiWgemQ3g80PyFtDxrfZiE1E8sapn0v7ZIR5BzlDcJLmpMqqwT1 wX++pYFLpakjvWeQhddWl3cAY9KW1symUlX6F6umXqO+4JZ3J8WmsgFz1JnpbIySrFgC DYlNBb8kW3xD+a/p7M+eAjUxNgc6Jhs/CzaA30VuYoKvl3k8wpnknxRdQjaIxDqRSMB2 pAdELhDbrTvIN9g0syFGrU4L5TFeE8HeXYDIatMLL9ahGlsDrC5IHf6wi4UgNJP54G6P C2fw== 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=Qp/fom4yzLGREQ6eeR8li3mYbaq2TiER/tBpXxkXygo=; b=uEteHimkaA7qJcgNauquSkPiNlneItnWijHW7wZXTgy1togesroGjY0dvkx1gThAcc y4Lkkzsu0row3jMJdeetrY6x9Zzp5YFr+XDogJEAmRZCglnOdbAVNL2JOxIksfM/doct wuizqNE7Rf49v+NrWOZOpUZTJ+NtnEJH0WqmUSF1D0w2+HSDENXocqz9rbTZygLOuktq qX2FQ1xVf+m5Qch+AR+ASvxrAPq51iC+5oUEEG8KJreab4bmlDrAVQ1o4oRUH1Zj9Uf0 vy3m8quipxTnotKDhM32FtqYNeqYQGYqBV5xA9jCM+IwpErH0ytpYwBTGt+jOlgWC/g7 58Rw== X-Gm-Message-State: AJIora/qJH5+iHo2HZ+zgd1OOVmv1SxBnfdC4UgMcFOY1MyCGiniWavz bvnLdVD2zxDpgPvW6LYdx7B6lQ== X-Received: by 2002:a2e:a812:0:b0:25d:d922:d with SMTP id l18-20020a2ea812000000b0025dd922000dmr5895793ljq.181.1659427253194; Tue, 02 Aug 2022 01:00:53 -0700 (PDT) Received: from [192.168.1.6] ([213.161.169.44]) by smtp.gmail.com with ESMTPSA id v2-20020a2e2f02000000b0025deba4d9f1sm1818669ljv.86.2022.08.02.01.00.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Aug 2022 01:00:52 -0700 (PDT) Message-ID: <426b98b9-95a0-eb5e-7f68-fbe1e45b4740@linaro.org> Date: Tue, 2 Aug 2022 10:00:48 +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> <20220801160410.GA6059@wunner.de> From: Krzysztof Kozlowski In-Reply-To: <20220801160410.GA6059@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=unavailable 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 01/08/2022 18:04, Lukas Wunner wrote: > On Mon, Aug 01, 2022 at 05:45:07PM +0200, Krzysztof Kozlowski wrote: >> 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. > > How do you know these untested properties work with the devices to which > you're adding them? These properties should be device independent and instead controller-dependent. At least some of them (that's why CPHA/CPOL was moved away and maybe the same we need to do with spi-3wire, spi-cs-high, spi-lsb-first). My approach here is no different than other subsystems. Take a look at regulator - we allow all regulator.yaml properties, even though several are not applicable (e.g. current for voltage regulators) and for sure no tested. Best regards, Krzysztof