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: 615511 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 36AD2C433FE for ; Sun, 16 Oct 2022 18:04:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229784AbiJPSER (ORCPT ); Sun, 16 Oct 2022 14:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbiJPSEP (ORCPT ); Sun, 16 Oct 2022 14:04:15 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E62C2F384 for ; Sun, 16 Oct 2022 11:04:11 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id bu30so15134024wrb.8 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=O8S3gBYmsQF0Eon9hvEr7/rvuv0X5jk1lYwW4DJwGWM/DCp2QXgjJvJ9RBME4MtNgD UVyA0AZbMbHkkEIKKcvZzsXRmHM2LpX56bWY/oASHtCVgmP5Whct7kFBU5vAtBC6eDR7 uPQVYyGQfdoNNr9gvx/0P32kY9OxhOpxjrx4g3/0wyzoLcYirdaV3JPOoDfpz6Og9bPa KEtPwxRFxrk4sCcvIDiNuyBITaJtsERl+4aR7BTOyCQ52euN/l43Z2H3klVIDgZkJAT4 ++wJRfUR/ieJj7xInCXnbyaFIU5Xc7CW3Xj7rTG2j91Gfm3hc2iQKIL7gNuwuy37VQOv ojoQ== X-Gm-Message-State: ACrzQf12NbKhRvn7hDJA999X+liO3/CaQKYE9LdvsEojGz8XINI6t03c c5lvDpUV3AoxUF2n3B+AUPif3w== 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: devicetree@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: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: 615510 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 5CA1BC43217 for ; Sun, 16 Oct 2022 18:04:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229790AbiJPSET (ORCPT ); Sun, 16 Oct 2022 14:04:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbiJPSEP (ORCPT ); Sun, 16 Oct 2022 14:04:15 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85C562FFE7 for ; Sun, 16 Oct 2022 11:04:14 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id bg9-20020a05600c3c8900b003bf249616b0so8220030wmb.3 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=U4M2ZgVhpGHYaDQZ+EPyOrwlvHDLyT6WqeJAUJhK3gXGXSEthzfIQCkbopdVThTm4o KHHh76fS6ZOKmzVVoPRc/mDOTyl1FPSfqooIjlZhmaJXp8roT9TYLBIlwDnEwnSVncmG 60Wijlp+1/T2TjX2U4cvh5X69OlDyhL2tcqywG+eTM9YySc/cCqpDhvHSERcW9Rv3WIj BRp4zERJX59nO7DeSwjXeDY7owMaWmjDC/uG6ZseLphmq7G181rJ4r8g1kjMB0/YGmZI U4qG1Yq6R35wG+qlfK4IKpXwj4am+oAjkT5LyBZ7EJKfy0+qcN/qpUWtpL+z3qXnxaoI yE0A== X-Gm-Message-State: ACrzQf1orQZ2ukQ7AI4cf7JWgouRKGwuIcdxAoycTF8CPQ3yod/ud2Zz /vA0BnD2tDpcZP/YyN/kypaQiw== 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: devicetree@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 {