Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3914344ybv; Tue, 25 Feb 2020 09:33:16 -0800 (PST) X-Google-Smtp-Source: APXvYqx8PVIJWp6363UrmRBfUOhWfdrNgT/xfyD7lgL136p6lvFmXcpXQ4zzjliqGghniVdnnjUl X-Received: by 2002:a05:6830:2015:: with SMTP id e21mr44445887otp.106.1582651996586; Tue, 25 Feb 2020 09:33:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582651996; cv=none; d=google.com; s=arc-20160816; b=fdLQx5ZDU8FXR5N/fNAPG1BWL9ya5aPOlg9YVzxE7qBnw6Udnhffb+6Div6BuhpUT5 En2UWp3gHXaYAdCCP2UKyPNCjK4mP1K5tGF9wYgST6wVvkY/oEV31JhC1LUp/46t4oJ0 S9tL4QgyU9ScKfZx+IxeIvtPVC+4gwKFX/oefkuZ0VMTSHZ9/tuHFeDGJdNxzVwE5fM1 +GSqwy/cV9nZ9ad3d/ZKhJqbMoAkaWH3/r7Bj89ixNlJWw33saRZLlDcosM8kNz61lK/ IP82HSNq88OIt8bFqmnNn2HqPVnOT5WTEH1eSUSL7AJpqje220aOkyDTr1LdFWpiJgk8 l0kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QS0K6caHcm4ENnIoTn05eBvdx/7W9kVs7Tic77EWV3U=; b=D/aw5LjtQwZRHyJOyGUvcR1OUfusbBocP0HU3DEpHtxwbqKxrlnEOupIrVCPbJ2UVe VDOueindpYV3quyezhum3dAKhFeKrhhj/N+84YxZep/1IIei1Yv39jxv0li8rHaO2PwV 0vyPiJhN6ggBM4ChzQB7sUjaUKb0dv4U7isd/ji8CqCZfe7hbh2eC+x9k+Tpu4MIsbdT vNFb6jAbE8oVp2HMrT/nCBnTz6M78CytejvSfR+2xnprgMZd4c13F4a23cXVgp1N0aKB rblf/JBRlAyfLHYFK0b1nOOICNhTmyXN+4GjKuv6qzLIr8D2ZWNEGQM3wa/JLzna12Tp 68Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si8450938otg.113.2020.02.25.09.33.03; Tue, 25 Feb 2020 09:33:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730143AbgBYRbk (ORCPT + 99 others); Tue, 25 Feb 2020 12:31:40 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:46036 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728200AbgBYRbk (ORCPT ); Tue, 25 Feb 2020 12:31:40 -0500 Received: by mail-ot1-f66.google.com with SMTP id 59so232706otp.12; Tue, 25 Feb 2020 09:31:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QS0K6caHcm4ENnIoTn05eBvdx/7W9kVs7Tic77EWV3U=; b=nXTVk2CXW9DCWQZJahPfRuzJORSuUNQh5tK+WuM03Ex0gW/O9MLcJW2beosFG3oqOg Rpa60w76YL7vppNDVffMtu4kktDjN36kUcLW3lf31MAZcePrNjFH1uKYQb1Inxi6Apgn B2321KO8isIV4jB9M2DVTqwADyjxC/4bfIFjkOirCoia/pgo8R6SQWJuqloWbCm5hBKX JSyi6MlC9NGqJO7ZuQ6fDquN+pNf8HEvVFPoBIVwS1NvOiDQdCa9Gi8LhClma21ZoNXA IcBqGYpJP9G2iEuWcO1o4QfhAdCCwMPS7nupLXB8grIQ3nTXgcV++2f3YnfesQmTsJ88 TFFA== X-Gm-Message-State: APjAAAVl1M16Mq41ffapx9X7XtPRUvMdal+Ov80n/bQwPSXJYuZmY5BX KjJU+sUmFwNQ2kSQyphyXQ== X-Received: by 2002:a9d:7559:: with SMTP id b25mr44320296otl.189.1582651899014; Tue, 25 Feb 2020 09:31:39 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id l12sm5915266oth.9.2020.02.25.09.31.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 09:31:38 -0800 (PST) Received: (nullmailer pid 2861 invoked by uid 1000); Tue, 25 Feb 2020 17:31:37 -0000 Date: Tue, 25 Feb 2020 11:31:37 -0600 From: Rob Herring To: Chuanhong Guo Cc: Mark Brown , 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: <20200225173137.GA31830@bogus> References: <20200215065826.739102-1-gch981213@gmail.com> <20200218125557.GD4232@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Thu, Feb 20, 2020 at 07:58:06AM +0800, Chuanhong Guo wrote: > Hi! > > On Tue, Feb 18, 2020 at 8:55 PM Mark Brown wrote: > > This is an ABI break so you shouldn't be doing this, if the existing > > binding works it should continue to work. > > The missing spi-max-frequency is the only part preventing old > device tree to work with this driver. > If the goal is to make existing dt binding work, I could patch dt using > of_add_property in v2. I saw similar device tree patching for legacy > bindings in pinctrl-single driver. 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. Rob