Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp258055rwr; Tue, 2 May 2023 20:16:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7hq3aLWXuDAHpXtOIfnJfATgfne7gcR2N+I8fPveYj9KYQYsZ2wV4fuDS+U+1oDoklUaX2 X-Received: by 2002:a17:902:ecc5:b0:1a0:422f:39d9 with SMTP id a5-20020a170902ecc500b001a0422f39d9mr641045plh.39.1683083814539; Tue, 02 May 2023 20:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683083814; cv=none; d=google.com; s=arc-20160816; b=mD/pv5sJm+XqdfUd49L0pdl6SSzDma56ZffvVC4s/SwY27OltIpGN0/vr1IJFtp7Vs R97+6bki2qi2CRZuGTem1vhzaNtZ8NRKxURhYL5Z6JYTR9lz5cRdc3/ZncdDGfo2X2M9 GEFCJkxk8v6vaYXFd/ZX3inNA7zuZ2aBGDnaqEgRUL4zoxLal8e8Zs/9XW1eLLoaIQIE CfgHU7Ncas66+gYPz+GDnEtEvhyrrazsc6qmQvE8AJJxoDMhNERoO3bZpwAVBQoMibQ3 S9faenmrEaA+2AW3C8znizzA+hNFohqsSgU7rStiRW1bSzBytmyBJBTeJuydhPU24MEu 94rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=26oCmJ8aMkubrhx0zQw0TmzVEmZAkHvjFw/hGC/xhOk=; b=d3Sih3r1IMt7//4lB0ndyHSJAfw00PP3fPhS7W6zCsNHCn3uH7NF9CBB+wvlAFqE9g FqjUcI4yYBo4qjyJK6Fa4VCEXQq1XpIi4uteYqoJMnBJXO+osk/q9lg5EkNn2470hg7+ TCvHjJcTclWlzg69IipyDTItY/b5JPzaSv5G/hdL9ZWMC+YBHkvS+AeDbNZN1G6DJKK/ PZrhpBz83N58y6lDKuPYqPbc4aNKTyubkNlM64/HzHpO0HGuCXTBmxsPgAWXvilv+GZO 5tQD+i3VjTUIVPOleHy1O7xTgIeqWGL0qFdrhhhlFekKyqEtdpPa3XjjLoKj4SN0JgFB 8GEA== ARC-Authentication-Results: i=1; mx.google.com; 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 p1-20020a1709026b8100b001a2a4eb10d6si31372615plk.58.2023.05.02.20.16.41; Tue, 02 May 2023 20:16:54 -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; 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 S229595AbjECDJT (ORCPT + 99 others); Tue, 2 May 2023 23:09:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjECDJQ (ORCPT ); Tue, 2 May 2023 23:09:16 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 330FA1FCD; Tue, 2 May 2023 20:09:12 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 34338mTkA001432, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 34338mTkA001432 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Wed, 3 May 2023 11:08:48 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Wed, 3 May 2023 11:08:52 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 3 May 2023 11:08:52 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Wed, 3 May 2023 11:08:52 +0800 From: =?utf-8?B?U3RhbmxleSBDaGFuZ1vmmIzogrLlvrdd?= To: Thinh Nguyen CC: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , "linux-usb@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v4 1/2] usb: dwc3: core: add support for RTK SoC custom's global register start address Thread-Topic: [PATCH v4 1/2] usb: dwc3: core: add support for RTK SoC custom's global register start address Thread-Index: AQHZfLOhhQrACak8/kmYU8MJMzcjSq9HDZGAgADOLaA= Date: Wed, 3 May 2023 03:08:52 +0000 Message-ID: <05bcd78a37e945528ec68592eb73d755@realtek.com> References: <20230502050452.27276-1-stanley_chang@realtek.com> <20230502223626.uyld3tv7d7fnbt7h@synopsys.com> In-Reply-To: <20230502223626.uyld3tv7d7fnbt7h@synopsys.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.190.159] x-kse-serverinfo: RTEXMBS06.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, 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 SGkgVGhpbmgsDQoNCj4gSSB0aGluayB5b3UncmUgb3ZlcmNvbXBsaWNhdGluZyB0aGluZ3MgaGVy ZS4NCj4gDQo+IENhbiB3ZSBqdXN0IG1hdGNoIHVzaW5nIGNvbXBhdGlibGUgc3RyaW5nIGFzIG1l bnRpb25lZCBiZWZvcmU/IEkgYmVsaWV2ZSBJDQo+IHN1Z2dlc3RlZCB0byB1c2UgdGhhdCBiZWZv cmUgYnV0IEkgdGhpbmsgeW91IGhhZCBpc3N1ZSB3ZSBnZXR0aW5nIGl0IGJlY2F1c2UgaXQncw0K PiBmcm9tIHRoZSBwYXJlbnQgZGV2aWNlPw0KPiANCj4gRGlkIHlvdSB0cnkgdGhpcz8NCj4gDQo+ ICAgICAgICAgZHdjX3Jlcy5zdGFydCA9IERXQzNfUlRLX0FCQ19HTE9CQUxfT0ZGU0VUOw0KPiAN Cj4gICAgICAgICBpZiAoZGV2LT5vZl9ub2RlKSB7DQo+ICAgICAgICAgICAgICAgICBzdHJ1Y3Qg ZGV2aWNlX25vZGUgKnBhcmVudCA9DQo+IG9mX2dldF9wYXJlbnQoZGV2LT5vZl9ub2RlKTsNCj4g DQo+ICAgICAgICAgICAgICAgICBpZiAob2ZfZGV2aWNlX2lzX2NvbXBhdGlibG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