Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5995042rwj; Wed, 21 Dec 2022 09:27:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXvG4y8gLg+U+AjZCi2PZvPgFsJJIILS32JKVtUFQhfQTc+qe6edhcyrrOUWnrEshepY9MVB X-Received: by 2002:a17:902:c244:b0:189:603d:ea71 with SMTP id 4-20020a170902c24400b00189603dea71mr2858109plg.58.1671643630498; Wed, 21 Dec 2022 09:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671643630; cv=none; d=google.com; s=arc-20160816; b=LObfhYlOSBCHYOxHYMOSseNMeUHQkIl/bzWYSizC35bonb/AxyPHHX/Sp3qOQbfoyk Omcz1GQ+9OymmeH0bROZYf2yeEVOUT0ZcH3Bu4twK9pu0E709K8WKzcYK/kUgYhZNgpm 1dTavj/Y7FJl23R0qiL7huHYAEKfX5tZQJCFHVsqRRaYOFcWG+o/IBTL82Bt4CA1I52r mmXgFGqDgszOSQWAtIvjLmXBV/HUDR8fcrgv3i/RcwKUXBnCwuUErTzGjlTbskW37V3N Mvnahovru9j5dRXWLOV/R/5TrJ/LPx2K0+gRDtajcqHHtxdbEY28nK4qKEa9hcOmLHEC Wgdg== 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=tKrXA3voEyFjOSrPuBw4po5+0nfjKm1BQpiqywMAE3I=; b=Igfyj3a9Whhg732ivKGVpKLD456mhXvkMBPk/MpXF3p4IGx2e2RBoV4n+pn+2Nk0+C thPEGulg/KQBUBCiKcjAsJU2y+5/1P6XGriFXe/nkcuLI8SGFS3A5A7OxY3nm2JZECE3 V1rIJi1I0osMOeLNVE+IB+CJlsui+t1kotAmtijjoIKQmM30/9/tshdq+DWrCbJ7StJN SJf3VoLRNHr+zDhzdlxGWQbTA1YXGRBCmRUVIhPTTx+vHHC4yl8z//m72ZFZIiMKXAdw U0iefCU0XTbjFGZgUYQ6yeuAoZSJVMKj0GvIR3o+oVxckD49jchzDT7Pxn87T9NFfZ2R 6x6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="NlBiJ/E2"; 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 s4-20020a170902ea0400b00189c05664e8si18952963plg.563.2022.12.21.09.27.01; Wed, 21 Dec 2022 09:27:10 -0800 (PST) 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="NlBiJ/E2"; 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 S234765AbiLURSz (ORCPT + 67 others); Wed, 21 Dec 2022 12:18:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234749AbiLURSM (ORCPT ); Wed, 21 Dec 2022 12:18:12 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F56E25C42 for ; Wed, 21 Dec 2022 09:17:34 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id o6so19590215lfi.5 for ; Wed, 21 Dec 2022 09:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tKrXA3voEyFjOSrPuBw4po5+0nfjKm1BQpiqywMAE3I=; b=NlBiJ/E2Yt54PywlbOIicO7rwtW4PNGs+g7ySrU2NYEZwf1bSGkOmtZM0sOXo7JGhk KMZoxHAFWaeSFdSflnFBxul8GRG/nxMQd6syUDZzpeN5nx/N+15TKDVFQuX13ggGGO02 AUR+994xKO/SA3vki124lTk27purDRB3hFGlh43QJsdQB9J3yUIZfLKEZgQFjhzekYXh xPj2KhYI3duexmodZHXqr7FX0j4AcMR4ck4nN6a1QBG26Pau+b+5+V38ABlmwmQsC/Rn aZO6dtCC4/4tP3fnA7LkgNz7DsCsafFvM6knQjJPaD5VgNuiBuxOYARgWOWElDuQeYQp 1Ygw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tKrXA3voEyFjOSrPuBw4po5+0nfjKm1BQpiqywMAE3I=; b=8Rus+IzcHfSg5LnMbjJxW8eIAScMitidaGJpkuI0ERS6072gUW1ayQ6Xx5p51HF9du v86vvpCAk+5lr45LLlLJssIvJ4ho4eSW8HUa/LIsPbUw9HaI5kLY9lBGiLi6zlTOt6zo zwe8P780409UFlLu94eAkFWtbkfSqQMQ+l/DpNFxVn7NizPpe9FC2UsdmDGa04IW1/0Y dxrXDfwr8Fzapp19RpcEwHv570BIX8YKXDTKNBMWtxOvk4uz2CY6LchzBDHVCXRGFYGm NIRs0HqsNPfHgCNvM/tunp9mzt/b8CmvJ2dr5gT4hQLKRaB6zzKqrYwU8fNZwHF8InXq cplg== X-Gm-Message-State: AFqh2kreW+4SbUVactzwcBIGp7w3cpFGFITpnR7+K3iq5PUPPyIEyys2 7D06a5oQBJUSo/Dd6ruzAN45Gg== X-Received: by 2002:a05:6512:b25:b0:4b4:b8fc:4ac5 with SMTP id w37-20020a0565120b2500b004b4b8fc4ac5mr908022lfu.3.1671643052449; Wed, 21 Dec 2022 09:17:32 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id q27-20020ac25a1b000000b004b4b5da5f80sm1895027lfn.219.2022.12.21.09.17.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 09:17:31 -0800 (PST) Message-ID: <621910a0-d851-409b-99e8-7bdf95dc539d@linaro.org> Date: Wed, 21 Dec 2022 18:17:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2 1/2] Documentation: dt-bindings: k3-r5f-rproc: Add new compatible for AM62 SoC family Content-Language: en-US To: Devarsh Thakkar , andersson@kernel.org, mathieu.poirier@linaro.org, p.zabel@pengutronix.de, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, s-anna@ti.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, hnagalla@ti.com, praneeth@ti.com, nm@ti.com, vigneshr@ti.com, a-bhatia1@ti.com, j-luthra@ti.com References: <20221130134052.7513-1-devarsht@ti.com> <20221130134052.7513-2-devarsht@ti.com> <645aca4d-b19c-390d-b899-fd40a924a096@ti.com> <12010f8f-d1d2-be18-8d4e-e1d282cb1670@linaro.org> <2c058ebf-c39c-9cb5-4a6f-afe88940104a@ti.com> From: Krzysztof Kozlowski In-Reply-To: <2c058ebf-c39c-9cb5-4a6f-afe88940104a@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 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 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 21/12/2022 17:29, Devarsh Thakkar wrote: >> >> Just look at your patch - it is clearly incorrect. You said in the patch >> that for compatibles other than ti,am64-r5fss cluster mode is BOTH [0, >> 1] AND false. > > cluster-mode is BOTH [0,1] and false only in case of AM62x as per below snippet Yes, for that variant you have conflicting approach. , but since it's under allOf the impact of latter will supersede, schema validation will fail even if cluster-mode set to 0 or 1 for am62x due to below snippet as shared in obesrvation log above [2]. Yeah, but the code is confusing. So again - you are saying with allOf that both conditions are applicable. Your intentions of superseding do not matter here - you said that allOf conditions must be taken into account. These conditions can be reversed any time, don't you think? > > " - if: > properties: > compatible: > enum: > - ti,am62-r5fss > then: > properties: > ti,cluster-mode: false" > > Sorry for the back and forth, I just thought to describe more clearly what I was up-to as I thought above should be functionally fine and it also saves us from having separate if blocks for each compatible, but I am open to adding separate if blocks as you earlier suggested if that seems more cleaner solution. You need to fix your email client to properly wrap messages. Best regards, Krzysztof