From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759024AbdAJLXV (ORCPT ); Tue, 10 Jan 2017 06:23:21 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:14125 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbdAJLXT (ORCPT ); Tue, 10 Jan 2017 06:23:19 -0500 Subject: Re: [PATCH 1/2] memory: aemif: allow passing device lookup table as platform data To: Bartosz Golaszewski , Kevin Hilman , Russell King , Santosh Shilimkar References: <1483526167-24209-1-git-send-email-bgolaszewski@baylibre.com> <1483526167-24209-2-git-send-email-bgolaszewski@baylibre.com> CC: arm-soc , LKML From: Sekhar Nori Message-ID: <9f1ad8ee-f745-c191-3340-5fbbca416293@ti.com> Date: Tue, 10 Jan 2017 16:52:40 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1483526167-24209-2-git-send-email-bgolaszewski@baylibre.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 04 January 2017 04:06 PM, Bartosz Golaszewski wrote: > TI aemif driver creates its own subnodes of the device tree in order > to guarantee that all child devices are probed after the AEMIF timing > parameters are configured. > > Some devices (e.g. da850) use struct of_dev_auxdata for clock lookup > but nodes created from within the aemif driver can't access the lookup > table. > > Create a platform data structure that holds a pointer to > of_dev_auxdata so that we can use it with of_platform_populate(). > > Signed-off-by: Bartosz Golaszewski I did not really see any precedent to passing of_dev_auxdata as platform data, but the idea looks fine to me, so: Acked-by: Sekhar Nori Thanks, Sekhar