Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp56657rdd; Wed, 22 Nov 2023 09:16:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6+q5VDx0Uo3uvoNJ4ivGbikmhcek5zP03T7XvUu082ifPiXw8aHPhizki5II/mR/TA+fO X-Received: by 2002:a05:6a20:e113:b0:18a:db62:6922 with SMTP id kr19-20020a056a20e11300b0018adb626922mr3396335pzb.35.1700673359993; Wed, 22 Nov 2023 09:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700673359; cv=none; d=google.com; s=arc-20160816; b=TOiYlvYU4NahvXo6om5C0d8L5Xauvc/nJt22qks//dtd4+j+A2D9zEYTWZdlWAK8mA JhLYv/q1J2JkTsDj637k98L7Rms6sWFLUVeKbRVjFNrgoqrTN0ODai4dBXO8HYJK9MXB 74FfsklzA5IYgutVLx1ffyr+le7vGHgmc5Aku6QuHduDdF2OZWQXC2HVfpIJU6lV8vk4 4sarqr4k3SbL4ZKf5aeVkZOqgPievCSWfGnvlj5ikKWRdaNheq0kFg3tcDMFj7lNNF9H 4WuRepcDVd/2iQDNdV5Uvm8Mny8J+FLk+LL3pYcoAH2oOFKuuhUTuVeEctY9Z56dJRra OzwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:from:to:cc:subject :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=AkVswiJ7VPVtZX+F/mFSJMy4cTc8YcymiMChgnVRYnw=; fh=VTRRORkzhxBzu5FjfE131rkCuL9CG7/FAPBO5q+LQQI=; b=Aaf2qrK3afUH00Xpt7hQCXVuT6txG/7WB6FeJJf7H0pUIeGDmTtBIFc5SjnKQf0cTJ y7BslX2X1/H3hDA5tZVHAdvFHK++nUhFAMfHSujEpjp1PeW2NdBZCBtyktwRW6IqjMUK /7/yzv+l+U+p8t/JS0UtdhwS8t2y9zy2WFT2BUAHhAQljDF14TmXp7jLKqF0jpkf1ioL xvepmFOIXXBdsGdoLPHdA95tAbAuiZwmtI29RRlk4UfHfz6/2QNigshaxidnsTJdYAzv iHCOn8XOneDaUhdTyS+f5eQm94cUxx3lYulEXlj59Kxxh2xVgTmwe5S8rb7M+2Z/GyJQ LMmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=YPVFJTVF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id a14-20020a056a000c8e00b006cb83b233a2si7927788pfv.355.2023.11.22.09.15.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 09:15:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=YPVFJTVF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 29ADF808E8D1; Wed, 22 Nov 2023 09:15:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232615AbjKVRPH (ORCPT + 99 others); Wed, 22 Nov 2023 12:15:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229955AbjKVRPF (ORCPT ); Wed, 22 Nov 2023 12:15:05 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E92583; Wed, 22 Nov 2023 09:15:01 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id B547B40002; Wed, 22 Nov 2023 17:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700673299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AkVswiJ7VPVtZX+F/mFSJMy4cTc8YcymiMChgnVRYnw=; b=YPVFJTVFZnnaVhBQtagXSCU0uOltCQ8PaBP/vpt0JIu2EA3Uh7BbmzW4752uw5vV6z0TFz GPFuSXlnqFvHwTnUkGwF6GvkuVYCUkimS6hJXQyvgW51IApN8GrG4qbc1qEsPbnNYHgDzT fC/ZhiN9fhu7k0o8ySDkh7StR8RvYOpsdZQYHpz1Bb+bE3+n5tqMa+9WOnYAYxqG4WaEow oqq4vaW1FpXnNmXUk+j/1h2NdTYKvyu07xycfVkhZiKZ4TjTaJw0to5AhUyDFNBXzYaOHU M+eVf7eoIgIEG1FErKH7Rb6n9jyj6QKr6euF3ha9qu/kUquevZlUKchwnhvXCw== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 22 Nov 2023 18:14:57 +0100 Message-Id: Subject: Re: [PATCH v2 1/7] dt-bindings: usb: ti,j721e-usb: add ti,j7200-usb compatible Cc: , , , , =?utf-8?q?Gr=C3=A9gory_Clement?= , "Conor Dooley" To: "Krzysztof Kozlowski" , "Greg Kroah-Hartman" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Roger Quadros" , "Peter Chen" , "Pawel Laszczak" , "Nishanth Menon" , "Vignesh Raghavendra" , "Tero Kristo" From: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: aerc 0.15.2 References: <20231120-j7200-usb-suspend-v2-0-038c7e4a3df4@bootlin.com> <20231120-j7200-usb-suspend-v2-1-038c7e4a3df4@bootlin.com> <6f0da181-717c-4b14-ba3f-d287efe4105b@linaro.org> In-Reply-To: X-GND-Sasl: theo.lebrun@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 09:15:21 -0800 (PST) Hello, On Wed Nov 22, 2023 at 1:00 PM CET, Krzysztof Kozlowski wrote: > On 22/11/2023 11:46, Th=C3=A9o Lebrun wrote: > > - properties: > > compatible: > > oneOf: > > - const: ti,j7200-usb > > - items: > > - const: ti,j721e-usb > > - const: ti,am64-usb > >=20 > > J721E & AM64 are compatible, express that & update devicetrees. > >=20 > > Option one is simpler & doesn't change devicetrees so I'd lean in that > > direction. What's your opinion? > > This one should be for am64. > > For your j7200, it depends whether the fallback to j721e makes sense, > IOW, if the Linux can use j721e compatible solely to use j7200 device. All compatibles might be equivalent if the reset-on-resume behavior is observed on all three platforms. I don't have access to J721E or AM64 to test that. @Roger Quadros: do you have any news if USB suspend/resume works on J721E and/or AM64? My testing on the J7200 EVM is (1) boot, (2) put the "USB2.0_MUX_SEL" GPIO high to have USB devices connected without plugging anything, then (3) trigger a s2idle. I get a memory bus exception on resume without my patches. Regards, -- Th=C3=A9o Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com