From patchwork Fri Jul 10 15:49:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11656919 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C2EB6618 for ; Fri, 10 Jul 2020 15:51:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9AF7F20720 for ; Fri, 10 Jul 2020 15:51:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="0Qfent+Z"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="Gi8cC7Z3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9AF7F20720 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=toradex.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=+84dvzUnOJGO683CnnuxWtHGkmOvK7hztfPQgL/l6C0=; b=0Qfent+Zm8cNZtAnS7aGTZHVw G9lON8WwU0KOJ45F7pLdlrKzeqjtZvO0WqQ0AHeA1cyY1mgQtB7NC/N/tNq6di2il595qbJGcporp /Unuz0FUEcHhORgblXxlc4anjVZjyVP6chjzjoAngdOLOl3Tv/S6LtpNNKtIoQSf2+5HaCf5CPAtN vRhrHLfg3no3jyausmOfHnVtypB7KnhbaHzFITUiHkAjBQwOjsK+/Ox+wFwwDqAniFniK5P8FUKW9 lMF8FdJA2XJqltkKNutbyx5jr8wVSdBhdSfqEuXz1ipVClIP6n3fh34vQLqVh2vAxxAmZwT2pnItI Q1FlCUgdQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvHa-0004La-EZ; Fri, 10 Jul 2020 15:49:50 +0000 Received: from mail-eopbgr150130.outbound.protection.outlook.com ([40.107.15.130] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvHX-0004Ki-VK for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2020 15:49:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mgb+mobSFVo5w4Ac+AStUgcfsfbc4Sv6jjP4tQDsAdVc7/URtTt66duhwPjzgkHs/pzwYU/L98uNp8/oF3JeBoLwTJKIFqzdRv4upSwpon8VCyG237IVMBp1EtEvByIiwtMtC2BDraJtbMo9UXzIR65V2pp4o3AmP4Sbb9D+6+p8ZgeQJPYFXBh9rLCRkCFpa5Yf0Q5WBC4a073MLdTFpaber2T5qTM1A6YdhQf2jcYf6jIF3swlHBI0GP41rKSYgHyxKkd3UuD9s2slg67lQgWPzud5SIaYUvOQy7qjLg+PsH+ZQzy0bS6VriGkkZQmdj/XVUf34QAi7qs+bJPVzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cRBZYzXnWp45ZboQyx2bYkGHj0PQVPU/PzTGdg5A5NM=; b=nR/whOIZnhkSFXMgazkzHd7bvaxirGXZvZ5JuKkG0UvIT3qWnUhjbYBU7zXqlXLdAsjabXMqZmmQzZ5Dk06/Q35PVaykBpxtvE8hphj2FZExAbyOL9BAcm0TRlMDYeb1SrSskwZd8RDWDB0sMNDawBggYyNhki/lGSHU/R/ZGIWJoW8oA5Q6fhe0C6ymdj4pBce2o0NIXMFq2ZcyZHZX7yfDw94F99pCfrmjkG+gwysPa2bYMFb1QkXleW4J6oiMD2B+KcXGnGf7eMd0CESFZWQzJzVDLwnUsuJDBfVc3mW3rpjMUoqUYnpz1/C99ltL6sWfQA+MggISMsOiVowyZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cRBZYzXnWp45ZboQyx2bYkGHj0PQVPU/PzTGdg5A5NM=; b=Gi8cC7Z3BV3eTAOOJsOilPaSeHFgkNeyJy2BqHpUQFY8CQbzun4WdpiS8GuHNQsE9p1w6hkUa9iVqcjRoipzha0udtgJice15m7ZLf3q6ryxrxlOtqDuC7sn1k1M2+SOVPoBD+qCwxHhb3DP96eZUH9tXW9Bx1gLvlygxexVpI0= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=toradex.com; Received: from AM6PR05MB6120.eurprd05.prod.outlook.com (2603:10a6:20b:a8::25) by AM6PR05MB5879.eurprd05.prod.outlook.com (2603:10a6:20b:a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Fri, 10 Jul 2020 15:49:44 +0000 Received: from AM6PR05MB6120.eurprd05.prod.outlook.com ([fe80::1d81:6a9b:8c26:3b7d]) by AM6PR05MB6120.eurprd05.prod.outlook.com ([fe80::1d81:6a9b:8c26:3b7d%4]) with mapi id 15.20.3174.023; Fri, 10 Jul 2020 15:49:44 +0000 From: Philippe Schenker To: Rob Herring , devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Peter Chen , Shawn Guo Subject: [PATCH 2/3] usb: chipidea: imx: support disabling runtime-pm Date: Fri, 10 Jul 2020 17:49:33 +0200 Message-Id: <20200710154935.697190-2-philippe.schenker@toradex.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200710154935.697190-1-philippe.schenker@toradex.com> References: <20200710154935.697190-1-philippe.schenker@toradex.com> X-ClientProxiedBy: GV0P278CA0047.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:29::16) To AM6PR05MB6120.eurprd05.prod.outlook.com (2603:10a6:20b:a8::25) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from philippe-pc.toradex.int (31.10.206.124) by GV0P278CA0047.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:29::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.23 via Frontend Transport; Fri, 10 Jul 2020 15:49:44 +0000 X-Mailer: git-send-email 2.27.0 X-Originating-IP: [31.10.206.124] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d8e28cc3-7397-4dcf-b450-08d824e8ddd6 X-MS-TrafficTypeDiagnostic: AM6PR05MB5879: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EKgVXtSa15rpGPIDja6IS6fbtZQQR27k3u5wF1EbZZUZIW6AR3OiWsx9cNMQ1acyqpvSZjyVHaIXzMo87MN7i/wNhnr+hhXfDe8/N8Vla7qeJkzzzRf6EZ/jIeDcw5l55bpHIucKDI1ZdV9fkXjZerr/ctDan4wWpaipZbQxCtbGfQx3RwGJ33LtfE0SBXXCc7kGhm5Uc4rwvSFMvJHy/j7dF37bPLD8ObFLE9zRi8f54y5UMSX6BBXaAmvruZzGL6Ssk3TT3P/iVcGzEuYdOISdu/P74d1DXjeykkK8dQs/fRqgqf0YiamtBCXz+CTYwHqg6A6QRS+6Ldhls9gPaDBKmQTXbTpxt0727Flm5YOwdN3Uo9mzTrTcIngwrHZi X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB6120.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(346002)(136003)(376002)(39850400004)(54906003)(66946007)(86362001)(52116002)(478600001)(110136005)(1076003)(6666004)(4326008)(6486002)(316002)(6506007)(83380400001)(26005)(7416002)(2906002)(8936002)(44832011)(36756003)(5660300002)(16526019)(6512007)(8676002)(66476007)(66556008)(956004)(2616005)(186003)(4744005)(16060500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: mM1vZzn/o8uZum0qTCXYZe9irbClIWkAqTFgBTczpuV4xTTlCV/s6B9aA/FDFW7vTb7ZNXjK53N/sBXuawOrUOJQpZRHR5jKoqf18PJPrUlFI9AWQIv1iDcJWgHlT4CmUgrbdJXUlDVXLh2dHaCHOPX2Yn1wKOoveJpyHVg7ye9JyAGndY/iCJ9mAzu09EKqdWbResqhNbStMx1xFTPVlD+sS7TEanvMXM/U7zigkADiNayDlM5zdY7LRDtSETqbDRLc9JXTEBysquuNLd8JorE1nzBGp4CkHX4OF0WV9E0/mXQhk7zwYeU3KylS1j95TIsRmksXrm43dpIQV6wtqZdw2uSFMbF75wmHm4SJgg/Zj0+Q3hWVZMxl1mZ7Sn5O5roiNYYu5JV2Eq7aVVLeHOAx2MacRh51tUG8+imEuBS9aPocJoRAI8pRLlckYzPFJ2GrrWSr9Z9wKkrvkqMdFduxo5bERuKHmYY2orxG7I8= X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8e28cc3-7397-4dcf-b450-08d824e8ddd6 X-MS-Exchange-CrossTenant-AuthSource: AM6PR05MB6120.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2020 15:49:44.7072 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kjtnirtwbXSi0BOa4IBT78WW7q8MCSQxjQcpzf6zdDoZphsQB9mJRessXwR1KXGvw6Ps7AAMSoUo3DBsN3R6tKzgamKpjHUuYFZqxr4MSh8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB5879 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200710_114948_142307_3EA1E158 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.15.130 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.15.130 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Greg Kroah-Hartman , Sascha Hauer , linux-kernel@vger.kernel.org, Philippe Schenker , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Chipidea depends on some hardware signals to be there in order for runtime-pm to work well. Add the possibility to disable runtime power management that is necessary for certain boards. Signed-off-by: Philippe Schenker --- drivers/usb/chipidea/ci_hdrc_imx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index 5ae16368a0c7..5078d0695eb7 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -434,6 +434,9 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev) usb_phy_init(pdata.usb_phy); } + if (of_property_read_bool(np, "disable-runtime-pm")) + pdata.flags &= ~CI_HDRC_SUPPORTS_RUNTIME_PM; + if (pdata.flags & CI_HDRC_SUPPORTS_RUNTIME_PM) data->supports_runtime_pm = true; From patchwork Fri Jul 10 15:49:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 11656917 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8DB446C1 for ; Fri, 10 Jul 2020 15:51:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6351F20720 for ; Fri, 10 Jul 2020 15:51:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Bg5GvJew"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="nx/gpwMp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6351F20720 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=toradex.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=y5wsMhZC1on4vx60B0saiZrG8YrDzeEvGVjBbjQbvO4=; b=Bg5GvJewJN7wDopKqOw6z0Wsh +f9V3cMADCc5bIQR2HzXm5G+Ok0Xnttpj8D+yq7oGS381eSL5HjNZaLOXQGpa6GZuFJqUnVMsd2yw jiw8uZmHQ9yQLuEAt6zHMMomPSk8USw8W6D1Ww6E3nH9o1ppJ88dKSdRYJuJRWYZ5kD9oIVqwPj20 QAJGBxefrf0c59I3yUUYpsjyygBtNAEwnYE2F/GvUOpiIGVetfLoZu7V5U07glgHm9gMhqNSLs7M1 h2o1+Se2EPGOTdSs0jAinGWtlacmjQi3e0CdE0K5ALHmdNFUSaY5y3rB2A09veQDBaEtdyJvMmvgT EXt8a8qhw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvHf-0004Mz-Az; Fri, 10 Jul 2020 15:49:55 +0000 Received: from mail-eopbgr150130.outbound.protection.outlook.com ([40.107.15.130] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvHZ-0004Ki-0S for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2020 15:49:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VIgj8tv0AI53AvBGa2SutPBL/Uw7xMuZBCbX4C0YDHfB1HM0BOZ+U+sC5zYaX8d7cFG1wz8RHwWkyojyVMBdGepVGwWiRzjEpNXGoPInAE1mAWBEHsuSYahTG0g+LiY0d9P9Nm1e+JjlsfTLVJXtdiKbWeW72CVNlLstFmNw2SYTu74ZN6SVycQAD4EZ9C/JNXfxI/o+zNoDEyBEERgTfeOACqL0tl6Nwmy51+QQTd6zuv+Z5kuqeBXhU25GB6oAvj76hJwcUU4fFRxrdeKjhmSm8dcmnMAqHaEOFTH5J8AVxiwkLjF8cSrLSXNBiSLloiHfD/c3gxjUCAmkUzSCig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P7VZ/lscJR0Q5fXY/y8VWvdcz2ufoRTZzeCN0LVp/6s=; b=g7+IdGn64n8H+Mz2l9Mdktdhpv7ed4PM0nvWV1kjgaq6LStv4zBqAggZ7SSOEgjpMZW1pEyoi+eZ1ZiRJuYlgG/1yGqk7ZarZXSvpXIMU6xmrkXLp2qEuDcV4apT7YvnnBSmf6BubFQsSatd54u6IWPT9yx6hF1fKIZxA77hiD2Umv80i9cZ6UciJfe0rm83b58Rdqo5+Ur/G3m7UcfpvHsn6dMPXbAYvPBRcObWXRlyI/Ijyh1N4uCzSezjmbTgXBpbXxnDaLQpE+cn5vdXz3MBUwn+j9hA8aG4MR5FjzMTR5i8VVcFIu5Z27zlaDMqDILAumTEH6BxQ0dejUz0+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P7VZ/lscJR0Q5fXY/y8VWvdcz2ufoRTZzeCN0LVp/6s=; b=nx/gpwMp5XlkL3qXGrXNsGbKkBxK9nrD9EcrQzymqmW2v0Vqd40LrFSvsSZXrsoRzV+Pvk/EgTK+VnkUQW1e7DXUagYi3eC7cszc/SIelZCmy2VwU4S+MJz4QHF1Ws4Sj0wwkyUfVdrbBag6w2yZ5cY/pZwOCQrYPPCVmnwbAfc= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=toradex.com; Received: from AM6PR05MB6120.eurprd05.prod.outlook.com (2603:10a6:20b:a8::25) by AM6PR05MB5879.eurprd05.prod.outlook.com (2603:10a6:20b:a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Fri, 10 Jul 2020 15:49:45 +0000 Received: from AM6PR05MB6120.eurprd05.prod.outlook.com ([fe80::1d81:6a9b:8c26:3b7d]) by AM6PR05MB6120.eurprd05.prod.outlook.com ([fe80::1d81:6a9b:8c26:3b7d%4]) with mapi id 15.20.3174.023; Fri, 10 Jul 2020 15:49:45 +0000 From: Philippe Schenker To: Rob Herring , devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Peter Chen , Shawn Guo Subject: [PATCH 3/3] ARM: dts: colibri-imx6ull: disable runtime pm Date: Fri, 10 Jul 2020 17:49:34 +0200 Message-Id: <20200710154935.697190-3-philippe.schenker@toradex.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200710154935.697190-1-philippe.schenker@toradex.com> References: <20200710154935.697190-1-philippe.schenker@toradex.com> X-ClientProxiedBy: GV0P278CA0047.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:29::16) To AM6PR05MB6120.eurprd05.prod.outlook.com (2603:10a6:20b:a8::25) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from philippe-pc.toradex.int (31.10.206.124) by GV0P278CA0047.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:29::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.23 via Frontend Transport; Fri, 10 Jul 2020 15:49:44 +0000 X-Mailer: git-send-email 2.27.0 X-Originating-IP: [31.10.206.124] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 09073e39-6fe8-492b-5152-08d824e8de48 X-MS-TrafficTypeDiagnostic: AM6PR05MB5879: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:590; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I0vW4diXeCXKZdVPHU+8MfSI+EdWYT5IJC6/ayB1AOTuYHIog8V45ju7XgPxtHuXnK8qKjdBwiB9tfzqz+j1Efs72BL9/inlQxv6YGnxHkCWzdyL4Ga5CZQlqrPtEqyXVlKTgpMJnC0LHR15ommpvC8emeHrVcT5XDx6pS7y8/l55jXMa0rEI49XJTOeezGjX5bPPm460iaa5kQmQ8FW2D1yFv0S3QZwPmxN3VBUDYRSNtjeJMJ3pON1S/qPBMhJctXM6ga30bi/Oogb7Dzm7kgOrWteV1yPYteF6yboJFWOExFabTrywQqHI3zery98U5IRKuOUDWy3oHNFFOdbtR9+ZjQLg1YxyfTUp4TovgdcLa3BhfCXpbNiIu0Q1w30 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB6120.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(346002)(136003)(376002)(39850400004)(54906003)(66946007)(86362001)(52116002)(478600001)(110136005)(1076003)(6666004)(4326008)(6486002)(316002)(6506007)(26005)(7416002)(2906002)(8936002)(44832011)(36756003)(5660300002)(16526019)(6512007)(8676002)(66476007)(66556008)(956004)(2616005)(186003)(4744005)(16060500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: 3V2JP85FpzvMpYLYWYcUbqCLvwwApr7O4YV5JkLhxilc43qq1QCfVxS11ZqKqj6K+1cg8ojB2VC7WGn5klBmXFlbpTBMF6JRjrQoEXSmwhgX74YkM8qO3oOea9TwtdfPJSC5vLNvZthDfXytKBdEE+v5zZBU6iXXrGcDvWnHqiMvD3kSpg1QXo17hI4TPtYsYmU5tpbbU8zT/MZaADKqx8G7HoJCdwXSMFxlB+70SmyWyOUZFaDzYlaDcrb42TfNao8RMgKSRokIM3YwKaNud23h4REdnBTiOQVILGZ2/o1TFLsxG0Z3ZpCbH8hXPOI+ub7TU5QAealZfupxYo8uq/4b4R9uDZi6FJs6xxrtNgG5/nRscFy91Oirl0jhO0WpiTosW2vSaAdEYMKZPeSWRh9qa5HmqI7rIa6gocv9w/iGNeUFtLAmoPj19We+UCi2txALQCVrbrjGeGN1Vpcakz7Y/JCVPXy0tIJ4xvXZyyw= X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09073e39-6fe8-492b-5152-08d824e8de48 X-MS-Exchange-CrossTenant-AuthSource: AM6PR05MB6120.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2020 15:49:45.5198 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SIziJ+6Rq8dWgNRj8eRNFGzkSpLKOcYY/pxcRA3Rw4/vYkFau+0XQn8BHoXyv/J+MAixlL8JJtwB/7bHZqOYx9EvhOyYnsrk+tIQ62NXsLw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB5879 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200710_114949_065749_B781DFAA X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.15.130 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.15.130 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sascha Hauer , linux-kernel@vger.kernel.org, Philippe Schenker , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The Colibri iMX6ULL has a somewhat special hardware design due to some legacy decisions regarding USB OTG. This leads to different issues when runtime PM is enabled. Disable runtime power management on colibri-imx6ull USB. Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/imx6ull-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 9145c536d71a..1c6692237506 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -195,6 +195,7 @@ &uart5 { }; &usbotg1 { + disable-runtime-pm; dr_mode = "otg"; srp-disable; hnp-disable; @@ -202,6 +203,7 @@ &usbotg1 { }; &usbotg2 { + disable-runtime-pm; dr_mode = "host"; };