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: 615446 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: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: 615445 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 {