Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2495690pxb; Wed, 9 Feb 2022 21:39:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwH4PRyNjea3DNXyYKalogieltiYXjXs6Bu3dRUgckPgKCyI7kvcy5XTcG+sfThIqLENiRv X-Received: by 2002:a05:6a00:1a0c:: with SMTP id g12mr3108872pfv.59.1644471579167; Wed, 09 Feb 2022 21:39:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644471579; cv=none; d=google.com; s=arc-20160816; b=IcIuBJlOP7fxUZiZPQ5YVj5cbgmrfmZCyUIvLzgD2+UF9AhUh/hC87+wZ8B2cL4ZzG k5p7ZyyLVEnNUebk41MEw97+7zlrCbgLmLvMPZC4SKhEdF1odPFn1RIrcdGeCcwLiPR/ hwyLWeefoKG++gqAHghp2Tz4fbHjrDVmqRiYFM1A12VUTrA82XkIqfNi0Q4ZUfku0lf1 gwnj8zYde6RzbRNUbQ3FgqidbGkfeK9F12jDrDgDwtnDEahZuEdWeSQRUxWtepRybCTi B5saZNg8QCb16XMD9xlfqa0IMtNe7/UlSRsvfZkBtjuiqYytQeLAfxcoyDwsJjk580YE HEEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=17HQ1lZ4Nfz73vYr3iF8T8txXNV0ECOTIWhcMcq56Ns=; b=DdFYKMxSQ5VbvFSa3XiogciKeM9DNMLR9WFg5+lKILKARUrpXsamezGLEgD1SwYKb7 +McQNOxP/L9VfWiNgDxi3KsCeqXZsIMfzlovBd4ieXfVMBWcm/arz58W7DjUZlAuW8jp b2SftgduvuTP/roX+VcJj3XmjLKhpFLSQ8oEqn7Ad5Mzq1w1aPHf5ndCjMLpXvD6WAQQ A72p1Nv8hBob4Se6aLfZEMWxOymDWgQ/lhezqE6IHXYlfniI6eZHSzPDwTekTZ2FDXta KKU+FYTRw87rN1nAGylDL0lJrJgK/OPFd5c9Wm/zV218xsIosnG8v70u7mdBv0BWIvra c4CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MY0483PA; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v135si3507398pgb.701.2022.02.09.21.39.26; Wed, 09 Feb 2022 21:39:39 -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=@linaro.org header.s=google header.b=MY0483PA; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233074AbiBJFI0 (ORCPT + 99 others); Thu, 10 Feb 2022 00:08:26 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232073AbiBJFIY (ORCPT ); Thu, 10 Feb 2022 00:08:24 -0500 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7587028C for ; Wed, 9 Feb 2022 21:08:26 -0800 (PST) Received: by mail-oi1-x233.google.com with SMTP id s185so4822901oie.3 for ; Wed, 09 Feb 2022 21:08:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=17HQ1lZ4Nfz73vYr3iF8T8txXNV0ECOTIWhcMcq56Ns=; b=MY0483PAAismrHYbFZFzShmOwL5Bjug/y7G2BDSpPqDsC3dbhYUAsmCP85NC5oTMAw RabL0o9i9iYRc6BV1JhmtUop9PRVeFYzXUdD0l7OIj7227F+vaZnf1r5a4Rs0FYzUdDz 1AuW6LLRyVDuk/LsmboGoT4Q4SjwuJKuyB4SKpwAAGRAV8BOgxOyyNhiXkfK+fUWz32z unXibIaPtrwqkwC4UyGy2Srwq1w4VLAty5EIQRLlsxhUTnoWXtoTABGJ97jhLZDSXB55 gPuW3DBHMD8J2i7DnKW5ISkkHXsPuKLc9gtMOaE8OrizMCLVBoFJ2pdCdHfV/OS0gAy8 sssQ== 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=17HQ1lZ4Nfz73vYr3iF8T8txXNV0ECOTIWhcMcq56Ns=; b=oNsQpD1bzi5JOY8SAOVOHHUcx5POgDhuW+9rZRRxWRKCXMnWHgmqgjIbhOSogEJXYm 23oXISdeVEq3EF9hlgNRGYse0jMm9Hd6X7fdYvF6w3N1UX/sJpqCoMxrmaYdFrdP4flE Wb1lNipIo171f+vpNosNJTeCK3J7V3P8PwANnqpIeyeq6n34ktoXHcYNcTe3xpqzN0BZ Fxcf0VFoyUvKvwPT9ngJaLOBfLxs8ED8YMI0hn2IrDk1gK/26svC1ISeD3g2S7mY0o1m dHc7xcAkLE8l0GeRe3RSkmRvCkcZZaGRNJ2cHWZ22URhgTEjRc2pODUsh81T6JlZpm9v pHSQ== X-Gm-Message-State: AOAM532205pga43+MzXQuPw/VzgjW0pPvwM7rAAOyzPcphXErkVtVl/Q v32C4bQofNixrwFKC9zp2vOGAl4NU+Zfvw== X-Received: by 2002:a05:6808:168e:: with SMTP id bb14mr363067oib.106.1644469705872; Wed, 09 Feb 2022 21:08:25 -0800 (PST) Received: from ripper.. ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id p22sm8915912oae.33.2022.02.09.21.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 21:08:25 -0800 (PST) From: Bjorn Andersson To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: qcom: socinfo: Add some more PMICs and SoCs Date: Wed, 9 Feb 2022 21:10:43 -0800 Message-Id: <20220210051043.748275-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Add SM8350, SC8280XP, SA8540P and one more SM8450 and various PMICs found on boards on these platforms to the socinfo driver. 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