Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4374133rwb; Tue, 20 Sep 2022 13:00:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7JsB0opRyeB/oxC2FF/pAN+dQIMBwwsHowweDVdjuciAdqJ4fYY8kfIKY3/souHcR+rtrf X-Received: by 2002:a17:906:974d:b0:780:2c07:7617 with SMTP id o13-20020a170906974d00b007802c077617mr18653062ejy.707.1663704032517; Tue, 20 Sep 2022 13:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663704032; cv=none; d=google.com; s=arc-20160816; b=SYOMlbnL060kTUZR4sXVi9PLQqxyinxPaANum5GCa1V7a5XIL6YnKRJ83QQV/t379M pi6KZVd6KKgcpVzC6ki4xvu4Y0Oaj9T40HLiEzkgz9hChbI+Q6gIikiQC41GAIQdzbzu htF0T+7aaVyL4RfqUAo/gmgfwlcaNGwE9+eWJEi8qS1OXLQ2RGwWf02s6URnAv3hIkYY zZiygYuunPaEkjOXqA7SntLzYnuHIOs7h6lU15DG804e517nl1KoScJG6chI0n1vb5zN kmWYFx5JxJpp7gbjP6VZpfC59pZrkkq3VpaycdUVpqrnpCgxyLszQstLyscRWF6ZIEYJ 63Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+9S8A29KdzPXE8MAt9DutYDbI2xeWnxFne45Yax6i3g=; b=HQq5NWErDHO4GgMmBO5fB7nhZy/hL4hevE9J0XXeUR4d7GW1QdFC8Xf5fTyBKKSRrT 3+HBT2IV2g/wZCYYErVtd72PWEQcDs6bsplft5S7KvVJbNFWp4M/WR+oj4nlsIGq3jBq 6BUTcnav1BeAcnX8xbzw72PF24MKgv35rE8xzKs6NAV3QfhOKzXYl0kPCxyRNChYvydH UQl0L86zVZwFty0f3DcyWsH4Nvr350lFcVnprSP7RsrHLiOpKifRot/bX0ujbfHtx4EO te260uDbQxVPJvQUyHyjqp3USoFMnB9NnSdpCz+pvIDrkd3EALRzyFOCZhc8qZd0nrZQ hdlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OZrmOUuS; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a50d0c7000000b0044791991d0fsi518962edf.439.2022.09.20.13.00.06; Tue, 20 Sep 2022 13:00:32 -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=@kernel.org header.s=k20201202 header.b=OZrmOUuS; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231437AbiITTiK (ORCPT + 99 others); Tue, 20 Sep 2022 15:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbiITTiH (ORCPT ); Tue, 20 Sep 2022 15:38:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8705776450; Tue, 20 Sep 2022 12:38:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 229EF61726; Tue, 20 Sep 2022 19:38:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D102CC433D6; Tue, 20 Sep 2022 19:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663702684; bh=/9VjVxNPbgZ64WNFIuwFPPUYvGwnqRTbDbRVQI10Yw8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OZrmOUuSS8sNPVz7/Y+8G/MvWPOwGM/X56t3qbH18Ka9HpWaCzGZNQCAm2lndXvWJ ZG6rSowN5Qjqfi6U4h+FUqUcf4ka43xjmMsBs9+rMasvE2SOkwwrzr66hDfgnDeecl GX16T++1ajOHK2vQcD/P4BGq0pQ8JL7Pbfa/PjhiR2zo8ddBz7v/dVKwGJh3vbYOG9 tnD9G3rQO5psWX82xDq2qagKzWzSCll1B+hs5vDUUgQYIjIAVdQk+cQtFqKWgEKEpc dFxIgUhHoHOvpf5ciHQc48NRArq7KVGml2ivTlYiSpFtZlKT8vsQP/IWk/1PyAIZGm xOKVF9legaZ9Q== Date: Tue, 20 Sep 2022 20:37:57 +0100 From: Conor Dooley To: Geert Uytterhoeven Cc: Prabhakar , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Geert Uytterhoeven , Magnus Damm , Conor Dooley , Heiko Stuebner , Heinrich Schuchardt , Atish Patra , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Biju Das , Lad Prabhakar Subject: Re: [PATCH v4 00/10] Add support for Renesas RZ/Five SoC Message-ID: References: <20220920184904.90495-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Tue, Sep 20, 2022 at 09:24:05PM +0200, Geert Uytterhoeven wrote: > Hi Conor, > > On Tue, Sep 20, 2022 at 9:20 PM Conor Dooley wrote: > > On Tue, Sep 20, 2022 at 07:48:54PM +0100, Prabhakar wrote: > > > From: Lad Prabhakar > > > The RZ/Five microprocessor includes a RISC-V CPU Core (AX45MP Single) > > > 1.0 GHz, 16-bit DDR3L/DDR4 interface. And it also has many interfaces such > > > as Gbit-Ether, CAN, and USB 2.0, making it ideal for applications such as > > > entry-class social infrastructure gateway control and industrial gateway > > > control. > > > > > > This patch series adds initial SoC DTSi support for Renesas RZ/Five > > > (R9A07G043) SoC and updates the bindings for the same. Below is the list > > > of IP blocks added in the initial SoC DTSI which can be used to boot via > > > initramfs on RZ/Five SMARC EVK: > > > - AX45MP CPU > > > - CPG > > > - PINCTRL > > > - PLIC > > > - SCIF0 > > > - SYSC > > > > Ran into one complaint from dtbs_check: > > arch/riscv/boot/dts/renesas/r9a07g043f01-smarc.dtb: usb-phy@11c50200: '#phy-cells' is a required property > > From schema: /home/conor/.local/lib/python3.10/site-packages/dtschema/schemas/phy/phy-provider.yaml > > arch/riscv/boot/dts/renesas/r9a07g043f01-smarc.dtb: usb-phy@11c70200: '#phy-cells' is a required property > > From schema: /home/conor/.local/lib/python3.10/site-packages/dtschema/schemas/phy/phy-provider.yaml > > > > Other than that which should be a trivial fix the whole lot looks good > > to me... > > That's due to the placeholders... Right, but #phy-cells will be added into the usb-phys once you (plural) figure out how to integrate with the existing CMO stuff? > Currently it is not yet a requirement that "make dtbs_check" is warning-free. I was really hoping that it could be a requirement for 6.1 onwards. I've managed to clear all of the other ones from arch/riscv. > I'm wondering how we have to handle new SoCs with existing boards in > the future. Probably just more properties in the placeholders... New SoCs to existing boards is less of a problem then new CPUs to existing SoCs from what I can see... I know we just discussed it earlier today, but is it possible to make these particular placeholders more complete so that dtbs_check shuts up about them? Thanks, Conor.