From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9047CC19F29 for ; Wed, 27 Jul 2022 09:31:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230340AbiG0JbS (ORCPT ); Wed, 27 Jul 2022 05:31:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229933AbiG0JbP (ORCPT ); Wed, 27 Jul 2022 05:31:15 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF4756569 for ; Wed, 27 Jul 2022 02:31:13 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id r14so19160993ljp.2 for ; Wed, 27 Jul 2022 02:31:13 -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=zeWAT08FcjNi/6mJVcT/TjlSTfEQOwkc2kFD8pu/zEY=; b=W6lS97CvFZiIocM9B3LOv68rpx+ECF5Axm9n0XY6FRw3bmb73fNj8P9hMZPvY2izNx f1VMr5Dqe1NxCrGakk3psch6037uTr266bBRjG8OOW4houM5+2ym4tvZf2sJhP45+1zg JUU2IxuBIg4EpkuF9Fv7k4Qi/AOflwf6LpjH2ZFODf623QQw/scTtk4OCLjPLrYoF13d xsxZvxa2eBw1ImY8Qzg2FXxAwetBGf5iXfJ7XXeaJWja6b8OmB0pHUaMbFCUjKApeTyl Qa5vpuHo6kuV83hE1MRg1H/DNQxzH7Q2b5kiWJ0gD/sBv2nZkpw9uDCn7Bsnv1vwGeOS cLrg== 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=zeWAT08FcjNi/6mJVcT/TjlSTfEQOwkc2kFD8pu/zEY=; b=xL3fgZl2qQxWsx7xrAKDLArWvLKs8YJDxYfrY2w7lsPjHM2ZJOHUfiwAkTGpugHcLu lbJfY1UjKdRECy51yu1oiGSkD1/+TnkdWJDTN2Nhvn64yMtp2IZQQD0ldHuPMxvFgzdl kMhTs1goeAaIu/5gzeo1/vfH4YH1O1zqEzmE5fd1QlmFKgCMaT1dX9DIjGnipf5tJmqC ajU7MY4k7Y12irl2vKYbQPcQ8upVsKvoQ1CSbvYh2MA5bh0bosUkTtqEHh5oiuWR+NY/ RBN7D5WObYpGaatiCG1ZId3qgGyHNHDZ5ujRXIZy8jj3J2zYHgSroWKc6VzgzP7WZjnf RG/Q== X-Gm-Message-State: AJIora+qyR64Wk2Z6jVv+qhFVr86+Ib6PAW/2WmR2CYvHVCwZbsxX31G qwu9Y/KNJjm45MEtDw110iDTYA== X-Google-Smtp-Source: AGRyM1u6X5tUd/hcEwrUNz+lGonQh+s1ZYaBuzwNJKriY7vsQBvfJPzuGGMp+qgvoiFA+mq4UxlsXw== X-Received: by 2002:a2e:bc86:0:b0:25e:118a:d90c with SMTP id h6-20020a2ebc86000000b0025e118ad90cmr3138032ljf.405.1658914272022; Wed, 27 Jul 2022 02:31:12 -0700 (PDT) Received: from [192.168.3.197] (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id v10-20020a05651203aa00b0048a843505f9sm2167344lfp.293.2022.07.27.02.31.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Jul 2022 02:31:11 -0700 (PDT) Message-ID: <3e3c0c80-48eb-098d-977d-a1801036fc0c@linaro.org> Date: Wed, 27 Jul 2022 11:31:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 1/6] dt-bindings: arm: renesas: Ignore the schema for RISC-V arch Content-Language: en-US To: "Lad, Prabhakar" Cc: Lad Prabhakar , Geert Uytterhoeven , 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 , Biju Das References: <20220726180623.1668-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220726180623.1668-2-prabhakar.mahadev-lad.rj@bp.renesas.com> <952a85ec-d1e9-7c14-6404-bc087723252f@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 27/07/2022 11:00, Lad, Prabhakar wrote: > Hi Krzysztof, > > On Wed, Jul 27, 2022 at 9:53 AM Krzysztof Kozlowski > wrote: >> >> On 26/07/2022 20:06, Lad Prabhakar wrote: >>> Ignore the ARM renesas.yaml schema if the board is RZ/Five SMARC EVK >>> (RISC-V arch). >>> >>> Signed-off-by: Lad Prabhakar >>> --- >>> Documentation/devicetree/bindings/arm/renesas.yaml | 9 +++++++++ >>> 1 file changed, 9 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm/renesas.yaml >>> index ff80152f092f..f646df1a23af 100644 >>> --- a/Documentation/devicetree/bindings/arm/renesas.yaml >>> +++ b/Documentation/devicetree/bindings/arm/renesas.yaml >>> @@ -9,6 +9,15 @@ title: Renesas SH-Mobile, R-Mobile, and R-Car Platform Device Tree Bindings >>> maintainers: >>> - Geert Uytterhoeven >>> >>> +# We want to ignore this schema if the board is of RISC-V arch >>> +select: >>> + not: >>> + properties: >>> + compatible: >>> + contains: >>> + items: >>> + - const: renesas,r9a07g043f01 >> >> Second issue - why not renesas,r9a07g043? >> > We have two R9A07G043 SOC'S one is based on ARM64 and other on RISC-V. > > RZ/G2UL ARM64: > Type-1 Part Number: R9A07G043U11GBG#BC0 > Type-2 Part Number: R9A07G043U12GBG#BC0 > > RZ/Five RISCV: > 13 x 13 mm Package Part Number: R9A07G043F01GBG#BC0 > > So to differentiate in ARM schema I am using renesas,r9a07g043f01. What is the point to keep then r9a07g043 fallback? The two SoCs are not compatible at all, so they must not use the same fallback. Best regards, Krzysztof