Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp216618iob; Thu, 12 May 2022 23:27:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysmWVfzewWC4BuiHKzUh4PV+85gqhd7Kwgv/AB2ZGKJt9skFc3yAUbP8H7ni4aCAMho+Je X-Received: by 2002:a05:6402:368c:b0:428:715f:5cf7 with SMTP id ej12-20020a056402368c00b00428715f5cf7mr34925428edb.158.1652423246317; Thu, 12 May 2022 23:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652423246; cv=none; d=google.com; s=arc-20160816; b=M5gW0W190TkYJta+/j049l5WiN92EzxPwfC1g5eBD9t5Le45FIoJsr6dpogz79Vps1 I843RJgZZqQpYHzrieaop2lpiIv94ZC8R6vpq3q2YOyEN1M5XFmqAMHhGUl2kW3ikcij lwj7OIM2fcwJm1+OfBhSjwD60ofxQzZYw4IL6mUW3j50eLTRJrwoBuRC4C6P196iAlQ3 x3xSU/7grdk80sxARKQ9lrqvBgRZd/N63dLQPUtDTTT7XBQvd7ppeR7/jwOQPsJitHEV 5Ri0P2zCUcFIWT+YuLwUkSV/JWRDz4g+6dRkFvXp3iv5qg0pRmIINdv2XTmfc/9dAKiM vUVg== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=fJMrUxecDMgBluXgdeiExZun38GRKFbcmLUZIGmMcu4=; b=RbFe0Z1JpvD58rERjH1atTXRHa2G8RzJlK3v7BP+gzmHnVfEPXVVigy8BttW0gitux gxOtr9dSYELUZ3xCp9CVgY04xBSOwthbnGf7MJ7dOT07F0a6NoImOjbyFY5VXHRmZFzi EeXYtWrGCqZVJzMJLvwzqH56adz5nhw0vUEwb+6EbJcGC30luRmkeNdytvHy3CmqTNqT MBP049T+LC8uhr/Zyx0WffKwBN1wXEBY88Lrror0LGBa5R2aqQFdoQ9jhzGrejEzVcuY sBiROvKD4RIHNnNK0UcP8pT7Fg4T6QNl+lcvEWiVWqvB12w8AswGhWKN8Av3dPkQA30E KNOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GH1/AcFt"; 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 l7-20020a170906794700b006e8439b41d1si1536219ejo.69.2022.05.12.23.27.00; Thu, 12 May 2022 23:27:26 -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="GH1/AcFt"; 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 S1345038AbiEKQwu (ORCPT + 99 others); Wed, 11 May 2022 12:52:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242375AbiEKQws (ORCPT ); Wed, 11 May 2022 12:52:48 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0E8E63BD for ; Wed, 11 May 2022 09:52:46 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id ch13so5221756ejb.12 for ; Wed, 11 May 2022 09:52:46 -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 :references:from:in-reply-to:content-transfer-encoding; bh=fJMrUxecDMgBluXgdeiExZun38GRKFbcmLUZIGmMcu4=; b=GH1/AcFtV52HHv73C7PZgBr3qe/HUYqY2Tv4q8Dco12i8SqISC3UcXhGwcytiZXbal bScMqGXMYhiE0jlT1IFCSq9UFJvss9iXv5HFeI1VdH8JaCL1hPYbn2w2iz3WlS0JbqW7 rqIT9exhQjO99SPDqT6uTMUGH/vW6q6QURdtcTL/bQ1jFhmNqPUvKol2F7T3RHljJKME shI+UnDSLzGgET18G6hpyrV5tdV82V+/fL4iwcXLq3MJy7m7N4QiJNoF2hPlcPHiq5Zs +ufpVOyXt21mywbFg3M11Msv9vWRvjgtFov2QLDIfN2uTIIcGyKB+iFQmad73luqcXJK vvdA== 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:references:from:in-reply-to :content-transfer-encoding; bh=fJMrUxecDMgBluXgdeiExZun38GRKFbcmLUZIGmMcu4=; b=PMBBCKWPr80gNcXhhR9Pkcb6g8ymSXY+JugbaRMg7IiQUWOkamDfygGFSOHThs+vxa QZrJL5jzvqeVSEXej8z1d0qyop8e1OpXwv3uxzj6JrKDXgNBgGCE6MStCIw24oKnig9q r2+MZRqtKKijZ0OBBGIbdTnpHhuKJg55+erdF1gTAE27MhMr0w2u++ydQNMIbQCM/Vzl MjE1C3X+7/ryD5+F4SqbgO4Z92FGUknkSyaeAq4LkGYVHHI4GK1HiCcMliPqrgdUv5DJ Cx3ZRwXrRda+YXJTA/dwtMsDTdqpUPu8i/DnL7dL02uHpm3BsH/VYNLJNC6rJ2ZO+/D1 XmVg== X-Gm-Message-State: AOAM533XXNDk1c3Nzi59dZHcUmvJShDDfr668zw0KUP2LVGlQ24MgSQg N0Id4jygzMc/gns7ga+PzibiRg== X-Received: by 2002:a17:907:3e04:b0:6f5:1132:59de with SMTP id hp4-20020a1709073e0400b006f5113259demr26862519ejc.755.1652287965166; Wed, 11 May 2022 09:52:45 -0700 (PDT) Received: from [192.168.0.155] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id y13-20020a056402134d00b0042617ba63d6sm1405282edw.96.2022.05.11.09.52.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 May 2022 09:52:44 -0700 (PDT) Message-ID: <0815f581-ca5b-6fb6-a59e-f5d0a3686caa@linaro.org> Date: Wed, 11 May 2022 18:52:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 02/11] dt-bindings: marvell: convert Armada 37xx compatibles to YAML Content-Language: en-US To: Robert Marko , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, kostap@marvell.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, pali@kernel.org, marek.behun@nic.cz References: <20220510124929.91000-1-robert.marko@sartura.hr> <20220510124929.91000-2-robert.marko@sartura.hr> From: Krzysztof Kozlowski In-Reply-To: <20220510124929.91000-2-robert.marko@sartura.hr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 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,URIBL_BLOCKED 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 10/05/2022 14:49, Robert Marko wrote: Thank you for your patch. There is something to discuss/improve. > - > - - compatible: must contain "cznic,turris-mox" > diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml > new file mode 100644 > index 000000000000..3f41ef2c6f3e > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/marvell/armada-37xx.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/marvell/armada-37xx.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell Armada 37xx Platforms Device Tree Bindings > + > +maintainers: > + - Robert Marko > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - description: Armada 3710 SoC > + items: > + - const: marvell,armada3710 This does not look correct. The SoC usually cannot be used by itself, it's always a part of some product, SoM, board. > + > + - description: Armada 3720 SoC > + items: > + - enum: > + - marvell,armada-3720-db > + - globalscale,espressobin > + - cznic,turris-mox > + - methode,udpu Order by name. > + - const: marvell,armada3720 > + - const: marvell,armada3710 > + > + - description: Globalscale Espressobin boards > + items: > + - enum: > + - globalscale,espressobin-emmc > + - globalscale,espressobin-ultra > + - globalscale,espressobin-v7 > + - const: globalscale,espressobin > + - const: marvell,armada3720 > + - const: marvell,armada3710 > + > + - description: Globalscale Espressobin V7 boards > + items: > + - enum: > + - globalscale,espressobin-v7-emmc > + - const: globalscale,espressobin-v7 > + - const: globalscale,espressobin > + - const: marvell,armada3720 > + - const: marvell,armada3710 > + > +additionalProperties: true Best regards, Krzysztof