Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp166908rdf; Mon, 20 Nov 2023 21:36:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5g8cqTce2tR0O6nQiqeb5eH53aZk0evXBVcAH74P/uGUQynMQr/IwFHYs4NZ1J8CZUUry X-Received: by 2002:a05:6a20:440b:b0:187:958b:993b with SMTP id ce11-20020a056a20440b00b00187958b993bmr2704462pzb.10.1700544976923; Mon, 20 Nov 2023 21:36:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700544976; cv=none; d=google.com; s=arc-20160816; b=zmudnRnt+3x+n+32dwAiKa6dpXSuXHtPwq2iVKunaW9mxob8gbM7WAXwUMREhCUPkW gxRuXs/KLB9VWTmF3GreUoHReKQANlAgrdIq5hwkb0cO4CxZDZwwwE3x2GGozp8Qzyrj ejao13W3/LapAwwshtLEg9eWoUg4m9dDXIqPAlgrUQxBc1j/DkdZBDADLaN/m5mPVoC5 fLV5TTs++Xgln1kMRID3AYv/v3601F2Mm1jd7sNr7ixfwgE6OajKTUdNeLqjG0vKcbOq 9qglJmW0avoPTrRxNs24yr2KlkMiYvr/FJGJl9TtHD6OJIksMWIkjQcy4b/xyLaPMddZ SvaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=1df9fjZV4lkdz6eM9PExEYBhDzV/AZ1mtQFXzEoXxaU=; fh=11VSqku6mDNd4T2T6BLBFXZqmGal+t1cT0GDCnEPhHE=; b=X8IQMaRQjnWSJwCHismZBapqInDaDFiJk3V5Kb8ER4kKxTWdVA4skpffbUXyTN9gfm f06J5j4NJkerTvvP5ADsb3lPksIp7GCfy1bltlsPNXOh/7Fx44dJssEu8HBgHSnwmN/D zufmZ0kweD4TvdH2PDMmw0fBQN/KFBLBi6Qv7U8FBGkkSGr2mkUea3CqI3VbISgxx/go cbpSdwOmaQlm17rPc+z7A6AB5sF8arF/aloo5ZsUBbFiUwt/GVCzEsV7IIHyFEVvefh1 jc1V1ymwW5gSY+De6AyzJGjkRVwS5NUBbEt0KLXVSrEQkir0pl1PHo8e+ck75Gi67XAI Am/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=KC8dflPl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id p24-20020a63e658000000b005b90b310e26si9664168pgj.403.2023.11.20.21.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 21:36:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=KC8dflPl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 99345803ECB1; Mon, 20 Nov 2023 21:36:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233397AbjKUFf5 (ORCPT + 99 others); Tue, 21 Nov 2023 00:35:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKUFf4 (ORCPT ); Tue, 21 Nov 2023 00:35:56 -0500 Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94A82ED; Mon, 20 Nov 2023 21:35:52 -0800 (PST) Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4SZClW3TvRzDqLd; Tue, 21 Nov 2023 05:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1700544951; bh=3aQiV0yYrXDyWJC58/jNq5YnuykrHIOH2V9AQg50cT4=; h=From:Subject:Date:To:Cc:From; b=KC8dflPloQ1Alr9DQLWVy1CbZxB8aafRpVwbfFWCHLo0uy791qwwTjNEaXqGBiRKU y7MFejJKdXSZMOMxYBnp92E/7o0ffxASEskeqasIazc8leW4TAxVIDv+J+lq1yk+r9 UMhV7Sl98XNMwhjXkBOP6r7qTjp/vpTO+0BCiHH4= X-Riseup-User-ID: B606A694CE447639939588235BA6E43D296FDB1170058309B4A4D35D01B5EB12 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4SZClR6RkszFrxv; Tue, 21 Nov 2023 05:35:47 +0000 (UTC) From: Dang Huynh Subject: [PATCH v2 0/4] Add PM8937 PMIC support Date: Tue, 21 Nov 2023 12:34:58 +0700 Message-Id: <20231121-pm8937-v2-0-b0171ab62075@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAIJBXGUC/2WMQQ6CMBREr0L+2prfVkRYeQ/DAmGQv7A0LRIN6 d2tbF1N3uTlbRQRBJGaYqOAVaLMLoM5FNRPnXtAyZCZDBurNZ+Vf15qWylmxsnYrirHO2XZB4z y3kO3NvMkcZnDZ++u+vf+JVatWKEv9VADee01SMTLHx0WalNKXwy+R5udAAAA To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Dang Huynh , Caleb Connolly , Krzysztof Kozlowski , Dmitry Baryshkov X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 20 Nov 2023 21:36:12 -0800 (PST) PM8937 is a power management IC. It is used in various boards with MSM8917, MSM8937, MSM8940 and APQ variants. This patchset has been tested on Xiaomi Redmi 4X (MSM8940). Signed-off-by: Dang Huynh --- Changes in v2: - Remove PATCH 3-6 as it has been picked up. - Applied suggestions from reviewers. - Add VDD, GND to VADC. - Link to v1: https://lore.kernel.org/r/20231106-pm8937-v1-0-ec51d9eeec53@riseup.net --- Dang Huynh (4): mfd: qcom-spmi-pmic: Add support for PM8937 dt-bindings: mfd: qcom-spmi-pmic: Document PM8937 PMIC arm64: dts: qcom: Add PM8937 PMIC soc: qcom: socinfo: Add PM8937 Power IC .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + arch/arm64/boot/dts/qcom/pm8937.dtsi | 216 +++++++++++++++++++++ drivers/mfd/qcom-spmi-pmic.c | 1 + drivers/soc/qcom/socinfo.c | 2 +- include/soc/qcom/qcom-spmi-pmic.h | 1 + 5 files changed, 220 insertions(+), 1 deletion(-) --- base-commit: 408a8e748eb5f10026ea9d87f8f218e759101c9a change-id: 20231106-pm8937-000e423a75fb Best regards, -- Dang Huynh