From patchwork Thu Nov 18 14:12:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Boger X-Patchwork-Id: 12627155 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EEF7C4332F for ; Thu, 18 Nov 2021 14:13:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0912261107 for ; Thu, 18 Nov 2021 14:13:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232820AbhKROQB (ORCPT ); Thu, 18 Nov 2021 09:16:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232816AbhKROQB (ORCPT ); Thu, 18 Nov 2021 09:16:01 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2926C061764 for ; Thu, 18 Nov 2021 06:13:00 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id y26so26615577lfa.11 for ; Thu, 18 Nov 2021 06:13:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wirenboard-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/ZLSBMSvQ7dJDOk6e1Mx89OYCP5iH5hZWG5YrIJUvVs=; b=Q0jp+Xq/7805elOfY/7qi9pN8dkRYSzSNlvQekc4sAQLG6S32Fai3oQMAbRYi/S+Ze Q4irm3DLIfCxh69p1knnhKOxMl6UHPUACEsXD73Lz9/HsU+/bRLd2s0K98x7q/LYbfH/ hX4gmXI1ObqPwFrQ8Eb7EMubNqMg8ugfEEv2yvFOh6TvKbVzrakFwxDgA4IsEFBx6I79 HhBy4slxLJJNH8RFXThN5cJknqEfbGGQYO2m8/JyJTl7Imz3Ib7LpYV9zZR7ISsTMd5q lRTk9+CE+uLnFflVHwcT3r44epUk+fugM25p/fmySOTLScUYwvhijzR50jL1Q1Fh93Se xYMg== 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=/ZLSBMSvQ7dJDOk6e1Mx89OYCP5iH5hZWG5YrIJUvVs=; b=3wsB9dX7+gfNE2wlEPGRs0PXN8yAEqffHsw8VG2S062GIITOh2EbgaJ9gp6xyHg0VP 3Hih2XeHLBKRlXhUSkK5Gb9VnEK7yuEAVXTaYR9pUZCJrZC447uJcPjEreDYAhXD8YQw 04IbSAbJ87CmDBIGB1UfdZZ03ajrHcdTFsemsyrC7/EGTLjkVqKrVhXrZyLMv6znrOEH aULnZToJcQXILPOJF/lKPiSWST9sm4Bb6+lqesC9eJxLN9KWxZo/gRJuRdYriryeHodY 9hrqsLZ2BOKtVwnntfTzIk4FcDmcwXEtktrHa+S2MsvsuNvjQfbS1Gk6FqRqv7U7v2l6 cngQ== X-Gm-Message-State: AOAM533307rRDekeippUCd69xYQctqIXeWA/quTHS72yj0MjcWtNlI5A q/DlCykBbPFHwBOWOy9IOmYXb0lihK6+CA== X-Google-Smtp-Source: ABdhPJz9vlEmw1/O2Nr3qDyeD0f0a4jF0ReUmezuDcpfWjpAwwTkluE4z+LBsrs2jyZizP5IC6lO+g== X-Received: by 2002:a05:6512:3403:: with SMTP id i3mr25675413lfr.413.1637244778901; Thu, 18 Nov 2021 06:12:58 -0800 (PST) Received: from boger-laptop.lan (81.5.99.121.dhcp.mipt-telecom.ru. [81.5.99.121]) by smtp.gmail.com with ESMTPSA id s15sm193634lfp.252.2021.11.18.06.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 06:12:58 -0800 (PST) From: Evgeny Boger To: linux-iio@vger.kernel.org Cc: Evgeny Boger , devicetree@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Chen-Yu Tsai , Jernej Skrabec , Maxime Ripard , Quentin Schulz , linux-sunxi@lists.linux.dev Subject: [PATCH 2/2] dt-bindings: iio: adc: document TS voltage in AXP PMICs Date: Thu, 18 Nov 2021 17:12:33 +0300 Message-Id: <20211118141233.247907-3-boger@wirenboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211118141233.247907-1-boger@wirenboard.com> References: <20211118141233.247907-1-boger@wirenboard.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Most AXPxxx-based reference designs place a 10k NTC thermistor on a TS pin. axp20x IIO driver now report the voltage of this pin via additional IIO channel. Add new "ts_v" channel to the channel description. Signed-off-by: Evgeny Boger Acked-by: Rob Herring Reviewed-by: Quentin Schulz Reviewed-by: Quentin Schulz --- .../devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml index e759a5da708d..d6d3d8590171 100644 --- a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml @@ -27,6 +27,7 @@ description: | 8 | batt_v 9 | batt_chrg_i 10 | batt_dischrg_i + 11 | ts_v AXP22x ------ @@ -34,6 +35,7 @@ description: | 1 | batt_v 2 | batt_chrg_i 3 | batt_dischrg_i + 4 | ts_v AXP813 ------ @@ -42,6 +44,7 @@ description: | 2 | batt_v 3 | batt_chrg_i 4 | batt_dischrg_i + 5 | ts_v properties: