Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2614789pxb; Sun, 17 Oct 2021 20:34:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhqe/HeZF1sVp6FIuyEYpDq3877MXcmjixEH9YONEEn2g8ZBVZ/wOOPXv4EGdUOaze62Xk X-Received: by 2002:a17:90a:fb87:: with SMTP id cp7mr44912156pjb.114.1634528054222; Sun, 17 Oct 2021 20:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528054; cv=none; d=google.com; s=arc-20160816; b=kfWYZ+c/vToqWirznFhTahscbx8GGu/J3or/Wh8JEbrUuRKGNbfNXkOEXBXSjyUpzG l3tBEHHL2QP7MtbxX3KTY++og/Ao0K0DWOCdsttAS4xnt5aTR+cy58orEAHRG99Kjjmn Xk3bTHYF1xycOMvyy4KUuJ/TMRKbZpCrCalfwbJcUFm3fglR1dsa4QiE/M45VLnDm3uC usfIcG4nRXESiY8oFu6tMgW2jHUMezLMqJVLpYjD/9FxZyOYfD8UVJm39wpejmUpQiFS O1SEteVIzKSkibFvrt7LZhUu861YoUsWaNeqJ2uelpb8nixkLFpo/0eRCr1XyDtImy9L BXJQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=VDPeEkqf0bxdBrKXoK+flislot/V/24VHmnDfhgq0Tw=; b=XuudmTyTHpB8U9zUBUfsnfokDQSeqkGHmUQPoVHdOJkEk/HIkis4nGbaiEmXTjSlwH 5aGKHBPbksvIGgWgjJ8LorpHXhnGoB+bNnLjvCVOzPqm9Bs1IqqyDnteIOz8TB/YZTaU U1cxg0Db5JT3f+KitUT3yTvDzNAGTnpsyxGEMdzYQn5DgtgM6ZzyJcNonXpVFRbStg+d NITh3nPISGsUavoG5JeQ8LbtjCRgp6RFawpfBjmiJhe0u0Uy/7mDGqBsu/8qwS2q9lML pBnImWw2Z5QFr5F4FVbegiIDUBKbdFUk/d6YaM9nRRQZhu8DWanmFFxpJ++vw4VdD4Jn RNOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w11si19269477plq.378.2021.10.17.20.34.01; Sun, 17 Oct 2021 20:34:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244132AbhJPKWw (ORCPT + 98 others); Sat, 16 Oct 2021 06:22:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240202AbhJPKWp (ORCPT ); Sat, 16 Oct 2021 06:22:45 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB744C061570; Sat, 16 Oct 2021 03:20:37 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: aferraris) with ESMTPSA id A817E1F44B37 From: Arnaud Ferraris To: linux-kernel@vger.kernel.org Cc: linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Martin Kepplinger , Heiko Stuebner , Bjorn Andersson , Andy Gross , Fabio Estevam , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Jernej Skrabec , Chen-Yu Tsai , Maxime Ripard , Rob Herring , Krzysztof Kozlowski , Lucas Stach , Angus Ainslie , Guido Gunther , Tomasz Figa , Johan Jonker , Eddie Cai , Shunqian Zheng , Brian Norris , Dan Johansen , Simon South , Matthias Brugger , Arnaud Ferraris Subject: [PATCH 2/4] arm64: dts: freescale: add 'chassis-type' property Date: Sat, 16 Oct 2021 12:20:23 +0200 Message-Id: <20211016102025.23346-3-arnaud.ferraris@collabora.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211016102025.23346-1-arnaud.ferraris@collabora.com> References: <20211016102025.23346-1-arnaud.ferraris@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A new 'chassis-type' root node property has recently been approved for the device-tree specification, in order to provide a simple way for userspace to detect the device form factor and adjust their behavior accordingly. This patch fills in this property for end-user devices (such as laptops, smartphones and tablets) based on NXP ARM64 processors. Signed-off-by: Arnaud Ferraris --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 3f7524400a63..4523f21bb5ac 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -14,6 +14,7 @@ / { model = "Purism Librem 5"; compatible = "purism,librem5", "fsl,imx8mq"; + chassis-type = "handset"; backlight_dsi: backlight-dsi { compatible = "led-backlight"; diff --git a/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts b/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts index 4f2db6197b39..fa721a13de20 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts @@ -12,6 +12,7 @@ / { model = "MNT Reform 2"; compatible = "mntre,reform2", "boundary,imx8mq-nitrogen8m-som", "fsl,imx8mq"; + chassis-type = "laptop"; pcie1_refclk: clock-pcie1-refclk { compatible = "fixed-clock"; -- 2.33.0