Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2741822rdh; Mon, 30 Oct 2023 06:33:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsJX/ZI4oZCsfrG5iJVyX5xJdE/8A/K7CCLFZFGf4W2pnOOmjETT2MJ0VnQJW8d61aL1T8 X-Received: by 2002:a05:6a00:814:b0:6bb:aaf:d7db with SMTP id m20-20020a056a00081400b006bb0aafd7dbmr13478371pfk.29.1698672787015; Mon, 30 Oct 2023 06:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698672787; cv=none; d=google.com; s=arc-20160816; b=Y2t9x0KyyxXjiKz7IfMHvXiHTDd9IJ2m12h2z/6nvx1DPWqu/894Bzc/VESC2DjXl0 QFgL659ol6Etk0IAehGCetZwdtO5/8+iAPc4QZnFc9vzx9M2vy/WAmNeUlWwVHuHr19y F7n1vcoKUcFWtyUSe+Gfv+1104G+2txIJBKkOs0bsqiCkevN24fM7BrhPmFcwQ53R0b6 9npeHpK9W/O3+XPJaSEjs3ewGC5oHG3uhjJUCsNB+52TUQjWoeOTnKISkEkO/dHMz5Aa 7iq/czPFi20qo/AvzFvkweJhqHAiuSVtBj8pQa/cWTENx5z696eaMlIEEa2IplHmH12z IFsA== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=FSsZlGJ0JWpeCuk/dM7vPXRJ7s2Y68pam9jGh9VCh8Q=; fh=Eu4+bPOj7aBIb6Gxo4+Xyd98NeZbNTn02zFchpQxCwc=; b=S14Rk2cUQqBeXFBqAdj2VA0lmvAPqY1VELaFpG97pxmdIuSAGFZdx2HGb5Evq+JhIz d/r2BzShRwImAatbqI4pq6Ec8gbY1hqXfggnzzkPfTeV0+hjymhtZQXpU4WQ7kp1glVx ZMHu5oM1ndKy4WYXa+bKA9fNjWUAuq5W/+7n/AEXwsrChai3OghpZ4TgqxJZZPvATJIl 5XP6olaBOAZxkaBLoyGMdyKBUxHjofuVnNXTg/3lKG5TCGygNkJjrFCnTyILiv+z9IRU o0YEkL8So6QLGDemHPtADt4I3YfGD1U4iiQGw/KghOds8/hhWIhl32+PRsOg1NcFMuBu ww3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ru8TpXzC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id b9-20020a056a000cc900b006b440b5ace9si4999612pfv.44.2023.10.30.06.33.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 06:33:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ru8TpXzC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A3E3C80BBE8E; Mon, 30 Oct 2023 06:33:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233481AbjJ3NdB (ORCPT + 99 others); Mon, 30 Oct 2023 09:33:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233480AbjJ3Nc7 (ORCPT ); Mon, 30 Oct 2023 09:32:59 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54B6697 for ; Mon, 30 Oct 2023 06:32:56 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4079ed65471so32691895e9.1 for ; Mon, 30 Oct 2023 06:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698672775; x=1699277575; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FSsZlGJ0JWpeCuk/dM7vPXRJ7s2Y68pam9jGh9VCh8Q=; b=Ru8TpXzCZRKbDIAp4O1JM0ceZeoxtPLaVOy9cN0iHxkrAeAJDHDQweHnPQf3oQDyXn qlLooBAHM6PS1NC+mOrBqvhmTchn6is0Gqzm6L7YOOVUg/H7dzHvxQIOA7NjHPWFMnnI 8zUjoJLyYaY6VYpHxQsAP+lzi+15tSdfwKEs+0EmXEUc5FV/zvj/VI3pygg8G78IJSKP +fKjTs6+6bD1s+VU0xddGZgRfpV++il3LeoX//DqmpnGOpGhKPcWLut3JOztUk+fAGGh PC744j5z7pa3SrRvwenWLU923s5NmoXxBzhOAEGI8dTuVuRv5dPrcy9tc1BxE9rCVHD0 RNyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698672775; x=1699277575; h=content-transfer-encoding:in-reply-to:autocrypt: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=FSsZlGJ0JWpeCuk/dM7vPXRJ7s2Y68pam9jGh9VCh8Q=; b=OP+p3EsDHtXsl+03TovMj5wPHPbdD1Pq7SP5XN4nUfKVZfSI34ztA4BtAVNOw/oUjF 95PTXr3cLFmjZIFni+x8wlSHPo4XbNgcgrbuvwzbi5U53ue1q0O/QOWNS22PKLvFM3s1 S1J1E/fVbNzR3c5wXOHd/MD9CDYp/s/GJ0NswpvvE34FBawBTknS9n7uTlRIOPm/70nc x5HByfxSXQOk0mp42iMyYfajDO2ns1pzE4EaPDjMGc4j4sKAuQ1oNvkLRGV2SOhI76bh Q19zVeshFfzq/hBYDeIAe0udK1qe/ggHz1a3TerdPmti4bs+YlZyY5YDQDJzMhBEIM0x QVZQ== X-Gm-Message-State: AOJu0Yyi5HYE2U3h86g2GRVmv4WJys9fb9Sz5q9M8bU1HVjB5NU+zTqs VbpKsV+McKc5ewXBTEn/R3X8qg== X-Received: by 2002:a05:600c:1988:b0:402:ea96:c09a with SMTP id t8-20020a05600c198800b00402ea96c09amr8193491wmq.16.1698672774739; Mon, 30 Oct 2023 06:32:54 -0700 (PDT) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id ew11-20020a05600c808b00b004063c9f68f2sm9048498wmb.26.2023.10.30.06.32.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 06:32:54 -0700 (PDT) Message-ID: Date: Mon, 30 Oct 2023 14:32:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 3/3] arm64: dts: cn913x: add device trees for COM Express boards Content-Language: en-US To: Elad Nachman , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, pali@kernel.org, mrkiko.rs@gmail.com, chris.packham@alliedtelesis.co.nz, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: cyuval@marvell.com References: <20231029174814.559583-1-enachman@marvell.com> <20231029174814.559583-4-enachman@marvell.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuDSzG1oZyM4kyvO XeodvvYv49/ng473E8ZFhXfrre+c1olbr1A8pnz9vKVQs9JGVa6wwr/6ddH7/yvcaCQnHRPK mnXy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ZU+ok/ +HYjC/qfDxT7tjKXqBQEscVODaFicsUkjheOD4BfWEcVUqa+XdUEciwG/SgNyxBZepj41oVq FPSVE+Ni2tNrW/e16b8mgXNngHSnbsr6pAIXZH3qFW+4TKPMGZ2rZ6zITrMip+12jgw4mGjy 5y06JZvA02rZT2k9aa7i9dUUFggaanI09jNGbRA/ABEBAAHCwXwEGAEKACYCGwwWIQSb0H4O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231029174814.559583-4-enachman@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 06:33:05 -0700 (PDT) On 29/10/2023 18:48, Elad Nachman wrote: > From: Elad Nachman > > Add support for CN9130 and CN9131 COM Express Type 7 CPU > module boards by Marvell. > Define these COM Express CPU modules as dtsi and > provide a dtsi file for a carrier board (Marvell AC5X RD > COM Express type 7 carrier board). > This Carrier board only utilizes the PCIe link, hence no > special device / driver support is provided by this dtsi file. > Finally, provide a dts file for the com express carrier and > CPU module combination. > > These COM Express boards differ from the existing CN913x DB > boards by the type of ethernet connection (RGMII), > the type of voltage regulators (not i2c expander based) > and the USB phy (not UTMI based). > Note - PHY + RGMII connector is OOB on CPU module. > CN9131 COM Express board is basically CN9130 COM Express board > with an additional CP115 I/O co-processor, which in this case > provides an additional USB host controller on the board. > > Signed-off-by: Elad Nachman > --- > arch/arm64/boot/dts/marvell/Makefile | 1 + > .../marvell/ac5x-rd-carrier-with-cn9131.dts | 20 ++++ > .../boot/dts/marvell/ac5x-rd-carrier.dtsi | 15 +++ > .../dts/marvell/cn9130-db-comexpress.dtsi | 101 ++++++++++++++++ > .../dts/marvell/cn9131-db-comexpress.dtsi | 113 ++++++++++++++++++ > 5 files changed, 250 insertions(+) > create mode 100644 arch/arm64/boot/dts/marvell/ac5x-rd-carrier-with-cn9131.dts > create mode 100644 arch/arm64/boot/dts/marvell/ac5x-rd-carrier.dtsi > create mode 100644 arch/arm64/boot/dts/marvell/cn9130-db-comexpress.dtsi > create mode 100644 arch/arm64/boot/dts/marvell/cn9131-db-comexpress.dtsi > > diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile > index 79ac09b58a89..88c0f357a778 100644 > --- a/arch/arm64/boot/dts/marvell/Makefile > +++ b/arch/arm64/boot/dts/marvell/Makefile > @@ -26,4 +26,5 @@ dtb-$(CONFIG_ARCH_MVEBU) += cn9132-db.dtb > dtb-$(CONFIG_ARCH_MVEBU) += cn9132-db-B.dtb > dtb-$(CONFIG_ARCH_MVEBU) += cn9130-crb-A.dtb > dtb-$(CONFIG_ARCH_MVEBU) += cn9130-crb-B.dtb > +dtb-$(CONFIG_ARCH_MVEBU) += ac5x-rd-carrier-with-cn9131.dtb > dtb-$(CONFIG_ARCH_MVEBU) += ac5-98dx35xx-rd.dtb > diff --git a/arch/arm64/boot/dts/marvell/ac5x-rd-carrier-with-cn9131.dts b/arch/arm64/boot/dts/marvell/ac5x-rd-carrier-with-cn9131.dts > new file mode 100644 > index 000000000000..9ca2725184e2 > --- /dev/null > +++ b/arch/arm64/boot/dts/marvell/ac5x-rd-carrier-with-cn9131.dts > @@ -0,0 +1,20 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (C) 2023 Marvell International Ltd. > + * > + * Device tree for the AC5X RD Type 7 Com Express carrier board, > + * Utilizing the CN913x COM Express CPU module board. > + * This specific board only maintains a PCIe link with the CPU CPU module > + * module, which does not require any special DTS definitions. > + */ > + > +#include "cn9131-db-comexpress.dtsi" > +#include "ac5x-rd-carrier.dtsi" > + > +/ { > + model = "Marvell Armada AC5X RD COM EXPRESS type 7 carrier board with CN9131 CPU module"; > + compatible = "marvell,rd-ac5x-carrier-with-cn9131", "marvell,rd-ac5x-carrier", > + "marvell,cn9131", "marvell,cn9130", > + "marvell,armada-ap807-quad", "marvell,armada-ap807"; So you clearly did not test what you wrote. This is v4, so at this point testing should be obvious. You must test your bindings and you must test your DTS against bindings. Successful test means: ZERO warnings. Standard disclaimer: It does not look like you tested the DTS against bindings. Please run `make dtbs_check W=1` (see Documentation/devicetree/bindings/writing-schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ for instructions). It does not look like you tested the bindings, at least after quick look. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Maybe you need to update your dtschema and yamllint. Best regards, Krzysztof