Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1106059pxb; Tue, 3 Nov 2020 23:33:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9JlIZl6T/DITOjJdYwIVjtH0fLe9G7wBlG8Nze4knwy4jFRLPeOiG+8rOxn24OmYwbnb0 X-Received: by 2002:a17:907:262d:: with SMTP id aq13mr6481101ejc.484.1604475183498; Tue, 03 Nov 2020 23:33:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604475183; cv=none; d=google.com; s=arc-20160816; b=T3To6Ibx+BHWYmzqcKawUbD6lbaYIl2fc0pFAbSA29Ph/gZaC40td3DG8rkej+Ydem ORR5NM0y389Qmkwirk4ISYlB1orOM19eXoR/23L4jF+hZPNZ12Dia0/VeNxUdRW16X5L 8EWbxwpw5HktSqOy1zdrXkQkiy7FanimK9fY1DmaF//h+M7RoTlMpCagDuF1iEOISk0M 5GZ30NpnFwsMUArQzf/zsRC47dvFvNMrbFN1jzwPMnn+3dtEZez9C32pH/2c9+nc/pLf RAA0Z05/+vsKhU7SYWrsclfjzJQVc9LzGTabkmUk74N0v0MXOZgIe5Kpnu33v65O53L5 Nmmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id :mime-version:references:subject:cc:to:from:organization:date; bh=OV9ETn3LPOJZxllEEImZ9JJlzEqPW/EbHlJwCLzuchk=; b=x1b+NSMZUmUdx4GQq4Xhs86k4RoM6zR952feq8zSK2eHy8ISCGLL19PLEJFSsaAhNf xomT1mBwmW3aPgLbFKi5BV5K/V5rTXeMYX+4PNtl7PqJjzVa5a7sjGYPuGvra+IXt1WO BkRO3pbxHfu99dyEdGig9qckBmZ9DionIkLVL9m0qLICaeYBQPhxbUF7ieacDMFTTFB3 2hNamEoTNu/LUDotjq8AcaAneDlMY39pOluiodEHdVScRKW2+75sn7XhTL3ibOncpt+8 G0qvrim+eTBXGnhqnNcyfkevcgz0v9TXc5uix6P7ypsBJsb3ADlGcIxNBdeAgJYR03Wj yAgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si790722edj.545.2020.11.03.23.32.40; Tue, 03 Nov 2020 23:33:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729007AbgKDHa6 (ORCPT + 99 others); Wed, 4 Nov 2020 02:30:58 -0500 Received: from regular1.263xmail.com ([211.150.70.201]:40726 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726259AbgKDHa5 (ORCPT ); Wed, 4 Nov 2020 02:30:57 -0500 Received: from localhost (unknown [192.168.167.69]) by regular1.263xmail.com (Postfix) with ESMTP id 7AFB6963; Wed, 4 Nov 2020 15:30:34 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-SKE-CHECKED: 1 X-ABS-CHECKED: 1 Received: from hp1216 (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P1240T139713990088448S1604475032549643_; Wed, 04 Nov 2020 15:30:33 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: X-RL-SENDER: zyf@rock-chips.com X-SENDER: zyf@rock-chips.com X-LOGIN-NAME: zyf@rock-chips.com X-FST-TO: jbx6244@gmail.com X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 X-System-Flag: 0 Date: Wed, 4 Nov 2020 15:30:32 +0800 Organization: =?utf-8?B?55Ge6Iqv5b6u55S15a2Q?= From: =?utf-8?B?6LW15Luq5bOw?= To: "Johan Jonker" , "Miquel Raynal" Cc: richard , vigneshr , robh+dt , devicetree , =?utf-8?B?SGVpa29TdMO8Ym5lcg==?= , linux-kernel , linux-rockchip , linux-mtd , linux-arm-kernel Subject: Re: Re: [PATCH v13 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others References: <20201028095326.15562-1-yifeng.zhao@rock-chips.com>, <20201028095326.15562-3-yifeng.zhao@rock-chips.com>, , , <0b417fc2-3503-9bf6-914d-0f8b38df1914@gmail.com>, <20201102140725.66e7dcb1@xps13>, <5ad70fa0-05a9-e1e7-32cc-32933ff25ae9@gmail.com>, <803e291f-67e0-f66c-6c9e-041db1b3847c@gmail.com>, <20201102180039.757d3234@xps13>, X-Priority: 3 X-Has-Attach: no X-Mailer: Foxmail 7.2.18.111[cn] Mime-Version: 1.0 Message-ID: <20201104152931632919186@rock-chips.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjAyMC8xMS8zIDE6MTEsIEpvaGFuIEpvbmtlciB3cm90ZToKPk9uIDExLzIvMjAgNjowMCBQ TSwgTWlxdWVsIFJheW5hbCB3cm90ZToKPj4gSGkgSm9oYW4sCj4+Cj4+IEpvaGFuIEpvbmtlciA8 amJ4NjI0NEBnbWFpbC5jb20+IHdyb3RlIG9uIE1vbiwgMiBOb3YgMjAyMCAxNzozMToxOAo+PiAr MDEwMDoKPj4KPj4+IE9uIDExLzIvMjAgMjoxMSBQTSwgSm9oYW4gSm9ua2VyIHdyb3RlOgo+Pj4+ IEhpLAo+Pj4+Cj4+Pj4gT24gMTEvMi8yMCAyOjA3IFBNLCBNaXF1ZWwgUmF5bmFsIHdyb3RlOgo+ Pj4+Pi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