Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp424251pxr; Sun, 10 Apr 2022 19:46:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr3qlSLrUZcnVh8+2838oNkG7WgOvgOSiSDeZSc9HWPcFZYd/PNVUMAn+qv2W/4q3AdL6J X-Received: by 2002:a17:907:a411:b0:6e1:2084:99d2 with SMTP id sg17-20020a170907a41100b006e1208499d2mr11122087ejc.639.1649645169532; Sun, 10 Apr 2022 19:46:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649645169; cv=none; d=google.com; s=arc-20160816; b=avJd7wD9eEdFLJgEH2gjJmME1xPeBv2L0oBGAu2CaFonzqqz/k6L0S+gJW9D6pdNC9 7BoIHMc8UzDp3tvcAKDZ64kAKaXR7StB+1GdXq5O7FG6azOXiYIeoXYrI+4hVtiyrOu3 WHIe9A2KcDaclxy6/O8GIoSkq58AXOFUHIZ+OwHeklurs7n3BHfz0tCvClQI0vpMyx1h AW4hHCvyNN2/T/oF6gQkZRmPu+OeezKwtNROHl0SNToXdlzFXjdkCGtHF+FuR+13/L+A b0PRqXYVI+C+9BJr/Qpc3mkOsOgt/3o37JzaDVtBcubSXi0tiU6J67Es5psg0r4a7uBu zQfw== 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=9jXEm/llamwKFEyofVyK+nTUMIMtJh/N9Opoetbwiso=; b=nIjIEYzIYCOrNjL7Q2bzxlmBAB4J0ApIl+t+gIssoT2Y5JDATJkqmmzq8dCpJAnQ5S vdHbhfDhP8iB5LpO11vcl5kFChMj0B7yX5ojhoyYq0CoDtu97j7tIdqbe1zcf1Dpq/iV e6QX1xBiicNWCRSmxezpzIAJcTHkZcKzbUBkw0ERgJUNw/rrQHcecZ4DnIqQW4z/uji8 DQgaIlM9kzBIL6Kc3E61y6nCWksu1WpI3LqGYJi3W4LsRtH+eZ0zlzK9PAXGxTiyN4Mx Luca10jNV4/nvOeQ/y0tKHxO0vl5zQSsPrZjqV1beKUQ6kdWtHkXRMrwnM6Cndvy9QVT ijZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="H/Q1QSzz"; 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 sb2-20020a170906edc200b006e7edf15c5fsi5967959ejb.589.2022.04.10.19.45.45; Sun, 10 Apr 2022 19:46:09 -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="H/Q1QSzz"; 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 S242224AbiDINqm (ORCPT + 99 others); Sat, 9 Apr 2022 09:46:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235301AbiDINqk (ORCPT ); Sat, 9 Apr 2022 09:46:40 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48A21986F7 for ; Sat, 9 Apr 2022 06:44:33 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id b15so13006133edn.4 for ; Sat, 09 Apr 2022 06:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=9jXEm/llamwKFEyofVyK+nTUMIMtJh/N9Opoetbwiso=; b=H/Q1QSzzjh6u32GG8HINBQjg9TwglokvXK0o8iMSUEZ5LKCU4UGlvegrdfW19pX9Kw Jx+aCFxf4PgpI/i4Z7/SuesbDzwtYXu0IvwUXN7/x0Tv9d8YZkbdANXMLNK176OQ3U2v fESng/tSQPFwnXxO0JCD4Q1qGIrLJn58me1Zik5VgDzb+R2ISWMCDblWLUehEez3sfxN IViC67puHG0D/Afit76kZiOu6IBi1X4TvAwcA2tZlyHIyubhKx1x7vtHc8Qo5/d6weMl 9BPKxxjcv/pn0HXqhtmFhBkX+hrC3nvlLUYQ3HWBS/O4Bnb0ZQ+elH2rLCUs/8d2qG0W Vu4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=9jXEm/llamwKFEyofVyK+nTUMIMtJh/N9Opoetbwiso=; b=WsrKoUwDpyP1c9YZMt/8rYsFD2VExezoKfmaEKxRBroIsPTl+VTIGp31o8s88phtev 8OWzNd9K/wZhlhmnytCqqo7dLyh3CLfa9LW6WeVgCnAMffIi+fraYlIF8KCMbxSaPZ5+ Nr/Eg41efW5ME/1X7X3s7pvmcjgZKH4s7hkjch7kbV+qfudrG32EfX6gpvIfFtDu0sYx aOqasiSzNY2FxkqQ/8vL/WHe8TkKGID0NoUgu0JW1b39DxUdHpXP0FJfyUtHAsWZqVlR sPBqUoA2hpbT9DJ5kKc2Jowa/pE9V+a8I+bDfvZyN8J6kaQ6ZsV9nOGaZb1mYxzXL8PI 6uLA== X-Gm-Message-State: AOAM530ijTyu/hoenXvwTj0bSvPqO9GjPdpIZO/Sn/SByal1xqh4CFHE Pmm+ovVLxkaulGzATh8Q8Z1/2g== X-Received: by 2002:a05:6402:3496:b0:419:82d5:f1d9 with SMTP id v22-20020a056402349600b0041982d5f1d9mr24186351edc.36.1649511871819; Sat, 09 Apr 2022 06:44:31 -0700 (PDT) Received: from [192.168.0.188] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id b17-20020aa7dc11000000b00412ae7fda95sm11514582edu.44.2022.04.09.06.44.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Apr 2022 06:44:31 -0700 (PDT) Message-ID: <3e95f567-03f5-bf9c-1856-9fe602e9b025@linaro.org> Date: Sat, 9 Apr 2022 15:44:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 07/18] MIPS: DTS: jz4780: fix otg node as reported by dtbscheck Content-Language: en-US To: "H. Nikolaus Schaller" 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 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> From: Krzysztof Kozlowski In-Reply-To: <7B66AC66-EF73-4F75-A775-589A4F98BEFC@goldelico.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 09/04/2022 15:32, H. Nikolaus Schaller wrote: > > >> Am 09.04.2022 um 15:15 schrieb Krzysztof Kozlowski : >> >> On 09/04/2022 15:05, H. Nikolaus Schaller wrote: >>>> >>>> This looks wrong, the block usually should have a specific compatible. >>>> Please mention why it does not. >>> >>> Well, I did not even have that idea that it could need an explanation. >>> >>> There is no "ingenic,jz4780-otg" and none is needed here to make it work. >> >> Make it work in what terms? We talk about hardware description, right? > > Yes. > >> >>> >>> Therefore the generic "snps,dwc2" is sufficient. >> >> No, you are mixing now driver behavior (is sufficient) with hardware >> description. > > No. "snps,dwc2" is a hardware description for a licensed block. > Not a driver behavior. snps,dwc2 matches the original block, not necessarily this implementation. Unless you are sure? > >> Most of licensed blocks require the specific compatible to >> differentiate it. > > If there is a need to differentiate. 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. 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)? Best regards, Krzysztof