Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5423852ybg; Tue, 22 Oct 2019 03:05:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvNMEFX+wx1ELTYtcQ7QsdI1fuZmp5XiASwK2wA/k27qGYCUEQalvRkVwqiG1hSfy7nEm1 X-Received: by 2002:aa7:ca0b:: with SMTP id y11mr7739345eds.51.1571738707413; Tue, 22 Oct 2019 03:05:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571738707; cv=none; d=google.com; s=arc-20160816; b=JlXKihCjwScNZjyfrLEeBoOHOJmDzV72+AJtcxg+1IW0iwOwv0n1R9wqIqDGVmFPP/ PUflBXkTRazwSZAj69TNvsRqQT9mpNm/IFtGMi2xn6PCyHUs3hf8znhzzjCYQba3yIsw 7uEkY9p4E8I6RhXpU4OfTEBf5xVrUBSwg49QFBMF+jUAvoJJYyqdRh2O+Uk3fTSePKiN OUycVNzrtEOwyJJFoQ1pT/PoAEclaSuLb74ywgTjzDz07e400PQIVCU8+NCsFVxeRPF7 8l0p0GFhM8Ddc3whlDccQNI5d1acFtbmXU510zVJfblkppBREqcGnx+1yhOtTX9IhygD Osng== 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; bh=u2Sowr7PqMQmN9I6uM42u7gatFFeu7raioLnd62CcOc=; b=IWznMUnQY9xRi4tCUh6uL03UNhsFiX77OSgEXakjC84XtIKtn9AedM5HppiceTTEZQ I7DHAteFjAGbIsL/Oo4vkw7sp5CtKbzKjzu5I1CUsJj7y3raDSlUvIvLhA+U2I1Rk/Yg jVRftQXbVW9GDJKq7O5BgrQDsZwYX+B7uPyor5eTkVVFptLTjnr13HGajs2c/X/Z9tS/ kah1vvtcULsTqkRTG+rrgFy8IPF5TcsepnclzBXAiOsWppUxNUukivytf+xJapWTv5sj OlGX1IPzDSAXHBfp26vd0yYFBZQwTPCPilXASkKfkJzF9TyweI3XHdsV9aMhTjE5aQ6z hTOA== 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 p22si9973294ejf.278.2019.10.22.03.04.42; Tue, 22 Oct 2019 03:05:07 -0700 (PDT) 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 S1731587AbfJVKBJ (ORCPT + 99 others); Tue, 22 Oct 2019 06:01:09 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:38851 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731439AbfJVKBJ (ORCPT ); Tue, 22 Oct 2019 06:01:09 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MvJsF-1i5K3W2p05-00rDDT for ; Tue, 22 Oct 2019 12:01:07 +0200 Received: by mail-qk1-f176.google.com with SMTP id w2so15657774qkf.2 for ; Tue, 22 Oct 2019 03:01:07 -0700 (PDT) X-Gm-Message-State: APjAAAXuXy1pelWmvDJozPkY5/qFb58aqX9F/BGd0K77AUzyNOV0sS3y UURskf014MyhnJKOtywvAU63GAtn2t+jrXq/JYM= X-Received: by 2002:a05:620a:4f:: with SMTP id t15mr2145972qkt.286.1571738466579; Tue, 22 Oct 2019 03:01:06 -0700 (PDT) MIME-Version: 1.0 References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-11-arnd@arndb.de> <20191019114417.5268f7e4@xps13> In-Reply-To: <20191019114417.5268f7e4@xps13> From: Arnd Bergmann Date: Tue, 22 Oct 2019 12:00:50 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 11/46] ARM: pxa: cmx270: use platform device for nand To: Miquel Raynal Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Linux ARM , "linux-kernel@vger.kernel.org" , Linus Walleij , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Vignesh Raghavendra , linux-mtd Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:tT8zKhmTNS8yJqLtjj7C+5nL4wiRhScvbgahO/Luy9v5Ywux2Cl DVlCAt6KvH+hvkIc/JLJgVyTFj7I3XYdYuIZ083RUPuI3k7/1nuyzayKbbO6PTQl2V7uNLI 6vs2eQ10HvFPUexzKNnijIO7B8LoDLzguGJSOxR1x2fx5U6S1pYVtwobO/o+y0yWQhIxhZK tOLkDoLTXW0bNJAv5Qurw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ZhLJ6kNFoRI=:2FqjaM1DCDtdoLAtmohe7X S0to2iXUaI0sJtW/Vt5Z26/8D+45BKjDJoXuUur3+KlKoivaLu71RxfzI7/lfGVAxVmZh3e/u VVFwqBl/dTiU21huNApR29Z2zdGPFSO6wQnpdEd8XV0BhXt102trPThP8xrGyOznTY3N2dMBV WuxS3HEC1LFenJcSvSlMIi83cY6CYO5IWmd3NUlcC7Vbju86E5biYkCjGwQwuBxNajcnMcuFp W/3kKw/SILSVFJEiSakS2i8q4IvKpO5vUI5k4JvU+pJIozrVvf8Hw3MtSa4KQdGFxXT60djOR 75HXh/IiKZveU/uXufIwDyLiIPGFCGVyiBrH7qtrQswRgzFpugg54iyLtf8sBFSkfdUDcfzwe anCx0qXRRZ6C5qO3WPr9ImQbcbcJqiokXj1C9f/C/IAFNLYWgPcRTj3Zk1y0IQfB/V7pDLOmv nn2J9Gp6+y3yVz6HCZ5J3s2HwSwlsek1IQuddcrNByDJuCosly6V/Osbag6/R26d2ojJxABB0 a75HM7lUXwbj+lUEaMBIY/dPSnSpHT7gmxzti2kpJJdybbd+FFyGZS5lbGpLzyaowXWOE99bL jPUcRBEv1w5bxFQYFbqFz4Qe+5baHIhmcNOX5f24LPnMNggfLklrrW6ynoCiPtZLEygagEi/G dpvfW8zDD2fEBc2eZn2ESt6srEwdgD0wUYPmqkORxgXB5k8LaWs55feEDxu/DZvtKpJRtE4xB TCLWanutcuA/7OMFTRMabDlfNveQ0VPfvOV2IfEaR7uqBaFnXnyt9WFXlrzpaJl4k/9W7e66n plPmALYz/avbzsUEaS4rtS5/y14YH3GrFqX4IxWcV6OhrcUQ68cHwitRbSo05+t3tqzh//5C8 NcYhvIJcHXB8GhGFByGA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 19, 2019 at 11:44 AM Miquel Raynal wrote: > > Hi Arnd, > > Arnd Bergmann wrote on Fri, 18 Oct 2019 17:41:26 +0200: > > > The driver traditionally hardcodes the MMIO register address and > > the GPIO numbers from data defined in platform header files. > > > > To make it indepdendent of that, use a memory resource for the > > registers, and a gpio lookup table to replace the gpio numbers. > > Looks good to me besides the typo s/indepdendent/independent/. Fixed now > Acked-by: Miquel Raynal Thanks! Arnd