Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp371446rwi; Wed, 19 Oct 2022 23:05:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM69NPk+06xSC4ci6vqykyzwdnCYDDcOqgt9maqX84VWymjggm96nHeiXCQYBZ7ZKIHiM0Ja X-Received: by 2002:a17:907:25cc:b0:77b:a6c7:6d2b with SMTP id ae12-20020a17090725cc00b0077ba6c76d2bmr9790493ejc.148.1666245943862; Wed, 19 Oct 2022 23:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666245943; cv=none; d=google.com; s=arc-20160816; b=xhvLOkJ9wjCDcWVS4JsXxIZzc/TlGYB29H9yXCtAQDyciJX41UbqKwE71DRIpsMk21 EKlCRr2C1f1r3vVv9V3+xnGHIGJ2jrcSp7HMkyhEOMb+OAWoxbeAmz+IqMZosYmExqYG r1OuotVYmuas1O5ISX1hwS05LZ5/kn8QPm8vvBv2BosokVnoziXDIvlw2A076RLcdQ3f 2zUEEBAE2x8Htb0QKf18zv90xBlzjsSuCFOU6meKm1zrsFCGP4BrisKF56q19NqyO3jG 8GcWyudxT+W3gZwjJJv7QzA33LXoanaRRlLp6veeyMRTfzbNYdYDuSvd+t0oUNmDSDcv 4xrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Ke+DoHhz1XKy9xeNSiWO0Eq/IHfSDBUW8TnozKir+yg=; b=shTIYAOEzOJIUgnoh1lL4KPRb3HjXGBCviGha85q2KW4SCB9NYbvVPTHLfscJilpKC td34GMfDJZ+bvxBdJ2tpgM3F7ggYrnBKJsjZBa+tD561iK21j01Wcw9phAAGQR7+KW7Y YsBJhHxt/GI08daMWEAq6R5Is5nyAoY9ezp98upKWvgNPwTs5leFAISj/2ow8o2AgJPU aU2E9C+P/QiHcFAlfugXXw523bwnx+bpFVb2J189trJHlfBrOnUGIOPM134/iID8VuM1 ozTD5wTypzdLY/zoErnN1UX7nh2JrWtuGnJLTWQb6Mik/E7D9eLhKYljmFAAq3CLgn23 vFGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lxnav.com header.s=google header.b=TySompZS; 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=REJECT sp=REJECT dis=NONE) header.from=lxnav.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a170906854900b0078d10478051si13170442ejy.265.2022.10.19.23.05.16; Wed, 19 Oct 2022 23:05:43 -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=@lxnav.com header.s=google header.b=TySompZS; 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=REJECT sp=REJECT dis=NONE) header.from=lxnav.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229973AbiJTFb7 (ORCPT + 99 others); Thu, 20 Oct 2022 01:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbiJTFb5 (ORCPT ); Thu, 20 Oct 2022 01:31:57 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2296194221 for ; Wed, 19 Oct 2022 22:31:55 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id s17so10994903qkj.12 for ; Wed, 19 Oct 2022 22:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lxnav.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ke+DoHhz1XKy9xeNSiWO0Eq/IHfSDBUW8TnozKir+yg=; b=TySompZSaWj8ilygpbslEMOvJTyRDnsYlgZ7bhvmjaCxBESJPZDRCdfrFYuDYx9oZu 451dsTbKp4i9rwAtT+BFxZzipZwyc8Wv3aoE3j08Z07k+CF6nvXckaV1k9uOf97oZxiC FhrlGnntM2FeFAOCw5dwNL8d8s3NbsokJObDs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ke+DoHhz1XKy9xeNSiWO0Eq/IHfSDBUW8TnozKir+yg=; b=WdbTrmut/fWUpt9UNACkOllfynWuSrAJ8L8nlMaZ7tpZ+96qjuGYwnL3mhHtQnWC4H KFglGV8GopQ2TS8N2TkS1+usQBkaK/CQOwqsQ5A5D/M/tQhrjc+bxpPdqCAvL1e9YfCC 5dRPiz64q9p5CHpyBx4cs9Aodg84ZO2YjeK9yg4ZKr6QXNfD1AKscfM2nb98THIEJqqq zENYcL+vVPRpur7vqeVtjEp1OFnZiaJ+k3yDmZ3SZNBysOpiLvxupJ0eoCd5oxNCggnh 1uOs22dMnc/cLhAQAEDXedHCs7vv2bj96qv4iZzbDbNspbeEmmBCIHBd6pN8b9uRxmaX O1DA== X-Gm-Message-State: ACrzQf29a8w0APwPu8Zir3C6Oj6Wuyy0/hTRSJGfXPo9spokbxtqtO58 hA43IyPugHB5WkNzZnAxhVFff/Bkikh2uBjyZ7YmIA== X-Received: by 2002:a05:620a:4510:b0:6ee:e6de:828d with SMTP id t16-20020a05620a451000b006eee6de828dmr8382571qkp.70.1666243914644; Wed, 19 Oct 2022 22:31:54 -0700 (PDT) MIME-Version: 1.0 References: <20221019125254.952588-1-mitja@lxnav.com> <20221019125254.952588-3-mitja@lxnav.com> In-Reply-To: From: =?UTF-8?Q?Mitja_=C5=A0pes?= Date: Thu, 20 Oct 2022 07:31:28 +0200 Message-ID: Subject: Re: [PATCH 3/3] doc: iio: pressure: ms5611: added max SPI frequency setting to the example To: Andy Shevchenko Cc: linux-iio@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Tomasz Duszynski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Wed, Oct 19, 2022 at 3:23 PM Andy Shevchenko wrote: > > On Wed, Oct 19, 2022 at 3:55 PM Mitja Spes wrote: > > > > Added max SPI frequency setting to the example. It is now honored by the > > driver. > > Is it possible to add a constraint here? So the schema validator will > issue the warning / error if the speed is too high. The constraint is already there: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/iio/pressure/meas%2Cms5611.yaml ``` spi-max-frequency: maximum: 20000000 ``` But in any case the patch 2/3 limits the max frequency. Kind regards, Mitja Spes