Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp750107rwb; Thu, 11 Aug 2022 09:15:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR7/kb0JT8mLINOe37+PBoBi64DtzoLwAI61DbU7HHtBrJZKZBWCoHqdAo5e4NlIIpMZSq1R X-Received: by 2002:a05:6402:2b8d:b0:43a:5410:a9fc with SMTP id fj13-20020a0564022b8d00b0043a5410a9fcmr32353865edb.99.1660234517967; Thu, 11 Aug 2022 09:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660234517; cv=none; d=google.com; s=arc-20160816; b=sRuF0A2LdMstfZTkbxHGBcTyP0DSY8JyFvkkwzpWXZerq+MryMbHNerHjPIzx9GnGh BW7PLxSnNZi6Ge+GmdC9aK+py9pgDSXfJ6rJeJY6KiAQw2yztPqnt/eVq2JNJnYlLXu5 1HcvpxQFq8hPPwcu7DOQ9CbWd1mFbB+m8e8KN5AZEhz977BF6IjN9e3TLSmAnISp+stN QWCBTWAgs7dJM1aoeyeREevh27IYcbvaHp21A2+Sg3Gaglvet4sbno9Eo1s7lPgmLM5D 5EauR7HvdalbQetRJUBX53VpntDd/JmLj2f7JQvszIGS3jKZhaHnvT4dRmtrdLlAncc/ 4ZJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=CmaQmycmiDs0ZhLNzBEap3uy9DegAtgeJY98yfTaoT0=; b=mLbf4TFrPN2Ui8w0HsfUL0OetObMiHAFUuosn5Z6yNOb0s5CbxOlevNw1vWsHXoS0w Vyn9zZ9RIgBOig28HkH2/+IR2S4FDsbJjBjrYIVmv39YykMmPEtpz+LwqffwZtVqn1MM a+cZQxHIibk5JNO/u8VNNa2SH0bErP1vcxsSy/0b6orbb8b9lBFgccjNNVIsBjzQuh+3 h2FfVdqs3eD537XZ+7m5OMY08S3lPb2rpEyLlkt1Io91LcQFVkUiRzK1b7gJxxoZbN6v 74032N++P8dgo/od1lwCCi4SUs6B3c/IFQFrrW5qA3ZwY8/eqD0tbdhVPHFY6dnENNz/ Ci/g== 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 hg3-20020a1709072cc300b00726b8cf8debsi6943335ejc.869.2022.08.11.09.14.51; Thu, 11 Aug 2022 09:15:17 -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 S236070AbiHKPvP (ORCPT + 99 others); Thu, 11 Aug 2022 11:51:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236972AbiHKPuz (ORCPT ); Thu, 11 Aug 2022 11:50:55 -0400 Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABD30A1D2F; Thu, 11 Aug 2022 08:42:39 -0700 (PDT) Received: by mail-qt1-f180.google.com with SMTP id h4so6971646qtj.11; Thu, 11 Aug 2022 08:42:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=CmaQmycmiDs0ZhLNzBEap3uy9DegAtgeJY98yfTaoT0=; b=ULaRRhLxOhA1fMHO203DND7B0vFpogE8S0PgGp6UUUiOiTGwaHI7zh/X35/l6Yil8a 7IyHQLQubjxQK2x3hU7NswjbyRkNDDMBcAK47je+7H0qq7yK6NKbi39sTI1KOViC1sUx nrtawqaHp0sFKxQCQz3PwLFMNOFn+0t2paUmc6VGY6mNr6cUPFbGxQRIQAAjmK9Twnf9 hvjINFr7tUe45xFwWmzNjnQ3mUIjkYDRtj0Xg2QFBkpSQGhkISWWlmjoUN0MTHYkE+j5 8GMZPUNtgC16ztb+AT9kG7NGPRKmAPVBTBpBNh8ehEdT/zUkdcchrQi0z0shIv54N/Se HV1w== X-Gm-Message-State: ACgBeo1Rl/uUxrpsmLDGaELLGK23Wvn5b3v7GBC2GaKPixyUTr1E3Euk L7V80tL2cS4pdamYW1viKiIyAKTx44Mqdfep X-Received: by 2002:ac8:5a51:0:b0:342:e917:f25b with SMTP id o17-20020ac85a51000000b00342e917f25bmr24047628qta.284.1660232558391; Thu, 11 Aug 2022 08:42:38 -0700 (PDT) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id w22-20020ac857d6000000b0031f287f58b4sm1890826qta.51.2022.08.11.08.42.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Aug 2022 08:42:36 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id 204so28869438yba.1; Thu, 11 Aug 2022 08:42:35 -0700 (PDT) X-Received: by 2002:a5b:6c1:0:b0:669:a7c3:4c33 with SMTP id r1-20020a5b06c1000000b00669a7c34c33mr29967472ybq.543.1660232555433; Thu, 11 Aug 2022 08:42:35 -0700 (PDT) MIME-Version: 1.0 References: <20220726180623.1668-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220726180623.1668-5-prabhakar.mahadev-lad.rj@bp.renesas.com> <636e9214-4b36-e9a6-3c6b-b6edb944335e@linaro.org> <9f32a4a9-66b4-ba2e-1713-436103c2faf8@linaro.org> <80f08089-e3bb-983e-313b-45613364829e@linaro.org> In-Reply-To: <80f08089-e3bb-983e-313b-45613364829e@linaro.org> From: Geert Uytterhoeven Date: Thu, 11 Aug 2022 17:42:23 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/6] dt-bindings: riscv: Add DT binding documentation for Renesas RZ/Five SoC and SMARC EVK To: Krzysztof Kozlowski Cc: Biju Das , "Lad, Prabhakar" , Prabhakar Mahadev Lad , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-riscv , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Krzysztof, On Wed, Jul 27, 2022 at 2:37 PM Krzysztof Kozlowski wrote: > On 27/07/2022 14:21, Biju Das wrote: > >> Subject: Re: [PATCH 4/6] dt-bindings: riscv: Add DT binding > >> documentation for Renesas RZ/Five SoC and SMARC EVK > >> On 27/07/2022 13:37, Lad, Prabhakar wrote: > >>>>> I did run the dtbs_check test as per your suggestion (below is the > >>>>> log) and didn't see "no matching schema error" > >>>>> > >>>> > >>>> So you do not see any errors at all. Then it does not work, does it? > >>>> > >>> Right I reverted my changes I can see it complaining, dtb_check seems > >>> to have returned false positive in my case. > >>> > >>> What approach would you suggest to ignore the schema here? > >> > >> I don't think currently it would work with your approach. Instead, you > >> should select here all SoCs which the schema should match. > >> > >> This leads to my previous concern - you use the same SoC compatible for > >> two different architectures and different SoCs: ARMv8 and RISC-V. > > > > Or is it same SoC(R9A07G043) based on two different CPU architectures (ARMv8 and RISC-V) > > Then it is not the same SoC! Same means same, identical. CPU > architecture is one of the major differences, which means it is not the > same. > > > Using same SoM and Carrier board? > > It's like saying PC with x86 and ARMv8 board are the same because they > both use same "PC chassis". That's not a fair comparison: the "PC chassis" is passive, while the carrier board is an active PCB. So it is more akin to plugging any Intel LGA 1151 processor into any motherboard with an LGA 1151 socket. Do we have compatible values for all such possible combinations? ;-) The classic compatible scheme of an ordered list from most-specific to least-specific is not well-suited for this case of mere aggregation. That's why we have been decoupling board and SoC compatible values for a while, and identifying specific boards by a combination of a board-specific and an SoC-specific compatible value. New SoCs that are available with different core CPU families (and that are pin-compatible) are just the next step in the evolution.... At the DT validation level, I think the proper solution is to merge Documentation/devicetree/bindings/arm/renesas.yaml and Documentation/devicetree/bindings/riscv/renesas.yaml into a single file under Documentation/devicetree/bindings/soc/renesas/. What do other people think? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds