Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp535173imn; Wed, 3 Aug 2022 14:35:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vUh4zT3UXr1dFh5yxKO/fuCxLItVLuaqqNa/Ud/KVGGxUjUSSMe7HkQweNReHXSiF4kTAC X-Received: by 2002:a05:6a00:1745:b0:52a:f0d3:ae7 with SMTP id j5-20020a056a00174500b0052af0d30ae7mr28311839pfc.72.1659562551482; Wed, 03 Aug 2022 14:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659562551; cv=none; d=google.com; s=arc-20160816; b=jJm6L5M0r024nbjPk+2uU2igCU/dR4yTuck7RwRCO4XBeubqenODI5PoSoT2J+bQho 9vaul47qQSsmznJlt/RV+oiDJnZXvpE8CG/vE3oY/8GxnRFDPRc0LBX/S8K3oSMmrKj1 JxMeZoP8U/AIXscLUse54svb33UZrIw4KSjf7WQxx1KFnyPlrxY/pK1qVpxVi5V5GJbj L0hNu5FpGl/+Y3sT1nCGXa2AYi+L0YnuUUydYT2R+M93b5jkr2AdF1TzPFsW+3LQkfuY riqz4gXaIUUgKgcofxGa3TVFP9xbjxrWIgzcvwol5eRPMlkNGKi3hbRsrhtY2pt9KuEU smyw== 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=f9z9dK9gA2venJcM+Ps6Eq8WAHFZdcYaDOsADmzzKJM=; b=KRmY+PYBSWH11mKi34/q+wn2BlSQfPRuDmxD1NjMJZg4xxsxG2xdRXF8r5ODtNK/Y8 VEOCcdhOsdr/273xmQqmQVyr0W37MsfgUIjpkQGToT7Wo4O5/ToVHA7ZLVx0kESHp18s nsDdAu+aLaMdUcXjP3WTjQRU5uRvhh+9kG0Gwudcnfz5nK5mcRT/MuBChKJgmTmFEZwR Vn+MVZ0uckNzR+Z4JZs2VXamWaHQkcP2j4zNa7Td+eedATDgdUo9ysc/gRaSTyBi9Yof qv9k/hFuhXhytmRuaiID1R/EI/YddvPuekJja179gHKpQ6EtWiq9TgF2P0QgvCx4st8E cWhA== 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 u9-20020a170902e5c900b0016d72804653si3660204plf.17.2022.08.03.14.35.36; Wed, 03 Aug 2022 14:35:51 -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 S236278AbiHCV3f (ORCPT + 99 others); Wed, 3 Aug 2022 17:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231407AbiHCV3c (ORCPT ); Wed, 3 Aug 2022 17:29:32 -0400 Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D47CF19039; Wed, 3 Aug 2022 14:29:31 -0700 (PDT) Received: by mail-il1-f169.google.com with SMTP id t15so9117379ilm.7; Wed, 03 Aug 2022 14:29:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=f9z9dK9gA2venJcM+Ps6Eq8WAHFZdcYaDOsADmzzKJM=; b=fWS/DW8E32o5lPuhuJllmdnNYjJb5RXZ8afAI2Ml4Nt7iaOD4vQgbYV566ASLkOBVz RRTK25XvKiXPUjC8CBeKESBR0TZztVgO3Vct285D5XjqSos5FJ3kYabHuvYOyMzw4HF8 Gjyx5oTnUw+DDijY99B2/cBqISeA/pLTJt+y/oRWxJ0FcNiq60m/5PyM9C+RklAUfPkL guNSGKJ9vokMyE3P5tPa3alUiFW/dSBJyUJ2eu88HrDdQNhhoDrZ4b3k81N/DBmd5sUX TiXkPISWMFRR1BBLWPtUUFr1Bsgv1Y1I1U7GH9zSyNI1LPf8EyEdyk6pUPRtTq/T8nnf 0Brw== X-Gm-Message-State: ACgBeo1zZAwdq2RQdAvyJpy4rfRNd8/ggSjeyYyN7KbObQNQ6tyCVBFw 2QncZGFTfe1awP73gtj/sg== X-Received: by 2002:a92:cc41:0:b0:2de:a27c:a2ba with SMTP id t1-20020a92cc41000000b002dea27ca2bamr6686570ilq.285.1659562171097; Wed, 03 Aug 2022 14:29:31 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id y19-20020a02ce93000000b003428d1fbf4asm1413340jaq.36.2022.08.03.14.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 14:29:30 -0700 (PDT) Received: (nullmailer pid 2654000 invoked by uid 1000); Wed, 03 Aug 2022 21:29:26 -0000 Date: Wed, 3 Aug 2022 15:29:26 -0600 From: Rob Herring To: Jonathan Cameron Cc: Krzysztof Kozlowski , Lars-Peter Clausen , Michael Hennerich , 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 , Lukas Wunner , 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, broonie@kernel.org Subject: Re: [PATCH v2 02/10] dt-bindings: iio: accel: use spi-peripheral-props.yaml Message-ID: <20220803212926.GA2639296-robh@kernel.org> References: <20220727164646.387541-1-krzysztof.kozlowski@linaro.org> <20220727164646.387541-3-krzysztof.kozlowski@linaro.org> <20220731164943.320babe4@jic23-huawei> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220731164943.320babe4@jic23-huawei> 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_H2, SPF_HELO_NONE,SPF_PASS 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 Sun, Jul 31, 2022 at 04:49:43PM +0100, Jonathan Cameron wrote: > On Wed, 27 Jul 2022 18:46:38 +0200 > Krzysztof Kozlowski wrote: > > > Instead of listing directly properties typical for SPI peripherals, > > reference the spi-peripheral-props.yaml schema. This allows using all > > properties typical for SPI-connected devices, even these which device > > bindings author did not tried yet. > > > > Remove the spi-* properties which now come via spi-peripheral-props.yaml > > schema, except for the cases when device schema adds some constraints > > like maximum frequency. > > > > While changing additionalProperties->unevaluatedProperties, put it in > > typical place, just before example DTS. > > > > Signed-off-by: Krzysztof Kozlowski > > > > --- > > > > I wonder if spi-3wire is device specific (not controller) and should be > > rather explicitly mentioned by device schema. Just like spi-cpol/cpha. > > I think it is, but Mark is expert on this. I would say yes as it's the device with a single data line. > In general I'm waiting on Mark's opinion on the whole idea! The prerequisite changes (except for spi-3-wire) are already queued up by Mark as are changes for other subsystems. Rob