Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp222013rwr; Thu, 4 May 2023 01:50:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7aVcwRlse1jxolIN5lDHAMmG8dAtBpwwrhHGGMzYEqE03IbnxkiqVvzMTO34A5uNzsruD4 X-Received: by 2002:a17:902:c085:b0:1a6:b971:faf8 with SMTP id j5-20020a170902c08500b001a6b971faf8mr2604026pld.53.1683190251421; Thu, 04 May 2023 01:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683190251; cv=none; d=google.com; s=arc-20160816; b=g5PeQUAA92G9c9IyM8ZQcdu9PxG3+2FGtrsSSVg5nZVUUfdPG/z2nIk1NERN9XI2K6 TPOXEefkG6CJGLmmXXCNvRb1dR+u/QZve1R3BdfCrKYTYyevrLaElybON7f4mlvZ39O+ vKp1W5njfZCdUOA3WUpXTJjG0VInsgD6AJnUtsUr4VUvD8khDF6/ESXQEHNOPHt+T2Xf gEOB31I/3VYuX4dvVeKcZlQ/ZVh09bIbD8j8ppsyFAVxxzBV7a5Vqgs2FQXFlnVZCIlG PJrnQkcE77kDZ/lxbxEhEfjaIe1SkXRoUBZkIrvJiPKXQP7Dam34qhwTOMB0BQep2VUV JBeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=7BtbTazpmLK0KSvj4AZeeyjj76DWKlTXEWvhg3rsLf0=; b=AyDPRGYR6ltern30p0uPg4OKPI5JkdgCzPewZpFXhwXInsWvga3gbByL93WaWECoF4 UcWEIdvxP0l4L6f2lbF6mUn9Cwh7j4rJpQlfjScvdLryEnWMxnTv1u2i5iGYRiIuYQee wuslNHmonhF4FvMajElJc7ko4ff8An/HWfCTQkIvi0QCGd3jjp5UnS6IgkLJp1/XOF0F /dgx+klooLOn3c37UaGvYUMAZZ2rnNT0oZet3va7rZVtuHtZwBm60ZS+syEld8aULhlE 81sjbOtxuBOI2n6JCVZCvDqRZ9FFx2Oxc90NwMasZy2iJ8eQ4O8uzKv0bA2Sy7CINPb5 2BzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=np3+HZuD; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m6-20020a170902db0600b001a637201992si36021761plx.488.2023.05.04.01.50.37; Thu, 04 May 2023 01:50:51 -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=pass header.i=@gmail.com header.s=20221208 header.b=np3+HZuD; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230325AbjEDIbF (ORCPT + 99 others); Thu, 4 May 2023 04:31:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbjEDIa2 (ORCPT ); Thu, 4 May 2023 04:30:28 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ACD45FC2; Thu, 4 May 2023 01:27:39 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f00c33c3d6so204254e87.2; Thu, 04 May 2023 01:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683188856; x=1685780856; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=7BtbTazpmLK0KSvj4AZeeyjj76DWKlTXEWvhg3rsLf0=; b=np3+HZuDjKNtHhzInJKaL4ni7hmJwGjw4t1PgOPYsSARUNDRNfEIgkaxROwcfPNW5B JsGuTYTCihmxm9MoKbm5pT6qraIdN07ozJpgh3erjqKs291SvhUNcQSqylqGfIJ1K4Hd 39JzqpILR3ZByLm+tLDvK+6VWltcOkJeOL4sxXstRMZt48yw6Tb5+OovfhegQjrdJIDn Roxx/15qo+tLPhfatNccapdhnhjHwgz8Q7zTYTv8H2+K87LPcECTwM7GnB9LhVJk1Dg3 CHtGDvQX5kVJ6OumAp0Z8WbU2hHoKabTRWYNobdqh3627GxxmTBSd1XFjPKQ96akKOl8 H/SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683188856; x=1685780856; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7BtbTazpmLK0KSvj4AZeeyjj76DWKlTXEWvhg3rsLf0=; b=bvEgR2biR8sihQEqnVlApvKeKhbDfDxRCc+DlUbO0rSxlFE8uaURDvW0c7grVeQqSN VSesjDp0xAZqit8O03GDczrnnaQn7sylovAG3fh4MN4iPp2CEGXzGLFIq1IFxwO3RxxX F4VkSlosP7t0P3876bqHM6LMJ1AABdYDHnGwdlp2+X0iKckh2EZ4N+ql7DO2LyBvsoDJ hz9OkuJt12Hj/eZUPHoaE0tFTgSDNGynRxVd97ufc8EXoqboSwcbxdy5fISOeP2zNuje 8S9HPnCX2/1kGsFry81zsyIPDX9K/V+ZT/o0oQcKLzUdAGnQUrK11wJdjsA8Ubb0cnDs T8WA== X-Gm-Message-State: AC+VfDwwM/bBdM2paug5P0p/+RF2I6C2E8jc86IcjRmvokkAX6MlzkWI 8yzkmvanU8Eg8IVhYkIeT+gAc4b8qto= X-Received: by 2002:ac2:4353:0:b0:4f0:80:d0c0 with SMTP id o19-20020ac24353000000b004f00080d0c0mr2162900lfl.63.1683188855735; Thu, 04 May 2023 01:27:35 -0700 (PDT) Received: from [192.168.1.103] ([178.176.76.17]) by smtp.gmail.com with ESMTPSA id j1-20020a19f501000000b004eff0bcb276sm5210649lfb.7.2023.05.04.01.27.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 01:27:35 -0700 (PDT) Subject: Re: [PATCH v5] usb: dwc3: core: add support for realtek SoCs custom's global register start address To: =?UTF-8?B?U3RhbmxleSBDaGFuZ1vmmIzogrLlvrdd?= , Thinh Nguyen Cc: Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20230504034423.20813-1-stanley_chang@realtek.com> <96706396-7023-b895-169a-788aad11adcb@gmail.com> <44451716afa541e298b2e5640fe3aec9@realtek.com> From: Sergei Shtylyov Message-ID: <747ce0a9-a629-e3f9-c59c-388333d3d911@gmail.com> Date: Thu, 4 May 2023 11:27:34 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <44451716afa541e298b2e5640fe3aec9@realtek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 On 5/4/23 11:26 AM, Stanley Chang[昌育德] wrote: [...] >>> The Realtek RTD1xxx SoCs were designed, the global register address >>> offset at 0x8100. >> >> Can't parse that, perhaps "with" is missing? >> >>> The default address offset is constant at DWC3_GLOBALS_REGS_START >>> (0xc100). Therefore, add a check if the compatible name of the parent >>> is "realtek,rtd1xxx-dwc3", then global >> >> Wildcards are not allowed in the "compatible" props... > > I can't understand your meaning. > Do you mean I can't use rtd1xxx ? You can't, indeed. MBR, Sergey