Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp1556734rdb; Sat, 26 Aug 2023 07:24:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFt2FCgks9hkKkkgnGZ/vr1Di/mxGzA/JqIW//Yzlflny13qyxz58ZyvGMz66pnF5uK8z1z X-Received: by 2002:a17:907:7804:b0:9a1:914e:491a with SMTP id la4-20020a170907780400b009a1914e491amr19317144ejc.3.1693059861869; Sat, 26 Aug 2023 07:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693059861; cv=none; d=google.com; s=arc-20160816; b=BOM7FsNZ9t/SyyKbr5HH9Azw+/o9EB1kMRKDQ3SJ2OItiR0H/4/wj958geUxMfcRAg yKEZoUrvh8W9+jrf7w0QPkvIcZcMRZXSkXpQ3hwhJ0ua4IulOV8LNUCNqpA+QE1fvVz2 XXUgwgSv7ffuMHL/8uvjJcsdF7LLMq8sdHHARS4ROBEQ8X6qnAQRxQ0qOKxYNv7CbYsw MPtFx33J2EN3mNPNaMiITZuM5dg+jPd0dLYXWKF72J9rlMS0nHgCuqMjOa2GvWP67ux8 ptR/twjrcMX2IFIbeiq5DkYzmqX/Zsa+UKKAsGbsjAdrj428X92lNypW/FjTSkBVDB0T 0yrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=SG+FRA6Jdj7lloQ4CW4VDp8In+rYXljtoh+/xtNc81Q=; fh=VZMRlkHCvfX8q7+ReDf+xTIKkGzpI4FadqStugH5hfI=; b=JQl/J+MB6fGRcOVqyYwLq3l2xoxh7pBpxgjDthmajCGhAOcPBlcssfqgiG26t+utyz 3n+q4AV5OOYgCAriIuEQbakkiG2qpHRDdC02avT/hdKopBYACvy0nXO3tzHlt0Dq1bNK nJGUvsttM3EWLC39rGyuhwafRqZ0wGIGADMJgw1D/wjIFOSpndLqXsH7lMkhWn/pe9FO BkgkmJVKCJyn6sixXhKKF7HGp/PlWc35i2Zvk5elzapc7+Mzm8Y83se3YYdheR7XarUy y0CY0OooKP9dGSok0lp4vwNNPX1qdU3L0H9oXE4a1NCmms29UBRxAzghwio2gpu8x32N Iy/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AQjawv90; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ju5-20020a17090798a500b009a18a87b004si2165231ejc.43.2023.08.26.07.23.31; Sat, 26 Aug 2023 07:24:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AQjawv90; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232571AbjHZMDu (ORCPT + 99 others); Sat, 26 Aug 2023 08:03:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232729AbjHZMDs (ORCPT ); Sat, 26 Aug 2023 08:03:48 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B532C3 for ; Sat, 26 Aug 2023 05:03:45 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4ff93a7f230so2097276e87.1 for ; Sat, 26 Aug 2023 05:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693051423; x=1693656223; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SG+FRA6Jdj7lloQ4CW4VDp8In+rYXljtoh+/xtNc81Q=; b=AQjawv90XA6JscmYjGQ/4tY5fCDVRZdeTNh/TCIRnz/SMgswAbboswgnPhjXOvG1Au mZUUf19xCG/1sL76eWHX7H4MUsI3KGYz7IwEIQNN7eP2vb3KHivEQh9JVU4hNpnvwDMV Pft/TwotggUNwbMpPPkB8EDPwmuBc6Y/sXtLX6DOxuJPyxP0Y6e2TJpdw53GxFWy+y45 Egxa8Phc32xAJM5m8zSTqzHlAYw4vseLbMlTG60U8Yt+VqegzyEEyqYj1OA00Hnjnmy+ 9xwOnb21zBfGemIbtRw/HZgBjweZq61JjNicpGQlgrwSxpG9km2a/dyVa2aUTlCgmmpY /0qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693051423; x=1693656223; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SG+FRA6Jdj7lloQ4CW4VDp8In+rYXljtoh+/xtNc81Q=; b=Xoa1NaK4vBvvh7VFC4BhIO/iLh791YSC6lXXJIkULcJeC97JJREzb/pAR2vdGga5Cz hMmZeCMIDKdYm4K+gPQuwilOUXoMzx1vMT0ZhoeZQkkqJcif0hdNDG0MyJAi0oiagxq/ EoKo2+n4Ft8K4ZhtrZ5yAvWmu83peMCShbWmIYy2ZGIBZ2jSOZerpvigCFOLHt5McxiH PdISXGAyEOOgcUkUEsl+Fv1TE6c8RtOuintP+VErn03sPW9qLz+qOY2mIvt8ROmW8K3O vgjSZ2CbNaI1AL9Fh2olAqbMe0EKeFaCK77njSGAsQ8FQxwP2AtpEwMubkAwQs3nvaer MGLg== X-Gm-Message-State: AOJu0Yx8C/mLOirqy2e8qNB56Ghn898bPb/VpvQ+uRxZ5Ova94IfiHio OWRJ2Td66gr4vcSv7busgQ2BLg== X-Received: by 2002:a05:6512:6cb:b0:4f8:4b19:9533 with SMTP id u11-20020a05651206cb00b004f84b199533mr8533138lff.19.1693051423583; Sat, 26 Aug 2023 05:03:43 -0700 (PDT) Received: from [192.168.1.101] (abyl74.neoplus.adsl.tpnet.pl. [83.9.31.74]) by smtp.gmail.com with ESMTPSA id f17-20020ac25331000000b00500a2091e2bsm689347lfh.99.2023.08.26.05.03.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Aug 2023 05:03:43 -0700 (PDT) Message-ID: <024ded8e-d6b9-45dd-9633-03daa403f125@linaro.org> Date: Sat, 26 Aug 2023 14:03:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] ARM: dts: qcom-msm8916-samsung-fortuna: Include dts from arm64 Content-Language: en-US To: "Lin, Meng-Bo" , linux-kernel@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephan Gerhold , Nikita Travkin , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Gareth Peoples References: <20230801111745.4629-1-linmengbo0689@protonmail.com> <20230801112134.4689-1-linmengbo0689@protonmail.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafP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niWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20230801112134.4689-1-linmengbo0689@protonmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1.08.2023 13:22, Lin, Meng-Bo wrote: > After adding all necessary support for MSM8916 SMP/cpuidle without PSCI > on ARM32, build fortunaltezt and heatqlte device trees from the arm64 > tree together with the ARM32 include to allow booting this device on ARM32. > > The approach to include device tree files from other architectures is > inspired from e.g. the Raspberry Pi (bcm2711-rpi-4-b.dts) where this is > used to build the device tree for both ARM32 and ARM64. > > [Add workaround to TSENS problem] > Co-developed-by: Stephan Gerhold > Signed-off-by: Stephan Gerhold > [Add heatqlte] > Co-developed-by: Gareth Peoples > Signed-off-by: Gareth Peoples > Signed-off-by: Lin, Meng-Bo > --- > arch/arm/boot/dts/qcom-msm8916-samsung-fortunaltezt.dts | 8 ++++++++ > arch/arm/boot/dts/qcom-msm8916-samsung-heatqlte.dts | 8 ++++++++ > arch/arm/boot/dts/qcom/Makefile | 2 ++ > 3 files changed, 18 insertions(+) > create mode 100644 arch/arm/boot/dts/qcom-msm8916-samsung-fortunaltezt.dts > create mode 100644 arch/arm/boot/dts/qcom-msm8916-samsung-heatqlte.dts > > diff --git a/arch/arm/boot/dts/qcom-msm8916-samsung-fortunaltezt.dts b/arch/arm/boot/dts/qcom-msm8916-samsung-fortunaltezt.dts > new file mode 100644 > index 000000000000..b9704fea7029 > --- /dev/null > +++ b/arch/arm/boot/dts/qcom-msm8916-samsung-fortunaltezt.dts > @@ -0,0 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +#include "arm64/qcom/msm8916-samsung-fortunaltezt.dts" > +#include "qcom-msm8916-smp.dtsi" > + > +&tsens { > + /* FIXME: The device crashes when accessing the SROT region for some reason */ > + status = "disabled"; All of SROT, or just e.g. TSENS_EN? If only the headswitch is inaccessible, you may still reach the hardware if it's been turned on from bl Konrad