Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp39024ybv; Wed, 19 Feb 2020 15:59:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxMK/4bInbsJ4dlROFO4DHSsDqKwy5PRSOaAhk3A9LGYQOk/dTMOG1dmwkZGnx35suDkNI5 X-Received: by 2002:a05:6830:22d8:: with SMTP id q24mr6816701otc.0.1582156769516; Wed, 19 Feb 2020 15:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582156769; cv=none; d=google.com; s=arc-20160816; b=B47maz3vTdoFWlPK9jKPuzSfnTpEt9+eJUZyR6pV/zMhqpmgvCH+XE+2G1/G4QVvX6 0WQ2qLshcm6vh1klVYbT0nbkBiRzZn/GlqMaZ+ghFHNDFIKHAcr4DMU74Jv+ypf6lc2T 50+KNy1XskrOiF9xv+U/A15EGdms+n1DEjyDwNhBVdTxebJuwT0Je/DBdtjTZMNHBCVc 8L0cStVdsYoewGE1xTED1l/e/eTBUj4I5/9HPGNDYxYkA3pORRYIDSWlKC3odbXwyuwF BSYOCvX3wrQLh5aTlGs20EJWrKjy1eptJuwuhKQmmYe/bRBQ7lKLAFqPNsizvk+G9yiv aZ3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=BX9+oiU9NUzGK1+aV9/Uah0G+lhW9/DtCwBAHxWnn3I=; b=sUIf0rP4VWPMESybCW5hPtPBJN7YGCEQ5fjQf/G9KumpSp8ioqgojs8cjPFIYqnW5s iQMzcPl/jrEQrZBItElUf8w186j41uRHvk9nOAQmu2XOp6FYgCMakMZ8Vh7lxJj9hid+ yyPoQ+3frZqf8WGgpeYTV1aiqc4tDWmuDC2jEoQVxJH4j4/5U6pKYRp3/CDDyfgggj6h HmpUpF11gvObrc9+maenFmcqqBnNbKqRl0u4NDQcV8cxhKizOm92zvc+nOXjNucqmp3E ED99LtEAdEhiLpUAYd7Va2XheEsTPgd0A55Bo8IsWeA5bSwXlHZJrSCA0w67JEpWkE7W nlyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KU1uqUYV; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si9831119oix.197.2020.02.19.15.59.16; Wed, 19 Feb 2020 15:59:29 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KU1uqUYV; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726794AbgBSX6T (ORCPT + 99 others); Wed, 19 Feb 2020 18:58:19 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:40141 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726731AbgBSX6T (ORCPT ); Wed, 19 Feb 2020 18:58:19 -0500 Received: by mail-oi1-f195.google.com with SMTP id a142so25705086oii.7; Wed, 19 Feb 2020 15:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BX9+oiU9NUzGK1+aV9/Uah0G+lhW9/DtCwBAHxWnn3I=; b=KU1uqUYVxkoQfS26YEi+ztZu7uQD6NmCYAjnD4WbMrS3FbUgBPMQxL4cToOQRD6Uov nHqZX7QwUxnmIRKEcKaP8NEsh/58I2e78+wWxDrpu1BXApMDiJMolk2hwg9CzqcOf9sW YE4tYRCZaEyh/x1674lcZY1l/H0F0ArPvwmZIxON3DfEjagSV1uN/AxJKPXKBeA241xL WqwyGwfYPVg0aO9XUojnJGQxro+u25NEoqXrbNR09NiA6eBYzNO4I80Q2dLPiRbdLZkb 04tkTaqeTm6+rrMCyLbyFF+HCBtuFvxa0v0YSX5dAdbBWko9TEenvJpgjmfSY9CevQ+/ hitw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BX9+oiU9NUzGK1+aV9/Uah0G+lhW9/DtCwBAHxWnn3I=; b=M/VKtYr5IUMKwGD5odp0XvHvaoe8o3lESFzKYG/iV6lwy8S7p3dq+jrdlt5Ef71VT9 yMuM7Xb683bDcg6i+VnR+pfPJfXq391UVdiZQDnjn+/MRArlIdLJeh6qErvA3983LPud vBcz4FDJLqP7zmqb6r6U18o05NFCtlX3MVMjxWEv+bS/8L+dvZFkvQOJgzugwOjMhA3V gXJxcZRcHmcozN/9D9WxHlsvo0H2Tsy8nF5Dqa0A2qftHA7KNgVPsarsX9PV0RBt/mW5 yWF7eNPP9kEGjwWyTWqlMQtWcB3ulG3cV1AeKpX82boBIyxTjGU56HohsLBZN59iWIsd pA3g== X-Gm-Message-State: APjAAAVAGhtbVde3ljRursK6Ova5VxM0tbgd8SJAuYAz++mPCDY0s0Wo 6avAN6w5llkezO2tQg7Rin2FwtNnZ2fTi4GHEM4= X-Received: by 2002:aca:ddc2:: with SMTP id u185mr185041oig.24.1582156697455; Wed, 19 Feb 2020 15:58:17 -0800 (PST) MIME-Version: 1.0 References: <20200215065826.739102-1-gch981213@gmail.com> <20200218125557.GD4232@sirena.org.uk> In-Reply-To: <20200218125557.GD4232@sirena.org.uk> From: Chuanhong Guo Date: Thu, 20 Feb 2020 07:58:06 +0800 Message-ID: Subject: Re: [PATCH 0/2] rewrite mtk-quadspi spi-nor driver with spi-mem To: Mark Brown Cc: 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 , Rob Herring , Mark Rutland , Matthias Brugger , linux-arm-kernel@lists.infradead.org, open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > > 3. removing the old driver. I'll create this commit after 1 and 2 are > > applied to avoid possible rebasing due to any changes in the old > > driver. > > This isn't great as it means we have a period with two drivers for the > same thing in tree which is at best going to be confusing. There's no > advantage to splitting this out. Got it. I'll add this patch in v2. -- Regards, Chuanhong Guo