From patchwork Fri May 20 22:53:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Anderson X-Patchwork-Id: 12857519 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 2D97DC433F5 for ; Fri, 20 May 2022 22:53:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353971AbiETWxa (ORCPT ); Fri, 20 May 2022 18:53:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353969AbiETWx3 (ORCPT ); Fri, 20 May 2022 18:53:29 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09ADDB0424 for ; Fri, 20 May 2022 15:53:28 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id x12so8861367pgj.7 for ; Fri, 20 May 2022 15:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o22h3oPMlsnIXryLoOAHFqdN5N7JnmoMxor1pOpYCAw=; b=Nr4q8UMKXI8g+fSga4XE9e6j5zTO7pxyCGKLHwzhXugoMHEsve5aEokrP+7MAknMc5 VBx/CEppMHbPiipvADeMycCYbIlpKSkWjB7Y+JHVcPFqyEb0HXy07eLPTonHh0IZVsw2 fJnMuP0ERavpR5om8GMQEqUqFTqf6igNRojVI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o22h3oPMlsnIXryLoOAHFqdN5N7JnmoMxor1pOpYCAw=; b=56X2QDO//VbgLvMQ2aW4wLW3DyDRziFJi9Bn5PQxRd0ehSsJ1uR1NzlqlHmuV/13Wf Cc3hcNS6ZVcg2zRjs00ucUgsF6hhBBal5o1rZ6v9CobtursKed0/QyiIhGRhqFjH0oZy eUv+sV95LgbTLiFXDIYkhT4k0N3aMZDqc3kzBNP8mlPvXAWfSzy4b9/iIglacsDSr0CY IXp0V0dFNZ62fHZzXXO8IzmyOFsMGmkLQGoDGmKioLIw02D09BRlLlPIWBIYCwFivJD/ 3If1m5e0I7jB7Pkg14qVJfcASyvNrHg8E+40efvGwXpUqUOzX/gY5KWpVje2c6xV4UU9 EcWg== X-Gm-Message-State: AOAM530QtBvekuvpywIUvV3d6QdVXPOrLTwV2KdtXR9Tlo+uUmaGybc/ okdLEWcfnfSRbqWp1Z8FNCyVcQ== X-Google-Smtp-Source: ABdhPJx7JOARztXZqHURTgRX5Op7Y7PuxbJuHlf06rQcT7xomGOQb80ozWjhRMthGXBemfvTsSgk9A== X-Received: by 2002:a05:6a00:1826:b0:518:4c8b:c5db with SMTP id y38-20020a056a00182600b005184c8bc5dbmr7803168pfa.22.1653087207535; Fri, 20 May 2022 15:53:27 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:201:b090:3896:c312:c4df]) by smtp.gmail.com with ESMTPSA id g24-20020a1709029f9800b0015e8d4eb1fbsm258368plq.69.2022.05.20.15.53.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 15:53:27 -0700 (PDT) From: Douglas Anderson To: Bjorn Andersson , Sai Prakash Ranjan Cc: Stephen Boyd , matvore@chromium.org, Douglas Anderson , Andy Gross , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] soc: qcom: socinfo: Add an ID for sc7180P Date: Fri, 20 May 2022 15:53:10 -0700 Message-Id: <20220520155305.v2.1.I26eca1856f99e6160d30de6d50ecab60e6226354@changeid> X-Mailer: git-send-email 2.36.1.124.g0e6072fb45-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Some sc7180 Chromebooks actually have sc7180P (known by many names, apparently, including possibly sc7180 Pro and sc7185). This is a sc7180 part that has slightly higher clock speeds. The official ID numbrer allocated to these devices by Qualcomm is 495 so we'll add an entry to the table for them. Note that currently shipping BIOS for these devices will actually end up reporting an ID of 407 due to a bug but eventually a new BIOS will be released which corrects it to 495. Signed-off-by: Douglas Anderson Reviewed-by: Sai Prakash Ranjan Reviewed-by: Stephen Boyd --- Changes in v2: - Switch from 407 to 495. 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 cee579a267a6..c2c879ccc6c0 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -332,6 +332,7 @@ static const struct soc_id soc_id[] = { { 480, "SM8450" }, { 482, "SM8450" }, { 487, "SC7280" }, + { 495, "SC7180P" }, }; static const char *socinfo_machine(struct device *dev, unsigned int id)