Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp759861pxb; Thu, 12 Nov 2020 16:07:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpx0KIwAivlWzf9NCKdERC21VY2NZk7rD5SMwDPNkxFixiBAhCnuCBb12KRj+z43Vn0w/b X-Received: by 2002:a50:d615:: with SMTP id x21mr2654858edi.200.1605226075753; Thu, 12 Nov 2020 16:07:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605226075; cv=none; d=google.com; s=arc-20160816; b=iShrg8OWR2cukZ++EtSbsrElE2GzD9sMqtBIeq/9XDYwvG4MoTrJ5sNGerxu/zYY1v xJbkhh2LDZ+39G9yT7cuAKGwDykNJbLydoQVp9CUsG3y02OUfrYtODqcup+v7FP7r/1V QMjDP3BRZn+IAWd1V9+ycdUqoZQ9BIF4UXuEyMV/msYyKvmp39P6OWkp15xffshvC3V5 gnlNMIYTx/ES8LmTRtSZNdH/H1MQ9mgbsz25EQa/Hq28YSK+S0x9s1N4rfxnJ0zWl/ur S3L1DEw2R7DlZPhN45T+A1lL6ZGGe35FYPlznRxmRtjak3pYwbzu5371rq+pztJcG4Fj yI0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=M/DNdhVAn+pj9y0xoI33n3R+K7GRe7kKavsf/Ah+nsk=; b=UFvL24tpNnaV7KiwMCu/l0e1B62D4JLsI99qdQGmDZtVOuq80Ve5eXFUDH+i4rz3fC WS3omq+nHZoEP+ApXlNm8MMAXgIYNTGPjLLDGjXUObjN12/pyrJtVU6gK45JND6UN9oy B8GoK0vzBu89hfdpz2V+LjZcPueQv7Fnexq9xk4EPsgEI1dVcncJs2M4cbYMBZd2B38+ biUc8ZWRd4zFJLY5y9FjwZ0SE9T67/d1OL8p/VRpI1AnzSnTkB11EmlzMrBY1irjKzpk 5I4S3PF7zBL/qB39kLQF0sq6pKET1j1bH4HoiO9nuQR+LsfNpNF24yHIDv3ZHhI8rVWm 9ECg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=m0sxsIVG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt15si4673542ejb.248.2020.11.12.16.07.32; Thu, 12 Nov 2020 16:07:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=m0sxsIVG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726005AbgKMAF5 (ORCPT + 99 others); Thu, 12 Nov 2020 19:05:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbgKMAF5 (ORCPT ); Thu, 12 Nov 2020 19:05:57 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32D51C0613D4 for ; Thu, 12 Nov 2020 16:05:57 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id p8so7877505wrx.5 for ; Thu, 12 Nov 2020 16:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=M/DNdhVAn+pj9y0xoI33n3R+K7GRe7kKavsf/Ah+nsk=; b=m0sxsIVG0ByZVmnxTxIO4wIiaZWWiqYENqL3CB0KdB+j6i07uxTXviGjJvMzBwHeTk be2JfgfJIsjWv6Sf8F6KATPB5wwYmLWqrw9nHdbZp43P/NAp/5kbiqINpmM3W1SuIINj Noa0/opEJVYol7p//o/y8VXhdSS9vKRIy9pI6bI0jL7SLj8ls9b3hgtck4FEcSaLXKfg JlS5yg89JjEBKnVOU0ojtvvss9N+42CGN3i4Mg/O45gW0R9sAVCZy2jSR3Imm6lPuHQY OqXu+glLJw0TbiR9tKPVEbNBTdsDV+034/11gpT0+WpXn103N1P62oAiXMtvCNTEQhy0 nF4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=M/DNdhVAn+pj9y0xoI33n3R+K7GRe7kKavsf/Ah+nsk=; b=LRS67MX5i++lrGftX3UR65oImb6pSDMVpzzysKdOFpuVJuQ23CRtItF7vY85f/RNHR aoJuyG+lCZbT1xZNA/Ja860sfKtMEpfRqyW8TvmrUjl1LTO+CFoN4633CP90OaEq0SUF /nlRWdEFGZBe9BfnsJTax3/VdGd3aVfIND5jAl+cZ7cf+vEJ7x4ZdogwnYIef1aJFkAK duEX2VroOyT8971jIyDUhT6kgSM/8jJ0IEZ+h81hspHQ+DXz3VPV3QOfYzEDqYeFU4EA MlzXr1Lk9nxfQ7fjil2NJ5s+OiaXIuZv7X4DQzXE6pJx7BX++UMWses3QMbCKe5e/sXK y5bg== X-Gm-Message-State: AOAM5319FTFbYLlSa34IpwkKBL0CJfCBPvYkD+GgU87xCdE53C7GL1F9 AurYChIxKdXrbhgwxWIVRRSHPg== X-Received: by 2002:a5d:4e07:: with SMTP id p7mr2397929wrt.63.1605225955746; Thu, 12 Nov 2020 16:05:55 -0800 (PST) Received: from localhost.localdomain ([2001:861:3a84:7260:5d3c:83d5:8524:33ca]) by smtp.googlemail.com with ESMTPSA id t11sm2010114wrm.8.2020.11.12.16.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 16:05:54 -0800 (PST) From: Amjad Ouled-Ameur To: Kevin Hilman Cc: Amjad Ouled-Ameur , Philipp Zabel , Felipe Balbi , Jerome Brunet , linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 0/3] usb: meson: fix shared reset control use Date: Fri, 13 Nov 2020 01:05:05 +0100 Message-Id: <20201113000508.14702-1-aouledameur@baylibre.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset fixes a usb suspend warning seen on the libretech-cc by using reset_control_rearm() call of the reset framework API. This call allows a reset consummer to release the reset line even when just triggered so that it may be triggered again by other reset consummers. reset_control_(de)assert() calls are called, in some meson usb drivers, on a shared reset line when reset_control_reset has been used. This is not allowed by the reset framework. Finally the meson usb drivers are updated to use this new call, which solves the suspend issue addressed by the previous reverted commit 7a410953d1fb ("usb: dwc3: meson-g12a: fix shared reset control use"). Important: Please DO NOT merge before this patch [0] is merged, it adds reset_control_rearm() call to the reset framework API. [0] https://lore.kernel.org/lkml/20201112230043.28987-1-aouledameur@baylib re.com/ Amjad Ouled-Ameur (3): phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use usb: dwc3: meson-g12a: fix shared reset control use phy: amlogic: meson8b-usb2: fix shared reset control use drivers/phy/amlogic/phy-meson-gxl-usb2.c | 5 ++++- drivers/phy/amlogic/phy-meson8b-usb2.c | 4 ++++ drivers/usb/dwc3/dwc3-meson-g12a.c | 19 +++++++++++++------ 3 files changed, 21 insertions(+), 7 deletions(-) -- 2.17.1