From patchwork Tue Feb 7 10:07:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13131309 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 D0FB5C636D3 for ; Tue, 7 Feb 2023 10:07:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231393AbjBGKHy (ORCPT ); Tue, 7 Feb 2023 05:07:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231760AbjBGKHt (ORCPT ); Tue, 7 Feb 2023 05:07:49 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B170B45F for ; Tue, 7 Feb 2023 02:07:35 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id m14so12954625wrg.13 for ; Tue, 07 Feb 2023 02:07:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lP3LW9NZPdbKneTPu60IP6N2yeUEfnsbaq/RO1FZGIU=; b=VgHYintfvS0tJz3xdmGafKAmTFBBoUF9ebHaKDfBk9UvzFCmJuqL0JV4itzigWOo5+ D3feqGwuq15cJUuH+REkuMdYtP7nxlqqT43oVgL2qAsCJNsEmuj6pKLhH7Z9MZGrRgbV PHySYLMEW2gL1JIPId98RPoQJ1eeZri/jakLRo8NNUGXEMQwp0AS4MAp+q0lB1hhfrL0 mRjK8r/jUs056z8d2U3k/1jRmUZnx/EdWLWbYdkN7lmVEW373G4hGeKtt8wXr697lx7C IcO8N5h50Zf4SXgXUUDccUGpVRZ/e8fJUOoc84LQcIHDZGZ/E4cRUR/NsV03/M5Inmc1 6jIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lP3LW9NZPdbKneTPu60IP6N2yeUEfnsbaq/RO1FZGIU=; b=sz1IaJSpiF8nCsslFDO/slAKbz4Fh76RuK+Q4gLQ+0qM9ltsDd8iNHR5FEVTXCrU3p wbcMv5g/NU/646Kq9FlAYIqWTTqwn8YniOUXguiYoA01+VXIO23/doXYdd04aBZtwGlo IXhqkFYrx+LirdAhLtPAIKciB1SQxQZpizAjkXXSWlt7FzYZf/BaVdgwedLrFfu1KM21 WiBVYVutZns4Byr/P3LvmIt93FrQ/KWcGqfDXJY0YYeshC+VAY0jPw14aLyH7uq/YVk4 YCGjtx1f9uJA8thdEHZoXwz8iMHNtrV+ADDsQktDBu1GEMMJR9aF6yxZW+kEoxz21Pjn q6CA== X-Gm-Message-State: AO0yUKXz9bRPxjB7WQktoXqqmpa0yEnpBScWvkC4RGjZ1KawR6J39eow o3j1dZ7ofiWQ5ATIe6boxkJBN9+piVAk49pc X-Google-Smtp-Source: AK7set9WyLbiZH5oja75Z/gZ1n3Ni3GD/NNp/L1Pv/QpiIAJOXlSbNqTznP0Ah1HnZisjVizJdcLSA== X-Received: by 2002:a5d:6203:0:b0:2c1:28dc:1561 with SMTP id y3-20020a5d6203000000b002c128dc1561mr1912832wru.44.1675764454069; Tue, 07 Feb 2023 02:07:34 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:274f:8489:6db8:7d33]) by smtp.gmail.com with ESMTPSA id a18-20020a5d4572000000b002c3e7474b0fsm5283173wrc.13.2023.02.07.02.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 02:07:33 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 1/3] soc: qcom: smem: Update max processor count Date: Tue, 7 Feb 2023 11:07:28 +0100 Message-Id: <20230207100730.218725-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230207100730.218725-1-brgl@bgdev.pl> References: <20230207100730.218725-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Update max processor count to reflect the number of co-processors on SA8775P SoCs. Signed-off-by: Bartosz Golaszewski --- drivers/soc/qcom/smem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c index 4f163d62942c..7666b3425b7c 100644 --- a/drivers/soc/qcom/smem.c +++ b/drivers/soc/qcom/smem.c @@ -85,7 +85,7 @@ #define SMEM_GLOBAL_HOST 0xfffe /* Max number of processors/hosts in a system */ -#define SMEM_HOST_COUNT 15 +#define SMEM_HOST_COUNT 20 /** * struct smem_proc_comm - proc_comm communication struct (legacy) From patchwork Tue Feb 7 10:07:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13131310 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 9070EC64EC7 for ; Tue, 7 Feb 2023 10:07:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231735AbjBGKHz (ORCPT ); Tue, 7 Feb 2023 05:07:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229738AbjBGKHt (ORCPT ); Tue, 7 Feb 2023 05:07:49 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 579811025F for ; Tue, 7 Feb 2023 02:07:36 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id ba1so8927107wrb.5 for ; Tue, 07 Feb 2023 02:07:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RKMj2GrW/0IWEFwUHj5fN41AhztAWQXTY5GE6ULWiQU=; b=Iv6iwSaQJlKVZaW1lqcy3c3fW0hALbOBXhgV0OyG4Cmi7x2DljC/Mag3RDB6KnHRDS 3yY0L0mSz+DUcg7gSlIVOra4in4Msu2t5t7IvN2GgytpfhH/YO1BYrWoPb0oVr3yVjL3 aFSpGh39WX8kChKAFusd7rwoB+KvPQGvz31NzUOaTggPmiyNE5WENebMvig/z4b0mZP6 +6zaN7XbMOM6hUdIFyvjRcRTAHb9CfffkUzur265W7qiS/t+oL84FV6CctTslXMTIA1g GbBILSBeJHQou9okphvsJOxG6vQqryokZQ4Z8VCUBarocOJYFIKgCeNfxaHqOdwtg8lq tqOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RKMj2GrW/0IWEFwUHj5fN41AhztAWQXTY5GE6ULWiQU=; b=5N05g/1pq9Sz0xBv+wjBxhUJ4+afwFVz2ynVzx7cO/raT+vRwlM98iGOWopt73a8+5 NXz0LxEi+PNNKNBdC57U1Y/HoXct09Pp6svbQxQBcktXxABkidhjB+r/ijhXK6q/IJop I7GOrcA0bmq98y204Xe/ueuq40CnWl0pbC3Wn9h4sewx35R07QoOb54vC7ZQbgpOxQV3 K+nJ8iDTkGqP5gjB5lXCBFLEznEHEVTAgLppUBB7rFBfI/pJQTg/1aqdAYNzqs6cIElM AeAabldz8+Mn8dCw3Ua/9zPmlriZJe3M+AI3JkajbLqaxhDdLbGzSSpgzZesfLnH1HXF KzpQ== X-Gm-Message-State: AO0yUKUREOnD/Y+ecMky6VThcFMKeOBhKLmE/xRqxoUTZZpTC/dseDpx lSQ4hNMW9WirISIYJjEG+5hGew== X-Google-Smtp-Source: AK7set8zoJ2ik1Ev/uf5LBOOsWWOsE1Imh2sAGajgE8ZwBxzm13v/VVPmxWuPeF4ait5SodPpSV7dg== X-Received: by 2002:a5d:6101:0:b0:2c1:2a1c:a8d2 with SMTP id v1-20020a5d6101000000b002c12a1ca8d2mr2089831wrt.27.1675764454953; Tue, 07 Feb 2023 02:07:34 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:274f:8489:6db8:7d33]) by smtp.gmail.com with ESMTPSA id a18-20020a5d4572000000b002c3e7474b0fsm5283173wrc.13.2023.02.07.02.07.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 02:07:34 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 2/3] dt-bindings: arm: add the SoC ID for qcom SA8775P Date: Tue, 7 Feb 2023 11:07:29 +0100 Message-Id: <20230207100730.218725-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230207100730.218725-1-brgl@bgdev.pl> References: <20230207100730.218725-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Add the SoC ID entry for SA8775P. Signed-off-by: Bartosz Golaszewski Acked-by: Krzysztof Kozlowski --- include/dt-bindings/arm/qcom,ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h index 22d7ba17804b..bfdf066cc690 100644 --- a/include/dt-bindings/arm/qcom,ids.h +++ b/include/dt-bindings/arm/qcom,ids.h @@ -223,6 +223,7 @@ #define QCOM_ID_SC7180P 495 #define QCOM_ID_SM6375 507 #define QCOM_ID_SM8550 519 +#define QCOM_ID_SA8775P 534 #define QCOM_ID_QRU1000 539 #define QCOM_ID_QDU1000 545 #define QCOM_ID_QDU1010 587 From patchwork Tue Feb 7 10:07:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13131311 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 05828C636CD for ; Tue, 7 Feb 2023 10:07:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230234AbjBGKH4 (ORCPT ); Tue, 7 Feb 2023 05:07:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230153AbjBGKHv (ORCPT ); Tue, 7 Feb 2023 05:07:51 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 498912DE70 for ; Tue, 7 Feb 2023 02:07:37 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id bk16so12971778wrb.11 for ; Tue, 07 Feb 2023 02:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=twoMo+snKLyTyhll4ov9NELo28s6TRSl8cLJ4VzcUYw=; b=wy/qYABqKXmwErhcZsOXJxsCWk0gxkBr69YwnXvqVBa7xvaLu2vk9+uD2YGmy4terv qlaz8JQsFUCP2Nv1mWTSOoLkTJa9otWxX9UO3zElLy4MKQXO40jPw5CR9wzvQ4w/8Szx EF7a2ZX/bIojTc6za6VwuTeEw2DZyD4FMwVJZ+QOC3CPQODf9SeNsXZallozU7u5Vo6V FKYtMDNCxog+1JjZkF/ksQN04Pe5R4EEiXGkQe/B1mSTxGA4UjKRU8wlptbKkgkDt+z5 OyXvVskcDOn76WAaUgZUFvy1poidnuXe5REdt24VWDhWKBtixy207oxY0ur0kdFHEqwx TKeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=twoMo+snKLyTyhll4ov9NELo28s6TRSl8cLJ4VzcUYw=; b=6MwZy+MCx0Ls+JyduomIafr2OACBYhEFS4a2TVRxCuLIDTIPXuPwoMTQAjUGZhy+XQ TCNO4+LrMTqntH6gFt0ed/1jnak0H16w/ulX6UxVma60pERISjvxbXuqAsXOGVXiTP77 n5ihKlVoRda1xxIgMx7bCMpCYD2gfJnEsorLTSoaMtxcjSWPDis6vWlYrilBTww0AE0Q /Ezz4ychZuaoeXk163w8t01VG8W4g0T9ehYi+6wxE0HLdUeFiBCTr3C2n8C1sWFMEzwa H0ftVmxdxC2pAtvuGm/VT8JFv0yptBkcXvZFw/6seuhicEpBrLdji1xRKC9EJl0X7TD8 zjUw== X-Gm-Message-State: AO0yUKVJkQft5BMbWnDKMBHxJi8pT/jkEgk4/Ztr/JOsdgE0M0lw0qNU bz9lH1Ypy6U6mRSlV6OpVc7J0JuTSAB/Wr7u X-Google-Smtp-Source: AK7set+YGufmhxpoZbZATMNZzBpxN5lrxVqkdaISzzwU6B6UpdsincA84CC9xJeu7YWQZ6LSQz3CGQ== X-Received: by 2002:a5d:438f:0:b0:2c3:e56c:aae1 with SMTP id i15-20020a5d438f000000b002c3e56caae1mr2620768wrq.0.1675764455787; Tue, 07 Feb 2023 02:07:35 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:274f:8489:6db8:7d33]) by smtp.gmail.com with ESMTPSA id a18-20020a5d4572000000b002c3e7474b0fsm5283173wrc.13.2023.02.07.02.07.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 02:07:35 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 3/3] soc: qcom: socinfo: add support for SA8775P Date: Tue, 7 Feb 2023 11:07:30 +0100 Message-Id: <20230207100730.218725-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230207100730.218725-1-brgl@bgdev.pl> References: <20230207100730.218725-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Add SocInfo support for SA8775P. Signed-off-by: Bartosz Golaszewski --- drivers/soc/qcom/socinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 3b970a80f3aa..c5208aa99125 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -419,6 +419,7 @@ static const struct soc_id soc_id[] = { { qcom_board_id(SM8350) }, { qcom_board_id(SM6115) }, { qcom_board_id(SC8280XP) }, + { qcom_board_id(SA8775P) }, { qcom_board_id(IPQ6005) }, { qcom_board_id(QRB5165) }, { qcom_board_id(SM8450) },