Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1022873rdb; Mon, 19 Feb 2024 01:24:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVy11FZudRbuPL4tFQJih9fHDBRYzSEj4LpYBT1xqAQt7s9wF90J3cK++DaX3acAFa+Y0J3crya6iMV/SoPFOx5ugcfRR5OTtncL49E4g== X-Google-Smtp-Source: AGHT+IHA6MZfa/+T5TaVhaOrRiaIkPsfSYfEPeQKqe6WKuBWXNUNgzija/qVdW/C5xx1pGXjKykp X-Received: by 2002:a05:620a:5623:b0:783:df39:a1cd with SMTP id vv3-20020a05620a562300b00783df39a1cdmr13728037qkn.46.1708334642370; Mon, 19 Feb 2024 01:24:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708334642; cv=pass; d=google.com; s=arc-20160816; b=tKyQr7DBCZMxttofVKgNHgmX4JqNLtCC2J1FKZb2Oj4UoM8doYus03lIyJUswpnw14 UjLDlGTZM3A5QT864dGqKJD6AqekfZBY43wNI2sr7gLoOa/kZQmEnFyj6q4Gt9It+tT6 1hvVlH1KEcHbg8jxn9n7BVudnGlREj6aQ/vi44ZnZQBZIX00F1wBcxDrTXOewWV6LABB Y4CC3p/t/CFwSxHAHS0f3HbyRRzPiB3y7nOMdEO7iXVJzG2S6SlhjOvnLyRFeh1Ir6RY ytKvcAken+mfTEhAFRU2dxmIZq5CK+7ahkVIsGLMsRuC+3ygre3L/visGAcddHJY4Ur5 RjOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Ra8WD5K0VnvhN8xSfSomMxJuokDvv4rOWUUdvEyX8/M=; fh=ZiotvjaxIVCk6IW3OJIBmKEMEMiSmpbmvchnrfBtOeM=; b=TnIL2adi/qJ1KLzQXceAbdyujzvpnSxukrPI4rCipibscBmiU2e8V2tOz+nru8gcpi GTnCI5j1V4FRnQhpXy1t7qq9XEkWp//o2HADDnaQfOsnB+T0ccmZNzGkb5OiohvBli6U Iax2JBsBmHF8cs5ijcCOfADLAOtdLmBmfE3LcRqiIVkv+prRIXcrRi1wA+gCsARiyxpf u9ro0HXa5E9ev6DH93eRuk+ws8BZHaM3MnKQW6nCCRWDGUiXKIUVcDL6WWFcSJgiq2uV 9aNZ0SdagF03XB2gp+0fJzkB9gRV9JIgGcOfJZvUcddjSCFKYwDRP/9ee+bH5g+wToeQ XrhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IipeBgPi; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-71023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id da31-20020a05620a361f00b0078723518d01si5426032qkb.395.2024.02.19.01.24.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 01:24:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IipeBgPi; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-71023-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 12DEA1C2104A for ; Mon, 19 Feb 2024 09:24:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A4272375D; Mon, 19 Feb 2024 09:23:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="IipeBgPi" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C657B22F13; Mon, 19 Feb 2024 09:23:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708334634; cv=none; b=Sp0Ov/pH/Iga+hxaEl1CRkp2+dh8X9WUJ8vRFToThvHihrwTEbezwABfcCG0hS7c1bimBOR3BLgZZPH5NPIKhm8xm4NXxSTqCcepvNXLtJgH26FovzsRCdAW5+lCrO235+W0jrJ1Lg5AjQ6SBSVmqW6TtNxzCTLwwGQ5v+S85Uc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708334634; c=relaxed/simple; bh=UNsW7w0/prR9kEhx1s+cnIpM0a+lTKIVqrn9LfPCP0k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=loBkI8gDgXV4BX2oG7qPsPchkQuA8Ye1OTeLXn9zzuwYzpz8yWJYOazVYtvblCxgjn+MMGyi2SdzQdYPyXyqI2RQuU++hNAoTpcV7HN/r/SYGsBW+3iKz7Ejffa0DuntNCPWfLTXyITsy1sra8wZvE98sGRQjnYDWo/dFTzmuhA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=IipeBgPi; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1708334631; bh=UNsW7w0/prR9kEhx1s+cnIpM0a+lTKIVqrn9LfPCP0k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=IipeBgPi2Q3alaj6bk4wzwdIqZ1Hiq+F9wD9hfBZkeNBxaZFLlI4qoNZDdWRpu78O oqSRPWF/IiymNW8hkstukElxe+zdWXeJEI9ChW2DSJXgollH2k661a3Em7iD052EIb poytKQ+o9Bn3ap8yXP8/d+VVJose5jutlvmDYhxPZfQuhSxKVxsmDnD8flSIj524xI xIRBame5zjen3wMdosL36LZzZ2ALIy7izGU44BxFd8q4v1o9FFRzsKw4gopcc+rWrh pbo+QauykbEB9ODMDpCcVo7PmiVY7R2gCUjOFmp9YnFK23owWbntq7G7C/IDdLMr9B UWO9BgSwxbASQ== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 5A7EB3781123; Mon, 19 Feb 2024 09:23:50 +0000 (UTC) Message-ID: Date: Mon, 19 Feb 2024 10:23:49 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] dt-bindings: arm64: mediatek: add Kontron 3.5"-SBC-i1200 Content-Language: en-US To: Michael Walle , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger Cc: devicetree@vger.kernel.org, Sean Wang , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20240219084456.1075445-1-mwalle@kernel.org> From: AngeloGioacchino Del Regno In-Reply-To: <20240219084456.1075445-1-mwalle@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 19/02/24 09:44, Michael Walle ha scritto: > Add the compatible string for the Kontron 3.5"-SBC-i1200 single board > computer. > > Signed-off-by: Michael Walle > --- > v2: > - convert enum to const as there is only one specific board > > Documentation/devicetree/bindings/arm/mediatek.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml > index 09f9ffd3ff7b..add167d8b8da 100644 > --- a/Documentation/devicetree/bindings/arm/mediatek.yaml > +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml > @@ -357,6 +357,11 @@ properties: > - radxa,nio-12l > - const: mediatek,mt8395 > - const: mediatek,mt8195 > + - description: Kontron 3.5"-SBC-i1200 > + items: > + - const: kontron,3-5-sbc-i1200 > + - const: mediatek,mt8395 > + - const: mediatek,mt8195 > - items: > - enum: > - mediatek,mt8516-pumpkin I understand that you took inspiration from the Google Chromebooks entries, but those are separated only because they've got "a bunch of revisions". For machines that don't have a billion compatible strings, I would suggest to add the compatible under a single big entry: like this, the binding is (imo) a bit more readable .. and cleaner. Eventually, the machine name is in the devicetree so we're not losing any kind of information anyway... :-) - items: - enum: - kontron,3-5-sbc-i1200 - mediatek,mt8395-evk - radxa,nio-12l - const: mediatek,mt8395 - const: mediatek,mt8195 Cheers, Angelo