From patchwork Sun Oct 16 18:03:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 13007982 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C788C4332F for ; Sun, 16 Oct 2022 18:04:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229631AbiJPSEP (ORCPT ); Sun, 16 Oct 2022 14:04:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbiJPSEM (ORCPT ); Sun, 16 Oct 2022 14:04:12 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5E3831FB8 for ; Sun, 16 Oct 2022 11:04:09 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id a10so15091472wrm.12 for ; Sun, 16 Oct 2022 11:04:09 -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=Rf2LXEpI/FgNIulJdzuAoex7dYJdbf0Ac1cuVaPGe7E=; b=fTwq7IUqseJ2liU1PvqopOjqDzkpAwRCh27zUyBt2faGsCtfLDD/1GaglTSm8DqoxN 0becC0MaZAhMntfgnJN5/ktHRtjahCD/qHofYPlz/9o8CxMSGhZ/b0zkTjbJPYAnIPL9 HHkXcz7/Fz1RmLTRJbymNxYGUt9/FKAuBnyvaX0mO7Del389guYnkwXbNIgC71P71J/4 mWQHsm2ZNFyT+Jypu85wwP11Q32wx9MLvDDnvj37K9SQCwlkHKHxSbg/7aA0Xx0YoZv1 Q+dpzryTAh+2M/7vMEuXxXlZGZtXgLA1XeooGTqrg6+cjND8S54pv4gDLYlvhkhehHGT yt0g== 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=Rf2LXEpI/FgNIulJdzuAoex7dYJdbf0Ac1cuVaPGe7E=; b=dKSD5jZG4wXaw11p/gIZt+mUprT7OGa4YdSm7w4bcRyiPXRKGISEWXppZMEBBqsb+i ZhAS3+3dPvVF6tfpd7FmfDL18dygRQE0Pz447FhAVzd5iAfUM383BgcbdoAteSU+R1XL y/4/qDxsIp2uuyedkNVrY++ZljIAtIPsGEpRj2AEInDq4REoQaUtqPJTv4FwR+sHDW2t E3ZhW9CzR+HlRAC6bc4xFmYFlhTs3w00GrXiU+b4ymlIqPh5HYymJ/1lIggYdsVQ0qxm GtjmY3MPCxl4Nl3rAXivWA/ihnTsXd5MYup9N/72lAABOtZ6R+byrEi3f8fSwgPtGw+W 1GRw== X-Gm-Message-State: ACrzQf1xTme3QdGyEy6ooAn+YQOxAyYK92v2/ReBwM1SCBNArP7/ojKf yEZEPC/8utLWdNqP2wnNqoP99A== X-Google-Smtp-Source: AMsMyM6mHK+vi3TJatYbuGPCFEUY7H2xPwtu5DabQBtS4tiVu8bUQPZXLez/7Xssl7jttdQWFbdvFQ== X-Received: by 2002:a05:6000:18a2:b0:22e:72fd:c5d0 with SMTP id b2-20020a05600018a200b0022e72fdc5d0mr4038549wri.682.1665943447731; Sun, 16 Oct 2022 11:04:07 -0700 (PDT) Received: from localhost.localdomain (cpc76482-cwma10-2-0-cust629.7-3.cable.virginm.net. [86.14.22.118]) by smtp.gmail.com with ESMTPSA id k5-20020a5d6d45000000b0022e57e66824sm7844181wri.99.2022.10.16.11.04.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 11:04:07 -0700 (PDT) From: Caleb Connolly To: caleb.connolly@linaro.org Cc: Luca Weiss , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 1/5] arm64: dts: qcom: pmi8998: add rradc node Date: Sun, 16 Oct 2022 19:03:25 +0100 Message-Id: <20221016180330.1912214-2-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221016180330.1912214-1-caleb.connolly@linaro.org> References: <20221016180330.1912214-1-caleb.connolly@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a DT node for the Round Robin ADC found in the PMI8998 PMIC. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi index 6d3d212560c1..5a479259c041 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -18,6 +18,14 @@ pmi8998_gpio: gpios@c000 { interrupt-controller; #interrupt-cells = <2>; }; + + pmi8998_rradc: adc@4500 { + compatible = "qcom,pmi8998-rradc"; + reg = <0x4500>; + #io-channel-cells = <1>; + + status = "disabled"; + }; }; pmi8998_lsid1: pmic@3 { From patchwork Sun Oct 16 18:03:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 13007983 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1BE4C4321E for ; Sun, 16 Oct 2022 18:04:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbiJPSEQ (ORCPT ); Sun, 16 Oct 2022 14:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbiJPSEN (ORCPT ); Sun, 16 Oct 2022 14:04:13 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0FCC2F3B5 for ; Sun, 16 Oct 2022 11:04:11 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id j7so15160117wrr.3 for ; Sun, 16 Oct 2022 11:04:11 -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=+Flxbi0Mv/YCPndR4M73folsyura1ac1CobzaAOFvbE=; b=eMAMAejyEepxo0zGBOp3pYvkSFHo/wpqFSxmmN1J2Dqmc3uaKsX2CZp7i+bkvVmqpc rJt9+/kHeCQN7Zvd1aBsgLDJiZxJ8oXNJmhlMhNz5gNCXS0x/11NFTpkv0ibw9WJJ+fE HREMmYpI7/UX1l0cZi2w2DPcBQabaHaxOw3v+zzdoEi6holkSrxBwES0NNDCyKpPa8Bw bLAQEsZjYY6iQgsS2P53qjRohXwVe95tx7eDZmXcSkfXMZ2Uk252JuHbepgtQ7g19UQl 2dMolbtFkC8txbrCATN52YRPPzUCitpYfnHvRjXUrJqKLIt7yxDSE8NpQF0bV+ph/r9K a0sA== 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=+Flxbi0Mv/YCPndR4M73folsyura1ac1CobzaAOFvbE=; b=AVJvnM4l4vWdIl4G+8IyOKaz21fZlSPJs2LZZyS/naLjdg7MicVqOmZYu6FS+4VqEs rpj20jPzwVnAS+32IzpczQ0tiHag6zfYDGNz0L7b71VDvfSBAclNds6hXGtV/IPyoD+3 ZBhnpQK3+fzg+K5rmPiDOLYy1Uc5pi7hCTZ5iTAVLSi0WAWSgoABkzouXT72DQCFctcp RdwPO6zHNl9gyxEjqbjNfVNxfss+I4T8fmx2XBzjr0e9FzX5Z46BngfFvyfAuedrjqUM SdqzWIj9scxmoRx9ho6T7l9VV3ipdyTVZdJCpqVSW5k39Cco5mAomRm5XKXqMHlyQGOu cwfA== X-Gm-Message-State: ACrzQf0ozQC8Fb4YLVcjQZyIZ5YHy7EbGg/OKnZJlaY0V+D3D7BhJzs5 yYcWVLPzI8bFQu/rwa0OOtgA8g== X-Google-Smtp-Source: AMsMyM4NYjLvqnwPjNljY+u6D1BLxbFqv904f0MZpPvsn0bVKmnho/ejGJINmlVnpzzXlOf0Pu9+nQ== X-Received: by 2002:adf:d1c4:0:b0:230:7771:f618 with SMTP id b4-20020adfd1c4000000b002307771f618mr3872247wrd.203.1665943449596; Sun, 16 Oct 2022 11:04:09 -0700 (PDT) Received: from localhost.localdomain (cpc76482-cwma10-2-0-cust629.7-3.cable.virginm.net. [86.14.22.118]) by smtp.gmail.com with ESMTPSA id k5-20020a5d6d45000000b0022e57e66824sm7844181wri.99.2022.10.16.11.04.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 11:04:09 -0700 (PDT) From: Caleb Connolly To: caleb.connolly@linaro.org Cc: Luca Weiss , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 2/5] arm64: dts: qcom: sdm845-oneplus: enable rradc Date: Sun, 16 Oct 2022 19:03:26 +0100 Message-Id: <20221016180330.1912214-3-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221016180330.1912214-1-caleb.connolly@linaro.org> References: <20221016180330.1912214-1-caleb.connolly@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable the RRADC for the OnePlus 6. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 392461c29e76..be9db844e5a1 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -461,6 +461,10 @@ pinconf { }; }; +&pmi8998_rradc { + status = "okay"; +}; + &qupv3_id_1 { status = "okay"; }; From patchwork Sun Oct 16 18:03:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 13007984 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DC0CC43217 for ; Sun, 16 Oct 2022 18:04:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229783AbiJPSER (ORCPT ); Sun, 16 Oct 2022 14:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbiJPSEP (ORCPT ); Sun, 16 Oct 2022 14:04:15 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A885930F69 for ; Sun, 16 Oct 2022 11:04:13 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id m29-20020a05600c3b1d00b003c6bf423c71so10337132wms.0 for ; Sun, 16 Oct 2022 11:04:13 -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=R6neNdc+0nI2SGbRISwCUwwxWcdJ7orR9DX0HymKmW4=; b=JznrT9IUavHOaCBCtH1b96aXUbl6jNUxYJ9TZwRrc9jecSa3ImhV2RKzYfPVuhakjR CVXDDlOrSn81NeOftBXADH3XfVOWwxQtwDVUmqBO96oUYifnQ75IIyxuCBTQz+chFrTm GkTLE2+5TKPe7zjz19ZmEb1oYtGygccovcET+WrpXG/vUJGC/Ul27oYcjvG4GkL9G2Fq 5hI5yio79uYW/b5X8lXWJRvzqcZck+qc2gLO6BNQB4zN4wNYvrBhLi/viEIKE8Oc3FTD tqDmAYVuQHq7PQJMdTXCC/oDgUs1AWVRAGJmgsnn15a6jfevSy/ypD6NXFO4gWrrlPNU wfpQ== 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=R6neNdc+0nI2SGbRISwCUwwxWcdJ7orR9DX0HymKmW4=; b=EMBrg4XJUeXxar/FtiIGTM5Zunp4/NfqmQWfpQG/XxniVqC7sAL4YfgQGlx6Mklirq NNiK7N+1NTGKF0Ef6HFQl4UlAccgkTavCWd3xy0ufARiPMW1PueFZnIFaFsHeS317fpH U6s29zf8IxoTgssBBvOICEiEUFjLJU/GVoNjxQ/CTzXKZ0MVMuuEP4TUczSLQSqkh4qF 4MX8K/HVUQMg2fhh1xgkr07hkDKlFMlxF3Z77xu7BC8v6cbSXhSRsdD7nU345qcRIlp+ meh6/pOwWNUbNJAZwSLwTXVakgZow8cB5aFh+HuImjSLQdoP0Ki+OL3rKB9wQ6PnHxsP B4iQ== X-Gm-Message-State: ACrzQf28881jwUqK7GPqkcjl/6boI7Rx1YjgWHE94H2fs4AUJAIOTFor Dp6zAt52pPkqm6XZEFCoH9T/6g== X-Google-Smtp-Source: AMsMyM7Kxu06RGpeMyy5FKb2pZFNnkyI9W2Wm+q7t7tFDaByiCYFmyamiHjiYnfTWNWb7A0ZQpdH2A== X-Received: by 2002:a05:600c:1c16:b0:3c6:bb05:702c with SMTP id j22-20020a05600c1c1600b003c6bb05702cmr16447160wms.203.1665943451281; Sun, 16 Oct 2022 11:04:11 -0700 (PDT) Received: from localhost.localdomain (cpc76482-cwma10-2-0-cust629.7-3.cable.virginm.net. [86.14.22.118]) by smtp.gmail.com with ESMTPSA id k5-20020a5d6d45000000b0022e57e66824sm7844181wri.99.2022.10.16.11.04.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 11:04:10 -0700 (PDT) From: Caleb Connolly To: caleb.connolly@linaro.org Cc: Luca Weiss , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 3/5] arm64: dts: qcom: sdm845-db845c: enable rradc Date: Sun, 16 Oct 2022 19:03:27 +0100 Message-Id: <20221016180330.1912214-4-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221016180330.1912214-1-caleb.connolly@linaro.org> References: <20221016180330.1912214-1-caleb.connolly@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable the Round Robin ADC for the db845c. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index c6e2c571b452..e0ae43ceada5 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -649,6 +649,10 @@ led@5 { }; }; +&pmi8998_rradc { + status = "okay"; +}; + /* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { qi2s@22 { From patchwork Sun Oct 16 18:03:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 13007985 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66FFAC4167B for ; Sun, 16 Oct 2022 18:04:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229663AbiJPSES (ORCPT ); Sun, 16 Oct 2022 14:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbiJPSEQ (ORCPT ); Sun, 16 Oct 2022 14:04:16 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87CCD31344 for ; Sun, 16 Oct 2022 11:04:14 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id az22-20020a05600c601600b003c6b72797fdso8215182wmb.5 for ; Sun, 16 Oct 2022 11:04:14 -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=CUQWxA/bXjnsCwnVLrvcWlcPaVWJni5aHRkIh/uGrvo=; b=hci6ZTIS1brRYVoXZXPIxi3lnRCtaqnTCrzaU1c8V0cczKBLnGSK04dKK03tXf+0lP Fz9n0SOaqkEgeiWdMJEpJTkSQS9xSlLcBz7fbU4CUlQX+bUwrWnxmG6Glc1bnCQeN8WW FEl5ZN35dLJoEv7HBV7HU8KImkVFj6sgarsM//RfplDM+ywnZs4dJjjzglNxU901C791 p7e1D7qvgJIFjzUpnTCoxlv1u49IA9ZNt9oc0E60LJ5ubcyXJXClNrAXbO/dDn1rYH72 ioMdTWfyJvINMGeMg7D9kS+EtJVnDyIK7kCqMdd5OAhTjwkdQ/lt3ZkofqLYOLVyIRl7 T/8g== 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=CUQWxA/bXjnsCwnVLrvcWlcPaVWJni5aHRkIh/uGrvo=; b=k2d7V1QJsWUzPvXg7lGLXF7M4Xc339S3HhgNjnzbQ3n0DlX0pu9Kf0aD+N52tCYclp IvMlRQyW539lKwqrEQs7MTshHpOO+JSaVPz12kLCziHRkWg4xWiIb+TCf6HySkphd/ig iGOjLMo7P4YXTjLUnBkoLnr7kVewn2mMBsJ/YLhevyyd6Zj8nTI29BX7PWbFenhAmbeh dPXQfuXswRAt87w7iTYdp4hkoXhFyiXKDSS6wE9g1dU+F1lnU20i1eZ9aHc5teLB+jNl yG5Vz4yhuIrsa5wduFua/zr+1T6g97yQVXwdQcNzNjtx4xpPHWIz8nF2+ymAEkIDjF0f sMkw== X-Gm-Message-State: ACrzQf3/2tVW5Hf3QZ/y64SgFm/IBDmHZVmEmCNskJrvlWwnMlbQHbjf AuxciG/ZUEAoyXZ/sxHE1nHKGg== X-Google-Smtp-Source: AMsMyM4KNOKcTrknIq8Xtyt4e23JLOJttOgV1YXXgyoXsAGhKnBTPoJtDK/zoDzv6bmQEA2XLuKPqg== X-Received: by 2002:a05:600c:1d28:b0:3c6:f57d:9783 with SMTP id l40-20020a05600c1d2800b003c6f57d9783mr2016764wms.121.1665943453139; Sun, 16 Oct 2022 11:04:13 -0700 (PDT) Received: from localhost.localdomain (cpc76482-cwma10-2-0-cust629.7-3.cable.virginm.net. [86.14.22.118]) by smtp.gmail.com with ESMTPSA id k5-20020a5d6d45000000b0022e57e66824sm7844181wri.99.2022.10.16.11.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 11:04:12 -0700 (PDT) From: Caleb Connolly To: caleb.connolly@linaro.org Cc: Luca Weiss , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 4/5] arm64: dts: qcom: sdm845-xiaomi-beryllium: enable rradc Date: Sun, 16 Oct 2022 19:03:28 +0100 Message-Id: <20221016180330.1912214-5-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221016180330.1912214-1-caleb.connolly@linaro.org> References: <20221016180330.1912214-1-caleb.connolly@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable the PMI8998 RRADC. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts index 82c27f90d300..6228c1899e3a 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts @@ -336,6 +336,10 @@ resin { }; }; +&pmi8998_rradc { + status = "okay"; +}; + /* QUAT I2S Uses 1 I2S SD Line for audio on TAS2559/60 amplifiers */ &q6afedai { qi2s@22 { From patchwork Sun Oct 16 18:03:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 13007986 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E051C4167D for ; Sun, 16 Oct 2022 18:04:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229788AbiJPSET (ORCPT ); Sun, 16 Oct 2022 14:04:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbiJPSEQ (ORCPT ); Sun, 16 Oct 2022 14:04:16 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C412EF38 for ; Sun, 16 Oct 2022 11:04:15 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id r13so15114855wrj.11 for ; Sun, 16 Oct 2022 11:04:15 -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=Fe/M3BtJEx5biARpyDFVvoQN+eQ6J3tXBkH3EpL46Fs=; b=OWmXAT1iBdOq1G4kh+sUNBucMG35LEcXWnksatc5WMZAvIQUsJc2BXmBxahy+D9f2o 0oGMRFWKUjN1nhO+BIuCz7+F9XQM3AbFnxI9caj3RSNUeR4rMwXhw330PFGPPKLQYBfV Fofimy2BjmcOurmnm/+zx6l6QmMqIaTuobOGP5xI0IS7e4LNP5m4oi+CS+0XxeqpbCTb XiAxe7etrC/M4ncyGMgfITHhR0d6+o2rtRDuuBd0OhiVTXXGVOUgpPxZ1w0paaiDE1D6 H1DmSaE8RdKXyFG30v6X5aTqxRqFPINm8IHGGQg9dBwA/9+VqNP9qqjtAHKzvkYe1aPr LzGg== 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=Fe/M3BtJEx5biARpyDFVvoQN+eQ6J3tXBkH3EpL46Fs=; b=o82zIpK2oojo13TsMywUw5vTOgid7EgAS18f+dDauqHfAIZszo3Z4CSPjTsQgJFzeA VPNwmDEA7qTfN0eWZb12wG/kORfMORcxqbVKfFYeG5zvh2auWw0Xt1HNn7W/fz9j+N41 wyBx9kpvVguWe+7+4SoI29jnsl4DLqFBq4TgAVTcT8PkN7vnB2amHPTkpF7nsccYOO7y RmjzHW8ClOAxSN2z0HRjlSUlRLFsSpsDv16dQ241z5Rp1aataEhk/87C9PnluaUuOuwI YoZjfHhnHvZ2MlBgXzcQ1Ll49XkrYt6SzMVFTnZo2H1hdGKCVivxwiOZ+MeX77srJ9VO y7ew== X-Gm-Message-State: ACrzQf307OV/2jMRsnc6kFT4d2+FtiYMmoIYeKOje7C0ee4RJo2r4qBk /WOWafTFWk2VA1Y2WhRSxXXBoA== X-Google-Smtp-Source: AMsMyM7D2VyZf6FGxMkmjwXFUNqzT06DWpUbiiwUB6FTiShabEHWfkRENPFVN7pb2IlJG7gyyV/VMA== X-Received: by 2002:a05:6000:1e17:b0:22e:618f:b9d8 with SMTP id bj23-20020a0560001e1700b0022e618fb9d8mr4071288wrb.280.1665943455076; Sun, 16 Oct 2022 11:04:15 -0700 (PDT) Received: from localhost.localdomain (cpc76482-cwma10-2-0-cust629.7-3.cable.virginm.net. [86.14.22.118]) by smtp.gmail.com with ESMTPSA id k5-20020a5d6d45000000b0022e57e66824sm7844181wri.99.2022.10.16.11.04.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 11:04:14 -0700 (PDT) From: Caleb Connolly To: caleb.connolly@linaro.org Cc: Luca Weiss , Jami Kettunen , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 5/5] arm64: dts: qcom: msm8998-oneplus-common: enable RRADC Date: Sun, 16 Oct 2022 19:03:29 +0100 Message-Id: <20221016180330.1912214-6-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221016180330.1912214-1-caleb.connolly@linaro.org> References: <20221016180330.1912214-1-caleb.connolly@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Jami Kettunen Enable the Round Robin ADC for the OnePlus 5/5T. Signed-off-by: Jami Kettunen --- arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi index 62bda23791bb..5650bf5e604e 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi @@ -279,6 +279,10 @@ vol_keys_default: vol-keys-state { }; }; +&pmi8998_rradc { + status = "okay"; +}; + &qusb2phy { status = "okay";