From patchwork Thu Feb 9 09:57:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 652962 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 CD987C636D4 for ; Thu, 9 Feb 2023 09:58:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229551AbjBIJ6B (ORCPT ); Thu, 9 Feb 2023 04:58:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbjBIJ6A (ORCPT ); Thu, 9 Feb 2023 04:58:00 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F14F3193E1 for ; Thu, 9 Feb 2023 01:57:58 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id n13so1020621wmr.4 for ; Thu, 09 Feb 2023 01:57:58 -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=exRlt/trCA1+LFWdH3XaKTDpX5mPO1nAW8DUS7pbKkAHiMiDhJEOJbeUse41DIuYtE zQI8HNbKhv0eqGkvpDHctcmFFyDMbqI7waN+0mOnXOpPizQ2UwFvEDiI4uerraBAxm1E 2SuX0chT16/SwaAdQSJRmZIL4VADd7XR6bgqkH2Ms1Sx1r9JeEqvbwjR8hLAhiYf5ZgL y/c3g+rl/D4p0Xz/HpcAr+s/0w7bgNUuyP4IaJtojS02hVo9pGsyRXeNSZnS6NUh5KAf 27wkExddO5neGul6ZcI4945hu8F/gu9NLmYdtaBrzcfyA6NN70HSKJUAy1A2uITcjSPH e4Pw== 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=EfpxDYn1+DCbVMN30/uZuIK2nhi22hnkMfwWLNJ+A/kXU2p7pZ1hbTL/lmtx1bALud vAKU91jJrmhUosocWOrnI4+KmpRwRn8o7KD9mhsptvqRtyhFjBjfTUR4fu/JdLpKMDM4 g4D8DkCh40B/gJtDZBSFgRyWKu/Nqj6iR9RnxlR08Wx6TsaiERA8+vkiA1T/5wL0+sYk HsrElW5ZovUPR2jxV87ggBzPbylrnITdoeb6ZAAdeo3YUAfuIaxH4pzPVpWCC5Yc9aTw bLpZyzph7BBrIPTY1dcU7JZbGO1622+MCeHFlrIQNdc/20wqo3p6ZDL9m2Wgn5Usu+Xu JuZw== X-Gm-Message-State: AO0yUKWZl0rPE8w/BgQURGX/qLx+zLFS5H28RtyCRiyjdJs9p9liDMEE CMPF5whhf8yt8WOzy8cls6xyUg== X-Google-Smtp-Source: AK7set9lRbjY0oa2Wgr181VmopQdekxSfxjUOlUs9nH0779U2luC8H5QPcm6KynHC+fwuE7jZXpx5Q== X-Received: by 2002:a05:600c:4b1e:b0:3df:e549:da54 with SMTP id i30-20020a05600c4b1e00b003dfe549da54mr9627778wmp.17.1675936677614; Thu, 09 Feb 2023 01:57:57 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:7e6e:bfb6:975d:225b]) by smtp.gmail.com with ESMTPSA id c63-20020a1c3542000000b003df14531724sm4628913wma.21.2023.02.09.01.57.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 01:57:57 -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 v2 1/3] soc: qcom: smem: update max processor count Date: Thu, 9 Feb 2023 10:57:51 +0100 Message-Id: <20230209095753.447347-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230209095753.447347-1-brgl@bgdev.pl> References: <20230209095753.447347-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 Thu Feb 9 09:57:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 652138 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 27172C6379F for ; Thu, 9 Feb 2023 09:58:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229582AbjBIJ6D (ORCPT ); Thu, 9 Feb 2023 04:58:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbjBIJ6A (ORCPT ); Thu, 9 Feb 2023 04:58:00 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E642C1350D for ; Thu, 9 Feb 2023 01:57:59 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id u10so1030202wmj.3 for ; Thu, 09 Feb 2023 01:57:59 -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=OQYt7bPE7+yoK0uFXiir+snqUYSV/63iwqp5X9wGaYA=; b=pQ5cW30yFem/wh2/ys3M2j1jYT6VgldXATOGIQDXDG6DFwwMQfTJvXjAqPEZ8BlOim rPIbA5QWasLBWxOkl+lgqNk0Rl1WBszKWNMMSglt6zG1HC7Cs5EKu7d3pWQhx7lsd5dE Bhi8u3sG9gA9Tc6UBQwLdBW0rAwg1mr3/h8XsJqwkj9GVC9bBjeo8+w87yhldAfomTPV ocFFQKka29macWS4UamXYfEbQ88rtDKiOmILwkQ8a/6n1+hYQh48n2kKNmhB7pG3lDDS QEjk/HphzoR9qAEiBF8mNs50BnlSL5Mq4CSz/Jg8S22fDirK6XphZJug24SpORPEfhix 6JRQ== 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=OQYt7bPE7+yoK0uFXiir+snqUYSV/63iwqp5X9wGaYA=; b=o4+2eIEz1k8NqN7z2QsAAHl8TSjbXqMVG0c4dswOqwOA6+IkajYs/VkyHA/i6nUvt4 7PnVMsaJqzSak629AtOKNP11H76cJrIU69mtTt1dc61GLTm2DEHUu7tKgFkpLM4rfIf5 2M04kqBU1erIFcoQl/mJlDN8C5Q/r/8axO5lXzF79ezBSWrXdlcYIT2NT65L1ESdgZyd ujn4q8/xEhykj19QtjtQ8a5HSMlMEa69eslSh+KZodYmNfrDDDIaBtoMUDX1NiOyBQGo 4ngUo4pfHUkvFDXUKMxK2YSdz5nHynW+exJ6VIwJu5SLehu9eXnGZiEPqGE1FJqN/WnS 3skQ== X-Gm-Message-State: AO0yUKV422ywhEEjOWc3DwGso0Mi677kvn59dxoJr5UeyfuO4NuVQkbf cr5R77d0TxpOHoEju5U7vkNcky+WiIYlZo+f X-Google-Smtp-Source: AK7set99MutiRACwkV0Up4fuguH3459Hhpghskk3ZMxPUBGDrEZ/655PWn406F9eAvkdN71Dwgmz3g== X-Received: by 2002:a05:600c:331a:b0:3df:eeaa:816d with SMTP id q26-20020a05600c331a00b003dfeeaa816dmr3779625wmp.28.1675936678528; Thu, 09 Feb 2023 01:57:58 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:7e6e:bfb6:975d:225b]) by smtp.gmail.com with ESMTPSA id c63-20020a1c3542000000b003df14531724sm4628913wma.21.2023.02.09.01.57.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 01:57:58 -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 , Krzysztof Kozlowski Subject: [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P Date: Thu, 9 Feb 2023 10:57:52 +0100 Message-Id: <20230209095753.447347-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230209095753.447347-1-brgl@bgdev.pl> References: <20230209095753.447347-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 Thu Feb 9 09:57:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 652961 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 810EEC05027 for ; Thu, 9 Feb 2023 09:58:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229767AbjBIJ6D (ORCPT ); Thu, 9 Feb 2023 04:58:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbjBIJ6C (ORCPT ); Thu, 9 Feb 2023 04:58:02 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F418317169 for ; Thu, 9 Feb 2023 01:58:00 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id n28-20020a05600c3b9c00b003ddca7a2bcbso1066811wms.3 for ; Thu, 09 Feb 2023 01:58:00 -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=DvYqvUjEOwvVMdDGDMILd7HS1V3n/y7VgwwFCMdGQ54=; b=jF2uZvk0RjEIXCI+UDPP0/WDqQ+Z9DuTjD7k8WPzPIFsxTpu/EBS/JElhfsiY/nrTv Zs+2KPGXZbDyH/Byp/COfssPxbA22MpG/Hh3R5GI9h+zDPx62PfSSyZ6nUpMegqsRZYK ZaMG4P42QCWhz0CG+cTDgCl5MsP7Oi/NSMFskj2rq7U8AwAw4SOR7LSsEMG1/oU5471R N4AiWaASs6ZE9CIhI9AheIBIjmdwK9JXpLOuJAHnLZ1+cXUTzyQ2RkDImsawgZdqG4n2 jBYGvPosPXoMesHsHILnCkHiLi9Z8SID6ICB+xQWpNthcBk95OMpxCqZu+Bzpa/IZjr8 QRog== 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=DvYqvUjEOwvVMdDGDMILd7HS1V3n/y7VgwwFCMdGQ54=; b=QraT42K2b8KThM9Fl3mt4hE/In7bC6JuQuArmwZewp/g77UXziIji3IqOfKNrz/W9r b/ULMu5qc2thZbikDUTKzRIgR5ghvXSaI1WziT8xVlyzwAc23as8e1m2oCpdb6NA5fOl gKCLwRDl3MIW5sL2s2OrjT+EeAD8qKvcVaP6zuiVtBtYC/EoiILGaMyOKnWuM0j5Twfg hqCihL0dlPfsMr52fVIqFKEk5OHaXfcpoEEpsDQvLXOpx3nc0o865GJigxD8FufmlAcZ FtmxYrEMCUm7dKT/f74S6APhqyaU9tUHzyIjqdLp/k22qolkJtqzlbvJpLwbFSLkgT/Q +Y0Q== X-Gm-Message-State: AO0yUKVNlZRYJT/zh2xVIUzKLxAAX9Pz5AgIDHnID8BLQef3BaMEj5zA +OjUdg0dcalMFaO/eAX4cTVMow== X-Google-Smtp-Source: AK7set9IFoRTak19TaodtOyouTZrkfIHH8qxaVQowsNOXZDgduIg9dW1YLJwY1O7YjosGV42ll4+zg== X-Received: by 2002:a05:600c:1c85:b0:3e0:fad:739a with SMTP id k5-20020a05600c1c8500b003e00fad739amr3763834wms.31.1675936679458; Thu, 09 Feb 2023 01:57:59 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:7e6e:bfb6:975d:225b]) by smtp.gmail.com with ESMTPSA id c63-20020a1c3542000000b003df14531724sm4628913wma.21.2023.02.09.01.57.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 01:57:59 -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 v2 3/3] soc: qcom: socinfo: add support for SA8775P Date: Thu, 9 Feb 2023 10:57:53 +0100 Message-Id: <20230209095753.447347-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230209095753.447347-1-brgl@bgdev.pl> References: <20230209095753.447347-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 e24895f98600..a951d0f7d3ba 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -436,6 +436,7 @@ static const struct soc_id soc_id[] = { { qcom_board_id(SC7180P) }, { qcom_board_id(SM6375) }, { qcom_board_id(SM8550) }, + { qcom_board_id(SA8775P) }, { qcom_board_id(QRU1000) }, { qcom_board_id(QDU1000) }, { qcom_board_id(QDU1010) },