From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759020AbcAKKHP (ORCPT ); Mon, 11 Jan 2016 05:07:15 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:34870 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758678AbcAKKHM (ORCPT ); Mon, 11 Jan 2016 05:07:12 -0500 To: Kishon , Felipe Balbi Cc: LKML , linux-usb , Arnd Bergmann From: Mason Subject: Correct place for USB PHY driver Message-ID: <56937EC9.4050109@free.fr> Date: Mon, 11 Jan 2016 11:07:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, I have a board with a Chipidea controller. I use a custom PHY driver for it. Should the PHY driver live in drivers/phy or in drivers/usb/phy ? I was playing with a modular build and hit this problem: ERROR: "of_usb_get_phy_mode" [drivers/usb/chipidea/ci_hdrc.ko] undefined! I'm currently using v4.1.13 and I saw that Arnd fixed something related probably in a later version: http://thread.gmane.org/gmane.linux.ports.arm.kernel/457561 Was this patch accepted upstream? Regards.