Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp597295pxf; Wed, 31 Mar 2021 10:59:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+ZQxtkZVI6aVP61tLrgChklbfMxTx8709/Jsye/JqgTXXw5pJmEqSENg0xBq/P4f8PJLo X-Received: by 2002:a05:6402:254a:: with SMTP id l10mr5223993edb.160.1617213548198; Wed, 31 Mar 2021 10:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617213548; cv=none; d=google.com; s=arc-20160816; b=D9x+7QfZLYs2FqF7rR4qC4tgYerANZocrntuthC7lWvJUJ5jQv9WHLCUJNWiN1QylF gWwPAllinBIVL921NpmV8A/6nQNb03IZTwLnIelsZslnux7zpBM1NIqeoyKNOruxQB2a FglpLAVP4LTuoHRdsXKz0AkHPyJAuLxUTo+F+sQpOp9k88lUyT32Q7YZB2M8WFuDNU26 9KMasA96zX61oJ+5NuxFFUcFV/GIu2U84rQjiS9IEvIF9LKebGHe6CCPyoH1xp76KiVN bd1zcAKlReRt46U0SUCo31SXmo8uBot0rMInwu7ECNeas4KM0/GztUZ9AZJW0ab/pQeQ PWTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=im8LbfmDvpjTpu8MVDC5/gc0TyAplmtnFWCIdzrx6nA=; b=LthTTl3kuG6E69SHWr7zIG9rbPL18iHAiMqPbB2yNiJlZL00ve7YExB6e4AOUtzRPB 9J2SNA/0XryxDZcxd/txThlzAusafnN8wrciVVtfRes/6bnFIaojtu5K6R7p2qltWjG+ +kirbM76tpnTVBVcU0eSpMn5QYPp3s6Qph87rCmsw1TC5Cq9cdrJKSJIKwsEZQHl7kGX TyPomEOsUuhTVP0wtKh7Uz76U8bS1A1cmo+HjcS2+ZEFgPEl8kKZL6Gd7wfZh2ZdlfJT kx8Si3ajq633sJ7PON+KWvxD3yAe2NcTIlOktopHe+SsOr/m5npChPr4ayMvdNeFdi5D j7sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=Y4kDA9Oj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cisco.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ho11si2000082ejc.258.2021.03.31.10.58.45; Wed, 31 Mar 2021 10:59:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=Y4kDA9Oj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cisco.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233735AbhCaR5t (ORCPT + 99 others); Wed, 31 Mar 2021 13:57:49 -0400 Received: from alln-iport-7.cisco.com ([173.37.142.94]:61870 "EHLO alln-iport-7.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229787AbhCaR5Q (ORCPT ); Wed, 31 Mar 2021 13:57:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3142; q=dns/txt; s=iport; t=1617213436; x=1618423036; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9+KK6SA8vleCLJAhsbCIqaUCPho3SAWet4gWR6pTR+U=; b=Y4kDA9Ojs6PaUzcrC9+ZR+rkT3qMNoL5/0oJb97nLv23/e908ij4J5H3 lFlPFCLFYrPMi+HVd0+mXfheHvErZ6SXwDkNIsOxrSV9Wz3pjzUFcxSiQ wt55FynGuRjTlN59qhjl6ZdBQuGooFhFSiNN5nbVSxtFOn/PeLUrWNx+8 A=; X-IronPort-AV: E=Sophos;i="5.81,293,1610409600"; d="scan'208";a="670998258" Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 31 Mar 2021 17:57:12 +0000 Received: from zorba ([10.24.8.227]) by rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id 12VHv9UF022319 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 31 Mar 2021 17:57:10 GMT Date: Wed, 31 Mar 2021 10:57:09 -0700 From: Daniel Walker To: Arnd Bergmann Cc: Catalin Marinas , Will Deacon , Olof Johansson , SoC Team , Rob Herring , Ofer Licht , xe-linux-external@cisco.com, DTML , Linux Kernel Mailing List , Linux ARM Subject: Re: [PATCH] arm64: Add support for cisco craw64 ARMv8 SoCs Message-ID: <20210331175709.GE2469518@zorba> References: <20210331014603.2496983-1-danielwa@cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Auto-Response-Suppress: DR, OOF, AutoReply X-Outbound-SMTP-Client: 10.24.8.227, [10.24.8.227] X-Outbound-Node: rcdn-core-3.cisco.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 31, 2021 at 09:04:15AM +0200, Arnd Bergmann wrote: > On Wed, Mar 31, 2021 at 3:46 AM Daniel Walker wrote: > > From: Ofer Licht > > Thanks for the submission, it's always nice to see a new platform > > Define craw64 config, dts and Makefile for Cisco > > SoCs known as Craw. > > I'd like some more information about the platform, e.g. the target > market and maybe a link to the product information. Our SoC is produced as an internal product. So SoC specifications aren't widely available. Here is an example of a Cisco product which uses this SoC, https://www.cisco.com/c/en/us/products/collateral/switches/catalyst-9200-series-switches/nb-06-cat9200-ser-data-sheet-cte-en.html I suspect that's not really what your looking for tho. > > Cc: xe-linux-external@cisco.com > > Signed-off-by: Ofer Licht > > Signed-off-by: Daniel Walker > > --- > > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > > arch/arm64/Kconfig.platforms | 5 + > > arch/arm64/boot/dts/Makefile | 1 + > > arch/arm64/boot/dts/cisco/Makefile | 5 + > > .../arm64/boot/dts/cisco/craw64-dopplerg2.dts | 239 +++++++++++ > > arch/arm64/boot/dts/cisco/craw64.dtsi | 392 ++++++++++++++++++ > > arch/arm64/configs/defconfig | 1 + > > We have separate branches for dt, defconfig, and the rest, so it would be > good to split this patch up a little more. > > There should also be an entry in the top-level MAINTAINERS file. > > > diff --git a/arch/arm64/boot/dts/cisco/craw64-dopplerg2.dts b/arch/arm64/boot/dts/cisco/craw64-dopplerg2.dts > > new file mode 100644 > > index 000000000000..20ecc57b4e5c > > --- /dev/null > > +++ b/arch/arm64/boot/dts/cisco/craw64-dopplerg2.dts > > @@ -0,0 +1,239 @@ > > +/dts-v1/; > > + > > +#include "craw64.dtsi" > > + > > +/ { > > + model = "Cisco Craw64 on DopplerG 2.0"; > > + compatible = "cisco,craw64-dopplerg2", "cisco,craw64"; > > + > > + memory { > > + device_type = "memory"; > > + reg = <0x0 0x80000000 0x0 0x80000000>; > > + }; > > The memory size is usually filled by the boot loader, just put an > empty node into the .dtsi file Arnd, I must regretfully inform you that Cisco has a deep dark addiction to bootloaders which, are, um, how do I say this diplomatically, um , brain dead. You have some other comments below related to moving things into the bootloader, and I can look into it, but bootloader inflexibility is wide spread inside Cisco. > > > + doppler { > > + #address-cells = <2>; > > + #size-cells = <2>; > > + compatible = "simple-bus"; > > + ranges; > > + }; > > What is this? > It's a device, but the driver is not submitted. I can remove it along with the other device driver binding we have where the drivers and bindings aren't submitted. I'll do my best to fix the comments your given an resubmit. Daniel