Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3592135rwl; Sat, 7 Jan 2023 02:30:54 -0800 (PST) X-Google-Smtp-Source: AMrXdXuSHS0xu+A3xP2pzq5UA4aLzLpZs0G6TjYr+jHZdqLi45LJw7eyn2iUKvKFSIjM+8INFn22 X-Received: by 2002:a17:907:8a16:b0:7c1:458b:a947 with SMTP id sc22-20020a1709078a1600b007c1458ba947mr77652498ejc.26.1673087453910; Sat, 07 Jan 2023 02:30:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673087453; cv=none; d=google.com; s=arc-20160816; b=sFNbGTA7BFe/zep+PCzuGxWa5XTFGMOVdPRoQdBF9LHwko4ZqrnRQCpvZPm2n7bm6U XNplkD4rrPX3Jma5fNEfCtbXbEmjDJDPXH0V/f3s8chodZEmVCONoQqFmTagjAH9KfTi 2BbE9YRyv4oF5gWZnJTnh4DqTkFGorVeO0BQQJpoUkAZpAsJFYggkKD62IqlR6bmzzgP g4KPg6zkHh16k6LjV1Usgqnh/wrrPbP7PWnnnFlCjgEqpFCJuT/R4J/67d9x5yQ6R9aM RVXKzyx62McOBoQP3EbT33GP5K5Wp8MuXm/gZz8NYbDlGE3Zz8H+vJOfBiNc9PEY1FeE 6a+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9PznVjfd3B/ZmrH40OQITBZTOBnAxAksocBkNKDAfKY=; b=umicoKYoUyoSPB8wI/YvJ7x9wub+VP2y2ts+Ff3gFxzX9GMUFXuHzPAaz0I3q4/sEI ItyyHU3SMph32s6+hp+U9T4sXgTGYcKB5ix/75Dz4e+A2zK4Rsu8FQnK8Y+3l0xqVxoC RZpoL5vq7hQj+iCX72hP7EsaJhQLjWD0vk++72D9TcSDWvG0qgR7CazaLJes3Zptfpkd mcArylAMqyQbl5c2HTA7uqxeasd0haD59I4DI+qNDtKzvKYRBxu1UTTRH3skYeF2gZpu r2xm9YgFev+7vsqqkZBqg4+DAOAcH8Tpvk/qvZ4bLbEzVBCxoAEkJIUWu6S9apB/ISfj 4iHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IzYijjzt; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id co11-20020a0564020c0b00b0048c2d2f962dsi3781625edb.323.2023.01.07.02.30.40; Sat, 07 Jan 2023 02:30:53 -0800 (PST) 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=IzYijjzt; 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 S230299AbjAGKVW (ORCPT + 57 others); Sat, 7 Jan 2023 05:21:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230360AbjAGKVR (ORCPT ); Sat, 7 Jan 2023 05:21:17 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09CDA3C0EA for ; Sat, 7 Jan 2023 02:21:15 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id bq39so5544025lfb.0 for ; Sat, 07 Jan 2023 02:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9PznVjfd3B/ZmrH40OQITBZTOBnAxAksocBkNKDAfKY=; b=IzYijjztQ/k7BxPIpYTpfFtRhIcYe4oVXWjVXwgRfqcJM3Q/DOajytwc5ZK9sK9WVK GS1jhCONErzWS7uvcr5bCcUihxra7OyJo7iSh+edOM3JSO2FQYRTI9h3hrqTjqeBrk+W m9PNQPZ8rXEhNT5+GwHLLeuTrDeD6rC2yzGlHxxXyjdlZ4+YSqc7DeFp5vygscj5qfJN ot00PWvjtxENUGlv8rHnGOT+A/9sj/UFU925pb3F3tVDf335/hAKkYsY1fgNSUcQouxX AoYABrR/IUNLpm4e9SV32tW3tP/OVnjTa4x34HQa7pzj5Aav36lKDIA5NV3TpWD6VgBR gLRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9PznVjfd3B/ZmrH40OQITBZTOBnAxAksocBkNKDAfKY=; b=FNVKvEXDL3903AEVHdxfZmSIh6g97wwAyCFOSDBCR7XmFDpLzln/av82n2uqSL8mYn mxiYdCWYHk8yIDMDimBUrsf1yWll9FVPTK62673fDEo+VhHvDt2q5kUoclAojg8KMoq5 OQCVL3D3ZNk2GtAUkNCuoBJCN2BCjIBPLERG3naSkxi5yfX4gwBYH52zhqw6vnoMqQeu pXoFtpsO5KX9meI+2JaiGX1odeoDTaG91BYyHd4CnEzn/eODt2mH5eTPZdoqa4EXmnat LSkKHT45NPfka5RG493eKKGr+aKcDCq2Ehqx26vohfKN5fbhkjaOc/vwKxEZXIpbpe93 Be5A== X-Gm-Message-State: AFqh2krm9Ilw3Gr4AJ/8gkzkRuwakKvo9P2cLBAEKagwCXuav1RIW4Ge jhy1+gm8wKZT0IwflgMbZlIzOQ== X-Received: by 2002:a05:6512:3901:b0:4a4:68b7:f892 with SMTP id a1-20020a056512390100b004a468b7f892mr19676009lfu.54.1673086873397; Sat, 07 Jan 2023 02:21:13 -0800 (PST) Received: from [192.168.1.101] (abxi45.neoplus.adsl.tpnet.pl. [83.9.2.45]) by smtp.gmail.com with ESMTPSA id c18-20020a196552000000b004b567e1f8e5sm528300lfj.125.2023.01.07.02.21.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Jan 2023 02:21:13 -0800 (PST) Message-ID: Date: Sat, 7 Jan 2023 11:21:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 2/2] arm64: dts: qcom: pm7250b: Add BAT_ID vadc channel Content-Language: en-US To: Luca Weiss , Andy Gross , Bjorn Andersson , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230106-pm7250b-bat_id-v1-0-82ca8f2db741@fairphone.com> <20230106-pm7250b-bat_id-v1-2-82ca8f2db741@fairphone.com> From: Konrad Dybcio In-Reply-To: <20230106-pm7250b-bat_id-v1-2-82ca8f2db741@fairphone.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 6.01.2023 16:39, Luca Weiss wrote: > Add a node describing the ADC5_BAT_ID_100K_PU channel with the > properties taken from downstream kernel. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/pm7250b.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dts/qcom/pm7250b.dtsi > index 61f7a6345150..d709d955a2f5 100644 > --- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi > +++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi > @@ -110,6 +110,14 @@ adc-chan@1e { > label = "chg_mid"; > }; > > + adc-chan@4b { > + reg = ; > + qcom,hw-settle-time = <200>; > + qcom,pre-scaling = <1 1>; > + qcom,ratiometric; > + label = "bat_id"; > + }; > + > adc-chan@83 { > reg = ; > qcom,pre-scaling = <1 3>; >