From patchwork Wed Mar 16 14:23:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 551959 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 7A484C3527D for ; Wed, 16 Mar 2022 14:24:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243640AbiCPOZp (ORCPT ); Wed, 16 Mar 2022 10:25:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358056AbiCPOZL (ORCPT ); Wed, 16 Mar 2022 10:25:11 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 679C82A728 for ; Wed, 16 Mar 2022 07:23:53 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id bi12so4575538ejb.3 for ; Wed, 16 Mar 2022 07:23:53 -0700 (PDT) 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=RbjMwbGNcb6c7RugdkdNCGXYneVvcDAeDIhPykZ6vgz7dqzrC5/Ym5DOMhYh/UhIsT u6mfVhyX/RYSV3NuKNzBF2aUeAj8gl2qBxyjZFYacHuQ+FuzgLkEJY+eZiTmiLp7SpTW eUkYmArUZQboS36zotOggDfw8PRGNus05l6GEWCFgwu1m44P4yNH5ZZsCKAM9xQKdfaH dPG3U8x4I7VA0EyBiclyh2jf8QDe/AvJYfVJK1nngKpgP/o+dFbc5oYDd0HOEX7lY74F 2MtOflM3sc6kMwnzY/44PM3LamZK8HkgcbKquL4XVO0iDh4KS3eyoPNerzNn/GA6J8d4 Db9Q== 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=uvcznznqngCou1yNfKsMar3UdGEEluZbozLvO11B/imfvri0GDGh6bGM3fCV+CsN/u AtDolN2K7eIlpq18WIzuEJPUNdlB/FHvgktPeomgciCqtjQNJfllbT9PTJ5AfyMVzauo xvw2aLXBIWroUeSGl0g4ncLmbv0uLeKkgbcJkUD7BuoyLsIRNR+eIlnMbKJDCAvJdUTB jqw6QkbkvBVFWAVedrdIxlGNR9TkKoJsV1f2ozMJr/cDn0niOODcDNxxa6ZVnmF9KgXP WXMAkEPmqGvQBwCWXGmXYFrvXmQfEb4J/3yY8JthUxGLuJDk+3STsEzMXLLt8x2Pgrdu lEng== X-Gm-Message-State: AOAM532U9QsIQ40Jtxo8MkxCCnGjRVLyTvVWfDL6MCivQDwUxUVwGZZX O9Cy2ra8kwXwR1xD9j3HnI5vEg== X-Google-Smtp-Source: ABdhPJzkmnfQv+KGzD/5H6vEZs5TCSzFF2d+13jj+C/PyFd6SVmkfLGA5pGkLGVyzCJ3CktKRNSAEw== X-Received: by 2002:a17:906:53c3:b0:6cf:742d:84de with SMTP id p3-20020a17090653c300b006cf742d84demr196982ejo.576.1647440631994; Wed, 16 Mar 2022 07:23:51 -0700 (PDT) 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 kw3-20020a170907770300b006b2511ea97dsm952263ejc.42.2022.03.16.07.23.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 07:23:51 -0700 (PDT) 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 v12 6/9] arm64: dts: qcom: pmi8998: add rradc node Date: Wed, 16 Mar 2022 14:23:10 +0000 Message-Id: <20220316142313.92371-7-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220316142313.92371-1-caleb.connolly@linaro.org> References: <20220316142313.92371-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 {