From patchwork Mon Mar 20 13:19:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 9634149 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 42199601E9 for ; Mon, 20 Mar 2017 13:21:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CE272843A for ; Mon, 20 Mar 2017 13:21:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 213CD2843F; Mon, 20 Mar 2017 13:21:23 +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 8F0B12843A for ; Mon, 20 Mar 2017 13:21:22 +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=AJJaPBMn/NhjbuUWf/or6fEOwXcdYBpvCiMyjOXiaFc=; b=HSdaduhx461EiQx8lxd/bOcP2K VSzSTuMGPzmQPzqjBLzNPzoyKXuj+NtE3cw2vGHZNCtgZFN6yS//CgqjbIAHA7J2ihvkKWvGRkdM0 m+4DKo5DIWC4ZqT8RIXcbNCWYmKeIe9Y1iW3ICZy/QflxYNMkxyVbP8eQhxbGUu+8qzavD3YfHzOV hVJ6ZdILz2RbkCLUpkR9EJnj95FjYk53MKZcVp2ke2pnuxqr0KDg28aKZth4kYOs+EBMFxXkbd4DQ m5lt01ER4iXHrGlXR6BwCImLeFGTrXlooJTVuIqwVDgoR92dqCaIg51VECh2VLHd5tpqe7OMtDqam YJFvtbmQ==; 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 1cpxFR-0001K5-Fv; Mon, 20 Mar 2017 13:21:21 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cpxF0-0000gC-9g; Mon, 20 Mar 2017 13:20:56 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2B97B60A0C; Mon, 20 Mar 2017 13:20:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1490016036; bh=0/mPgTG3EV1d4JtmxEB5TC60VBH9n0aNcmAodl6YUiM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GQkjMdzjwjlxqjBoLLPOJ/1FuDRnujlBn04HE+UJHJGkP7eKY8difhEJDQdkC0OZR J1ZKfwOOLMAIdVuReQXbX2w5Lo+4LgWOnmTM6b6t0VzerXjRLdDGdNEd19JFPwXg6H U8i0xKe/l9w0BCCaasdWyTGVcZ25KzKU7DOIc1dc= 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 2F15060275; Mon, 20 Mar 2017 13:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1490016035; bh=0/mPgTG3EV1d4JtmxEB5TC60VBH9n0aNcmAodl6YUiM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PSv65m7b0kNutMobjjq1Mo82fbz2mD7UvLjT4s+zbcuDNmZVpPhNwYTLq4EHMFYH9 97RxkIe9mdVAKkiN2/0gU39N3n28rhl4WdVVgxhnIxSZHeo7Ew04IXv787J/4WHENB d3z9N9aHeB8iCxfFjVQfF/Elc7M7Ihxa0pHX1JhI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2F15060275 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 Subject: [PATCH v4 2/3] phy: Move ULPI phy header out of drivers to include path Date: Mon, 20 Mar 2017 18:49:56 +0530 Message-Id: <1490015997-12956-3-git-send-email-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490015997-12956-1-git-send-email-vivek.gautam@codeaurora.org> References: <1490015997-12956-1-git-send-email-vivek.gautam@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170320_062054_417322_230BE3BB X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, Heikki Krogerus , Vivek Gautam , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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 --- 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