From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87442C433FE for ; Sat, 16 Oct 2021 11:33:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 50FC661212 for ; Sat, 16 Oct 2021 11:33:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236942AbhJPLfw (ORCPT ); Sat, 16 Oct 2021 07:35:52 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:50430 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234872AbhJPLfu (ORCPT ); Sat, 16 Oct 2021 07:35:50 -0400 X-Greylist: delayed 553 seconds by postgrey-1.27 at vger.kernel.org; Sat, 16 Oct 2021 07:35:50 EDT Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 8B1DCFB03; Sat, 16 Oct 2021 13:24:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QhldK_UIkFkN; Sat, 16 Oct 2021 13:24:24 +0200 (CEST) Date: Sat, 16 Oct 2021 13:24:22 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Arnaud Ferraris Cc: linux-kernel@vger.kernel.org, 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 , Tomasz Figa , Johan Jonker , Eddie Cai , Shunqian Zheng , Brian Norris , Dan Johansen , Simon South , Matthias Brugger Subject: Re: [PATCH 2/4] arm64: dts: freescale: add 'chassis-type' property Message-ID: References: <20211016102025.23346-1-arnaud.ferraris@collabora.com> <20211016102025.23346-3-arnaud.ferraris@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211016102025.23346-3-arnaud.ferraris@collabora.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, On Sat, Oct 16, 2021 at 12:20:23PM +0200, Arnaud Ferraris wrote: > 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"; Reviewed-by: Guido Günther > -- > 2.33.0 >