Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp211098imn; Wed, 27 Jul 2022 20:45:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tD6MDCgpnhLnIwtGFHt/Lldx0aTL3Jp44vxCHAsrPTcYM1nLb4qIb862G11uagc7/SeWaZ X-Received: by 2002:a63:e850:0:b0:419:be58:fa97 with SMTP id a16-20020a63e850000000b00419be58fa97mr21704074pgk.357.1658979957190; Wed, 27 Jul 2022 20:45:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658979957; cv=none; d=google.com; s=arc-20160816; b=flwDo3bb48JCBK7xljVV9WhQhLs7hKZ6+Gl7Vbjk4fZFKG3BjN0mYzxNTNvzUdy99y BWh2vBxYaCHW4dL05VWrIFCPt3oawaXaS71s8q8+I+sBOSC7SOsAOPI1M6kTZTCsmMJQ s6/D6p9T65fPlMVVxc5O9bBlY4zgMIMpWsuJgNC6rzTVemPd9Czj0wVwb7AreX8em/mN A4/GY2/4KzLfceTOdkzXOH+B2oizD9GV+HiXX7w9jjMBS9q/Zt0zJUUVlNBqEkXGc/74 /MFzm+drEmWMdyw9GO+RGIjWwzdnzsxvj//1AGFriJw2d5XqOQKuGcHRjBP0h5vkdYxW w1zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:reply-to:dkim-signature; bh=/cS9TPU5+rXkX+J5Jkln5vvjln8emRqorhd/BraAqbU=; b=uqp76VQb8Zrtj/Hf8wSd5c+YzLE0zB4S1u2t/Wtr3/u9+T0bLeheqblqnxyepyVzw3 diGI6nBcTDPIRAMqgZANw/hm7J4bcURJAhVuEOUvB1Ta/lonUeZhZEl1vpvpoawosBo/ lMsgjL2ZtSmbg5l22CiG5UVr63Uo6fiEojJ+/gkfpwdogiJzR3je+o2qjziAbT6czOBf fDa9kV9gvxoXLf0EMCRBqRwHWhn/flfRK4S2EmX8L39Dc/6Dx5kG7ntjSXQNv4E0ucp5 H5019owLqaIeKKQonLPb5tDgX1khr4ogERP6AmZCDomOX1HjjIyFmUwFP3U0Y6fMPMLG Bsdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=sAUx4q81; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a170902779100b0016bf10203d0si21518076pll.83.2022.07.27.20.45.42; Wed, 27 Jul 2022 20:45:57 -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=@denx.de header.s=phobos-20191101 header.b=sAUx4q81; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234767AbiG1DiX (ORCPT + 99 others); Wed, 27 Jul 2022 23:38:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiG1DiW (ORCPT ); Wed, 27 Jul 2022 23:38:22 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D06B6284; Wed, 27 Jul 2022 20:38:19 -0700 (PDT) Received: from [192.168.1.107] (87-97-28-73.pool.digikabel.hu [87.97.28.73]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hs@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id E1C1B83010; Thu, 28 Jul 2022 05:38:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1658979497; bh=/cS9TPU5+rXkX+J5Jkln5vvjln8emRqorhd/BraAqbU=; h=Reply-To:Subject:To:References:From:Date:In-Reply-To:From; b=sAUx4q81Hb1k4UrxcPIM8ByjmJ9sKdXUtAhOl02E0bk/WDWrzNT+9zQx16jwS9mDT nX/d35ryiZbjkOuxs5CK5c/HlPS2m+CbdH3c+GGbDE9E6iNz4lo3wyMNdz/9Fd1lXx ceRBfwvgLGJsDBF8VIlEJmRYI2h4yevlzMk1H9oMojpatMQEAeYVTm/wgrLqp7piPI EPugZspBPyg1PdPre10qfT2LqbzXCuuJMbwa+EzueEpu3jmMv8izXtTem1ZtjBatj7 14S9qXflcxlJQJvjAAGpF0p3cTknD2UrWiCxOdqtQ6xeJj2alY9PZaGwPtZlou5GZq uug7cBm6z32Fw== Reply-To: hs@denx.de Subject: Re: [PATCH] dt-bindings: mtd: microchip,mchp48l640: use spi-peripheral-props.yaml To: Krzysztof Kozlowski , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220727164148.385476-1-krzysztof.kozlowski@linaro.org> From: Heiko Schocher Message-ID: <316239d0-1661-0430-1adb-e7faeff66144@denx.de> Date: Thu, 28 Jul 2022 05:38:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220727164148.385476-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hello Krzysztof, On 27.07.22 18:41, 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 > > --- > > Technically, this depends on [1] merged to SPI tree, if we want to > preserve existing behavior of not allowing SPI CPHA and CPOL in each of > schemas in this patch. > > If this patch comes independently via different tree, the SPI CPHA and > CPOL will be allowed for brief period of time, before [1] is merged. > This will not have negative impact, just DT schema checks will be > loosened for that period. > > [1] https://lore.kernel.org/all/20220722191539.90641-2-krzysztof.kozlowski@linaro.org/ > --- > .../devicetree/bindings/mtd/microchip,mchp48l640.yaml | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) Reviewed-by: Heiko Schocher Thanks! bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de