From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sachin Kamat Subject: Re: [PATCH 1/1] ARM: Exynos: Add generic compatible string Date: Mon, 24 Feb 2014 17:32:53 +0530 Message-ID: References: <1392809645-631-1-git-send-email-sachin.kamat@linaro.org> <53075239.4010603@samsung.com> <2200834.G3JJLYQl5i@wuerfel> <53076F00.7000001@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <53076F00.7000001@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org To: Tomasz Figa Cc: Arnd Bergmann , linux-arm-kernel , Mark Rutland , "devicetree@vger.kernel.org" , Kukjin Kim , Ian Campbell , Rob Herring , Grant Likely , linux-samsung-soc , Olof Johansson List-Id: devicetree@vger.kernel.org On 21 February 2014 20:51, Tomasz Figa wrote: > On 21.02.2014 15:48, Arnd Bergmann wrote: >> >> On Friday 21 February 2014 14:18:49 Tomasz Figa wrote: >>> >>> >>>> Now that we have a broader agreement on this, I think we can go ahead >>>> with the >>>> following steps as an initial approach: >>>> 1. Have a common machine file for both exynos4 and 5 files, >>>> mach-exynos-dt.c. >>>> 2. Introduce a generic compatible string "samsung,exynos". >>>> 3. Append this to the compatible property list for existing boards. >>>> >>>> If this plan looks OK, I can send across patches doing this. >>>> >>> >>> Looks good. I would also merge common.c with this resulting >>> mach-exynos-dt.c, as it would be the only user of the code there. >> >> >> Sounds good. While the naming is not important, I would just call the >> file 'exynos.c', in line with some of the other platforms we have. >> Both the 'mach-' and the '-dt' part of the file name are redundant. >> >> Alternatively, you could merge it all into common.c. > > > exynos.c sounds good to me. Sounds good to me too. -- With warm regards, Sachin From mboxrd@z Thu Jan 1 00:00:00 1970 From: sachin.kamat@linaro.org (Sachin Kamat) Date: Mon, 24 Feb 2014 17:32:53 +0530 Subject: [PATCH 1/1] ARM: Exynos: Add generic compatible string In-Reply-To: <53076F00.7000001@samsung.com> References: <1392809645-631-1-git-send-email-sachin.kamat@linaro.org> <53075239.4010603@samsung.com> <2200834.G3JJLYQl5i@wuerfel> <53076F00.7000001@samsung.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 21 February 2014 20:51, Tomasz Figa wrote: > On 21.02.2014 15:48, Arnd Bergmann wrote: >> >> On Friday 21 February 2014 14:18:49 Tomasz Figa wrote: >>> >>> >>>> Now that we have a broader agreement on this, I think we can go ahead >>>> with the >>>> following steps as an initial approach: >>>> 1. Have a common machine file for both exynos4 and 5 files, >>>> mach-exynos-dt.c. >>>> 2. Introduce a generic compatible string "samsung,exynos". >>>> 3. Append this to the compatible property list for existing boards. >>>> >>>> If this plan looks OK, I can send across patches doing this. >>>> >>> >>> Looks good. I would also merge common.c with this resulting >>> mach-exynos-dt.c, as it would be the only user of the code there. >> >> >> Sounds good. While the naming is not important, I would just call the >> file 'exynos.c', in line with some of the other platforms we have. >> Both the 'mach-' and the '-dt' part of the file name are redundant. >> >> Alternatively, you could merge it all into common.c. > > > exynos.c sounds good to me. Sounds good to me too. -- With warm regards, Sachin