Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp153727lqr; Wed, 5 Jun 2024 01:47:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOiWChpjHzi64EpwKzrtxmEg/wAGNbCXOB5tnpalWKFcV1RdIctLcAlb/jTB1sKSB2dN8iVZAPnaVrpFi2GJ9Ax1x+k9UtBvPbJc6SxQ== X-Google-Smtp-Source: AGHT+IEnHWHqw5dBIJI76BjmQi2ictRZcwwyYw5hmCCWmxn00r4Kg7CSBMe5k3W3ELVSVXuDnOHr X-Received: by 2002:a05:6358:2908:b0:19b:8988:4f48 with SMTP id e5c5f4694b2df-19c6ca0a647mr219049555d.21.1717577237535; Wed, 05 Jun 2024 01:47:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717577237; cv=pass; d=google.com; s=arc-20160816; b=1DlwArGN4Hq+KZcNiH4+iKUmIbPKulY8+fzU5fsHgAv+ekiCCThiYMyiFoXXN2VJ26 m+eqh4O7O5P64Wb21qq9GSUUc4xsD4IVRvCMGblUxaWNNQwHS3gxQi//Im3/xf1XHrjX RwNldPCB30ZA6UjptxSN/hcDZy/K7FGemLctUkwQwi2onFPvuXusY3pDRlD2neoyLhQY 4Fr+nR+bVV6RpUO8C7kNFIV5Kh1RE/MuqpDOah9XeDCP/UXVrQrs/JslsDE7wqCfRmWG lsEo42gEVhGkTqIdykuroIFpCwcWeAVS4N4vYerxTNA1T4NWgs3Du6XjE/+O8i7rozd+ Jfdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=cghILI8ZJPm9SL1zceBvs6FK9GtRFOI4Hps8zLPbyaI=; fh=Wj8ILYDqvSGMqTPEtk1973a+oprroAuBgKh7yHVgGaE=; b=NdQXXMYcKU2LnfHnx+WfI/0jaWeOUO56QKPY9gbHkcwJJDtbAsu2fdSrss4AUPHg11 iRwCgKxIL4p8QL8ujurCx0UEnzYxjS+TbGNDZz3D/7w3qbHi7owO4mS9aHYOprUrVTaQ luulJftnDTbixClL5YTDd5msQRHR7HnVoH6bR9b6BDW7FoD1Z9Fpp+f0ZS2xkJ/n98fE UpM4RCoFijxw31KQLd6u7R4aB4/fWbYVvAMqyqkglV7drgqBBtMg9+OJ+xKKvcKPyFYz SpM7X2RzQjeuv/oOSmZxHDCUz0Y9DdALoyhpHhQcbFJJ7ocNgCKc+LLokKJv5SDQRPvR EeAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ecdvmj4x; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-202032-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c359e0977fsi9793114a12.318.2024.06.05.01.47.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 01:47:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202032-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ecdvmj4x; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-202032-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4066F281D45 for ; Wed, 5 Jun 2024 08:46:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F66513AD39; Wed, 5 Jun 2024 08:46:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ecdvmj4x" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5459D49637 for ; Wed, 5 Jun 2024 08:46:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717577178; cv=none; b=Q5nqrVI1hXwKP8ey+1jJdemvFdMqve0rBAY4o7RVjzUQFBx6hWba4IruCI3GVrEHOA68zaTs801oynV4bpcTYLj11fAjeTWSxFjHOjRliDq/Z9c/sz2V8G9p+h7eBO3VqnoKMGoNfBwyeMSSz/biMHSo1lP5l+n9DuVSM7QsDTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717577178; c=relaxed/simple; bh=k5hPE9u97z5wZR33by4343ri6f791GQUzIj+JvXc7iM=; h=Message-ID:Date:MIME-Version:From:Subject:To:References: In-Reply-To:Content-Type; b=MmYExc3WcnK6/1e6C8XZHixxlpKGb94R3FdYAOCg+uUwPnMc22TD0/kM9VJoRiuHRKlcqfYd9x0wMbg+hWz/jrYA1L1y87eKx663XQ4uJh+aFRD6xsztDkmKVuGKpV3sM5RTQYvP/Wz0gqhlcPK7W7d7D5dLp7b50xmidkEDakE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Ecdvmj4x; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-35dcd34a69bso5043982f8f.3 for ; Wed, 05 Jun 2024 01:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717577175; x=1718181975; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=cghILI8ZJPm9SL1zceBvs6FK9GtRFOI4Hps8zLPbyaI=; b=Ecdvmj4xxxx9KQ2Wf8FfYIHIiC/Ak7wmvzdh7XzPlBqHXyYcsodx5KABOKTzkqYo8G uu1VWVpKL02RiGSN5OICVQpvW5bCSOhSegm9xFiUdxRxwva1houeuSqtdVzMfFARxTP3 UMKD5M/fbYLaMUL4zIIl7vVZx3zJYki83zdNlgZPo84/J/Wwg+90rFnUj06jrCj+qeJt kA5lEGdAKZx1GQuPuSoQ9A/nXWWg6lIF8Bh7+RbvceJg+7fTirk5yr0lDsuJoHjfO8CH 94hV4GHd/dDuq4C4n28KfiRNM3lFVL3JgyIDqaFYrvcgEybmZ+TwbogfmOWHEL3KVv+n 1gRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717577175; x=1718181975; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=cghILI8ZJPm9SL1zceBvs6FK9GtRFOI4Hps8zLPbyaI=; b=vWfXXsjAdq/acHnibSgl4fKajRxviIF3X82quAK3BJ0rT64dLRGBWs7zl8IWb9IiJE 9Lx80fk+4WbqF/4eahdihcxOhOky0gzDbqblJPfEBoQzjjGI2YrxX4ZGSouFXJe8hj32 Tlub99/q5Hqu5g6c9WBS3e5JkRRYWRGrj6BCGfeqNcqH8RFETLWslOp2W1XXR4xJGBd8 6Wf52IMLHyW2PhYdwSHm/aDpUdNQOF8Ggnc29za7L/RupGVgfi+Rw3V7RuX6B+fYMxHm Tsdylv14YhWM6OrbQYtgmY8UKnLOsUD/z/UYliFUCg9CSffqy/wMCEABp81FvhdThsA/ sKzA== X-Forwarded-Encrypted: i=1; AJvYcCX5HrI92AgC7NGji5JoBbkNxCg4Jd7zNKiIoyxHIvAt9mIy+uxYkR+auB0Ujp8E0t6uSI5y4KbriiwZd2ett5vD32FSr1LkWbOyEDeM X-Gm-Message-State: AOJu0YwDa5yNxWJZHIgXPd3FLw+MszhPBYD6KPCwpHAB6XGkPT1vWcbB ls39i3woeJ/duaUBJbOLAKDRNM/680GcqcIyApesPXaoxwVGUeAF6A3EPtFvvjk= X-Received: by 2002:adf:e7c1:0:b0:354:f815:8b85 with SMTP id ffacd0b85a97d-35e8ef94374mr1276637f8f.67.1717577174518; Wed, 05 Jun 2024 01:46:14 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:c7ce:7756:462d:a8bd? ([2a01:e0a:982:cbb0:c7ce:7756:462d:a8bd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd062edbcsm13787599f8f.84.2024.06.05.01.46.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jun 2024 01:46:14 -0700 (PDT) Message-ID: Date: Wed, 5 Jun 2024 10:46:13 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 2/2] arm64: dts: meson: add GXLX/S905L/p271 support To: Christian Hewitt , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240604084134.3315841-1-christianshewitt@gmail.com> <20240604084134.3315841-2-christianshewitt@gmail.com> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20240604084134.3315841-2-christianshewitt@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 04/06/2024 10:41, Christian Hewitt wrote: > Add a device-tree for the GXLX Amlogic P271 (S905L) reference design > board. This is a low-cost design similar to P281 (S905W) but with > silicon differences to omit VP9 and use Mali 450-MP2 (not MP3). The > SoC is marked with S905L and "2" (believed to denote MP2) resulting > in chip distributor stock lists and Android STB marketing sometimes > describing it as an S905L2 chip. > > Signed-off-by: Christian Hewitt > --- > NOTE: This patch depends upon the following submitted patches for > VDEC [0] and SARADC [1] support: > > [0] https://patchwork.kernel.org/project/linux-amlogic/list/?series=858514 > [1] https://patchwork.kernel.org/project/linux-amlogic/list/?series=858525 > > CHECK_DTBS generates some warnings for pre-existing issues inherited > from common dtsi files. The patch does not add any new issues. > > arch/arm64/boot/dts/amlogic/Makefile | 1 + > .../dts/amlogic/meson-gxlx-s905l-p271.dts | 51 +++++++++++++++++++ > 2 files changed, 52 insertions(+) > create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxlx-s905l-p271.dts > > diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile > index 0f29517da5ec..0746e01b5853 100644 > --- a/arch/arm64/boot/dts/amlogic/Makefile > +++ b/arch/arm64/boot/dts/amlogic/Makefile > @@ -62,6 +62,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-libretech-cc-v2.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-libretech-cc.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb > +dtb-$(CONFIG_ARCH_MESON) += meson-gxlx-s905l-p271.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxm-gt1-ultimate.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxm-khadas-vim2.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-gxm-mecool-kiii-pro.dtb > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxlx-s905l-p271.dts b/arch/arm64/boot/dts/amlogic/meson-gxlx-s905l-p271.dts > new file mode 100644 > index 000000000000..1221f4545130 > --- /dev/null > +++ b/arch/arm64/boot/dts/amlogic/meson-gxlx-s905l-p271.dts > @@ -0,0 +1,51 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2024 Christian Hewitt > + */ > + > +/dts-v1/; > + > +#include "meson-gxl-s905x.dtsi" > +#include "meson-gx-p23x-q20x.dtsi" > + > +/ { > + compatible = "amlogic,p271", "amlogic,s905l", "amlogic,meson-gxlx"; > + model = "Amlogic Meson GXLX (S905L) P271 Development Board"; > + > + memory@0 { > + device_type = "memory"; > + reg = <0x0 0x0 0x0 0x40000000>; > + }; > + > + sound { > + model = "P271"; > + }; > +}; > + > +&apb { > + mali: gpu@c0000 { > + /* Mali 450-MP2 */ > + interrupts = , > + , > + , > + , > + , > + , > + , > + ; > + interrupt-names = "gp", "gpmmu", "pp", "pmu", > + "pp0", "ppmmu0", "pp1", "ppmmu1"; > + }; > +}; > + > +&saradc { > + compatible = "amlogic,meson-gxlx-saradc", "amlogic,meson-saradc"; > +}; > + > +&usb { > + dr_mode = "host"; > +}; > + > +&vdec { > + compatible = "amlogic,gxlx-vdec", "amlogic,gx-vdec"; > +}; Reviewed-by: Neil Armstrong