Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3196465imu; Fri, 23 Nov 2018 23:52:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/U9OCgT5mqTGlhXWMGeyYiKq1M5RkGBGVIsDfxsXktKwCF1V7vCEmSjeHvyKogP8I4qUZE8 X-Received: by 2002:a63:181c:: with SMTP id y28mr16639545pgl.75.1543045933481; Fri, 23 Nov 2018 23:52:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543045933; cv=none; d=google.com; s=arc-20160816; b=jZLOQYq0gkg61gJZ4MkFNvdW1pEIUJRYDwdIH8QXyt3/sxD3IHdl6z018bzsD4rtcd HbXBWNFtiWqOcymk8HIPEKUF2dRKp/5vXLSBEKFVt1SP8K+g2rLaMLMMcEyeQ1ib1Vmh 9QtJsdJaDTG6JUB+36I72+WjxImNBLBFBfzOhqIfpbtUr/bfaIbdT5l+mCALD4oxk/VP wRWbFVJvkXMX1mto8uqpHIvrkENAm010MpoIcF8+Rx+eqgSZBM0awiET1AS/v/eqRwWp UKlatQ/aKcrEuAEyC2yHiPUaSIZrLKmpQhr6CR5cXLnLZtw1qAvEWHVGtN3YnOTgYTjQ AdgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=ypAoQSFgBlj9v3AsubgK0WIQUL4XAa3b23ydIs3UHDQ=; b=Ntwo9u9zpi9EwzzEKeJ7kGjOdozBOmaLvbKcgNRKlO9cU1wRMbabvbxcBzOJjeGT0c rdaS48nKiSJkOGgoP26qeqoqPxSiA9JZhYW06fumM7AxcCrG3Mhs6nOD3LkfIM6At0Te Pt/yM3SRD+AfKIrlxpheBd0TdlyWWDU/32Nn+XamhVeBpcRLPEHpFBDIjrtAU3dIPf89 2vRvFHUMnJZbrgNNiiSra5A/oyG+jXPa56YtPASrVPe7mYk5Me2VAcdyAFtAS27ho6eR /J78hwR+mavHqrmiTZtnAIuSDv+Nyvgyv332/ijz0MFL5Ew1456vJrdeLEp91w9WDpci 8HPw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92si29658672pld.84.2018.11.23.23.51.59; Fri, 23 Nov 2018 23:52:13 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392849AbeKWMcW (ORCPT + 99 others); Fri, 23 Nov 2018 07:32:22 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:7604 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1733028AbeKWMcW (ORCPT ); Fri, 23 Nov 2018 07:32:22 -0500 X-UUID: ea271d782f1d4c2ab600bc0bf359fdbf-20181123 X-UUID: ea271d782f1d4c2ab600bc0bf359fdbf-20181123 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1413869912; Fri, 23 Nov 2018 09:50:02 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 23 Nov 2018 09:50:01 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 23 Nov 2018 09:50:00 +0800 Message-ID: <1542937800.27607.27.camel@mhfsdcap03> Subject: Re: [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT7629 soc platform From: lei liu To: Matthias Brugger CC: Mark Brown , Mark Rutland , , , , , , Date: Fri, 23 Nov 2018 09:50:00 +0800 In-Reply-To: <7bc1777c-fb24-d150-c13f-658c2a33cd71@gmail.com> References: <1542703268-17285-1-git-send-email-leilk.liu@mediatek.com> <1542703268-17285-2-git-send-email-leilk.liu@mediatek.com> <7bc1777c-fb24-d150-c13f-658c2a33cd71@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-11-20 at 11:28 +0100, Matthias Brugger wrote: > > On 20/11/2018 09:41, Leilk Liu wrote: > > This patch adds a DT binding documentation for the MT7629 soc. > > > > Signed-off-by: Leilk Liu > > --- > > .../devicetree/bindings/spi/spi-mt65xx.txt | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt > > index 7940940..6cc4e87 100644 > > --- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt > > +++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt > > @@ -6,6 +6,7 @@ Required properties: > > - mediatek,mt2712-spi: for mt2712 platforms > > - mediatek,mt6589-spi: for mt6589 platforms > > - mediatek,mt7622-spi: for mt7622 platforms > > + - mediatek,mt7629-spi: for mt7629 platforms > > That's ok, as you add support in the driver. As it actually doesn't change > anything in the driver itself you could just describe the binding as something like: > " mediatek,mt7629-spi", "mediatek,mt7622-spi": for mt7629 platforms > > This way the driver will just probe the driver using the fallback (mt7622) > compatible, but if you realize in the future that you will need to distinguish > between the two SoCs, you can add a mt7629 compatible. > > Just as information for the future :) > Got it, thanks for your advice and information :) > Regards, > Matthias