Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1039238rdb; Mon, 19 Feb 2024 02:07:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXXkuYewJqfKg+ucdF2KRlSQjTz3JehjgEmvIR5cENgBFESmfTvMtp3p+ipJfi1xW+0shuEcfwB2hJmG36lk/NmqxNcEOXC4hkq/0L3zA== X-Google-Smtp-Source: AGHT+IFCXJJZ0wz25wWocwkwDEblmwACFOri/EJjx/e6M9OAvjlsVPmVYXaLolUE4lm/cncB4PgJ X-Received: by 2002:aa7:c44d:0:b0:564:7bed:b866 with SMTP id n13-20020aa7c44d000000b005647bedb866mr1177836edr.23.1708337256810; Mon, 19 Feb 2024 02:07:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708337256; cv=pass; d=google.com; s=arc-20160816; b=QvzMsWRVTfPJzU3/Zv48om2g/SelHHqQsJfEV1iliJX60eS7+agA/hkLU6sLQba6xk pbZXPmXVYBKq/EsVnL5ndHdeYitVu4fak9Mt7120yktPsNoZj3zLXWfnUMbscb6ZKp+1 bNQg8ws1jpREAEd71VC24R1h3z3k5lAMzd1ToHJYUpMa9WA0MZatRWZy79qtkwtvR+by s8X+rSLXRoF4trJzE1ndGg07iQryb6g9aGnRqFnRfxjo9uH5hsseHgYgjw/18b9DRbXI UfSmJPDIkWa16dbK77oWHWbDUbOYsQSrK6XriCySBEmu/srd9HT8elgPiW/Z8JT7DaC3 hOng== 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=Y12iY6rBj8ztUJ8rRVAj+B7UISr7LQ5WvJF4TeG8Usc=; fh=K9Zz7IX98ywSZ4rb8mSoUGEeEBH8BgnZAhuOQksqc7s=; b=xKDibIzCA2C1q6tJG1G5JiXk7kBMpHnZ0KTHdNSlHOSu6AuFbO+mhqC3ScF7xJZirK Rb18P0O3aYekVg6oyKQlj58GVQuphB8kqYduVUOuGDlxqT2PnrhrzePcbm2Jyx4zYsd3 dMH0ePypYjkHSLC69SwD4pbl9gQzE9izLa0rTOk7P1BSlR4uiNjr7L31EXfEJZ//uo/h NiyjuuCWQLMMS6vRD2xNCGKl+RzOUk1RVz3ZaVti3gTgnuaBVPHV+dXvUvu3h1LC4AQL YzjWAYkMJwHU2SRHGJZhYp0Y5LiZn93FyaCGLmylsqQCtR4YkPBa0TiDjPXLrbvmQlRE pHqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=roMbp9l4; 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-71091-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71091-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bl5-20020a056402210500b0056465403221si1059413edb.669.2024.02.19.02.07.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 02:07:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71091-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=roMbp9l4; 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-71091-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71091-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 91F681F21DA6 for ; Mon, 19 Feb 2024 10:07:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B4DD25578; Mon, 19 Feb 2024 10:07:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="roMbp9l4" 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 C7AF825601; Mon, 19 Feb 2024 10:07:27 +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=1708337249; cv=none; b=WHWtf7KnVMK5zZjaD8p/VLICk76gORSwqu5R+wtCA0GPjYwJ3FpB2Xgcydy/ubGqgu+QHv1P2xHYTmoUgMBqkYS87REYgVxgx0F/MjlUfWgFKBd3ityHhL6xBlc4eFfS1pud1Rf3VMuPGxIv8YKGyZZYuGyeKZYSS0laJdpN2hw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708337249; c=relaxed/simple; bh=am4RhiD/FxNhL3HLfhI49lqlwjcS8S6GwDUUEW8SpzA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KMh83Dxx/MdaYcv2sYnjQaEagz59KTxwbuqwHLYtctiWXLYQoSA/oXRsaRYjABqciaSHDCN142hLtf7xxtwTH925OBP1/zYT882gfu/FqMQnO3r9mrIODj5noSFlrEaiyBw9wq/4/xJ9OPMOpB+QxIlaLH45jSypV+YL4qHytvI= 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=roMbp9l4; 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=1708337246; bh=am4RhiD/FxNhL3HLfhI49lqlwjcS8S6GwDUUEW8SpzA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=roMbp9l49OJOpROD48oGAD38RS1uRNs6pN+0W1yv3jOIExs8smXlzqAyxN7hltckj DhY008fWzU6Z8jydVKOVB6WG0i99EODJOHC4b41eI6J1TUqU6VKToGlBJnzVMG3hNq TQzAoUdR/CQXAwuff8KXJxNZ8kJg0NQYGPHfV3T04toPx7f08ClzrwwMh9BteqLpO/ A+yt4guoJ/NJT26sbgRZNrw+g//ATmKcGpN4XQ0P14KT0FlTmiS+3KMJlBiQSujnnQ HR0XX0wTlwdDrYFUdx+dKdpnjA0x/F+saXK6BOvHHP5dEb4c/8Lo96vC2oHErgvlKv 4FlOlMA9beDAQ== 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 4D5883781FF7; Mon, 19 Feb 2024 10:07:25 +0000 (UTC) Message-ID: <9cc4fc3f-d697-4e51-a629-9f581dc3c35b@collabora.com> Date: Mon, 19 Feb 2024 11:07:24 +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, Chen-Yu Tsai References: <20240219084456.1075445-1-mwalle@kernel.org> From: AngeloGioacchino Del Regno In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 19/02/24 10:36, Michael Walle ha scritto: > On Mon Feb 19, 2024 at 10:23 AM CET, AngeloGioacchino Del Regno wrote: >> 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". >> > > I don't really care about the description. It's just the way I've > done it in the past. And in this file, there is also google,burnet, > google,cozmo, google,damu, without any further revs. > Yeah, I have to check why it is like this - as in - if there's any real reason for those to be like that... otherwise I wouldn't mind cleaning 'em all up. Whatever - that's not on you, and completely irrelevant to this specific patch, so don't worry about the cleanup of the other entries. >> 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 > > Ack. I'll give you some time to look at the actual DTS before > posting a new version. > > -michael