Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2933860pxb; Thu, 10 Feb 2022 08:37:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgPViQiEJGjz5jsdbQn3MLBRjV0agNkvvbX035QNEE/oQdUx9RjRt0rwXpmCLaEvjtYR4H X-Received: by 2002:a17:906:40d3:: with SMTP id a19mr6992776ejk.759.1644511042250; Thu, 10 Feb 2022 08:37:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644511042; cv=none; d=google.com; s=arc-20160816; b=QRSUGY6ovdPnAOMOlOwYwoweTV1Rxc/NOYffEWwzbkIPgIv8QAhmTZ2K62CZDGWnTG 6CdadpqAwSUTDD7DUA6BNlnndsmuh3ZU/SeuCVFGOmlfjYPizDfB1UusgHPKHS7cYfYN zsComta8bVbiq8DbojB9udPot+cwVpm7BB0Hs2U8GUS49jLNSxcC3zgEgf5bsyWqQTI6 3eg48R6d0fJdj3ICJsJ2nGPaTSk7NGbm8NUOWAjtr3PGsOxVTemdG4uhiQrgjTK+yXSX TzOkaH9t2sZvxxxZURaqOIFUH9CX2ImeBHi8NaFl4iyv10wpH/+F6i/1fgyfXmrJBNxx 5Phg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GeVkjGtPYSyNSmgjk9aG6VPe80uEG0XHLb9dAfYzBf0=; b=X3yDa1FQdjfDLlWYrTPTNK0qJBmIvFLrzN3CSJ2fqT62gx6IKbzXroxEVP3vYBcW8k Xs1igH0j8jw5fTA0yHtRwcJeBHAid5jBQZOO2WxVTQe+N0hyUyeG/qk8V+dT8tpj0kDO wc3pwn80ymJYvbdyAJgtzc131t0u0MqEe967iv3x/P6+QveVCmEd1bsAH66H4RaKSS38 einya4N98pYCJPC13gNUl2xatbWitBcLMCHyX9eNRGJVEgYWYZGwmdEGcfJH1A5JqvIH njjSC2rufTGIxxgK9/mOFFLHZnRTYEeYUqNQKGlCOYDSgmOefGE1htwIqlgpEAkl7TE2 dNtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KzWJBcPS; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm21si9489759edb.470.2022.02.10.08.36.57; Thu, 10 Feb 2022 08:37:22 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=KzWJBcPS; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242352AbiBJNo6 (ORCPT + 99 others); Thu, 10 Feb 2022 08:44:58 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242345AbiBJNo4 (ORCPT ); Thu, 10 Feb 2022 08:44:56 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2745CF1; Thu, 10 Feb 2022 05:44:57 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9F322B82555; Thu, 10 Feb 2022 13:44:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A894C004E1; Thu, 10 Feb 2022 13:44:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644500695; bh=gl0+6aw+lns7XJcPqkrOFcOcJKBydkHbo45rLX/aLu4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KzWJBcPSdHJav8ESBtDWRGgsGrvgx3gzxmoITK1aRaOhOsu4U9kXdgEIl/c1skYCM VTY9bVliMe99PmzPaQ7PXTl8vpMzSpwB4Lrm9bpShJiUnaMH8jSPgZgNGqmCsKBViU d0TAtMMvrYMLimEg2iv8/K//IMLPlFuvw+Q6vYqTPV3yRVeeiLHL2ZFLNLctpPHsF0 K03K3I13SxxH2FCqmF834PfHV4bFUuKbSXgwul151kkylqL7gGrI9jimL5rj2aUoXA knNmJAfA0Ftm/cO/GvDbNIaH/lyWvuldVb4fTeZEJwnVcyug1/D5sIqYILNLieLMet q60Kl68rTfCHw== Date: Thu, 10 Feb 2022 19:14:49 +0530 From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: qcom: socinfo: Add some more PMICs and SoCs Message-ID: References: <20220210051043.748275-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220210051043.748275-1-bjorn.andersson@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 09-02-22, 21:10, Bjorn Andersson wrote: > Add SM8350, SC8280XP, SA8540P and one more SM8450 and various PMICs > found on boards on these platforms to the socinfo driver. This fixes the unknown ids reported by socinfo debugfs for SM8450 HDK Tested-by: Vinod Koul Reviewed-by: Vinod Koul > > Signed-off-by: Bjorn Andersson > --- > drivers/soc/qcom/socinfo.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c > index 6dc0f39c0ec3..8b38d134720a 100644 > --- a/drivers/soc/qcom/socinfo.c > +++ b/drivers/soc/qcom/socinfo.c > @@ -104,6 +104,14 @@ static const char *const pmic_models[] = { > [36] = "PM8009", > [38] = "PM8150C", > [41] = "SMB2351", > + [47] = "PMK8350", > + [48] = "PM8350", > + [49] = "PM8350C", > + [50] = "PM8350B", > + [51] = "PMR735A", > + [52] = "PMR735B", > + [58] = "PM8450", > + [65] = "PM8010", > }; > #endif /* CONFIG_DEBUG_FS */ > > @@ -314,10 +322,14 @@ static const struct soc_id soc_id[] = { > { 422, "IPQ6010" }, > { 425, "SC7180" }, > { 434, "SM6350" }, > + { 439, "SM8350" }, > + { 449, "SC8280XP" }, > { 453, "IPQ6005" }, > { 455, "QRB5165" }, > { 457, "SM8450" }, > { 459, "SM7225" }, > + { 460, "SA8540P" }, > + { 480, "SM8450" }, > }; > > static const char *socinfo_machine(struct device *dev, unsigned int id) > -- > 2.33.1 -- ~Vinod