Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27871843rwd; Tue, 4 Jul 2023 09:02:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlGTAmYRS0TBSNbLnugRb8rBE1cj9ZDaZSjz0Q6wWZLVV+eBLQX6wJrAB4yMmaraHvMTDEtQ X-Received: by 2002:a17:902:b682:b0:1b3:df53:1b87 with SMTP id c2-20020a170902b68200b001b3df531b87mr9475410pls.63.1688486543167; Tue, 04 Jul 2023 09:02:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688486543; cv=none; d=google.com; s=arc-20160816; b=wg51MHIMQRnevS7HK0el6Dle9624RbMlkAo822zsK4YnM331DIO21J+MJF6pzw0sqM bGuQE3cYxLHVnk9GfkkvXBzUSqzN88gZaAoG62D8I6xAHgN7f11TLnTXZo0CIb8mp9td Z2TUZG6+lm/jN6ERkaLc2Y5aqiMSCAK6Oaj9CtZtV6YEb1KBEKGe7XZoRK6WpSyBXplz hCFmDg6rBY3kUcDfbL0zIDBph/sEDitIA58Aug3GUK2+OQAOqre9nrAh0S7RIf3VqRYB YhicWowCBVhehzSu99TO/ej6SIlWHRkOmS5A+dLH7n9JYbywVGR0/1ndvQgYY4C2xTN4 C/SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=aSU/8YfMkAedsJBdoHeDZK33yvVVAM8JcV5bQFqXvjw=; fh=4hNL8NMjS6vjtCE2BBOh9bJbIOxWNwtXoMZAfcVbIDY=; b=DoAQxYFgU23fYSv/C4deI6IgbMabDpl9Y9yL+6kYQaVtFAtx6yKjTQ8Esou8gc0MCm LIM+oJze6rHUUWFYZ/YauYdYCUjVDpXndRULI7Xvj2WaCII0K7bhtiOaKiaGVMcA0jgv tIVhN/V9T4a/EAn/5APm14ODbHcPr/GadapRo1EpwpoYG+2WiBH0JwbYweA/HqMCeday s3D9etJYLyEY9mugacep3JTXsfbuY4otpAKRmfPAPLVvEamM8DpGZylDy9SHV+pfxpyY PMS5vG7Ir8xSRP1h+iLNjDVuqqkDD7Jq6RQ0FY8WLA77giUUBBorrpiK7eAQMqm2fJYi 19bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=IyKETWm9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a170902b20200b001b6833d605asi20291954plr.371.2023.07.04.09.01.42; Tue, 04 Jul 2023 09:02:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=IyKETWm9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231685AbjGDPbi (ORCPT + 99 others); Tue, 4 Jul 2023 11:31:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229971AbjGDPbh (ORCPT ); Tue, 4 Jul 2023 11:31:37 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C240810EF; Tue, 4 Jul 2023 08:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Content-Type:Mime-Version: References:In-Reply-To:Message-Id:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=aSU/8YfMkAedsJBdoHeDZK33yvVVAM8JcV5bQFqXvjw=; b=IyKETWm9la4KtMOpWcEn4clUw5 5kFA5HTuFdnUgZRdhnufpqH2tXR2SVYRvCEzXaUq5jMHiLLnKMV7XpNcA4Cqt11p1U5Sns7ULlKK+ 9uD5yOblRUvddMgtQVJTtOqvgvn2S77oLkdgez34FZhGLIJ7La4FPApEjaQpj/+MUmZU=; Received: from modemcable061.19-161-184.mc.videotron.ca ([184.161.19.61]:52252 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qGhzx-0000Bk-LL; Tue, 04 Jul 2023 11:31:26 -0400 Date: Tue, 4 Jul 2023 11:31:24 -0400 From: Hugo Villeneuve To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Hugo Villeneuve , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Message-Id: <20230704113124.f2830afe1d9df252afe5abdc@hugovil.com> In-Reply-To: <1341ba38-35c1-1657-aed4-a3c11f584367@linaro.org> References: <20230704150240.2022020-1-hugo@hugovil.com> <1341ba38-35c1-1657-aed4-a3c11f584367@linaro.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 184.161.19.61 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH] arm64: dts: imx8mn-var-som-symphony: fix USB OTG X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 Jul 2023 17:08:12 +0200 Krzysztof Kozlowski wrote: > On 04/07/2023 17:02, Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > > > USB OTG is currently broken on the Variscite Symphony EVK and imx8mn > > nano SOM. > > > > Import changes from linux-5.15 branch of doen't giveto fix it. > > > > Link: https://github.com/varigit/linux-imx.git > > Fixes: 7358e05bddca ("arm64: dts: imx8mn-var-som-symphony: Add Variscite Symphony board with VAR-SOM-MX8MN") > > Signed-off-by: Hugo Villeneuve > > --- > > .../dts/freescale/imx8mn-var-som-symphony.dts | 37 ++++++++++++++++++- > > 1 file changed, 35 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts b/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts > > index 406a711486da..aef89198f24c 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts > > +++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts > > @@ -6,6 +6,7 @@ > > > > /dts-v1/; > > > > +#include > > #include "imx8mn-var-som.dtsi" > > > > / { > > @@ -104,10 +105,29 @@ extcon_usbotg1: typec@3d { > > compatible = "nxp,ptn5150"; > > reg = <0x3d>; > > interrupt-parent = <&gpio1>; > > - interrupts = <11 IRQ_TYPE_LEVEL_LOW>; > > + interrupts = <11 IRQ_TYPE_NONE>; > > That's surprising, why? Hi, the varigit repos log or source code has no information about this particular configuration. In the schematics, the interrupt output pin of the PTN5150 is connected to two different resistors, one of these being connected to GPIO1 pin 11. But these two resistors are not assembled on any versions of the board, so the interrupt pin is currently not used. Hugo.