Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2382386rda; Wed, 25 Oct 2023 00:36:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIhv3G+qDdGJjjEQ1Tnfb7XWw08MvL0qPZc4mLcsdMUptdiOerdIq+oWUFpr6F3AOxfFdl X-Received: by 2002:a05:6808:2a6f:b0:3a7:330d:93da with SMTP id fu15-20020a0568082a6f00b003a7330d93damr14308192oib.19.1698219394421; Wed, 25 Oct 2023 00:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698219394; cv=none; d=google.com; s=arc-20160816; b=Cmse5/MXU66Bzif2NQwnBIf3bvIMNqYbyriQQ0gxe/ca9mlB0kJmz/ulilbAFJB/5k W9MH+7v3MyB3OOL1+MUFWljRA4ErrOngbPTg0ELGZp0GI5sjY4st96h6JoGXsx/P2cO6 R+bwGYHTGTex/jfsdDe7oarM01V00kc3DwP+PjMZQ1916Fb2ty3yyWLBDx6J/0LcCj6T N/TneFaKHnGmPwzYdsf8WTm1zhn2RFfM8QRiolC7641WKW5Ni1rGDjESISiK6U7SfVkB ZreYeFXTMMPSRaPCSCuOmqkNZ7OSQp4cZyNUDhsro61Iv5IiCZBwCCpXz07Z0CbgPGRj PtdQ== 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:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6cD2hXX3GzUspC3BzaYEWKh3UNBXjrDSFqzk24IPdeY=; fh=bhbR47if01PSoK0VPTVSzjfCJ1WUrLFEZs7OFAdzg2M=; b=UBJ/1A07NtvUFApzpkUdWt9sIgeli99SJqYkqUnur1gDEK6VDSTOVG1Q584ZCu6pXi C4xdpvUvaAW4eBlaySxTIR4UeyM/GL8G5WFGiva430id+uTcPpD4MmLlyrlgBO5R8Q6s igybzAFTpWQ1gQQyLSYAJ75QioUrPYoP9OQQx+/Bljfq1vWAg1t3dPWdqJG+XNOlom0q Oz625++ufczYWFU/mVmXrUsyGXvL2NMe92KHjN57svnXZMhpu1sYR/RgbsJDJkeDtDRu j6XXRmjdQBPRNmuaBtnv3agA0BYOT14qIGcy8nI//nuzhY4nuILOSFOK7Yz30N5+MQ/X f59A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lsg+ZYbW; 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 b136-20020a25348e000000b00d9a608c47aasi9832260yba.514.2023.10.25.00.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 00:36:34 -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=Lsg+ZYbW; 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 A485880212B6; Wed, 25 Oct 2023 00:36:23 -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 S233808AbjJYHgB (ORCPT + 99 others); Wed, 25 Oct 2023 03:36:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234057AbjJYHf3 (ORCPT ); Wed, 25 Oct 2023 03:35:29 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 430C31FCE for ; Wed, 25 Oct 2023 00:33:58 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-9c75ceea588so758793066b.3 for ; Wed, 25 Oct 2023 00:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698219236; x=1698824036; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6cD2hXX3GzUspC3BzaYEWKh3UNBXjrDSFqzk24IPdeY=; b=Lsg+ZYbWKKPq2YjkeFBzwwPgiT+BoqSsApWs9lHv9LxfW6CuivJNEy19HYRCbYs8i+ hTr/tm+L8fR1YJJ7gc6geoetcMuZDxfK2YIxCKUtHZU0Omg91NihCKM6CzR9HSiU30cG 8HlVU/BWmZCTYdG/U/2BJQSZRIlj1Le9oQdLnj4kvVmQfXWhA+nB/9bWDn9NclNmoZw1 ebMmV9DtRdVCDzAkN4BFAlTO+SdEv7y4p7OP2kn2AbpPiwL65I+S7zPaI8dpabDvruQQ TmTG9w9nmvCwiX/bcer1L2IzUvIhMALOpOEMHBz9Qtrx+jLEW8ByFH2YvQwARhZ8JLi+ oNsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698219236; x=1698824036; h=content-transfer-encoding:in-reply-to:autocrypt:from:references: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=6cD2hXX3GzUspC3BzaYEWKh3UNBXjrDSFqzk24IPdeY=; b=Vryr7yg14kWB8BJ2WVgHgWJnwrn1MbMEhB22bcWMkoIzRNnl8KrfrI8heq/L2s5g/R xy8/6xCZo50ZGCJz3bkdGsU4V3VJBodfm1B6T5y0T4bXBD0S+UVzVzgjQZy3fDtgCvr0 OrbSfSPAG7K5iYWKQ1VooVZH/x1gKTSaDZ8wIk/L3/q4WJK5+IC0FB0S7ZtH/mCTWPJ2 lA3HmHVdj3UaHUpv3YuOUMfLgjkRV8KU27uRmCBIzA58tYt03BrtAcfLYhqy+FpY5Vik sRXPuPYX4jsG2NEz3mWbWNo1QOTWkOp9CUiwrhzpjo3fwz8esfhxsYx+Z1FZQfx59oxl XK6Q== X-Gm-Message-State: AOJu0YwUltIzk3Xq2oc2vw5SrxXPtoIyjqbCZ5BuVrZEdvtL8+DhbpsT XPv1cJdy1N7gApJj2Kh2pJewcw== X-Received: by 2002:a17:907:928c:b0:9be:6050:7f1b with SMTP id bw12-20020a170907928c00b009be60507f1bmr10491010ejc.0.1698219236563; Wed, 25 Oct 2023 00:33:56 -0700 (PDT) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id gy5-20020a0564025bc500b0053d9cb67248sm8846790edb.18.2023.10.25.00.33.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Oct 2023 00:33:56 -0700 (PDT) Message-ID: Date: Wed, 25 Oct 2023 09:33:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/1] 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, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20231025073150.2826130-2-enachman@marvell.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BE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Vq 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: <20231025073150.2826130-2-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_BLOCKED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 00:36:23 -0700 (PDT) On 25/10/2023 09:31, Elad Nachman wrote: > From: Elad Nachman > > Add support for CN9130 and CN9131 COM Express Type 7 CPU > module boards (SOM boards) by Marvell. > Define these COM Express CPU modules / SOMs as dtsi, and > provide a dts 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 dts file. > > These 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). > 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 + > .../boot/dts/marvell/ac5x_rd_carrier.dts | 23 ++++ > .../dts/marvell/cn9130-db-comexpress.dtsi | 101 ++++++++++++++++ > .../dts/marvell/cn9131-db-comexpress.dtsi | 113 ++++++++++++++++++ > 4 files changed, 238 insertions(+) > create mode 100644 arch/arm64/boot/dts/marvell/ac5x_rd_carrier.dts > 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..b0a2347200ef 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.dtb > dtb-$(CONFIG_ARCH_MVEBU) += ac5-98dx35xx-rd.dtb > diff --git a/arch/arm64/boot/dts/marvell/ac5x_rd_carrier.dts b/arch/arm64/boot/dts/marvell/ac5x_rd_carrier.dts > new file mode 100644 > index 000000000000..4b2cf417332f > --- /dev/null > +++ b/arch/arm64/boot/dts/marvell/ac5x_rd_carrier.dts > @@ -0,0 +1,23 @@ > +// 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 SOM board. > + * This specific board only maintains a PCIe link with the CPU SOM > + * module, which does not require any special DTS definitions. > + */ > + > +#include "cn9131-db-comexpress.dtsi" > + > +/ { > + model = "Marvell Armada AC5X RD COM EXPRESS type 7 carrier board"; > + compatible = "marvell,cn9131", "marvell,cn9130", > + "marvell,armada-ap807-quad", "marvell,armada-ap807"; Please run scripts/checkpatch.pl and fix reported warnings. Some warnings can be ignored, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. I asked to document this in the bindings. Also, compatibles do not look right. You called the board AC5X RD but compatible is CN9131. Best regards, Krzysztof