Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3974013pxm; Tue, 1 Mar 2022 08:47:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyl69/YDaBQs1R+XnbqHQmqAhYXJqfzhHvELA3qSoPjFMoeuy3ZS1KGh38kv8pU+qErQtLM X-Received: by 2002:a17:90a:1108:b0:1be:e1bd:e2f0 with SMTP id d8-20020a17090a110800b001bee1bde2f0mr2891431pja.144.1646153258540; Tue, 01 Mar 2022 08:47:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646153258; cv=pass; d=google.com; s=arc-20160816; b=XouRTthrwzivqI+bRIRp9z0I1WhuhUmY5lcyPoBypk726hl9eWJmtE27KmbwXH1EPx mALZav66z56P7GseFroGzsSdgS25cSvwxHUCscjeHTtZpcTxR3kr3ck1G4TXGJNACUqs zvUHqpCnCcDlmkA6ltmF4ZoSlljQRI5tTOS7samNC33rKOW9km61OOhGclXcLjZnTtkE 2uac7rAZb8hSCaMRFrVEF3VBTbGUX5bnQWFuBFtsNYvBHSM5wV9TAJLKz9wCQXpzy7mg tRK5p0ydlSrE2flfg2ZLS8OytKJiiQWrcjaMQ/McvpUfJXX5edQZiL/zTNzsLEPMswDh jwaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=z62eI7u7zD/tah5JR21UxJAQ3BkbDrsXI+ubKjg/yb8=; b=us++WR351bZjj/yzji6cOiq/8mMLUFrgXfYTUKBxqhvVA9bMlydzEUJ4pT3j90YWbI YfR9vlqaTgib4t7+MjBbs5W3hvNl1b7kbvAIMivFLBmwSvbLrC2nyyOI3LBDURISJHDC T1V3lnkacucLl9gjLQjpJU9pNXQj15rh77LQSJCVDKW8Hxw9p85IZWJPikT2ulYjLsO6 q7gzVnXQ3qf8xzRjeeprvUYEOXP7tCgsc1dA0NNxccwDebKmq5I2C8meJFWSxabKKqk/ iVQqCG0HCsnLyHswfyXBkGHtPtw2J6xsDOHFWyp2b5uYQS1Lznn6TmBzYBqLYdr7CxRd 7t9g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=Zbn6aySD; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i126-20020a628784000000b004e1cb2769basi12224947pfe.324.2022.03.01.08.47.19; Tue, 01 Mar 2022 08:47:38 -0800 (PST) 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=pass header.i=@wolfvision.net header.s=selector2 header.b=Zbn6aySD; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234934AbiCANpH (ORCPT + 99 others); Tue, 1 Mar 2022 08:45:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231383AbiCANpG (ORCPT ); Tue, 1 Mar 2022 08:45:06 -0500 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40045.outbound.protection.outlook.com [40.107.4.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 467DF9EBBB; Tue, 1 Mar 2022 05:44:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D+W0Fjjry/IQpl1QskifPJDHveND2Tc4oFJBC7J0ODDlWHxpHSiH8JHdTML7m1SzEJ6oi5t/D95s/W6Zdx9GSZW2ganibNgxLohwMcX6RtUTU/Bb0I7sOzx4fe+51mDvKyLskmeHtpucitv+OUgfDKiWWoLZ5ncYNdLbb0tM+DndC0ClIbMOJA1wDM+h6LLHvPoFRQUJ1+apvf6oLMKZLbhcysVf0EvcyHOqFB2zUR2GeB5xJkhJKx6eCN6UjlHw22CFOrjvsy8kqDKTMve9pLaYqNlDXggEKJtkbeu1ta595BjVd/65g+1CwONPqfGbQ9PQa0Y1G7Bn1Kgr3AUAYQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z62eI7u7zD/tah5JR21UxJAQ3BkbDrsXI+ubKjg/yb8=; b=Ia5XWLQA6QEI7Bz+EMLCyhqNCtbvwOGEUVV3K88MA3sdUBjJHetf3svPOaixb3ZBVRYboynKrxOuYVUQnIInv748JUGZtui286fis1rw7eMMUsOjFQykyM3u7NLZ/BahevFpDnGpDLipRo3GP0HTbeIIf0Q/1lCV59kcATXISfoq7OQDHgx6t222cN9URuwFDHFoP96Ow9vlT1mM+ZDE46HjZDTKO1N2s95f8c+fHooN/yFUc7A55hSpAsavIKK1EL6bcINOZR/6C8WlS2RfQ391rC6EQCzG7kxE+feQyOFPA4WX3hA41gKpMOs9XEII0/H/EM6nbcdu+Irrh7WX8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z62eI7u7zD/tah5JR21UxJAQ3BkbDrsXI+ubKjg/yb8=; b=Zbn6aySDFkb6pISjB2wvpUstG7FLUZzepBXsmr0JCkpYhCGdbrkABuMFqPqGHefAIYsTFPXyOY81gFA15WHtQWnRSfl3yRsM8tni8de21ZjSczsA9zSTYOx+5bhVAGixzrSIbgJXeCX77R18o9i+Q97dY5RaP5O+FMUXd0wODJQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by AM4PR08MB2643.eurprd08.prod.outlook.com (2603:10a6:205:5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.26; Tue, 1 Mar 2022 13:44:23 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.5017.027; Tue, 1 Mar 2022 13:44:23 +0000 Message-ID: Date: Tue, 1 Mar 2022 14:44:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v3 5/7] arm64: dts: rockchip: add rk356x dwc3 usb3 nodes Content-Language: en-US To: Peter Geis Cc: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , "open list:ARM/Rockchip SoC..." , Johan Jonker , devicetree , arm-mail-list , Linux Kernel Mailing List References: <20220227153016.950473-1-pgwipeout@gmail.com> <20220227153016.950473-6-pgwipeout@gmail.com> <56f8b74d-d9a1-7c6b-67f2-29586956670d@wolfvision.net> From: Michael Riesch In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: ZR0P278CA0066.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:21::17) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 12219d3f-e2ea-416c-5a96-08d9fb8997df X-MS-TrafficTypeDiagnostic: AM4PR08MB2643:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bPy59At65IIoS0ugXO5eNSfVficO7R5WlaOl7HGn5b93MWgXcBzgNEuTxz+/gFRjmGDqAOJ/6ez54oy+LW1H16aGqbCcPtxE+OAnlUl6UbQeu+73XXQA3LuamjKRkD5n/xZRHp2wLYB7MVdehnwM3fLSwghcl7Gq+wjc/RDVEbLXptWkBFH+mCbDoqwZvU7bvhvDCWrmyhewh8GX9bSmbKzjkczhWDanavweB9MG8rUVqAybzYAYfPXAg76MwO9Hh2KNza8dgH+c6Vmo14uhLFa0yECfXXmdCXLwsKXhqEBiMyYO4b7b5OSI6/QkLoU6v03s4u6cOqEAOynpd0VB9mIZ2kPrGB9xvfcE9fiCkiLaMuNVGr2BI461uAjXbzO6M7jjrnB8lv6zg3IwIWOKI568klPxZWNfRb/17FWbuonVyDDHcxuoKKOk9d2jLYvH4MvoXR1QPzqwzgx/+X8QVT02uxxgiAT9mkugXZVgx94qzxovzzko/NMx19PeooWfkacGovRq8PUxzmLqXIMxKVaKTb7LCiTSw0iNhJcf3usTtY7CRx5xwikoRNh9o6pWDP/+dccG6PEuZHI7brks6nfhaKcqYNyfH6fSqnc8xTAuIzDNS9fLwq/YUoSngdYleO96kTKQXfK559N5QI8iFWLs7CgDbIpxAqOevwqxPhJyWsHHuxxJTW+Sp7XQfJdNqkAaqAEdlaq8XMUl1VUPYZ1cluGMS88Aq2Ac/qj2/Dbf+l8Le4mvjY14tIUIgidT X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0802MB2426.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(2906002)(2616005)(31686004)(54906003)(52116002)(53546011)(6506007)(6916009)(44832011)(31696002)(86362001)(38100700002)(6486002)(8936002)(5660300002)(66946007)(6512007)(316002)(36756003)(66476007)(66556008)(4326008)(8676002)(186003)(508600001)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?U21ISnY1eEdPZzZFbExOaDhoeHJuWERPZDNKdStVZGxDazhRc0cwL01XdFZk?= =?utf-8?B?NERDMENiRGQvcDF3cGp5Vm9UYzdFeVRwaktXM2VzUjBzUWV6QlVESzFkbkZF?= =?utf-8?B?VnNNaHRmZmVVOXVvaGxrTUsvUnBMSUVWbkMycTFtNWRCY1Z3ZklJWUFtTUdB?= =?utf-8?B?N0VScFpESHBjYUxwQ0pETFR1Q3JheHk1TmFRSEdJM2l6NzZEdGVEWlYzbThV?= =?utf-8?B?bDVnOFFLSnhlSHBRV0RKRUNFSnJxeklSUE01WDhMdnlWeFg0ZFJNbWtjcWpa?= =?utf-8?B?NHRCN3dJSWpnSmxNTGl2OVBsWHc5dS9aQmRGOTkraEVpMFZHQnlzZlVTMHF1?= =?utf-8?B?Tjg5N092L0E1Z2xvTGFCRFZMeDV0bFRNMzdZNWhyOHFRZ25vbG92Nlh3UzRs?= =?utf-8?B?T2ZINmxyTGw2TWxFWFRta3BCK2JPM0M2bGlXcmRmT2cxT1JqZXU5YTVUMEtN?= =?utf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FUME9RK3JoaStxRWY4cEN1bFBTdWNQ?= =?utf-8?B?V1pXRFJLRXFzcEJaKzNtb20zTExLOUcyWVV2OG1UUkJzMm9RQ0xWNXJvMG9q?= =?utf-8?Q?SwNgNI5MzpvfgYwY=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 12219d3f-e2ea-416c-5a96-08d9fb8997df X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2022 13:44:22.8599 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: N5yjkiOm28evpA+BPKBZQcviWiU8HjA8tuFfjpUwnaXuKGU+xiXm6pvnLRT0TpFx4Oc0LwUKeE+Cnr0te2b8V5AHx7pGI2ycw4CzY2+i3OU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR08MB2643 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On 2/28/22 15:10, Peter Geis wrote: > On Mon, Feb 28, 2022 at 8:37 AM Michael Riesch > wrote: >> >> Hi Peter, >> >> On 2/28/22 1:57 PM, Peter Geis wrote: >>> [...] >>>>> + >>>>> +&usb_host0_xhci { >>>>> + phys = <&usb2phy0_otg>; >>>>> + phy-names = "usb2-phy"; >>>>> + extcon = <&usb2phy0>; >>>> >>>> I wonder what the correct place for this extcon property is. You defined >>>> it on SoC (RK3566) level, in my patch for the RK3568 EVB1 it is added on >>>> board level. Is this common to all RK356x variants? >>> >>> Yes, the usb2phy is always available as an extcon unless you make a >>> device that doesn't have usb2 capability. >>> In that case you'd have to override the device anyways. >>> If we want to turn on default role otg here, we'd need this defined >>> here as well or things break. >> >> OK, so it seems to me that the extcon could or should enter the >> rk356x.dtsi (and can be removed from the rk3566.dtsi and the >> rk3568-evb1-v10.dts in this series). Is that correct? > > Apologies it seems I just missed this. > Yes, this could get moved to the base dtsi. > I'd prefer to do it as part of the next series supporting otg, as I've > only been doing OTG development on the rk3566 and would prefer it be > fully tested. Thanks for the clarification, that'll be fine for me. Best regards, Michael > However if Johan prefers I can send another revision accomplishing this now. > >> >> Best regards, >> Michael >> >>> [...]