lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YWrCXnQ3XNocqXhz@gerhold.net>
Date:   Sat, 16 Oct 2021 14:15:26 +0200
From:   Stephan Gerhold <stephan@...hold.net>
To:     Arnaud Ferraris <arnaud.ferraris@...labora.com>
Cc:     linux-kernel@...r.kernel.org, linux-rockchip@...ts.infradead.org,
        linux-arm-msm@...r.kernel.org, linux-sunxi@...ts.linux.dev,
        linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
        Martin Kepplinger <martink@...teo.de>,
        Heiko Stuebner <heiko@...ech.de>,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        Andy Gross <agross@...nel.org>,
        Fabio Estevam <festevam@...il.com>,
        Pengutronix Kernel Team <kernel@...gutronix.de>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Shawn Guo <shawnguo@...nel.org>,
        Jernej Skrabec <jernej.skrabec@...il.com>,
        Chen-Yu Tsai <wens@...e.org>,
        Maxime Ripard <mripard@...nel.org>,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
        Lucas Stach <dev@...xeye.de>, Angus Ainslie <angus@...ea.ca>,
        Guido Gunther <agx@...xcpu.org>,
        Tomasz Figa <tfiga@...omium.org>,
        Johan Jonker <jbx6244@...il.com>,
        Eddie Cai <eddie.cai.linux@...il.com>,
        Shunqian Zheng <zhengsq@...k-chips.com>,
        Brian Norris <briannorris@...omium.org>,
        Dan Johansen <strit@...jaro.org>,
        Simon South <simon@...onsouth.net>,
        Matthias Brugger <mbrugger@...e.com>
Subject: Re: [PATCH 3/4] arm64: dts: qcom: add 'chassis-type' property

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 <arnaud.ferraris@...labora.com>
> ---
>  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 <stephan@...hold.net> # msm8916

Thanks for going through the work to add it to so many devices! :)
Stephan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ