Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5418699ybf; Thu, 5 Mar 2020 00:16:41 -0800 (PST) X-Google-Smtp-Source: ADFU+vv4q2MdyO8pulA04kKv1A6AsLHA71mR+1OO00b3pqVmWLDGvLPZFTJ/IPnjgs2o2Cb/rC/Q X-Received: by 2002:aca:1b11:: with SMTP id b17mr4914222oib.45.1583396200960; Thu, 05 Mar 2020 00:16:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583396200; cv=none; d=google.com; s=arc-20160816; b=Atf/bDTQQCfleeSi+ydXYGmB2DJ+ljX00cvOZfxDzwkS19052mQXSSjnoNy6Zi4gut eyHwKl5X7Kz9ymqhWYEZELhPdMF9tvUFYO8OzBBuevcDq8eUqfjuyO1F6gs8fN4K1jbo PHrTdkPJGExyO4j1cvStj0qTkLGRMTcUpZbsJObibzklgVwrO3V//Lef4TrGwl02S1hh I8ptO5NdccQ23P3PTkNmoh0p1bbaUNXtA6eKgCuZHBQqyyncRCDmc/5+2HR5w8iVZw01 SBSUngTpuQ6vV04zJHUZOM1pQZ61yGXtI6u4wfBkdw5Eu1bh/ynMxNP+CDA1NhMvDPnY Cwzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:to:from:user-agent:references:dkim-signature; bh=59ResbYkgYYtyGS3yqL1pe7i5n25xfvpTn1SJGZoQcc=; b=xmbm209CvzLIr9ErpnWrZMcXv9yASbk0yn6bcYSLQF2qFnXQ3l4kHy1R/JK546KvMy Wn6SXgICFq6v2miRIjKO/DhntKlly8HDcy8dDqvw11PedZP9Dk0bNCzmq77cPSamwxjG ANp/zx2+CqKuhFiIcSGLD4vuAvJ15A1E4zaXrcwKdF1HZ+N+BaEUUR/N6LZT4Yw8IOdQ qK15m5FWTPDHmKGsN0WrvLdm/Jta2n1b0wJm4A09Xgt5uTD12w+BRWxyCGKX+68jJ/XB pB9/QLx+2z2rlrB650T7YopmCoofCW1oPULOABq/DlrA5uCwot7uDEvXQIREDR+lVhia lc0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=uvMsy2gF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si3104504oib.154.2020.03.05.00.16.28; Thu, 05 Mar 2020 00:16:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=uvMsy2gF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725877AbgCEIQA (ORCPT + 99 others); Thu, 5 Mar 2020 03:16:00 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41717 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbgCEIQA (ORCPT ); Thu, 5 Mar 2020 03:16:00 -0500 Received: by mail-wr1-f68.google.com with SMTP id v4so5816547wrs.8 for ; Thu, 05 Mar 2020 00:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=59ResbYkgYYtyGS3yqL1pe7i5n25xfvpTn1SJGZoQcc=; b=uvMsy2gFIQJuGwPQY4jTQZfM443hyAsMpQsWvt61TsBrrNb5+brqKR7fyXH16dpcUG NKHn+FHej/vn1kTGDZAOiT3te05ZccNq2vpP9gefTXD4I8jUaaSMpDCA+puh6P7ugPyN Mq7CTRQp8ON7UQ8wyQBrxWkNHSBgn0GUrhEMx1wbzjnVma9BXBHRHMUXZ0u2P0xEa8lJ DaG2SUbfh2TZLAYPQNjz3QPd8SSGcSHivVrvmeFzY2wnQcFZQVrX8n1b+M7K41fDnb2V eqa2HBw0fdA4F/n4kWCqTVQAxYnxfMrF2BbKv5TCUD4Ge+NID+Dhpu/0B5cPIlHVEg20 VWgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=59ResbYkgYYtyGS3yqL1pe7i5n25xfvpTn1SJGZoQcc=; b=LHPML/ETqankU4Q5r/aAQ+93bUc49GISUe5Xl8PTU7ZGacjdvat2/hGUXfD80WOmVC wwozEbZaRkWk9WqvKAVWnD1eatanGP0nbCvCD7AuWPBrEttfkHLsXmI8Yf9zjQEG0zpf smFd0deHFB5Bsry6I6BseWxJHHvlAtbpi1wkaGxURIQqCyHD7mPhPC2uge/OklRphuhi RHBkS9Wd87FnWjS6sRQcKAs1fPObj/OU7jdXvuelFk8RZH3RZukoNsV0NiaiyrZo0IaB TuKvEHseC8yUx7gs27js1IAFs82Uo5MFQbsb+EPt/3WAwAcZnvkq+JtZct5+ISgQK35A dx3g== X-Gm-Message-State: ANhLgQ2IPYip6lbxHDyF08UJs+IeVDaX3628gHbvreDJDkdFElHIuFj2 gaQ3yUOrK8lF+74jt3HJ3ONfjg== X-Received: by 2002:adf:f70f:: with SMTP id r15mr8903620wrp.269.1583396158372; Thu, 05 Mar 2020 00:15:58 -0800 (PST) Received: from localhost (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id c2sm8220616wma.39.2020.03.05.00.15.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 00:15:57 -0800 (PST) References: <1582991214-85209-1-git-send-email-christianshewitt@gmail.com> <1582991214-85209-3-git-send-email-christianshewitt@gmail.com> User-agent: mu4e 1.3.3; emacs 26.3 From: Jerome Brunet To: Christian Hewitt , Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] arm64: dts: meson-g12a-tanix-tx5max: add initial device tree In-reply-to: <1582991214-85209-3-git-send-email-christianshewitt@gmail.com> Date: Thu, 05 Mar 2020 09:15:56 +0100 Message-ID: <1jh7z3cj43.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 29 Feb 2020 at 16:46, Christian Hewitt wrote: > The Oranth Tanix TX5 Max is based on the Amlogic U200 reference design > using the S905X2 chipset. Hardware specification: > > - 4GB LPDDR4 RAM > - 32GB eMMC storage > - 10/100/1000 Base-T Ethernet using External RGMII PHY > - 802.11 a/b/g/b/ac + BT 4.1 sdio wireless > - HDMI 2.0 (4k@60p) video > - Composite video + 2-channel audio output on 3.5mm jack > - S/PDIF audio output > - 1x USB 3.0 > - 1x USB 2.0 > - 1x micro SD card slot > > The device tree is based on the higher-spec X96 Max box device. Would you mind pointing out the differences ? Maybe I missed something, but do we really this dts ? Can't this device directly use the x96 dt, or the u200 ? All these boards, for which we don't have any documentation, add up > > Signed-off-by: Christian Hewitt > --- > arch/arm64/boot/dts/amlogic/Makefile | 1 + > .../boot/dts/amlogic/meson-g12a-tanix-tx5max.dts | 481 +++++++++++++++++++++ > 2 files changed, 482 insertions(+) > create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12a-tanix-tx5max.dts > > diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile > index eef0045..a1db803 100644 > --- a/arch/arm64/boot/dts/amlogic/Makefile > +++ b/arch/arm64/boot/dts/amlogic/Makefile > @@ -1,6 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0 > dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb > +dtb-$(CONFIG_ARCH_MESON) += meson-g12a-tanix-tx5max.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-tanix-tx5max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-tanix-tx5max.dts > new file mode 100644 > index 0000000..c3ef0ee > --- /dev/null > +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-tanix-tx5max.dts > @@ -0,0 +1,481 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2018 BayLibre SAS. All rights reserved. > + */ > + > +/dts-v1/; [...] > +&spdifout_b { > + status = "okay"; > +}; Why do you need this ? This producer is dedicated to HDMI controller which does not support it ATM. Also it is not even used in your sound card Same goes for the x96 BTW. > + > +&tdmif_b { > + status = "okay"; > +}; > + > +&tdmout_b { > + status = "okay"; > +}; > + > +&tohdmitx { > + status = "okay"; > +};