From patchwork Wed Mar 9 21:00:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 549820 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 9E3BAC433F5 for ; Wed, 9 Mar 2022 21:00:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238303AbiCIVBi (ORCPT ); Wed, 9 Mar 2022 16:01:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238304AbiCIVBh (ORCPT ); Wed, 9 Mar 2022 16:01:37 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A3354F98 for ; Wed, 9 Mar 2022 13:00:36 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id bi12so7848318ejb.3 for ; Wed, 09 Mar 2022 13:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zozG4Oy5Pt0vWjsRDZ91928+qvWs4STBKU9M4pGg1h4=; b=hiaFscqfNthX5u8u5hIP2J6nGbojCaeIDru25jt2Jos0I26L1g1B9OXWMTb2HwD/AT qrwv4w8jz58HpATMm+50WRlKf7gGyRogIho7CYM+odqwxdUpYRCeOK5MEBNADz5OBO0t mE5kTXqs1I5MWRsK815CvlSVqLyZzNxnv3Y0gRusO1lyhMWuIPhhhIj1EzAipKLCOZ7u 3fljIXOihAUESa2nKXcauzX1T9SNNd5YOw9WsScX5CQMe3c5oIgrxPmhd9QZHjx/3A8X GQXCQSOIbthfgYELN3pgnhx5WPS+WjXx3AIbEalU2ELkpRCOHYAfGfG0tTz1xJAAX9qZ 74GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zozG4Oy5Pt0vWjsRDZ91928+qvWs4STBKU9M4pGg1h4=; b=HB9CDIiQtsrqoN7NcyieqTiD+5QtyIfXWseS2sfU3x4jttPRZAda4Ubl2eDy6kq0kb rA385HdUbF+ROV8wu95aU4f+u8MJjaOQAIYFViZNP0Sb9pTuVEUM71JBcZi4HrEhLUdt LWP3GAnlmvgVINnP0YQL/cvnBdg6+wDDHqWz/S80iU3LFa938Idc9q9jv8Ei4/Ix80Uc mRaGzb49SUQqyzCrdurH8gR/RXSXuTE8tgvA7+2Z+2rRgyQuWXV+Zgafs02GCY9xYBGx PVnWT3WP0wMFWhyxdxeu7BWO0riLu5xj+gC2bNY0DwHBN1tXueh3Dp+Pvd51Ux+rR0/K hYzw== X-Gm-Message-State: AOAM532wvTX2D3dTwSCBXO9KuLO6LzLVM37/X6pszE795DnCmsHQQ0el G3Z4EG3V+VHC2z2JyL8GFWOHbQ== X-Google-Smtp-Source: ABdhPJyYvcg4GbQsjDdgi3vP0gS33LBUjVeZzJW5ufYkEkS/C5awFHN9ageJk+p8FCPIApMr3MzySw== X-Received: by 2002:a17:906:a210:b0:6d5:9fa:11ce with SMTP id r16-20020a170906a21000b006d509fa11cemr1617726ejy.172.1646859635190; Wed, 09 Mar 2022 13:00:35 -0800 (PST) Received: from localhost.localdomain (cpc78119-cwma10-2-0-cust590.7-3.cable.virginm.net. [81.96.50.79]) by smtp.gmail.com with ESMTPSA id l26-20020a1709061c5a00b006da815e14e2sm1114743ejg.37.2022.03.09.13.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 13:00:34 -0800 (PST) From: Caleb Connolly To: caleb.connolly@linaro.org, Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Andy Gross , Bjorn Andersson , Lee Jones , Stephen Boyd , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: sumit.semwal@linaro.org, amit.pundir@linaro.org, john.stultz@linaro.org Subject: [PATCH v11 6/9] arm64: dts: qcom: pmi8998: add rradc node Date: Wed, 9 Mar 2022 21:00:11 +0000 Message-Id: <20220309210014.352267-7-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309210014.352267-1-caleb.connolly@linaro.org> References: <20220309210014.352267-1-caleb.connolly@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 0fef5f113f05..da10668c361d 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: rradc@4500 { + compatible = "qcom,pmi8998-rradc"; + reg = <0x4500>; + #io-channel-cells = <1>; + + status = "disabled"; + }; }; pmi8998_lsid1: pmic@3 {