Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7971439rwp; Wed, 19 Jul 2023 03:19:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlG0QDMaBbIpIWnENWM5MdgrGEF5Kp1udhEkZEnQkHL4BgU/BpcqDFtGA9PgClYj9WKyyzvY X-Received: by 2002:a05:6a00:2345:b0:681:eddd:51fb with SMTP id j5-20020a056a00234500b00681eddd51fbmr2799399pfj.18.1689761969087; Wed, 19 Jul 2023 03:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689761969; cv=none; d=google.com; s=arc-20160816; b=0XgJY7UHMoTI8xQaOvOhIj8Jx4THgm0U75IQR8JS/40yiNQnySUsmyDZChURk8GOAe STRKQdA4z4e0RTs6nofWmL2h3I8sRtn+q+llW1QEB+qKD7TaVtJKt9OP2oo0YI2RPGkz Xp8o/5m+gPRZScGSfUK+ElW2NZB5iCN2f2uj7eEglF4pGpBkyJ2RcxtkImSuT02D5l0f XYGnNsc4TbLCDuOrjfYaYHJscNYJo0bwNhHdQZWGmyIahH6iNGNm3821GiW+XR//4blF y6LOf/BORJpuBz813RY+JA7A7Bj6SwyGiimP6FhMSG7b9TJYvNUR0++j4krrHHr0w4tp v42A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nj4t+6YbLWTik/Age6vPknRf0XinqBnh5qi+UfutZ18=; fh=3pEJYBl7VUFEQslcqu1vbnuQ2j+QHQe4tPD6PBj4NI4=; b=zcyRBRttHCoW5uatfDhdMnQlqgzp60SToNnQiPy0JVRSkQJNudPfkngmemYr79jARg r3vmadKIBUga7v9JdVp+iQAsQxUku0i83MXLGu581LImSM9OCSf8qY8SsLZtiiY3p8CC +EWVtR1fNYu/mLZiQGhT3kJ9FfWmlnAB5z5yWs3QMMFKYAP1sZSQ4j/zAsK4fSt+NPO6 6vKm8D53kDrkbML4pNQe7WU9NKEZgG8muI2Nb+ptdCymYKuUEeNRJvFfjxUuEfM/OwYW W8h8eWtnd9Jib+ykxu3greXoyBaUPmFPdyb8niExtSGKmfoFS0/9LNtg82BR3RCveo3q y5nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zqs07WOm; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p26-20020a056a000a1a00b006785d3c33e9si3262378pfh.340.2023.07.19.03.19.17; Wed, 19 Jul 2023 03:19:29 -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=@linaro.org header.s=google header.b=zqs07WOm; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230237AbjGSJwr (ORCPT + 99 others); Wed, 19 Jul 2023 05:52:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjGSJwq (ORCPT ); Wed, 19 Jul 2023 05:52:46 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C25DEC for ; Wed, 19 Jul 2023 02:52:44 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-51e429e1eabso9450883a12.2 for ; Wed, 19 Jul 2023 02:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689760363; x=1692352363; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=nj4t+6YbLWTik/Age6vPknRf0XinqBnh5qi+UfutZ18=; b=zqs07WOmGwu1OxGhh7CNgA3g3F0Sqdm3mtL5Cls+siGZWh+lLLhTVZM7edIArChwU0 YaUxMYg1KdqF1ozNMT20I3ZyytiMja33I322EF9Q7XdrlWs8SE3tMxyVTjeRxQyrmF71 gY8TN25sY/iC4KdxwlJohqkcdf1ZKpD97zXfxwJcHHFkO9aihJii4VZlL+tQb2FQ5wI4 mab1n2zqVbeqh00FDRwk48yGL1tXlPZDotze2AXqAqOGWuRWccgZYwKkHRI3k76iCAay jIXHtsa8z5MLc+Se1IO79iq2i6Ve3hMrIn6matLe26uDSnt/gy9MOLRL61/pUC989spj h3oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689760363; x=1692352363; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nj4t+6YbLWTik/Age6vPknRf0XinqBnh5qi+UfutZ18=; b=I3xwkfV4ewt+z3u+SuZTbAWcSHD8uY3oNrEVLfoWza8BFm/29vvlcbKplvMch4vcvz ylDDO6g9PUG0n98tVfT4fbBFJ7wrSprDbmp7JNK9cbTGhsYudODljsXKWO+U7Z0gSYoH uUlyGnCJJfRo7UzH2hFeR6uaJml8vP6/EKC+zt08N2WwD57WfNicK5UBySHAuOSrqP+9 SYeNwREX/FmyQIThhWYY6OBbg/piTJBGOivjUNjwN4uapsuibuedw5f1AjYqVXW67UfN 9MtNcR41a9Ch3vqOWkmoIfhNPdLxQV0FFS82xhnxrkorF2acNME+ukqZK1ESOhgnGvya 1OCw== X-Gm-Message-State: ABy/qLbd2j7kVK38+B76s4+LH549YjbzIl+i9rOkMAJefZm8ITQ5sct0 OJLhpV7ZhKc9UCxtZMkqFVUMyg== X-Received: by 2002:aa7:d659:0:b0:51d:d295:6741 with SMTP id v25-20020aa7d659000000b0051dd2956741mr1883598edr.6.1689760363087; Wed, 19 Jul 2023 02:52:43 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id g8-20020a056402180800b0051e0f8aac74sm2523079edy.8.2023.07.19.02.52.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jul 2023 02:52:42 -0700 (PDT) Message-ID: <33d91ece-03b5-7dc2-b63d-516390495792@linaro.org> Date: Wed, 19 Jul 2023 11:52:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 3/3] dt-bindings: usb: dwc2: add compatible "intel,socfpga-stratix10-hsotg" Content-Language: en-US To: "Li, Meng" , "gregkh@linuxfoundation.org" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "dinguyen@kernel.org" , "hminas@synopsys.com" , "linux-usb@vger.kernel.org" , "devicetree@vger.kernel.org" Cc: "linux-kernel@vger.kernel.org" References: <20230719025509.3007986-1-Meng.Li@windriver.com> <20230719025509.3007986-4-Meng.Li@windriver.com> <488835c0-e08e-c0cc-abac-192f658b093f@linaro.org> <86cbedcd-692b-ecb8-2075-d50835739bcf@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 19/07/2023 11:49, Li, Meng wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Wednesday, July 19, 2023 4:59 PM >> To: Li, Meng ; gregkh@linuxfoundation.org; >> robh+dt@kernel.org; krzysztof.kozlowski+dt@linaro.org; conor+dt@kernel.org; >> dinguyen@kernel.org; hminas@synopsys.com; linux-usb@vger.kernel.org; >> devicetree@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org >> Subject: Re: [PATCH 3/3] dt-bindings: usb: dwc2: add compatible "intel,socfpga- >> stratix10-hsotg" >> >> CAUTION: This email comes from a non Wind River email account! >> Do not click links or open attachments unless you recognize the sender and >> know the content is safe. >> >> On 19/07/2023 10:45, Li, Meng wrote: >>> >>> >>>> -----Original Message----- >>>> From: Krzysztof Kozlowski >>>> Sent: Wednesday, July 19, 2023 2:39 PM >>>> To: Li, Meng ; gregkh@linuxfoundation.org; >>>> robh+dt@kernel.org; krzysztof.kozlowski+dt@linaro.org; >>>> robh+conor+dt@kernel.org; >>>> dinguyen@kernel.org; hminas@synopsys.com; linux-usb@vger.kernel.org; >>>> devicetree@vger.kernel.org >>>> Cc: linux-kernel@vger.kernel.org >>>> Subject: Re: [PATCH 3/3] dt-bindings: usb: dwc2: add compatible >>>> "intel,socfpga- stratix10-hsotg" >>>> >>>> CAUTION: This email comes from a non Wind River email account! >>>> Do not click links or open attachments unless you recognize the >>>> sender and know the content is safe. >>>> >>>> On 19/07/2023 04:55, Meng Li wrote: >>>>> Add the compatible "intel,socfpga-stratix10-hsotg" to the DWC2 >>>>> implementation, because the Stratix DWC2 implementation does not >>>>> support clock gating. This compatible is used with generic snps,dwc2. >>>>> >>>>> Signed-off-by: Meng Li >>>> >>>> Missing changelog, missing versioning. This is v3 or v4. >>>> >>>>> --- >>>>> Documentation/devicetree/bindings/usb/dwc2.yaml | 1 + >>>>> 1 file changed, 1 insertion(+) >>>>> >>>>> diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml >>>>> b/Documentation/devicetree/bindings/usb/dwc2.yaml >>>>> index dc4988c0009c..f90094320914 100644 >>>>> --- a/Documentation/devicetree/bindings/usb/dwc2.yaml >>>>> +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml >>>>> @@ -51,6 +51,7 @@ properties: >>>>> - amlogic,meson-g12a-usb >>>>> - amlogic,meson-a1-usb >>>>> - intel,socfpga-agilex-hsotg >>>>> + - intel,socfpga-stratix10-hsotg >>>> >>>> So you just sent the same patch as before. I pointed you to the >>>> proper solution with compatibility. >>>> >>> >>> No. not the same. >>> I don't understand why SoC specific compatible "intel,socfpga-agilex-hsotg" is >> able to be added, but the SoC specific compatible "intel,socfpga-stratix10-hsotg" >> is not allowed. >>> >>> You said "Where is SoC specific compatible?" >>> Now, I add the SoC specific compatible "intel,socfpga-stratix10-hsotg", but >> why it is still not reasonable. >> >> The compatible should be added, but I said they are compatible, so express it. I >> also gave you example of file which expresses it. >> >> Why that compatible is not allowed alone? Because what we said here many, >> many times and because the doc I gave you which explains this. >> > > I had a look the doc ,and refer to rk3128.dtsi and commit 5032b269203287c17064d33c72be1ebf30c04a95. > So I think it needs to add " intel,socfpga-stratix10-hsotg" Documentation/devicetree/bindings/usb/dwc2.yaml. Open the DTSI and look at compatibles. Now open the driver and look at the compatibles - surprise, there is no rockchip,rk3128-usb! Now open the binding and look how it is done. > But if you think it is not reasonable, could you please show what is your modification for the dwc2.yaml. Open the binding - it is already there. I bet there is someone in Windriver who does Linux and can help here as well, none of existing code is working for you as an example? Best regards, Krzysztof