From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C75CEB64D9 for ; Fri, 7 Jul 2023 12:31:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232196AbjGGMbD (ORCPT ); Fri, 7 Jul 2023 08:31:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbjGGMbC (ORCPT ); Fri, 7 Jul 2023 08:31:02 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2A162682 for ; Fri, 7 Jul 2023 05:30:55 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b6a16254a4so27468691fa.0 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=E8W9CdMXcH/RuNeYNczMR0HS00OHd5a8MqjDhBz/XwG/o/6B+i6gJf7DtQ8GOyL1cj rA9LIvzNtXUyUsWwjZO2wtN/DOw5i0hbkopYiJIf/i/JpBrb99Z9sS1BOA6fBOLGop1Q s0IbEpfGBhjnXGdkf3joYwFoeDf/1TLPn9eJeOAYZuRGlPOExE2QPnue94xTkLQOsUJy 80avdIeq8sqYTigy1pdIuFckFtl57JlNKtNqe7weJdv51NSBgDhO5tBkOUPbLQzZoLMG muvZBrWFnohVQYb14w5udkIzrxdmix6BpUkI71eDEzoYMbINXtBrZEv86qzKU13BXv6U rVnw== X-Gm-Message-State: ABy/qLYJOfU72VtJM0aydqrhQsfi0mxhvkK9TJtVKUVXjcOK1AiZqLEk H4GS3Rm3E9Bi4gBCnQKK0KXLEw== X-Google-Smtp-Source: APBJJlFVEtG496EnoT85BigKA2kUu5jfUK+oufO+W1N79iqyCJ+ptwY0uD9THh4p7PbnlmkyehJ19Q== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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"; };