From patchwork Sat Oct 16 10:20:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ferraris X-Patchwork-Id: 12563489 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 537A4C4332F for ; Sat, 16 Oct 2021 10:22:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 200B460F11 for ; Sat, 16 Oct 2021 10:22:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 200B460F11 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=V2VVT2uLSji7wRcnbCfbQKsc5+PWD2VwbYvXf0b1iKU=; b=sSkB/gmkb/K5hW ZsfCVH/hMELkGFJDbRRpii5WYsjZ5Oe8zOiGRbf97TcziYJQ0kNUpvg1St3rzIJA+fCWqgyxOLOsg ECZtNLcB1NzjM+QsnYpb12vcRPtzxx6SxAAs8LDr854MytSUA7zZIi8rW8jQlrlfVl+YTCnHnNrOd ZQfvLfVJBt59feLDJbs/cFlS/roz4eIl7UpstNExcgg/1XfZz62Bi8iEqtjZ5XooMPeh3SQJC1HnF E3FS79LCkiDMiH4OOwxI1MbLCjr3e5SQPA9SzGayAoLJ7uL3UHAxULYvfospFr5FUfI5wUrTzpuMN BJ0qmtkFzRFlu/NCx5ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbgpa-00AKEr-G5; Sat, 16 Oct 2021 10:22:22 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbgnv-00AJ5y-K9; Sat, 16 Oct 2021 10:20:41 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211016_032039_828361_004CDEF3 X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.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";