From patchwork Thu May 11 06:47:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 9721011 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4C379601E7 for ; Thu, 11 May 2017 06:48:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46ECA2866A for ; Thu, 11 May 2017 06:48:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B9812866D; Thu, 11 May 2017 06:48:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D10052866A for ; Thu, 11 May 2017 06:48:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KYfON22euXqA4looC+1HvPmuHNb1LpssR6eKjwtkpBw=; b=OFYIhJW5e8wxtSnZA6TUuN+QAp cLtPLb9MVa95YOh+V7SYBiwTpfEG4swXEjuvlJbbTkKTYGaTr5FB/5IUBD/kS7/ABNHwq67k8VLXg fY3UQ1B3Zm28nUYQYOMKjrz/35v8P7ZY4eHzpATVsHPOzYzXDVn/0dNz/EYdHoic9/VzGCnr0AJEe hZoFpsXwjtqgpu+59BBADhxL+ZmXqazlMuTWBWU5F1XT4jfk/HawR1k3+GIS3UplaEmABSFF0rDvf lbeDyzRthrM3bcq1Dek8rfiyvKNt7YmKtO5/hicDIDHvWQU8HJUMvaSLng4/X8MKo8me2f9w8y0OE xeevSEFg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d8hth-0006NP-7J; Thu, 11 May 2017 06:48:25 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d8htZ-0006Bm-DO for linux-arm-kernel@lists.infradead.org; Thu, 11 May 2017 06:48:20 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 03B0B6087F; Thu, 11 May 2017 06:47:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1494485278; bh=ahDhFt290w4sF2EqNJm3/qSH9rsDmE7nJ53rPqK9WAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TgD/z1nykol611p7E30pQOksG89F+hHHeLoU5nZaTe9Hv6DTPPU448orrE3hWuSzf w5hqtLd2H+31wTS/6fRgFyQjUK6HLiLwpgb1k8XPB6JBGbPCWBOjHtYApKuL3X2nd9 ld88HxVq5E5RbGdoxt/VUetr3tmlZO2R5a0UU+kU= Received: from blr-ubuntu-41.ap.qualcomm.com (unknown [202.46.23.61]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 03D0F60768; Thu, 11 May 2017 06:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1494485274; bh=ahDhFt290w4sF2EqNJm3/qSH9rsDmE7nJ53rPqK9WAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZAWzrrEvKpp9//n39vccHRwLBO+BOPCQSamLXv87SahG6rdfGMt/ZH4/zY6kFL0WU ZWpOAPdbsYl1L427PhDRZFGQEd93YZ5OyysnUPKihrRpEKtK67oq6+UXpRFmMwqebr LwTaB4VANDo0ou6OWgOOlnrKT11zkfpIF5WA5DUk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 03D0F60768 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org From: Vivek Gautam To: kishon@ti.com, linux-kernel@vger.kernel.org Subject: [PATCH v5 2/3] phy: Move ULPI phy header out of drivers to include path Date: Thu, 11 May 2017 12:17:41 +0530 Message-Id: <1494485262-18995-2-git-send-email-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1494485262-18995-1-git-send-email-vivek.gautam@codeaurora.org> References: <1494485262-18995-1-git-send-email-vivek.gautam@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170510_234817_606897_8F47BAF9 X-CRM114-Status: GOOD ( 10.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , Heikki Krogerus , linux-usb@vger.kernel.org, Vivek Gautam , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Although ULPI phy is currently being used by tusb1210, there can be other consumers too in future. So move this to the includes path for phy. Signed-off-by: Vivek Gautam Cc: Stephen Boyd Cc: Heikki Krogerus Cc: Kishon Vijay Abraham I Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-usb@vger.kernel.org Acked-by: Heikki Krogerus --- Changes since v4: - None. Changes since v3: - Removed qcom phy changes, since patch - 1/3 addressed that now. Changes since v2: - Updated the location for this header in drivers using it. drivers/phy/phy-tusb1210.c | 3 +-- {drivers => include/linux}/phy/ulpi_phy.h | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename {drivers => include/linux}/phy/ulpi_phy.h (100%) diff --git a/drivers/phy/phy-tusb1210.c b/drivers/phy/phy-tusb1210.c index 4f6d5e71507d..bb3fb031c478 100644 --- a/drivers/phy/phy-tusb1210.c +++ b/drivers/phy/phy-tusb1210.c @@ -12,8 +12,7 @@ #include #include #include - -#include "ulpi_phy.h" +#include #define TUSB1210_VENDOR_SPECIFIC2 0x80 #define TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT 0 diff --git a/drivers/phy/ulpi_phy.h b/include/linux/phy/ulpi_phy.h similarity index 100% rename from drivers/phy/ulpi_phy.h rename to include/linux/phy/ulpi_phy.h