From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugeniu Rosca Date: Thu, 4 Apr 2019 14:42:36 +0200 Subject: [U-Boot] [PATCH] pinctrl: renesas: Fix linker error when PINCTRL_PFC=n In-Reply-To: References: <1a61e450-6c59-56b2-2efa-ff2bce58d369@gmail.com> <47a77b99-711a-fde1-220f-057bdb08ca6a@gmail.com> <2e9e3d57-2690-4c64-f4cf-c0832f3e74b4@gmail.com> <20190402154020.GA21698@vmlxhi-102.adit-jv.com> <22ce7959-7615-012b-73dd-b3aee3d21220@gmail.com> <20190402170207.GA23017@vmlxhi-102.adit-jv.com> <5e965baf-c7f6-1ea1-2117-a18964a464e0@gmail.com> Message-ID: <20190404124236.GA29742@vmlxhi-102.adit-jv.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marek, On Thu, Apr 04, 2019 at 03:36:45AM +0200, Marek Vasut wrote: [..] > I was thinking about this patch further and I think the best way forward > would be to extend the pinmux/pinctrl API with a callback to set a pin > as GPIO and then just call that API from the GPIO driver. That would be > the generic solution and would make this whole > sh_pfc_config_mux_for_gpio() go away altogether. I don't think anybody is going to contradict you, as long as your solution resolves/prevents the build error reported in this thread. Since you have the best vision of it, I assume you take the ownership of the change and CC the relevant people upon patch submission? Best regards, Eugeniu.