Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4949908ybc; Tue, 26 Nov 2019 18:02:30 -0800 (PST) X-Google-Smtp-Source: APXvYqy5BmGqJhtxcCp2vWXbQPoglPDAA6gZojRsYI18vn9PR7XLMLjY1k1fdEZsxDw2pnlMOWP/ X-Received: by 2002:a17:906:3107:: with SMTP id 7mr27492156ejx.125.1574820150464; Tue, 26 Nov 2019 18:02:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574820150; cv=none; d=google.com; s=arc-20160816; b=wW2aI2DbejOQtVAFwZzinc9wZhyANbMC1X0zJVBzwPdfV1dLNQfNqf3p1Vdcc4/z2D m7LnkpgDskploWOK5EDmSZW3K4TtWHoGdVfjWxKbXQke2Gz8umNkNp9r0pPelzpwP5ym xil7BMNl4fLcIkQqc6YQPj+K//Ls2p5qtuscz3+h4TnL4ZvReafvwZv2CaF2iupkGkSy T6j0sxiA8D4q/XR+lv9up6bb/bFxnLYrUecAwf0PCRmKaYIL3k/pK1H2cuTX18mz7jQs MlFt0Bs5mQ+9TZpbEqGL2VAQ/06JJvkYAMsIywHwrlvev4Q+u6BaIWg4siuz7uelO8i3 ta1g== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=yUbAjVfl4t6YJAMVRmQUHJSbU7woRgvSxyinA20eFYM=; b=TiM2ZVdZnOGChE/Q5jX09Nev8HHI1fjKEHbR5+QSF8txs/3xCuLuMMxfzucryv8W4h MBmA0PhPQ9SArj0aohE5Wg7PKZ42l2rSvqhC1T5IG0KFnvepT8kLXCfP+PcYZJgC1zlW O5gRl1S5qV1uaNH1yXZ/gJJSVkKY8h7KAdaQEHb/BUxkNRtoPWhkvCo5mL0DlaAhJKyJ J8nZhJZHRaSfFBtcjhBxeOfBdH8Wb+pZqET0ZvYTbbWJOI0XiN/YcM9JfR5lK7tfIUjX mDlbYQqvFGyvKx3XchGlywYwgaLLla1yX/+oM5Ey/Bgj/oW00fktnx5ngI6iu3uCofgl pc9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0ZNGcffC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2si8156783ejt.8.2019.11.26.18.02.06; Tue, 26 Nov 2019 18:02:30 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=0ZNGcffC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726698AbfK0B6S (ORCPT + 99 others); Tue, 26 Nov 2019 20:58:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:39460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbfK0B6S (ORCPT ); Tue, 26 Nov 2019 20:58:18 -0500 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8C77F207DD; Wed, 27 Nov 2019 01:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574819897; bh=yUbAjVfl4t6YJAMVRmQUHJSbU7woRgvSxyinA20eFYM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=0ZNGcffCJymTkmD+GCOqe68NqvcHxx9oTOOiXzNOkx1yaNP67r6T4TeXgp02Ewifv HxjD97jqQqE1rS31Nh2HR41UdfBARkHMMQ1Msg0KzDdgc4Ehm1RHF7rYyLKZVjo6c1 UepOkE+88NNcDcV0vn96sTXFYJVTPm5PAkcJtTXI= Received: by mail-lf1-f54.google.com with SMTP id l28so15790561lfj.1; Tue, 26 Nov 2019 17:58:17 -0800 (PST) X-Gm-Message-State: APjAAAXVxuvr00uWe/43bH/tSoQ2H0o8vuV9NCRHVXIJEGajZh6zrCXL dzUJ3HcrCpG24dOlaweABMjZuFttUpQ43w/AOEc= X-Received: by 2002:a19:7510:: with SMTP id y16mr26681496lfe.24.1574819895739; Tue, 26 Nov 2019 17:58:15 -0800 (PST) MIME-Version: 1.0 References: <001001d5a03d$05de1f70$119a5e50$@samsung.com> <028901d5a3f6$e2d72310$a8856930$@samsung.com> In-Reply-To: From: Krzysztof Kozlowski Date: Wed, 27 Nov 2019 09:58:04 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] pinctrl: samsung: modularize samsung pinctrl driver To: Hyunki Koo Cc: Tomasz Figa , s.nawrocki@samsung.com, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , linux-gpio@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Nov 2019 at 14:09, Krzysztof Kozlowski wrote: > > On Tue, 26 Nov 2019 at 09:14, Hyunki Koo wrote= : > > > > On Thu, 21 Nov 2019 at 16:38, Krzysztof Kozlowski wro= te: > > > Hi, > > > > > > Thanks for the patch. Few comments below: > > > > > > On Thu, 21 Nov 2019 at 15:26, =EA=B5=AC=ED=98=84=EA=B8=B0 wrote: > > >> > > >> Enable samsung pinctrl driver to be compiled as modules. > > > > > > Why? What's the benefit? Are platforms capable of such boot? Pinctrl = is needed early - even before mounting rootfs... > > > What about module unloading? Is it reasonable? > > > Please answer to all this also in commit message. > > > > > > > Sorry to late and Thank you for your comment, I would like to apply GKI= on the pinctrl driver > > So I would like to cut off dependency from ARCH_EXYNOS. > > This is driver for Exynos and S3C so why cutting off the dependency? I > mean, wait, it is a driver for Exynos so it cannot work on other > boards... One more thought about Generic Kernel Image for Android. It implies that vendor stuff will be in modules... but only for out-of-tree code. The Exynos pinctrl driver is already in mainline so moving it into module is not necessary. As for dependency on ARCH_EXYNOS - I do not get why this is a problem. ARCH_EXYNOS is multiplatform ready so you can boot multi_v7... What would be the benefit of removing this dependency? Best regards, Krzysztof