Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4068171imm; Mon, 25 Jun 2018 09:10:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKZ9gETSoSfwxwWTH7jDf97rJqWmOPo+10XrHpGOC9y1QbPy9onurIzOtuhRRbnrpq6FgXy X-Received: by 2002:a62:12ce:: with SMTP id 75-v6mr5963536pfs.243.1529943046740; Mon, 25 Jun 2018 09:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529943046; cv=none; d=google.com; s=arc-20160816; b=0Q688WPd4khjk5O/+e5QtMNZ29S72hEBMctg2CvlrwJ6Iv4/NIr1u1bchpwoPfySm1 8ylAjVw5k4IpOy0T1ZqspzdQPbJ9t2rbz15g5xNdgqvI2Y2YHDmEiJloCmAV/1olJc+H xZZ6ts12GY9yS8aSRn7O1j4j82NGC018k51Xlho24XmdAgl9qN66QcTopF+u2AQNqJhw g4yTwe/NHH8aoKyqthT73wkgHhOGu54HN5McHkiGHhVSzIbjPQ8bKraM4kQG9RK5lfg7 RW9F7DDpgdivngil4n7UaiUKbqvfVK4iYTmzuPdsTMDMpKi/O3oLFBrf+qG/hBZ27e5R 8GDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=kUYvYmvJMbpYtQP5ClY+Ob7yiq2wVkk0lCji50b8038=; b=O9pM28OxT3/wZYYrJWaAxuCfyXSiIlV6M+mc49TnwIWkp+UxAmDP29HH4jXzULVLrG mqNHVKkvbVQx/keJY3mTNDYcdtiZvnTZme8bIK0y43T5osqdNw9e3HusHu08Mw9bql8A X+W3kRFTJJvW9wxTeTnLvNNGUmwcOhSaVXXfLyghSN7Nihr+Q2lAmwvf3o+wuvBziRJv trbAW45JNUbao3EKDulrFG71tVK1S86upxiD/t+2aSGuKgpJVy1Gc3o+DQL61iCWKtlZ +5mjLPEDf7x1pcjsa3woWj9Jm8XNKjAfhKjYjpUO13SR7VBQK5m8tikmrihk8eQFW7fW RKkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=FHLurCpv; 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 t4-v6si6926622plo.235.2018.06.25.09.10.32; Mon, 25 Jun 2018 09:10:46 -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; dkim=fail header.i=@lechnology.com header.s=default header.b=FHLurCpv; 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 S1754012AbeFYQJC (ORCPT + 99 others); Mon, 25 Jun 2018 12:09:02 -0400 Received: from vern.gendns.com ([206.190.152.46]:48152 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751878AbeFYQJA (ORCPT ); Mon, 25 Jun 2018 12:09:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kUYvYmvJMbpYtQP5ClY+Ob7yiq2wVkk0lCji50b8038=; b=FHLurCpvKWNIt/V6otb0BINZV3 GFUm2+O6XUVuInkd4dAeqvjmeS2V4dpojpyUuw/JgAvk0tOn3nXhIyy5rT7M/nNuraF8grIAaddmc oQvB+/GWhkTRmrmkYp2+VG0vRu30PIm1UXfe70GuwI9Ya3ASlxTjlIFaNT13ITPEY/q/PHn8OdQpA x/d9A6fElx6n7zuEXyVLFbxSsPW3NDZhSME97N8XazGlmjAWmZH5Aco73Je2A+qYQeV2NId7kABgl U5WwP2xnJeNdidr49Wq9ptNHGtd/L9sLZYkE63u2gZLCzPc9jwK+j9Du4oAh+pB2N0LroFCONK3fl pUN0oACA==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:54168 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fXU30-001C8M-PY; Mon, 25 Jun 2018 12:08:59 -0400 Subject: Re: [PATCH 2/9] ARM: davinci: omapl138-hawk: add aemif & nand support To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Russell King , Michael Turquette , Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Bartosz Golaszewski References: <20180625152920.11549-1-brgl@bgdev.pl> <20180625152920.11549-3-brgl@bgdev.pl> From: David Lechner Message-ID: <41248083-69db-4b88-8a11-e7fa2bd06718@lechnology.com> Date: Mon, 25 Jun 2018 11:08:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180625152920.11549-3-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/25/2018 10:29 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We now have support for aemif & nand from board files. As an example > add support for nand to da850-hawk. > > Signed-off-by: Bartosz Golaszewski > --- > +static struct platform_device omapl138_hawk_aemif_devices[] = { > + { > + .name = "davinci_nand", > + .id = 1, same comment as on da850-evm... this might need id = 0 now. > + .dev = { > + .platform_data = &omapl138_hawk_nandflash_data, > + }, > + .resource = omapl138_hawk_nandflash_resource, > + .num_resources = ARRAY_SIZE(omapl138_hawk_nandflash_resource), > + } > +};