Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp31867976rwd; Fri, 7 Jul 2023 05:43:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlH72qideONPSIfDr/J1K8njMYlYZNV/UXbOFyTMgBPWu40RDmPYba0Hi5R5bXYmFYUQWF9I X-Received: by 2002:a05:6a20:be1c:b0:12e:8769:557f with SMTP id ge28-20020a056a20be1c00b0012e8769557fmr3655370pzb.36.1688733804234; Fri, 07 Jul 2023 05:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688733804; cv=none; d=google.com; s=arc-20160816; b=BZw7VPCo8iGoVLlhCjJvfJInFIyjCdNt22Ae61czDAbtQmnT9vXQG868MKxdQ09Wjv 1CqX/mbQTkAIexPok7V7wHfuZwVv+cp/qZwYuvVD4xPGT281fp59mIS7MYM2eErDItlN UjZ++lEeEzLNrqZmJ9Ibo4UDx1YGK63KxTPbBuXl/2CIrV3r2gQqs4Kfycf5X6z4cfWZ IJMjmB+OBue8erek+8vnwB2BDo5SNcW3zHPz8NcZOhTRVspUDdbAMPZQJKdEzy+G8W9l 3Arl01FLWXjEL6UTFi16DSteybiEIWZbCx3dY3TF0XJovV4MQNbxmybeDKcbXc92oigy h6NQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iGvyCAsX8L6WnC8v9SRyT2lXuT9dJtv6Ob7UfVhRf9g=; fh=VntHiFHN5OGDEK7MpcN5fvdVBvWRPXZTV+6q74PvItk=; b=WNp4HDZ+GwN8dGGDnwiAW3mDU0eahK7ZHXhGDzwmQvNqcGorjBElfOyRq9QhboLLHX k9YZhLt9A0oIHXnFF0IpNqE5G8Ms7L/nMMbQ3gV1o7PUDIVFwgUUIwfGD2x/q269ZjYF acBxMW8Cxd+lqutGSDiY3dA7C+Cn7laTEsKM/WV/+c9P5P0gJqwIZmlrUJk+FMn9atPx 1JZQBVVM5G29OUM6+9E4P31upvCLrIaN4EF9FItQUXVdVp1s2LwKwmzMUZhHqR/i4bbF EssILiYrLBRR2xFnLBseABogFK67WgJM+Qe8OmW+dvYPo20BIM+wAarQ8E2XLWGlMLcW +NGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="u7ln/9Rr"; 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 fd34-20020a056a002ea200b006768627bc3asi3928396pfb.268.2023.07.07.05.43.09; Fri, 07 Jul 2023 05:43:24 -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="u7ln/9Rr"; 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 S232285AbjGGMbF (ORCPT + 99 others); Fri, 7 Jul 2023 08:31:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbjGGMbC (ORCPT ); Fri, 7 Jul 2023 08:31:02 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF78213C for ; Fri, 7 Jul 2023 05:30:55 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b6a084a34cso27463051fa.1 for ; Fri, 07 Jul 2023 05:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688733054; x=1691325054; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=iGvyCAsX8L6WnC8v9SRyT2lXuT9dJtv6Ob7UfVhRf9g=; b=u7ln/9RrvRdtuIdt+mrgHIC4WouXbUjvvcIVfUQeCc9olrHTNL+Xsz/i6tHmVIFHov BT/41CpZZMgWHCcDQQw5z+/9MP7kVM0Op4jNJXt1x0b2k3IDHC+2Y069a/yUZ3q5mmB4 14yJrVWZI2i0ymEfyZAe9EfFHKdM6vyxeyAvT/fZFjGyEhjY1anAHfwkflU8qiYZAUFS 9b38yUCTryN1/fjlrmgEGzpp91TJS/uGRN0dpd1FKmY9k8L8sKKMNogghvqmKVdocCHY LVLvvpnEhxLZFV6VadxC2JiCNHTjGS/MmLvaQfRwt1yBPMy+M4BSBEjxfw7RumA/1IsH OsgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688733054; x=1691325054; h=content-transfer-encoding:in-reply-to: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=iGvyCAsX8L6WnC8v9SRyT2lXuT9dJtv6Ob7UfVhRf9g=; b=e4cXHEX/0hWEwkPw4KL+pDLY77Mm9VwVYHgmUhg3BWiba6wUHl4Jp1i8MkFgNORN/e DI+9F5fn3GHc3HymLoIHk++fM4hQxnvzPC1DtMn2erbItDorFFesF58zmWf4tGqLLPX6 GYGJajZwfT6idDg/yjwOcKK3EPcnP4fntzgBmG85fh4eSKY7KZrabobgaFphZpJFyF7z Op+WmU0sekrQbyvtInLM+0MtW50dETaSXnchollCy2gmCIx5745EFBA5n2qncrATEBBp LK12QdEE7G0mv48M7Hnf8E49nucus0r5u6R5P52IaNcfLV1EA8QxlXNTSt9eP7fYFpn2 RObQ== X-Gm-Message-State: ABy/qLaz0pfp1FMCcynpfN+z8CnndeHPhjpgy0wU1hJwF+8TQR4cQS9D nLWDxZQpDqIKv2TClmwJ1WReSQ== X-Received: by 2002:a2e:9596:0:b0:2b6:d4f7:b7fa with SMTP id w22-20020a2e9596000000b002b6d4f7b7famr3220754ljh.5.1688733053913; Fri, 07 Jul 2023 05:30:53 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id m18-20020a2eb6d2000000b002b6e00a3e19sm751496ljo.132.2023.07.07.05.30.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Jul 2023 05:30:53 -0700 (PDT) Message-ID: <95ac3e2d-69c6-e795-af68-924000eb318e@linaro.org> Date: Fri, 7 Jul 2023 14:30:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v2 6/7] arm64: dts: qcom: Add SM7125 device tree Content-Language: en-US To: David Wronek Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Taniya Das , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org References: <20230706124339.134272-1-davidwronek@gmail.com> <20230706124339.134272-7-davidwronek@gmail.com> <021ad5b4-772d-f2f6-f9ec-bca06db04dd8@linaro.org> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 6.07.2023 17:36, David Wronek wrote: > On Thu, Jul 6, 2023 at 5:25 PM Konrad Dybcio wrote: >> On 6.07.2023 14:40, David Wronek wrote: >>> The Snapdragon 720G (sm7125) is software-wise very similar to the >>> Snapdragon 7c with minor differences in clock speeds and as added here, >>> it uses the Kryo 465 instead of Kryo 468. >>> >>> Signed-off-by: David Wronek >>> --- >> Can you please paste the output of `dmesg | grep "secondary processor"`? >> >> That would let us determine the unique identifier of the cores. >> >> Konrad > I get this output with the command: > [ 0.005884] CPU1: Booted secondary processor 0x0000000100 [0x51df805e] > [ 0.007191] CPU2: Booted secondary processor 0x0000000200 [0x51df805e] > [ 0.008559] CPU3: Booted secondary processor 0x0000000300 [0x51df805e] > [ 0.010046] CPU4: Booted secondary processor 0x0000000400 [0x51df805e] > [ 0.011639] CPU5: Booted secondary processor 0x0000000500 [0x51df805e] > [ 0.014424] CPU6: Booted secondary processor 0x0000000600 [0x51ff804f] > [ 0.016421] CPU7: Booted secondary processor 0x0000000700 [0x51ff804f] Hm okay so they are indeed Qualcomm-branded cores.. Sometimes they use the ARM ones and still call it Kryo btw the implementer id of 0x51 is the ascii code of 'Q', nice quirk Konrad > > Sincerely, > David >>> arch/arm64/boot/dts/qcom/sm7125.dtsi | 16 ++++++++++++++++ >>> 1 file changed, 16 insertions(+) >>> create mode 100644 arch/arm64/boot/dts/qcom/sm7125.dtsi >>> >>> diff --git a/arch/arm64/boot/dts/qcom/sm7125.dtsi b/arch/arm64/boot/dts/qcom/sm7125.dtsi >>> new file mode 100644 >>> index 000000000000..12dd72859a43 >>> --- /dev/null >>> +++ b/arch/arm64/boot/dts/qcom/sm7125.dtsi >>> @@ -0,0 +1,16 @@ >>> +// SPDX-License-Identifier: GPL-2.0 >>> +/* >>> + * Copyright (c) 2021, The Linux Foundation. All rights reserved. >>> + */ >>> + >>> +#include "sc7180.dtsi" >>> + >>> +/* SM7125 uses Kryo 465 instead of Kryo 468 */ >>> +&CPU0 { compatible = "qcom,kryo465"; }; >>> +&CPU1 { compatible = "qcom,kryo465"; }; >>> +&CPU2 { compatible = "qcom,kryo465"; }; >>> +&CPU3 { compatible = "qcom,kryo465"; }; >>> +&CPU4 { compatible = "qcom,kryo465"; }; >>> +&CPU5 { compatible = "qcom,kryo465"; }; >>> +&CPU6 { compatible = "qcom,kryo465"; }; >>> +&CPU7 { compatible = "qcom,kryo465"; };