Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1319039iog; Tue, 14 Jun 2022 03:51:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuTkOswiyTzP1lfcVYJLMxbkHGTLYwa1AtRoy/Vgdm+uz0CPHUdS+CkN0C0hV5plc4j2p1 X-Received: by 2002:a62:140c:0:b0:51b:bd14:6859 with SMTP id 12-20020a62140c000000b0051bbd146859mr4195263pfu.28.1655203882532; Tue, 14 Jun 2022 03:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655203882; cv=none; d=google.com; s=arc-20160816; b=RenjjB1tCy0Lpeci4UMhuR3b/XGLIDLSbpKX8rbnsfnAF9VNKNWBea/XTrUz2v4Epq gJkkVoJv8SsKmHZOzhWND+Rc3hILLE5U2xkSbp4nNa9qW+c4YaLq5zzJVDSPJXa4EB8H 33OBksIfnZ9wmqTi8pBvP7SRcI/4CvGiw6lpRfEm83eW6mWj4cdmCst9EmGVZAWUUt1Q VLx3mmQbrmUhlklz/3I/nmOuqRnXYQLWGf8hnL9EzYpx4iMhyTjcidwlkvR0IjtKFlUA M0MUONT+xXAwPbqqw+9E2S32FfX1QuZ59bJJRlCvoIH0SjIV4GTCTP6GQ5IgUDpJF+Tn tBLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=P/MSwbWZRgsZediCcAqH4QKTExNzRxqgQhjBw5MJV+o=; b=IDRNUk9UXaoWzfYxCGwZ9BXFtWyW8IE5FHvL7WwNmacEPGeIqZ+bzsAyy2Sn9rmDBL IJHAGj8csKPstJy1/Z8tTwRerezBFo3VyiL9K94u9+6BJ2hWAe9nWBBOPBjnFH4YUBh8 5DvJcpRCUSWLh4GGCcYqnQ8qrDIYn838RkIdAt1XQJyEP5Sil7rLFXnWTFp61zxpPKgG 1iHwQGyBOrIrg/SW3ORD9GLgtCDVYvuKbzsp88TmPjDlrf1EK3XrAe6Cr7svgPkG7esH p5j8QzC0dcuE25wYcwBTWyJFj3C2GVWVaSNOgRvgXze0fdwmatvuWbxnaiZUU+TSzc1c U4jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lNUD21J3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020a63ec49000000b003fc32fa2686si12225521pgj.177.2022.06.14.03.51.09; Tue, 14 Jun 2022 03:51:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lNUD21J3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355789AbiFNKgq (ORCPT + 99 others); Tue, 14 Jun 2022 06:36:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355785AbiFNKgk (ORCPT ); Tue, 14 Jun 2022 06:36:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6C4C49688; Tue, 14 Jun 2022 03:36:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E74BBB81853; Tue, 14 Jun 2022 10:36:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0F8AC3411B; Tue, 14 Jun 2022 10:36:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655202989; bh=rwLTNV8FtkV1nVo+pSkSat5md/4dvMxUVJY4Yqt7PS4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lNUD21J3oMZVICFV1A4umZXFSuY+r0Wbjc32YEh6ZLdW2Wben/pKmyyhjS6Eph/2/ OsZTd+oDTvOrTYlE+ppEMzYey9QEzsJ8NntbGuMguSthXA0PaRS1dKLzMs7hNuPttV hQhjK7yHq8a2Bo3rxKWoYw05J+gs/+mlzQnMxG4SMnSfCYtEZLXCsiMX50etKdLpTK 0X64Scn+oWJP8P6pvdtQQQns+1Ynb9Ukc3toxAFzzOa6o+GbZMRtulZm4UOXHWMQ74 ciUjOlEgG7WTKfOXj6AvMmKeGeJ9EcpDp/5s/wiI33xlz+/9idZqw6noxu6ubL6u35 R6HPMQENRNP4A== Date: Tue, 14 Jun 2022 11:45:39 +0100 From: Jonathan Cameron To: Caleb Connolly Cc: Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Lee Jones , Stephen Boyd , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Jami Kettunen , Sumit Semwal Subject: Re: [PATCH v14 04/10] dt-bindings: iio: adc: document qcom-spmi-rradc Message-ID: <20220614114539.45598cc3@jic23-huawei> In-Reply-To: <20220429220904.137297-5-caleb.connolly@linaro.org> References: <20220429220904.137297-1-caleb.connolly@linaro.org> <20220429220904.137297-5-caleb.connolly@linaro.org> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 Apr 2022 23:08:59 +0100 Caleb Connolly wrote: > Add dt-binding docs for the Qualcomm SPMI RRADC found in PMICs like > PMI8998 and PMI8994 > > Signed-off-by: Caleb Connolly Reviewed-by: Jonathan Cameron #to let Lee pick it up via mfd if he prefers. Thanks, Jonathan > --- > .../bindings/iio/adc/qcom,spmi-rradc.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/qcom,spmi-rradc.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-rradc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-rradc.yaml > new file mode 100644 > index 000000000000..c8cbfd3444be > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-rradc.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/qcom,spmi-rradc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm's SPMI PMIC Round Robin ADC > + > +maintainers: > + - Caleb Connolly > + > +description: | > + The Qualcomm SPMI Round Robin ADC (RRADC) provides interface to clients to > + read the voltage, current and temperature for supported peripherals such as > + the battery thermistor die temperature, charger temperature, USB and DC input > + voltage / current and battery ID resistor. > + > +properties: > + compatible: > + enum: > + - qcom,pmi8998-rradc > + - qcom,pm660-rradc > + > + reg: > + maxItems: 1 > + > + qcom,batt-id-delay-ms: > + description: Sets the hardware settling time for the battery ID resistor. > + enum: [0, 1, 4, 12, 20, 40, 60, 80] > + > + "#io-channel-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + pmic { > + #address-cells = <1>; > + #size-cells = <0>; > + > + pmic_rradc: adc@4500 { > + compatible = "qcom,pmi8998-rradc"; > + reg = <0x4500>; > + #io-channel-cells = <1>; > + }; > + };