Message ID | 20221027063006.9056-1-manivannan.sadhasivam@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp62645wru; Wed, 26 Oct 2022 23:31:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7LCd0CqKBg4MWXQugTr33lbHrELrjUQ4BORE/tU/E2lLS22xsO09axwOJGLbVZINlW5upR X-Received: by 2002:a17:90b:1643:b0:212:d286:bb13 with SMTP id il3-20020a17090b164300b00212d286bb13mr8585229pjb.11.1666852312947; Wed, 26 Oct 2022 23:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666852312; cv=none; d=google.com; s=arc-20160816; b=iA8s13AG5RbLlXfcy0JrwLXq+36qOOi/5vdHm/oQ73KXbTvy8FKVl068033j8puucW m5euV1eht0nB4uyJpA66mFgRu3iNrng8eQtkTvQqK7nogc6eCfZwvepm7qSiUrgBtB6t OpSdqvQUfUU+0kQ8Ijsyx/LmykI5mxVwPJMUbfVXLq/mvPqoUIsZIluXxS6ZBoHf4SNl VSQ2Mv7tNKBniu1zgWA6YHr+OsM0oJUfiVQsCCu1tuDM6BtdF3sA53ZoFl+MtlOf5s3P PN1hw8w4Um4rJ7kGldTOwwaXii+dP1WeXtdJRlJhH94tsDylCe8eayqAo55ubGZmZhE0 BmVQ== 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=JP1tZKdszK2IZgh30Tx/YNHuH6W6TpVf+WVjOqWudng=; b=J75ZGiIRaX0ti3W8BtUNwEfFRGUCAGxZ6Wx5Ylk2e/FwPaawKac+3/JOAky0uccdbF ZsZWM6XXkGotjX6+kJ/NExHVqctWTMhycHfyEAI+ufKIjpvAZL6uUUbVqYmMZWaxln5r c0Y/ObJZ593eJVF0g1RwZ8LwuvqP24lsCrHTaUdRRZKTOKr3vbtfxRURw3YxGFmchRRq T3EEG0CY8O9TsuTIDCIhgpP7c3ZD0mXKZRt4fS0USNc425WXEruKCI3aEnqW9oXzCBHc 0tLaOVAqQfBGjvXL++Wix4FCAxfVompXtON4QSTz/vbATg0xXBiUC9XXgf8QyF+B7yy9 jY5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PGBv0IXO; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lb10-20020a17090b4a4a00b0020d401a03b5si736214pjb.180.2022.10.26.23.31.40; Wed, 26 Oct 2022 23:31:52 -0700 (PDT) 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=PGBv0IXO; 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 S233500AbiJ0GaX (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Thu, 27 Oct 2022 02:30:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233757AbiJ0GaT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 27 Oct 2022 02:30:19 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB994147D13 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 23:30:17 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d24so457787pls.4 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 23:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JP1tZKdszK2IZgh30Tx/YNHuH6W6TpVf+WVjOqWudng=; b=PGBv0IXO53nGmM1dm6MD7oUWt9DAvm4ZAUzWZ5X6IjEce08fapbw8ubqicQ9CRbgm6 6XncBfqS3FguKDXUKvBl9qQX++jyewVH3xePU/30HF5YASApHgaHNx58bfIAmazeXuCJ KldOAGPOdvFH3vAHdtuFVOOdbY1QHeOx6/HLXikfdVv08+miTuDXmVIKQa5L3T6mWlIj NhXbJoEgWtoTiVErPqIzdyF3jPUSMNCza0rOP1coEkJpQgREivMnFbNTr3eCvhtPUEP1 /NSiAzFY8IdjRnwSHH+NCwioUh9IlLVIPdUo+tvgsSz4sIEKvVN7fZ4O8jal+BQ+8x0M P2pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JP1tZKdszK2IZgh30Tx/YNHuH6W6TpVf+WVjOqWudng=; b=wkwEPRH7smWNdv2vUIqAa0/kuo7gGRYj6KKsrK6dxUkv/W/3Iuin+1qelDYL3j2EBw zYrysmJLfzd6YXU3DamVU7CS1nf/bgXmk1L5KuCKDwyr8SkaHja2qoFpETopFezouLWP 74/9VVWWozf6a/Bfh5dlyEJo6W8Xr2WgD+fTX3wg/eQi+324iHoSEmE5xQKB9hMxXiga XMZ3k3hcTVwGin8DOUNY1SAYjPAwWn81xKFaFmYEFMHsAkgqklwD5tNJP/J5pVfSlz3R Q3hks0IdhTe2wJNxrmrYMCE0XVwdwUGs0MLJQR+8+5bycmMJ9LSgMdzvF4kbdPwOl5WW qjcg== X-Gm-Message-State: ACrzQf0Rs0lJhqdCwslS64z8z57lkEm0fXSgMm7O74yU55h+qSCMyQFJ q7K5mwyGC8NGPckFWzXZYxnHcY4rQTHlMkk= X-Received: by 2002:a17:902:ed53:b0:186:6ad3:c155 with SMTP id y19-20020a170902ed5300b001866ad3c155mr34719419plb.43.1666852217347; Wed, 26 Oct 2022 23:30:17 -0700 (PDT) Received: from localhost.localdomain ([117.193.208.123]) by smtp.gmail.com with ESMTPSA id i126-20020a626d84000000b00561d79f1064sm446041pfc.57.2022.10.26.23.30.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 23:30:16 -0700 (PDT) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: andersson@kernel.org Cc: konrad.dybcio@somainline.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, johan+linaro@kernel.org, quic_jprakash@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH 00/11] Updates to sc8280xp-pmic Date: Thu, 27 Oct 2022 11:59:55 +0530 Message-Id: <20221027063006.9056-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.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 autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747821331017522001?= X-GMAIL-MSGID: =?utf-8?q?1747821331017522001?= |
Series |
Updates to sc8280xp-pmic
|
|
Message
Manivannan Sadhasivam
Oct. 27, 2022, 6:29 a.m. UTC
Hello, This series adds below updates to sc8280xp-pmics: PM8280_{1/2}: - Temp alarm - Thermal zones - VADC channels - ADC_TM5 channels PMK8280: - ADC7 block - VADC channels - TM5 block PMR735A: - VADC channels The sc8280xp-pmics is based on the new PMIC7 architecture. In this, all the ADC/TM5 measurements are collected by the primary PMIC PMK8280 from other slave PMICs PM8280_{1/2}, PMR735A using the Programmable Boot Sequence (PBS) and exposed them over the individual channels. PMK8280 uses the Slave ID (SID) for identifying each slave PMICs in a system. This ID is not static for each PMIC but rather set for each platform by the hardware designers. So this series allows the configurable SID by modifying the binding to accept SID values instead of hardcoding them. This series is tested on Lenovo X13s laptop by monitoring the temperature of the 8 on-board thermistors through IIO interface. Thanks, Mani Manivannan Sadhasivam (11): dt-bindings: iio: qcom: adc7-pm8350: Allow specifying SID for channels arm64: dts: qcom: sc8280xp-pmics: Add temp alarm for PM8280_{1/2} PMICs arm64: dts: qcom: sc8280xp-pmics: Add thermal zones for PM8280_{1/2} PMICs arm64: dts: qcom: sc8280xp-pmics: Add support for PMK8280 RESIN input arm64: dts: qcom: sc8280xp-pmics: Add PMK8280 ADC7 block arm64: dts: qcom: sc8280xp-pmics: Add support for TM5 block in PMK8280 arm64: dts: qcom: sc8280xp-x13s: Enable PMK8280 RESIN input arm64: dts: qcom: sc8280xp-x13s: Add PMK8280 VADC channels arm64: dts: qcom: sc8280xp-x13s: Add PM8280_{1/2} VADC channels arm64: dts: qcom: sc8280xp-x13s: Add PMR735A VADC channel arm64: dts: qcom: sc8280xp-x13s: Add PM8280_{1/2} ADC_TM5 channels .../bindings/thermal/qcom-spmi-adc-tm5.yaml | 6 +- .../qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 158 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 85 ++++++++++ .../dt-bindings/iio/qcom,spmi-adc7-pm8350.h | 90 +++++----- 4 files changed, 289 insertions(+), 50 deletions(-)