From patchwork Mon Jun 26 23:21:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 113155 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7823113vqr; Mon, 26 Jun 2023 16:33:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7dA65LkQU6eS4h3lSwWIyS/kt4+31j3gskUoTgNj3TYkq4FsTAM6D8K7Nc35MyIVIaY6gM X-Received: by 2002:a17:906:d54f:b0:988:a632:774a with SMTP id cr15-20020a170906d54f00b00988a632774amr24785603ejc.27.1687822419237; Mon, 26 Jun 2023 16:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687822419; cv=none; d=google.com; s=arc-20160816; b=mA8zv2Piy01P8u6igrstYRvHGHTQKIKZ6egnW7a7XHg3Dda9xeOA1UfH7aDxgXo49f W6ZFJBUDhp5P13wMHW9YQeaWByA/Z2GQ0TM6sa445Zc1IwQhq6MOxft0C8wf1gr/LlWk PF940obH5cKtd36sGQQyS7HhbMjfW7/cUWly0ZY9thsvbIKgZfNjVyA7ecDMI08zSqDi iQtrsX/2OI3X5vdHYZVJZS4uqAT03SwPs16pwSn1Wwxqf8uOE4CbKVKcFBL3JG/vglao 5tr4O5X4tigP9dofQqXMbrSlt+drqug5l4QBxDQV2al/uJdPTG7Ktdawx4KfiLaJHgA3 bVRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=dO36VoJ4ufjlnHaPl++WtOzPlb780JRUZU8+ra09/tE=; fh=GmxLxQ/iOdXCk7Zhc7dj9r+5XdiIJQpsrdPS+bxMb18=; b=htpXk/mQDYhvwrGFe/T3XSgUiIw1bofX2KSfuLINGart0RpXKVRFxgviqJizugXu+i IFvR9W2sjHnyJ+zCot3S1/wb1g5F5HgKIzIKQ6XzzF+XCXGB7z2237Tfy/0MTT73th2a XCV6Id588yWhyDgIgtuy/3VoYxQGH8irgfg2iMUHC8nlE6U0tBSq4tVBMtCnIL8n85Xr WjwmtiatAqsNH4Np1B0ylZe2dlmpzW/qlD6RJBSCRTKhI+V939hkV4W+6ce3AnqosDuY OHKMZGKT+6SLDEl6r4EZCluE9ikQFgtVlAlewD212yIq9TBOyqFvgFOrglRz1O/V15Pr ZNnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nYRqyHRp; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a1709064b0100b00991d97d8eb5si1293997eju.145.2023.06.26.16.33.15; Mon, 26 Jun 2023 16:33:39 -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=@linaro.org header.s=google header.b=nYRqyHRp; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbjFZXVR (ORCPT + 99 others); Mon, 26 Jun 2023 19:21:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjFZXVQ (ORCPT ); Mon, 26 Jun 2023 19:21:16 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 377FB173D for ; Mon, 26 Jun 2023 16:21:14 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4f954d78bf8so5467172e87.3 for ; Mon, 26 Jun 2023 16:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687821672; x=1690413672; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=dO36VoJ4ufjlnHaPl++WtOzPlb780JRUZU8+ra09/tE=; b=nYRqyHRpGzJRswEo8vcl7HO7FYib8wgFhtYbKfdisTPyAmJvw1KFYuwunq9Rw5geGp Af09E+TdKs7cpB3IYRKC0xDhdt+pJbcU8K2wCaMki/ahiqRLfahDQN4DU9oDd+sMDXDt VoafBAqm3jwPqBxa/x8oH10ArJAbsz7c9iIYD03R4+CF1Qiwf938m0lpnnFKHX7uxc6r 01Yu5IzI6oiOWZtifwmVo4hZ7ZLY8n4l88KaTTbPLLiy8re+j+RVI42kkqsfV4eolpwW gttInmU9czbrC1rM7OfxQQXnMgLwGTg72I41ubGSelais5ctjKXFWXW3R5JpnNpbigUM 1Tpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687821672; x=1690413672; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dO36VoJ4ufjlnHaPl++WtOzPlb780JRUZU8+ra09/tE=; b=gBpScCsoTsF4g58cxKT+eiL88y2h7up79f8ES3kOuwvxu/O9EMx9xhXYyvXdtGW1lx 0w9pwIiOlE3kEdYTLSI44PNIm2uOoPdpt8iNUcScas7VD+6nyfIQsFx+miuLKbGE4qvv 5jJc+m70pez3NSB0cXeAZaslAi/ZurLPAIaEE19tdxXqJe8sC5lDeXZ1e5sENcurnang 6KZiuCebcOlsdG/4t16981OWcluJGwu3cWjhywjK4XQgmMMMtTICYsvVqM3tAuxe+llU 9B5Zr1e7D3oraUm/K5yHwyqIooIJoI4E+XJLEYNiHW31MeTPUF7xmnt+T+PqctbNU/HO ZnvA== X-Gm-Message-State: AC+VfDxKoCbZvZI5/SzUXOuEPvQKAcS1YO/s3UByjIWp2fqvKOj7EZKW PDmoNMRMear8/y4uCp/JggrgUGPUpxOc2v95xkg= X-Received: by 2002:a05:6512:239b:b0:4f7:6685:2c5f with SMTP id c27-20020a056512239b00b004f766852c5fmr20894873lfv.61.1687821672352; Mon, 26 Jun 2023 16:21:12 -0700 (PDT) Received: from [192.168.1.101] (abyk179.neoplus.adsl.tpnet.pl. [83.9.30.179]) by smtp.gmail.com with ESMTPSA id q2-20020ac25a02000000b004f122a378d4sm1299719lfn.163.2023.06.26.16.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 16:21:11 -0700 (PDT) From: Konrad Dybcio Date: Tue, 27 Jun 2023 01:21:11 +0200 Subject: [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU MIME-Version: 1.0 Message-Id: <20230627-topic-adc-v1-1-c61581abffa3@linaro.org> X-B4-Tracking: v=1; b=H4sIAGYdmmQC/x2NQQqEMAxFryJZG7CVseBVxEWMmTEgVVoVoXh3w yzf531egSxJJUNfFUhyadYtGri6Al4o/gR1Ngbf+LbpfMBj25WRZkYngQJ3ROI+YP5EWXBKFHm xRzzX1cY9yVfvf2AYn+cFnrs4/XAAAAA= To: Andy Gross , Bjorn Andersson , Jonathan Cameron , Lars-Peter Clausen Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687821671; l=1130; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=UDlTetGfDyeyuMzIZP4r8qi9yHbpwzwUVVjytgB8zSI=; b=rvfyAS73qOUfM/FiI0ncZNcvwaf6MDTOH+GbJCQ59fq86JZs/Q+8f262deZ1YaO4lUmY3Q3fl gpQtWe6iqyGBNXgeug8S+KiyeDNyAdYJrpFAQ1Krr2PxNFvvlZBnPXI X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769810081069354481?= X-GMAIL-MSGID: =?utf-8?q?1769810081069354481?= Even though it existed in bindings for the longest time, ADC5_GPIO2_100K_PU was never assigned in the driver. Do so. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- drivers/iio/adc/qcom-spmi-adc5.c | 2 ++ 1 file changed, 2 insertions(+) --- base-commit: 60e7c4a25da68cd826719b685babbd23e73b85b0 change-id: 20230627-topic-adc-1e7a7c6aae15 Best regards, diff --git a/drivers/iio/adc/qcom-spmi-adc5.c b/drivers/iio/adc/qcom-spmi-adc5.c index 0a4fd3a46113..b6b612d733ff 100644 --- a/drivers/iio/adc/qcom-spmi-adc5.c +++ b/drivers/iio/adc/qcom-spmi-adc5.c @@ -555,6 +555,8 @@ static const struct adc5_channels adc5_chans_pmic[ADC5_MAX_CHANNEL] = { SCALE_HW_CALIB_PM5_SMB_TEMP) [ADC5_GPIO1_100K_PU] = ADC5_CHAN_TEMP("gpio1_100k_pu", 0, SCALE_HW_CALIB_THERM_100K_PULLUP) + [ADC5_GPIO2_100K_PU] = ADC5_CHAN_TEMP("gpio2_100k_pu", 0, + SCALE_HW_CALIB_THERM_100K_PULLUP) [ADC5_GPIO3_100K_PU] = ADC5_CHAN_TEMP("gpio3_100k_pu", 0, SCALE_HW_CALIB_THERM_100K_PULLUP) [ADC5_GPIO4_100K_PU] = ADC5_CHAN_TEMP("gpio4_100k_pu", 0,