Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753512Ab3EIJpi (ORCPT ); Thu, 9 May 2013 05:45:38 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:60867 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753048Ab3EIJpg (ORCPT ); Thu, 9 May 2013 05:45:36 -0400 X-AuditID: cbfee61b-b7fcf6d00000058e-b8-518b7032f33f From: Tomasz Figa To: Olof Johansson Cc: Doug Anderson , Kukjin Kim , Thomas Abraham , Simon Glass , Alim Akhtar , Russell King , "linux-arm-kernel@lists.infradead.org" , "linux-samsung-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] ARM: exynos: Select PINCTRL_EXYNOS for exynos5 Date: Thu, 09 May 2013 11:45:10 +0200 Message-id: <1614776.P66h1VoFPp@amdc1227> Organization: Samsung Poland R&D Center User-Agent: KMail/4.10.2 (Linux/3.8.3-gentoo-r1; KDE/4.10.2; x86_64; ; ) In-reply-to: References: <1368034349-15091-1-git-send-email-dianders@chromium.org> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRmVeSWpSXmKPExsVy+t9jAV2jgu5Ag3PLxSwezNvGZnF22UE2 i94FV9ksNj2+xmpxedccNosZ5/cxWdy+zGtx6vpnNotvW7YxWhybsYTRgcujpbmHzWN2w0UW jzvX9rB5bF5S73HlRBOrR9+WVYwenzfJBbBHcdmkpOZklqUW6dslcGX0tWxkL7ggWDHvQCtL A+Mn3i5GTg4JAROJ34ues0DYYhIX7q1nA7GFBBYxSsw94d/FyAVktzBJPLhzhBkkwSagJvG5 4RFYkYiAssSTtkvMIEXMAieYJa5M3AXkcHAICzhL7LktAVLDIqAqMWP5erAFvAKaEmdezWYH sfkF1CXebXvKBFIuKuAhce8mmMkpECzxdWosxNrLjBL7tpxihGgVlPgx+R7YGGYBeYl9+6ey QthaEut3HmeawCg4C0nZLCRls5CULWBkXsUomlqQXFCclJ5rpFecmFtcmpeul5yfu4kRHCnP pHcwrmqwOMQowMGoxMObkdgVKMSaWFZcmXuIUYKDWUmE95hbd6AQb0piZVVqUX58UWlOavEh RmkOFiVx3oOt1oFCAumJJanZqakFqUUwWSYOTqkGRsWQ1Zs0H8T9lHQ6vt/+5aqQb9Kr777p Wr1GYzfvwzOimrujGItjli2bJO375G7Ot0OlR9in+gjePWAX/u9Ld/y9mRbvd02bXPnwOgsH o0mjLJ8pz9uXje8mT87/Wrv5PtPWp09rz7a6GT9h8zgupTXj8QS2nfqf6uJkLlXfMnS5cHtj ue6P7+eVWIozEg21mIuKEwEf4qKFkAIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2444 Lines: 62 Hi Doug, Olof, On Wednesday 08 of May 2013 12:33:34 Olof Johansson wrote: > Hi, > > On Wed, May 8, 2013 at 11:48 AM, Doug Anderson wrote: > > Olof, > > > > On Wed, May 8, 2013 at 11:19 AM, Olof Johansson wrote: > >> Seems like this should be selected by the SoC (ARCH_EXYNOS5) instead > >> of the board. Actually, I'm not sure we need the board Kconfig entry > >> long-term; all boards will be dt-only. > > > > Good point. Hopefully someone at Samsung can work on removing the > > board itself? If you'd like me to take this on then let me know and I > > can put it on my list. > > Nothing stops you from doing that on your own. I tend to push back > onto the maintainers to get them engaged in their own housekeeping, > but anyone is free to :) > > > I'm happy to resubmit my patch under ARCH_EXYNOS5. I'll move the > > exynos4 one at the same time. > > Great. > > > I'm going to make the assumption that PINCTRL_EXYNOS and > > PINCTRL_EXYNOS5440 can happily coexist. Certainly I've got both > > defined in my tree right now and nothing blows up. I haven't tested > > on 5440 but things ought to be handled by "compatible" checks, right? > > Yes, if they can't coexist then that's a bug. > > > I'll also assume that eventually someone will move PINCTRL_EXYNOS5440 > > into PINCTRL_EXYNOS. If PINCTRL_EXYNOS5440 won't eventually move > > under PINCTRL_EXYNOS then it makes less sense to define PINCTRL_EXYNOS > > for all exynos parts. > > Yeah, it should -- this is just in transition since 5440 was first out > of the gate with pinctrl. AFAIK, Exynos5440 contains a completely different pin controller block, which is not compatible with pinctrl-samsung driver, so I don't see any point of moving it under PINCTRL_EXYNOS, which is currently used for Exynos 4210, 4x12 and 5250, but will be also extended with driver data for S5PV210 as well. I'd say that CPU_EXYNOS4210, SOC_EXYNOS4212, SOC_EXYNOS4412 and SOC_EXYNOS5250 should select PINCTRL_EXYNOS and SOC_EXYNOS5440 should be left as is, selecting PINCTRL_EXYNOS5440. Best regards, -- Tomasz Figa Samsung Poland R&D Center SW Solution Development, Kernel and System Framework -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/