From patchwork Mon Apr 1 12:01:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10879809 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8C3FD139A for ; Mon, 1 Apr 2019 12:05:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77A0228682 for ; Mon, 1 Apr 2019 12:05:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C47028769; Mon, 1 Apr 2019 12:05:42 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A51B28682 for ; Mon, 1 Apr 2019 12:05:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726722AbfDAMFT (ORCPT ); Mon, 1 Apr 2019 08:05:19 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:43566 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726436AbfDAMFT (ORCPT ); Mon, 1 Apr 2019 08:05:19 -0400 X-IronPort-AV: E=Sophos;i="5.60,296,1549897200"; d="scan'208";a="11718073" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 01 Apr 2019 21:05:17 +0900 Received: from localhost.localdomain (unknown [10.166.17.210]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 6566E401EA64; Mon, 1 Apr 2019 21:05:17 +0900 (JST) From: Yoshihiro Shimoda To: kishon@ti.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH 0/3] phy: renesas: rcar-gen3-usb2: enable/disable independent irqs Date: Mon, 1 Apr 2019 21:01:20 +0900 Message-Id: <1554120083-29990-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since the previous code enabled/disabled the irqs both OHCI and EHCI, it is possible to cause unexpected interruptions. To avoid this, this patch creates multiple phy instances from phandle and enables/disables independent irqs by the instances. Yoshihiro Shimoda (3): dt-bindings: phy: rcar-gen3-phy-usb2: Revise #phy-cells property phy: renesas: rcar-gen3-usb2: Use pdev's device pointer on dev_vdbg() phy: renesas: rcar-gen3-usb2: enable/disable independent irqs .../devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 7 +- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 191 +++++++++++++++++---- 2 files changed, 168 insertions(+), 30 deletions(-)