From patchwork Fri May 26 21:50:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 686157 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 3238AC7EE33 for ; Fri, 26 May 2023 21:50:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237792AbjEZVu0 (ORCPT ); Fri, 26 May 2023 17:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235167AbjEZVuZ (ORCPT ); Fri, 26 May 2023 17:50:25 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79DE210A for ; Fri, 26 May 2023 14:50:23 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-309550d4f73so1949670f8f.1 for ; Fri, 26 May 2023 14:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685137822; x=1687729822; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=cQCHkaNjg7B8uU70YTMMcfxcQRpMvCAxEZvOsfZMRn4=; b=Ow3YxLP17Zqa29Aey3cY0pPBNGhz2PrLE8lnGicxk9K85oBJImSo4DfSThw5tUajqx qCYlEkTHxR2AX00OwK85JNe9P+Z6A5hvv60EriUg1QM5lPRz6XWPgp33rLTRkDRhOMLd /7dcYMusxjFfADqij18bJksICd1u6VbL6+7TK8lM4YCkoYXLmuckloELifDFuTorYruF 0V10ffwxffKs2YzJhKNO+iLiQllt6qbKD+YCwLhhhFWx1ym/7xKeS47d0a6p8HELy2Um I+Uzi9XwvuLOxP+O1N3CQsn4mfPlerQDvgWm74884IlnjFoQ4LT4Rr3ziTiBcb9FkBe4 SEtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685137822; x=1687729822; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cQCHkaNjg7B8uU70YTMMcfxcQRpMvCAxEZvOsfZMRn4=; b=kbs6rNk8+INq5WrdlrNgz9eKWGyh/qYQXQ74uiz3e2/xQZB8I4IWfNPmCGbOy+VGm9 0vukrPdXNvSbMF/VxqZOK3tBC+CCimuCOVt7Hc1NUWZ9T2jJAvsSu6peaj2+ZIvUDoaR VIdkSN9uyF2MncrJKUzDDitghWH52/kv5e9bjQ856NpkV3VXOuC2dwRCAkA40Q6uJ7Lq 6Aqsd90fZ2cPN+XCIJXhqL7Bj+6i/SHW3KfZstVPngbrrD4VykggzMVLnMkublPG4zgW w8q2pNQuAQGikTn9A645joDu6ReJFk+NzPzXaDvt1OO4x3mpeJD4kA+I2+q4EFV3Uvh9 DU+g== X-Gm-Message-State: AC+VfDzc8pFAZQWkmYNih7QDzwwtq0+pwuQOHTUv6NIIkabvf68BoPSM 8jreWpBtZz0fExQZjFNTxM6PDmPGZmXPAWzgxGJcIg== X-Google-Smtp-Source: ACHHUZ5JI8azDWbtYJ5p/awvoWr/R01yB85YkSVPgTFvz6NU3+xhvAiDCkkooqKdhQorP5zEjTg7Ow== X-Received: by 2002:adf:f990:0:b0:2ff:801b:dec6 with SMTP id f16-20020adff990000000b002ff801bdec6mr209626wrr.20.1685137822090; Fri, 26 May 2023 14:50:22 -0700 (PDT) Received: from lion.localdomain (cpc76484-cwma10-2-0-cust274.7-3.cable.virginm.net. [82.31.201.19]) by smtp.gmail.com with ESMTPSA id u4-20020adfdd44000000b003063176ef09sm6294314wrm.6.2023.05.26.14.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 14:50:21 -0700 (PDT) From: Caleb Connolly Date: Fri, 26 May 2023 22:50:20 +0100 Subject: [PATCH v2 1/5] arm64: dts: qcom: pmi8998: enable rradc by default MIME-Version: 1.0 Message-Id: <20230524-pmi8998-charger-dts-v2-1-2a5c77d2ff0c@linaro.org> References: <20230524-pmi8998-charger-dts-v2-0-2a5c77d2ff0c@linaro.org> In-Reply-To: <20230524-pmi8998-charger-dts-v2-0-2a5c77d2ff0c@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Caleb Connolly X-Mailer: b4 0.13-dev-46309 X-Developer-Signature: v=1; a=openpgp-sha256; l=2853; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=KQMlmNGA0rqIPBYDI45x978bAqVpLcrpgsv3EKXfkS0=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBkcSmcDxBSLRfUW/nw/+6z2OglwYoSWL5PwjlKA /LpjdCjXu+JAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZHEpnAAKCRAFgzErGV9k tqy0D/9h6+4PRGuk6ftIFfe39FKKryOb7re0FJdc+6hycJ6u4X+7u2pIFfdwFXfDGTG1O6mfeJ7 nkXVFDm4epPjVOwLVjKKfGLX1ffwhm3/OL3yvDjn2XoHN0IsXJ7ynU2AGF0SDowAhXZQUgjjMLm /VUMC8ICmJpOGdjMcQJfpcdrA632bEjTi1ngR8FH8YCH2taAF0oGz7TqLYkKqLNIO2/HyZocY+U fvlCfbAdw6hgD4JXtdiilc6ZSSGwfK79EIKi6j8Ypkxnq2fmMsTP62Lh5az0LjYY19wDtFbfaiR mHO4wIHLBVpKw4bsDEpsQIJlk9pytcT8MT9QRS2DEN+JctoTZ9O2+o/uvq1V3DvHwzU4Xyh9AA4 aapMQWYIpZMeKxen5w0HmhB0PCsuGgsjsoGceND11A4vCPT6tedZ+nHDI9PUpfR5R4SQ9bUJjV7 sgz75di6E7luAtRKFuSMATQQikDHXGXhMjJEkxIUal13aLWCbgj9qUYKCOLnKdJ6TPiNnTfAjv3 rumzG8o3YVZrX8sfaBPaS5mx1k6Gh3At1rIcdj+0BbgGikcH9kb+Lj8Cx9LbMX/qrS80tDfUJSY vXUg6lDDgGz3x9VIlgnT0VnZ6ZHFHWvGolzhI4eafXjtlHV+BNFe3tgxxTGPCXntBvWAOvjGnCr SjLirpTUZziZIQQ== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There is no need for the RRADC to be disabled by default, lets just enable it by default and not clutter up DT. Acked-by: Konrad Dybcio Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 2 -- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ---- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 4 ---- 5 files changed, 18 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi index 062d56c42385..68e634f8212c 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi @@ -279,10 +279,6 @@ vol_keys_default: vol-keys-state { }; }; -&pmi8998_rradc { - status = "okay"; -}; - &qusb2phy { status = "okay"; diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi index ffe587f281d8..be6f60bfc26c 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -23,8 +23,6 @@ pmi8998_rradc: adc@4500 { compatible = "qcom,pmi8998-rradc"; reg = <0x4500>; #io-channel-cells = <1>; - - status = "disabled"; }; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index e14fe9bbb386..66087af02d74 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -649,10 +649,6 @@ led@5 { }; }; -&pmi8998_rradc { - status = "okay"; -}; - /* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { dai@22 { diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 5c384345c05d..55ee8dcf27c3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -480,10 +480,6 @@ pinconf { }; }; -&pmi8998_rradc { - status = "okay"; -}; - &q6afedai { qi2s@22 { reg = <22>; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi index 5ed975cc6ecb..1915643f1c49 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi @@ -346,10 +346,6 @@ &pm8998_resin { status = "okay"; }; -&pmi8998_rradc { - status = "okay"; -}; - /* QUAT I2S Uses 1 I2S SD Line for audio on TAS2559/60 amplifiers */ &q6afedai { dai@22 {