Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5683066yba; Thu, 11 Apr 2019 03:34:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0Xj78FvJkwqcEJzXRXzvp+4jRuY0hVGcmsAmPUL2CbjZ+xTG3fTVS3fmFlBiWOOFjYKJ+ X-Received: by 2002:a63:8143:: with SMTP id t64mr45372376pgd.301.1554978867889; Thu, 11 Apr 2019 03:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554978867; cv=none; d=google.com; s=arc-20160816; b=NeKtKC3Zx71ps5Qq21HdKcVIUUA9rEjrNVJBN2uFPNuhUnWCg8fP+IPdR+nIMm0aNN XG120T0fcJs9GG90ZyNBGGE3HWsxpUcbY0Wan2HM0NN3T7sRLr44P6tf3rQFlTm7X5ct /aktqqpNVD5jBOTkN0q6RXL700r96iCPVZF0LrcY17It3IdIpOmHTxuzloD8xmwRKzB8 kG2qN6A6mfQ7cL7naUgD8k9jY1ddd2HdfNe0HWzeNvslnwAYn8jl7yRVgXbMAFr3cMY0 nZSI5TEM2yvT0QruezCeSRxPLO7+MBMcAXJt0rHRMjihudVv3zAHPBd4qQJLcLfPDiGz TUBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=MdP5zXZAtALDh3FJ5y7abQP9xajci7kd4mi1e+k7VKY=; b=ZvLwZH8BsLR1vgfws4DRs3fCDVBOHhWI1iLt1y/wRZmk38UsPxWceEfDyNxThrf6ke 4vN9QMZg8/PMEZeI6Y4kk3S9GMvk35KReMOoKOcnGeqEFk+dN4fso2ipu7s0SOkvOkqE yML/es/J+fWDgA4fed1hBE0BU4CfLZLd1/nn9wJk5UmJachIHV0TLGbfcHGlDces3s8z IlAafGd5m6ZMdIrEnC8XfUORhl5mTMBcqVSNLGos8YxF8raYML+msAKcIyFvWfIfXZVm mu6rDlAMEvDAiQAcYxNt5tzXWUOy6AnkKAVxWpgSA4ZMO33cZlhQJKyl5VI8SuZe17Le aOWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17si34457106pfe.250.2019.04.11.03.34.12; Thu, 11 Apr 2019 03:34:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726850AbfDKKbn (ORCPT + 99 others); Thu, 11 Apr 2019 06:31:43 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:26284 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726629AbfDKKbn (ORCPT ); Thu, 11 Apr 2019 06:31:43 -0400 X-IronPort-AV: E=Sophos;i="5.60,337,1549897200"; d="scan'208";a="12962286" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 11 Apr 2019 19:31:40 +0900 Received: from localhost.localdomain (unknown [10.166.17.210]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id C93F0402C055; Thu, 11 Apr 2019 19:31:40 +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 v2 0/3] phy: renesas: rcar-gen3-usb2: enable/disable independent irqs Date: Thu, 11 Apr 2019 19:27:33 +0900 Message-Id: <1554978456-20794-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set is based on the latest linux-phy.git / next branch with the following patch: https://patchwork.kernel.org/patch/10894105/ https://patchwork.kernel.org/patch/10894113/ 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. Changes from v1 [1]: - Rebased on the Biju-san's patch as above. - Revise typo on the commit log of patch 1. - Add deprecated value 0 on patch 1. - Add Reviewed-by tags from Simon-san and Fabrizio-san on patch 2 and 3. - Add Tested-by tag from Fabrizio-san on patch 3. - Use enum instead of definitions. - Add more a comment into rcar_gen3_get_dr_mode(). - Change name of tmp to mode and move the prototype into the loop. [1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=99561): 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 | 8 +- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 195 ++++++++++++++++++--- 2 files changed, 173 insertions(+), 30 deletions(-) -- 2.7.4