Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2401232rwo; Thu, 3 Aug 2023 08:52:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlExKPAR/J/G7o/bTmjEGigEp9L4rq+MP9JaxP/8lchUCN9L1EJ6pyaYf1IdImluF6dugq8M X-Received: by 2002:a05:6a00:1393:b0:687:5434:bd14 with SMTP id t19-20020a056a00139300b006875434bd14mr7862019pfg.11.1691077956497; Thu, 03 Aug 2023 08:52:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691077956; cv=none; d=google.com; s=arc-20160816; b=osmKxZ7RMxFDzF9WDTXtth2P2SVI/CELKBVwXcQpHUaNZn4oCSrFFWr5xriimao0gv Dmfwnwfwh8R7hDGP6vtmWkAnzN6C/ItluJ4HL/15pgd2LJFY5fLwVdit05UtH0qyKu6E uccrz+iXienlrc2c+8o5PsqJ/oR2nmY2zW9AvJxTblx5QzWXOQ+A8+aOPtSHjo/lMJPK akjCWihgRGuChPbhHxMvL1C9TgGBdiqRx4EWzdEy7E7q+fdRsABQS7OQAyXFC+XLPJmV H8iKXXxfVtA6B0kdKksT/7bQihM9bfAtGsA+Q3Cm5/P4tjYt2io/dEVdjlHfV45/f8+4 I+qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=4H5b2oQZNYPFI3064bJ7GHhVJ38VlaVlUmWaqCgKgnA=; fh=C3kh1b+m0N3Pjks9HO4yAJ6xbQUlHuH14IOt3pvRvpQ=; b=ij5IAwHQf81umvpYTO92vyWePImhAndf+CR+f6dl8VayZGJ26h27P/clsgOJIOfsH4 4v0BPmOro02bTH7KY5aZvZIscdvuKU5GNimmvxJfulFZUPEBt+4HadiuwRo27lWrQxT2 +r6ZdMA5kwMWKbxNWsDiNXtdZydZy1LOhrSV3OBXYeeOFnYw7WGdjpkk+igwAWphSk1D nYciiZWXoqRrXNF9SmGVdagAA0q+1g0QqF1Za0tXRQ9Tgt1cHndPijUN9QI4h7uqL87I FUo0brNU/lV8SkYiozpS6xkvad96B/QxCBjP687u/uxaW7lvebYYaWbf17qsIh4pRQ5I +51w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020aa793a4000000b0064378bea76dsi45843pff.239.2023.08.03.08.52.24; Thu, 03 Aug 2023 08:52:36 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235146AbjHCOt3 (ORCPT + 99 others); Thu, 3 Aug 2023 10:49:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234240AbjHCOt2 (ORCPT ); Thu, 3 Aug 2023 10:49:28 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 77139173F; Thu, 3 Aug 2023 07:49:27 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1EA9B113E; Thu, 3 Aug 2023 07:50:10 -0700 (PDT) Received: from donnerap.manchester.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D01A83F5A1; Thu, 3 Aug 2023 07:49:23 -0700 (PDT) Date: Thu, 3 Aug 2023 15:49:21 +0100 From: Andre Przywara To: Krzysztof Kozlowski Cc: Martin Botka , Konrad Dybcio , AngeloGioacchino Del Regno , Marijn Suijten , Jami Kettunen , Paul Bouchara , Martin Botka , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Andrew Lunn , Icenowy Zheng , Ludwig Kormann , Heiko Stuebner , Shawn Guo , Bjorn Andersson , Chris Morgan , Jagan Teki , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 6/6] arm64: dts: allwinner: h616: Add BigTreeTech Pi support Message-ID: <20230803154921.0d42fc66@donnerap.manchester.arm.com> In-Reply-To: <17dec3fb-1bce-77ff-9917-7f565049954d@linaro.org> References: <20230802220309.163804-1-martin@biqu3d.com> <17dec3fb-1bce-77ff-9917-7f565049954d@linaro.org> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Thu, 3 Aug 2023 16:30:06 +0200 Krzysztof Kozlowski wrote: > On 03/08/2023 00:02, Martin Botka wrote: > > The BigTreeTech Pi is an H616 based board based on CB1. > > Just in Rpi format board. > > > > It features the same internals as BTT CB1 but adds: > > - Fan port > > - IR receiver > > - 24V DC power supply via terminal plugs > > - USB to CAN module connector (The actual USB to CAN happens on the external module) > > > > List of currently working things is the same as BTT CB1. > > > > Signed-off-by: Martin Botka > > --- > > .../allwinner/sun50i-h616-bigtreetech-pi.dts | 44 +++++++++++++++++++ > > 1 file changed, 44 insertions(+) > > create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts > > > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts > > new file mode 100644 > > index 000000000000..05f39b3606ba > > --- /dev/null > > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts > > @@ -0,0 +1,44 @@ > > +// SPDX-License-Identifier: (GPL-2.0+ or MIT) > > +/* > > + * Copyright (C) 2023 Martin Botka . > > + */ > > + > > +/dts-v1/; > > + > > +#include "sun50i-h616-bigtreetech-cb1.dtsi" > > If this is using CB1 DTSI, does it mean it uses CB1 SoM? If so, I think > this should be reflected in the compatibles. > > It's a bit confusing because in previous patch you call it "CB1 board" > but then with name "Manta"... So what is CB1? That's indeed a bit confusing, but from what I got from the BTT webpage: "CB1" is the SoM. M8P (and its M4P/M5P siblings) are carrier boards with extra hardware for 3D printer support, taking the CB1 SoM. The "Bigtreetech BTT Pi" is embedding the same hardware as the SoM, but without actually using the SoM, directly on a PCB, so similar to what we have with the Pine64 SoPine and the Pine64 LTS board. It doesn't come with the extra goodies of the more 3D printer related boards. I *think* the "BIGTREETECH PI4B Adapter" is a normal dev board using the actual SoM, but with an otherwise identical(?) functionality software wise - so it can run with the same DTB. I wonder if we should have a separate .dts for this, though, since I believe it's not really identical in every aspect - starting with the USB ports, for instance. But for this board and patch here I think it's fine to include the cb1.dtsi, but not using the CB1 name in the compatibles list. Cheers, Andre