Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4604697ioa; Wed, 27 Apr 2022 07:20:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzig2cbR9EcEfU78/CG7H8XcqamIG90MRqxafHEERw8BLeGIKl+7xo3NJkFU5QMdChkDrd/ X-Received: by 2002:a9d:734a:0:b0:605:4d25:2e67 with SMTP id l10-20020a9d734a000000b006054d252e67mr10181628otk.258.1651069219746; Wed, 27 Apr 2022 07:20:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651069219; cv=none; d=google.com; s=arc-20160816; b=XRGrTIsAAPCO1TCTvHhML+vu/ZxS65+ft/YezVlUnDKfEikD23y1Ubl0y+secDxT58 HG0e+lHDCwVzUNNUfUkDHEpDwyatF9qyGY32pm96TomM/iZ5gyDVaByMl08v21RTtPch 00k5KAUGGEIiWAEcNzLfy6WejfzSGU8PXW5GAjYRTTx23EgpzxIYgsdhcTLmQDWSFI3x tkaSzgKQpnpaKHUO9NcTC2ETVU+WZc2K2WGPOeiU6dwFLJkitkrG0b+4xTwfer2yZUoc xhtNPjFiBevKZhFyPeLydAGyA8u9q1WwP7rYEVHsOifiI1gIN+vmezTrbeaNKyL5juX1 2n/g== 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=QFNQrA32fuYd2F5FV6KhiOUfB8l/5BedQGZrfnsP4yI=; b=FvOaFRATtQ7R/jQCGxxaKEGbRWGbleJX1b+3aRq4z73hWFTpCRP2+zrzGjknOUgIvd tiEr6Ybi4gkIJcaGUlL+47RVJ2MUfF6wIW/spEOJfqjd/1X/BDKuxiTPdF43ANEkd7fq GoPj5cvtUqlcJn6TuqyHCBusi1VRvL0eBhpvCC8iLMx8+pAV7qYRbeOl7BTFFaKAsWqY HSFj1D0z6hWWRG0AlUAYqs5GM36+bMChkYuJJxz8Dz7bbtdmGIvytK4EUOirbzalNjGT l+CNHsIucnpAdAnLselOo+NmIIHTxqDAqrvndkAn/WpqlrA/JlvBhR1ShwZx4vyS4S4j c/cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q8sDVTiO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m42-20020a056870562a00b000e91f125ba1si920965oao.100.2022.04.27.07.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 07:20:19 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q8sDVTiO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 45B924F9F7; Wed, 27 Apr 2022 06:50:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236671AbiD0NxI (ORCPT + 99 others); Wed, 27 Apr 2022 09:53:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236685AbiD0NxG (ORCPT ); Wed, 27 Apr 2022 09:53:06 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68A7250E09 for ; Wed, 27 Apr 2022 06:49:54 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id kq17so3547016ejb.4 for ; Wed, 27 Apr 2022 06:49: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=QFNQrA32fuYd2F5FV6KhiOUfB8l/5BedQGZrfnsP4yI=; b=Q8sDVTiOtwfCFN6Y1i78Wb2+hSJz8MldDwCCvg1H08T9lEkzx/7tU5utplVJzPZPAD /5UXHNlu63/oDW0cjU2Aph8GqH13LXUkXY8GyW/rx6oBnNC7V5SX6NTU+CVsdiS0mgKx cOGYJoxcuQWTgy3hCrIBiEdZ/Ux/VzEJe29JpvueNHKalwqClVwSKfR9kzCx+WKtz9UT mgzgas/8b8QY/E9II84+5exRU50GdDR7/aJKWIE6C62NS34fa3xse8ZefKtLirjb+Bv4 DL7mgfaqV0oT/WAewapi8HyT+FnHrfWP5M7RQULiu1RHSpCCfbNvBpwC5h/OJ7cw15EJ HAjA== 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=QFNQrA32fuYd2F5FV6KhiOUfB8l/5BedQGZrfnsP4yI=; b=3gaklXHX4k9O/JXWe7JVFx8aWQm0DY+hD85NjJsMhoyuPBUYlJ9MUgTvdn4TslOQlA tzMRi2ifS8NXLRMaGRebPq/3BuUHoGJiGC5CTVl6aEJ6zobGX5fbZgmUO/DIMSxqMG7V JH20inr/ghoahF/ZbJeMSPyyhCXy832b82cqs3q/dSDR4gDaFlh3pFZeFz9Co1cIzkqv OgQQkcyeohvInx03wJ8z4e9Q12zoU+OjBukFuGXZ+b+x31mhSfodMtkImJFSGWuU/eZP DhuISt9R+tZuQkBAac2QRsyyIrZOAjrr4Lm9VorzRFClP9wKE0mj6b8i2CvhiEQJoRq5 5rZw== X-Gm-Message-State: AOAM533QTX2b4e+zIhBI44jYlF+HBTtkW5ZVEhPRJOeyu6u75eLc+PXA T+1Vw8rJL0azvV7ikT+8Rgegvg== X-Received: by 2002:a17:907:86a8:b0:6f0:1f97:d7da with SMTP id qa40-20020a17090786a800b006f01f97d7damr26851297ejc.663.1651067393017; Wed, 27 Apr 2022 06:49:53 -0700 (PDT) Received: from [192.168.0.154] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id li18-20020a170906f99200b006f3a79f51f0sm3201684ejb.207.2022.04.27.06.49.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Apr 2022 06:49:52 -0700 (PDT) Message-ID: Date: Wed, 27 Apr 2022 15:49:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] dt-bindings: mfd: wlf,arizona: Add spi-max-frequency Content-Language: en-US To: Charles Keepax Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , - , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring References: <20220427065102.109046-1-krzysztof.kozlowski@linaro.org> <20220427122143.GB38351@ediswmail.ad.cirrus.com> <20220427125801.GC38351@ediswmail.ad.cirrus.com> From: Krzysztof Kozlowski In-Reply-To: <20220427125801.GC38351@ediswmail.ad.cirrus.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE 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 27/04/2022 14:58, Charles Keepax wrote: > On Wed, Apr 27, 2022 at 12:21:43PM +0000, Charles Keepax wrote: >> On Wed, Apr 27, 2022 at 08:51:02AM +0200, Krzysztof Kozlowski wrote: >>> The Wolfson Microelectronics Arizona audio can be connected via SPI bus >>> (e.g. WM5110 on Exynos5433 TM2 board), so allow spi-max-frequency >>> property. >>> >>> Reported-by: Rob Herring >>> Signed-off-by: Krzysztof Kozlowski >>> --- >> >> Acked-by: Charles Keepax >> > > Apologies but looking at this again I can't quite see why this is > necessary. The Arizona schema should allow properties that arn't > specified. Do you have an example of what failed to warrant this? The Arizona schema has unevaluatedProperties: false, which means unknown properties will not be accepted. Neither Arizona schema nor other referenced schemas define spi-max-frequency, so when the schema is run, the property will be unevaluated, thus cause a warning. This is visible here at the bottom (with Rob's work-in-progress): https://lore.kernel.org/linux-devicetree/345716e9-5624-5ba0-09f0-46e9850c546c@linaro.org/T/#m4b5d7cfdf34dbd410003b2faae4d840113050c51 Although I think that I did not fix it properly, because I missed 'controller-data', so instead this should be fixed with referencing spi-peripheral-props like here: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.17.y&id=f412fe11c1a9d815565f3918c56f3fd02167c734 Best regards, Krzysztof