From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7000FC4BA10 for ; Wed, 26 Feb 2020 11:36:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3DF792467B for ; Wed, 26 Feb 2020 11:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582716974; bh=cA/z7qNVrBvBTWaxzuKulN323wafH2dJ1IoH7ZNtc3s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=08kM2Wn+QnrKVVtA4l0zCUt1oruRaFESEA6dEWva6iCfbh6+pqBmphcykE4df9EY7 4aflfLoaUzOOKoHEYZVXCpa4sU7BTWVtZNMWEnBVfi7D7M4ZG1KBQ0Gg5ikeHgbjMO Dqd+fA+ooOVyLa/ZcXTe9v2yEJ5KOYepE7nUaOsE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728362AbgBZLgN (ORCPT ); Wed, 26 Feb 2020 06:36:13 -0500 Received: from foss.arm.com ([217.140.110.172]:34498 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728071AbgBZLgM (ORCPT ); Wed, 26 Feb 2020 06:36:12 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2680D1FB; Wed, 26 Feb 2020 03:36:12 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9DDD73FA00; Wed, 26 Feb 2020 03:36:11 -0800 (PST) Date: Wed, 26 Feb 2020 11:36:10 +0000 From: Mark Brown To: Chuanhong Guo Cc: Rob Herring , linux-mediatek@lists.infradead.org, linux-spi@vger.kernel.org, linux-mtd@lists.infradead.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Mark Rutland , Matthias Brugger , linux-arm-kernel@lists.infradead.org, open list Subject: Re: [PATCH 0/2] rewrite mtk-quadspi spi-nor driver with spi-mem Message-ID: <20200226113610.GD4136@sirena.org.uk> References: <20200215065826.739102-1-gch981213@gmail.com> <20200218125557.GD4232@sirena.org.uk> <20200225173137.GA31830@bogus> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ylS2wUBXLOxYXZFQ" Content-Disposition: inline In-Reply-To: X-Cookie: May all your PUSHes be POPped. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ylS2wUBXLOxYXZFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 26, 2020 at 09:31:33AM +0800, Chuanhong Guo wrote: > On Wed, Feb 26, 2020 at 1:31 AM Rob Herring wrote: > > You should should really only need 'spi-max-frequency' if the max freq > > is less than the minimum of the host and device max freq. > But current spi framework forces that a "spi-max-frequency" property > is present. [0] > Should we patch spi framework then? That's one option, yes. As far as I can tell the bindings have always required an explicit frequency specified in the bindings but I've no idea why. --ylS2wUBXLOxYXZFQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl5WWCkACgkQJNaLcl1U h9CC6gf+JGnksoKyOcf+87xz30r83FSXTXHP5TSv0S1iEPWe7PYG3vPRv0NdFdq2 95nsCYkfFdyrl8ayy/LjsXvZMbZPUv2oDhJGdq11H7EX3/DrKCTcChXdkzpD64NG dlKWpB6xvJ6Ka/g9VowGe+WcTwrhQBQByb45Z0EkTZxQ+YScJHQkJy8HZXQKf85E IAW7t7mcHtmmIXmJB7yHHE3exT6cOcDurwuz6QOJ+w3YwNYNO2HcR5ZS0T1IjPe4 WgWVxid2OxLorFCxu8dUxxsq29uDD49lP/kfbyVYkND761fTbk2idLN94r6vvCyx 6PNQ3DIDylR48WUdePXdGADNjXBUog== =d0oJ -----END PGP SIGNATURE----- --ylS2wUBXLOxYXZFQ--