From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752013AbcEJLxN (ORCPT ); Tue, 10 May 2016 07:53:13 -0400 Received: from down.free-electrons.com ([37.187.137.238]:40994 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751879AbcEJLxL (ORCPT ); Tue, 10 May 2016 07:53:11 -0400 Date: Tue, 10 May 2016 13:52:58 +0200 From: Alexandre Belloni To: "Yang, Wenyou" Cc: Rob Herring , Brian Norris , David Woodhouse , Pawel Moll , Mark Brown , Ian Campbell , Kumar Gala , "linux-kernel@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "devicetree@vger.kernel.org" , "Ferre, Nicolas" , Jean-Christophe Plagniol-Villard , Russell King , Josh Wu , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 0/2] mtd: atmel_nand: remove compatible "atmel,sama5d4-nfc" Message-ID: <20160510115258.GS2890@piout.net> References: <1462776680-5284-1-git-send-email-wenyou.yang@atmel.com> <20160509201324.GA9845@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/2016 at 04:50:37 +0000, Yang, Wenyou wrote : > > > > -----Original Message----- > > From: Rob Herring [mailto:robh@kernel.org] > > Sent: 2016年5月10日 4:13 > > To: Yang, Wenyou > > Cc: Brian Norris ; David Woodhouse > > ; Pawel Moll ; Mark Brown > > ; Ian Campbell ; Kumar > > Gala ; linux-kernel@vger.kernel.org; linux- > > mtd@lists.infradead.org; devicetree@vger.kernel.org; Ferre, Nicolas > > ; Alexandre Belloni > electrons.com>; Jean-Christophe Plagniol-Villard ; > > Russell King ; Josh Wu ; > > linux-arm-kernel@lists.infradead.org > > Subject: Re: [PATCH 0/2] mtd: atmel_nand: remove compatible "atmel,sama5d4- > > nfc" > > > > On Mon, May 09, 2016 at 02:51:17PM +0800, Wenyou Yang wrote: > > > It is a datasheet bug, for current SoCs, the RB_EDGE3(i.e. bit 27) of > > > HSMC_SR register does not exist, the RB_EDGE0 (i.e. bit 24) is the > > > ready/busy line edge status bit. So the compatible "atmel,sama5d4-nfc" > > > is unneeded. > > > > The compatible is needed if the SOC still exists. You can list both for the sama5d4 > > if the block is the same. > > The NFC IP of SAMA5D4 is same as SAMA5D2's, SAMA5D4 hase this issue. This compatible can be removed. > Well, I agree with Rob, we don't remove an existing compatible. Simply make it do the right thing (i.e. the same as sama5d3-nfc). -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com