Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2615442pxb; Sun, 17 Oct 2021 20:35:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwT9/YWds8xXVIjSiby5ZS9O3o0DRJLGeYbJDrpFFD6XPluxohJkVMcbCfsk7g0JCEDL1Fg X-Received: by 2002:a17:90a:d3d6:: with SMTP id d22mr30805524pjw.242.1634528132647; Sun, 17 Oct 2021 20:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528132; cv=none; d=google.com; s=arc-20160816; b=lV1Br+00jm13ZiWSg6Cx3zNFV6+/d8MMewqrsWjekfU92+VbKb15ErXt0wk1Hxgv4q AL6fRYvHRUYjnKE0WjMqfpnSgOVZ6Ygyhnq2hKNYsmhkcAD01GwfVRnTjN9Ir18X7VrO d9O360RQBqV8gmha75bnkbbSNX6Px6TdwCRXxcSnERVQVEux4dP+iTLqJEvhwFjD6ugY B7iZd6yqyy/0i+A6gb4Y2ikfbp6o3Mw8Y9I5sXehC7UzlBfZE3F+qR0p/31ANV6TBv2v rRVCexo8pw9IqWLHJtkjzyx3J2rzGrEKBaIdTQzLL29wYrD2SXrLUQeqrvgKX/t06dWs /k8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FUfmuNlYDkfLlY4FpNd9yLg46kksRppBVzaePpjIQL8=; b=xleOj5RwLwwyXyrVDMuje7dYxApkCMppJq7hjJJHAo6AlNoVmd5ldh3PBMHuCN3B8b sb2GrGJrkcZ6lqo9C9uz6iz9eX0lZxuaLeNFhyh/xNhoeaD91he0D9VvT+e/ykKNuH2T 2ZQx+YqHMRfS6ltfXVnZO6Rym/WnE9NpTgI4KiUuLej4m5A+rvS4jRwwbPxC/E+LG4bQ 2MbMKBSQ82owIl4I/nrzTXYDaeV60j3M0O0VLxtX5cwROkEQ7usxqZxK8sozBdcPhh5R 764xk7JnF+KME1dkJxg0Tqqw57nTHmOQ0K7M+ffRD1vJs5BAcHCdJywhMeMyETsrEM1J +n3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=oWOlFdOc; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y30si8357801pgk.563.2021.10.17.20.35.20; Sun, 17 Oct 2021 20:35:32 -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; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=oWOlFdOc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240402AbhJPMSq (ORCPT + 98 others); Sat, 16 Oct 2021 08:18:46 -0400 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.82]:9000 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235147AbhJPMSp (ORCPT ); Sat, 16 Oct 2021 08:18:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1634386534; s=strato-dkim-0002; d=gerhold.net; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=FUfmuNlYDkfLlY4FpNd9yLg46kksRppBVzaePpjIQL8=; b=oWOlFdOcdV5JBy2m8+oaiX1xjaeRqb2ZLH3x8YQhlSkx8dkCBpPfCXqXBe1ZU8cAp6 8I07K9jJiKRVP7R+xo4/BgJWtX6t43a1Lo5BgbxmeSRMkmYoUilTaV1HIyKUWe7zpB+b h/RfH5cuqmSvwISnkfI4+EPdcnv/LCCh9itNnGn9nrATAIl/JaacTeTM+O9qVcWkMGMs tQGiHUXi6QWT+TMVDRL3fv/E1e0/z1S0itqaHP7/fufwCmeU4sW0lvDlp77gYucjTfJf KXqOW6vhVVqicTjONVuCPmUbrsmw+L1Szd8UHg1AVdL2kXKrlmCh5FQxG5j0jJRgWOo1 wa2w== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQ/OcYgojyw4j34+u267FZF9PwpcNKLUrK85/aY=" X-RZG-CLASS-ID: mo00 Received: from gerhold.net by smtp.strato.de (RZmta 47.33.8 AUTH) with ESMTPSA id 301038x9GCFWNO7 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 16 Oct 2021 14:15:32 +0200 (CEST) Date: Sat, 16 Oct 2021 14:15:26 +0200 From: Stephan Gerhold 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 , Guido Gunther , Tomasz Figa , Johan Jonker , Eddie Cai , Shunqian Zheng , Brian Norris , Dan Johansen , Simon South , Matthias Brugger Subject: Re: [PATCH 3/4] arm64: dts: qcom: add 'chassis-type' property Message-ID: References: <20211016102025.23346-1-arnaud.ferraris@collabora.com> <20211016102025.23346-4-arnaud.ferraris@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211016102025.23346-4-arnaud.ferraris@collabora.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 16, 2021 at 12:20:24PM +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 Qualcomm ARM64 processors. > > Signed-off-by: Arnaud Ferraris > --- > arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts | 1 + > arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts | 1 + > arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts | 1 + > arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts | 1 + > arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts | 1 + > arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts | 1 + > arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts | 1 + > arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts | 1 + > [...] > > diff --git a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts > index 670bd1bebd73..265e539e7e99 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts > +++ b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts > @@ -9,6 +9,7 @@ > / { > model = "Alcatel OneTouch Idol 3 (4.7)"; > compatible = "alcatel,idol347", "qcom,msm8916"; > + chassis-type = "handset"; > > aliases { > serial0 = &blsp1_uart2; > diff --git a/arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts b/arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts > index cee451e59385..6bc0a29d4b4f 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts > +++ b/arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts > @@ -8,6 +8,7 @@ > / { > model = "Asus Zenfone 2 Laser"; > compatible = "asus,z00l", "qcom,msm8916"; > + chassis-type = "handset"; > > aliases { > serial0 = &blsp1_uart2; > diff --git a/arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts b/arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts > index e0075b574190..42d93d3fba36 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts > +++ b/arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts > @@ -25,6 +25,7 @@ > / { > model = "Huawei Ascend G7"; > compatible = "huawei,g7", "qcom,msm8916"; > + chassis-type = "handset"; > > aliases { > serial0 = &blsp1_uart2; > diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts > index 30716eb8fb2d..9c83c96d2c8a 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts > +++ b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts > @@ -11,6 +11,7 @@ > / { > model = "Longcheer L8150"; > compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916"; > + chassis-type = "handset"; > > aliases { > serial0 = &blsp1_uart2; > diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts > index 27845189ac2b..f9ce123471d4 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts > +++ b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts > @@ -10,6 +10,7 @@ > / { > model = "BQ Aquaris X5 (Longcheer L8910)"; > compatible = "longcheer,l8910", "qcom,msm8916"; > + chassis-type = "handset"; > > aliases { > serial0 = &blsp1_uart2; > diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts > index 6cc2eaeb1d33..4ba11b020f9b 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts > +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts > @@ -7,6 +7,7 @@ > / { > model = "Samsung Galaxy A3U (EUR)"; > compatible = "samsung,a3u-eur", "qcom,msm8916"; > + chassis-type = "handset"; > > reg_panel_vdd3: regulator-panel-vdd3 { > compatible = "regulator-fixed"; > diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts > index c2eff5aebf85..d978c9ac179d 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts > +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts > @@ -7,6 +7,7 @@ > / { > model = "Samsung Galaxy A5U (EUR)"; > compatible = "samsung,a5u-eur", "qcom,msm8916"; > + chassis-type = "handset"; > > reg_touch_key: regulator-touch-key { > compatible = "regulator-fixed"; > diff --git a/arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts b/arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts > index 4e20cc0008f7..69a44c6f57fc 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts > +++ b/arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts > @@ -11,6 +11,7 @@ > / { > model = "Xiaomi Redmi 2 (Wingtech WT88047)"; > compatible = "wingtech,wt88047", "qcom,msm8916"; > + chassis-type = "handset"; > > aliases { > serial0 = &blsp1_uart2; FWIW: Reviewed-by: Stephan Gerhold # msm8916 Thanks for going through the work to add it to so many devices! :) Stephan