Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp1479883pxw; Sun, 10 Apr 2022 03:55:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbhBfhftDOgnqCMbqP00ck386joxP/f9FIKzQha1oQDLBdtlBqvp3lsenyAJaWjTI1PbsW X-Received: by 2002:a63:e048:0:b0:39c:c3a3:cfb5 with SMTP id n8-20020a63e048000000b0039cc3a3cfb5mr14502072pgj.579.1649588100964; Sun, 10 Apr 2022 03:55:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649588100; cv=none; d=google.com; s=arc-20160816; b=VKXi7QtJ0vwopoqdH7NaRSeX1gpGPy9kmxGI2WrgSaP5dFKIvBBU8sCblKMjxZiVG+ kaKlVVSPBf1ZPskAx6ePc6r0/nY9kvgT25UK8K/bKxCsgMIyDIIVI/BznrjucxXm5H6s dPIpZYswEFfFCWKIjlYjeHlZXq0TM8hvx8T+QThwLIrGz/Tn2+c6XdFdSzKVMEqLtXtk TgiyL8N1GV9svDqvNlV8b6ZrbNLvoSuKtmuw7Oly2ArBjXkFrnOWOKebFCfHK/yGsW48 NMSkzkpAtlNCNAXGXqkm/+FAWX++SKC9TATSxQ0Xzdrw1rVHgfhjDTUlE+rK33C/Un3L fHFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=CYw/FJtxLxlQ35sT/iRo/KpPpPLeHTC5koRoiEsPsSI=; b=uIWKuGqc2lr3ieypYKnbh14xIPP41ebaMT6dgdW2oh7e/0BJ4X8q/r/NBM+JM0i2Lz uWcniQ2YBK9ljhdmORN86ufXwZz0s02pFwOL+K0AokC6kDvAELRWZ3/vF8Vtfy3H+rNQ C3ayFVT+wiXiBe3lHoXagnTec2qaJd80u/Mf4Ai0mkRBmoFW4cQvJo6TMdWpxSZCE96D CoDj2lwTwT11tEm+TNtR/521EGKsbXq7JHsdZBJDAeFlv/Ad+af9KobpKanmoUKXP2f/ UDVOrYY/3Bt78OMslMuk1c83Fk5YOPEwLRleRH4GLMC/NwmbxCU6VHN97tQUU/vAY2E3 DFBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b="Hilq00r/"; 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 j16-20020a63fc10000000b0039895949d28si6175249pgi.575.2022.04.10.03.54.48; Sun, 10 Apr 2022 03:55:00 -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=@goldelico.com header.s=strato-dkim-0002 header.b="Hilq00r/"; 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 S242267AbiDINzq (ORCPT + 99 others); Sat, 9 Apr 2022 09:55:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236446AbiDINzo (ORCPT ); Sat, 9 Apr 2022 09:55:44 -0400 Received: from mo4-p03-ob.smtp.rzone.de (mo4-p03-ob.smtp.rzone.de [85.215.255.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 236B524F0E; Sat, 9 Apr 2022 06:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1649512412; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=CYw/FJtxLxlQ35sT/iRo/KpPpPLeHTC5koRoiEsPsSI=; b=Hilq00r/Mxd3ZvhVxcAua7rrlBRd4Y5q+IB6upZZZnFioBZXCDb4B0gkQuzD5a++G8 +HHsVwLXSMAVgwqFS1HIGWWhcQKX5uMcKYY1vkFHyWf8fk2Xrlubxzx8pjtPtSnk0Dvf 2gr4EOWdZrhbF5Jj6dF/mvQPamyyNkPPHLLR5g7ZBwoooi6sbX0BAaOeFy/tukwEHrpY mar9qHGTqMohCBdidGX/uJxOc/UGyc0A0DXz7pdeiy4oIRoE5U1wxPf1346FJlb9Ml8e hyiOfsyYC0Pr6kKGr27RJXMrZGjyLWqs81M5OdbzNdyh/Txj+ANznjzjfSR2E3SBiUGp MDNA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NIGH/jrwDepmg==" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 47.42.2 DYNA|AUTH) with ESMTPSA id k708cfy39DrVua4 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sat, 9 Apr 2022 15:53:31 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH 07/18] MIPS: DTS: jz4780: fix otg node as reported by dtbscheck From: "H. Nikolaus Schaller" In-Reply-To: <3e95f567-03f5-bf9c-1856-9fe602e9b025@linaro.org> Date: Sat, 9 Apr 2022 15:53:31 +0200 Cc: Rob Herring , Paul Cercueil , Thomas Bogendoerfer , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, letux-kernel@openphoenux.org Content-Transfer-Encoding: quoted-printable Message-Id: <81BA49E3-AFDE-4DFD-BB77-2B03488C727B@goldelico.com> References: <298162bfa2e7225ccc753865e1ffa39ce2722b2a.1649443080.git.hns@goldelico.com> <822182F3-5429-4731-9FA1-8F18C5D95DEC@goldelico.com> <535e3eab-a28e-46f3-2a7e-f1ffd1913470@linaro.org> <7B66AC66-EF73-4F75-A775-589A4F98BEFC@goldelico.com> <3e95f567-03f5-bf9c-1856-9fe602e9b025@linaro.org> To: Krzysztof Kozlowski , =?utf-8?B?IuWRqOeQsOadsCAoWmhvdSBZYW5qaWUpIg==?= X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, 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 > Am 09.04.2022 um 15:44 schrieb Krzysztof Kozlowski = : >=20 > On 09/04/2022 15:32, H. Nikolaus Schaller wrote: >>=20 >>=20 >>> Am 09.04.2022 um 15:15 schrieb Krzysztof Kozlowski = : >>>=20 >>> On 09/04/2022 15:05, H. Nikolaus Schaller wrote: >>>>>=20 >>>>> This looks wrong, the block usually should have a specific = compatible. >>>>> Please mention why it does not. >>>>=20 >>>> Well, I did not even have that idea that it could need an = explanation. >>>>=20 >>>> There is no "ingenic,jz4780-otg" and none is needed here to make it = work. >>>=20 >>> Make it work in what terms? We talk about hardware description, = right? >>=20 >> Yes. >>=20 >>>=20 >>>>=20 >>>> Therefore the generic "snps,dwc2" is sufficient. >>>=20 >>> No, you are mixing now driver behavior (is sufficient) with hardware >>> description. >>=20 >> No. "snps,dwc2" is a hardware description for a licensed block. >> Not a driver behavior. >=20 > snps,dwc2 matches the original block, not necessarily this > implementation. Unless you are sure? I assume. Nobody has reported an issue without having any specific = jz4780 driver in place. Well, that is only evidence, not bullet proof. >=20 >>=20 >>> Most of licensed blocks require the specific compatible to >>> differentiate it. >>=20 >> If there is a need to differentiate. >=20 > No, regardless whether there is a need currently, most of them have > specific compatibles, because there are some minor differences. Even = if > difference is not visible from programming model or wiring, it might > justify it's own specific compatible. For example because maybe once > that tiny difference will require some changes. >=20 > Someone added the ingenic compatible, so why do you assume that one = tool > (bindings) is correct but other piece of code (using specific > compatible) is not? You use the argument "bindings warning" which is = not > enough. Argument that blocks are 100% same, is good enough, if you are > sure. Just use it in commit msg. But are you sure that these are the > same? Same pins, same programming model (entire model, not used by = Linux)? The compatible ingenic,jz4780-otg was introduced in = 158c774d3c64859e84dd20e04d5fb18c8d3d318e. Hence I have added Yanjie for clarification why he added it in the .dts = and not in the bindings. BR and thanks, Nikolaus