Message ID | 20221027063006.9056-6-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
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 l7csp62974wru; Wed, 26 Oct 2022 23:32:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5RlNuTgZqpf1pX5KUD7um3WXvDMsTgYLl9EvAgN12z5zzgQk3McHefcjbJSDZVDY1hwI/m X-Received: by 2002:aa7:9298:0:b0:56b:b6dc:988a with SMTP id j24-20020aa79298000000b0056bb6dc988amr21730200pfa.5.1666852358046; Wed, 26 Oct 2022 23:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666852358; cv=none; d=google.com; s=arc-20160816; b=RsXpmm85pKmMgmxXj3LTfwdYn2y5M2GVr4J+JcF8AnUwVeTy676W9qZKGsv67z6YX2 D1ktaENeHroJe6h6eC4kFmWAP9YawSvJeKrvgJK1PZMfH1q7S/77Yo7wj1LvFSYRqw8A 4nu19YzO73o3TDYlGUt4TAIqnDXbm5r7Abie/cHAUml0L/f10Q0YUPZYfm3dmFjNKjeO lT8qCcUAS0F3V+IX6eTinHWNBOND8vhQzjEB7N8F6quqQ/j9Jj8G/Gj1rzQT3bysryWV 24aWVO1aOzgoCy/j7FtMUToegLfAPJKeTaCdQFLMEtPRqVLr6JPjkk49FKEDY97cQEpz R+5Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+uO33+G36OyWr6eCN7oimNs+WJJkzvXiHHivrNLNRVc=; b=fljOYzTs6byBq+EJ8v9mcJG3LMO+Nmabg5zFes7j6FplGgB55nmCIsVRmuTpPDBB4c akJOP2vvfJmBnhY0jiFOmTUKyA9Pi1+NTku7WBqc4vRjC5ny6QuWr2kE+3qrEHmYYOLY A9Nw58s6QE4i3+RXUvy9r9BnnSaX8tTDeFLgjaYFy1a3bMbUGPXC6xZi9vEgFLd7AkcC ctZLJlQzGODusAWVdIK0GpJjhOipgafQkv+lercmMYioEq+6TI7ydxVfv+1CseYfLc5U rb4aVQGPiul0fXyVOZM/QyLMhiJDybnsEVuXVnIV2mewLl2vRh1LLfpxRD2Rks6I1BOX 7eaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XCN9Ev67; 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 b10-20020a170902d50a00b001769b63ec65si622171plg.483.2022.10.26.23.32.25; Wed, 26 Oct 2022 23:32:38 -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=XCN9Ev67; 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 S234635AbiJ0GbN (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Thu, 27 Oct 2022 02:31:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234567AbiJ0Gau (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 27 Oct 2022 02:30:50 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C16D8161FD5 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 23:30:40 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id h14so622128pjv.4 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 23:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+uO33+G36OyWr6eCN7oimNs+WJJkzvXiHHivrNLNRVc=; b=XCN9Ev67Rcu0zSL1omPQ4ggqYmS5Lhm7a0NMm775ILNkG4WFdGozM5K2fL8G3ZNtG2 pt9CGnGFX5ib18YNy9SbsjnIZytRpWM8qtzFJ4/xUWd32VyJ7EbE4qjVJ5PeOfcpv3nG DmL1NUapmoyc7d6ilmuIFYf4gZXuTLaje4XpUUyI0WBTn9LQ/ZEgdUt2fW4q+OT311sQ BetYZ1jG1OsqrIDKrX8iQc078iNesDNQAlTMgYILLO269VxhKC7O+m3E2zmhClZyhPg6 NNOGhF4eWbQQKRjIyzxFo7ZkUoe24TMDOKpxQgOVqz+CCqhtjUSl9unPsZh0lbRrnY4/ aW2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+uO33+G36OyWr6eCN7oimNs+WJJkzvXiHHivrNLNRVc=; b=luVKQEZli6c8Qv1hlrtbM/x0YIk0xoF7Vm0OOfOz6vrhxAmwsyCSqB2Ovtr8pi7kgX Y/5Hwa/DRaAO3VZasKJgD3Ls77qgL2+pw5RIa7AcbcHNcCmXZ/qHIL13wTRg6BPfsWzY P2Isl+4ji4KLELry/ksSpk4mNQq7hr3FyaBzrPP1JzYM2jNF6UME0hdFdpED7mJbqR7c gRt/Ybo4iFsMcy0praQROEXc49TLGRUO/1TJ5y4H5IUXOWiuUlCMhWZ2kfgUL7zaY0pc 8hzKyXyUNGwXNPqTKkQJI4Si15cxjFoWSFNaCfLtcBJqLLWXMmMTgqwAh9iPf6hm/X5b tcbw== X-Gm-Message-State: ACrzQf0SMhsu6Q0PzzsKo3++eP8/bGbIzffsDkhXadJdwplXOguvVtjy NgR/Ero04+UOmKYxrqNg+IaM X-Received: by 2002:a17:902:ee81:b0:186:b1bf:2308 with SMTP id a1-20020a170902ee8100b00186b1bf2308mr16935557pld.111.1666852240257; Wed, 26 Oct 2022 23:30:40 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 23:30:39 -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 05/11] arm64: dts: qcom: sc8280xp-pmics: Add PMK8280 ADC7 block Date: Thu, 27 Oct 2022 12:00:00 +0530 Message-Id: <20221027063006.9056-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221027063006.9056-1-manivannan.sadhasivam@linaro.org> References: <20221027063006.9056-1-manivannan.sadhasivam@linaro.org> 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?1747821378006526220?= X-GMAIL-MSGID: =?utf-8?q?1747821378006526220?= |
Series |
Updates to sc8280xp-pmic
|
|
Commit Message
Manivannan Sadhasivam
Oct. 27, 2022, 6:30 a.m. UTC
Add support for ADC7 block available in PMK8280 for reading the
temperature via the AMUX pins.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
Comments
On 27/10/2022 02:30, Manivannan Sadhasivam wrote: > Add support for ADC7 block available in PMK8280 for reading the > temperature via the AMUX pins. > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- > arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > index 4a3464f5e6e9..32086d5edd0d 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > @@ -75,6 +75,17 @@ pmk8280_pon_resin: resin { > status = "disabled"; > }; > }; > + > + pmk8280_vadc: adc@3100 { > + compatible = "qcom,spmi-adc7"; > + reg = <0x3100>; > + #address-cells = <1>; > + #size-cells = <0>; > + interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; > + interrupt-names = "eoc-int-en-set"; Schema does not accept this. Be sure `make dtbs_check` passes. Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index 4a3464f5e6e9..32086d5edd0d 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -75,6 +75,17 @@ pmk8280_pon_resin: resin { status = "disabled"; }; }; + + pmk8280_vadc: adc@3100 { + compatible = "qcom,spmi-adc7"; + reg = <0x3100>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "eoc-int-en-set"; + #io-channel-cells = <1>; + io-channel-ranges; + }; }; pmc8280_1: pmic@1 {