Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp801932rdg; Fri, 13 Oct 2023 01:10:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2pqb3BiAIKCYfY8Eq0UlvwB4vcjtnygY5Uoq+x86zCzOygcU9p8KhRndBg1/28sPys8JL X-Received: by 2002:a9d:4d84:0:b0:6b9:1473:7fa3 with SMTP id u4-20020a9d4d84000000b006b914737fa3mr25664189otk.27.1697184632700; Fri, 13 Oct 2023 01:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697184632; cv=none; d=google.com; s=arc-20160816; b=mBwtTnjFFz84gEdOFjEdGi2dUpZj4AnljPiY5WLd9P/DLV0O8L0oqnq6ol0RKYUaKd mOkIxm8g9a2NjCHMDQvgjOJqMDF07b2HS+SsHgSSH3zwd06hUFQP6C5I+b7dx2SMZ2Ju tGf0zQpaywrgKCwwc9vFPwWjDQTzUTLAFDOVZrtYyOC48brMchwBq6PDLE2T4+NPDOcs RvzjAt7zD15N6jVxI1u3inGf1ZCSZJA2P44ItssS8MUvEaQ9921xyQS962j0iXBN241/ mLNQtySfubN98hzZH4sUVEUhIzHF7ENBGMpLlRBRfJGYuFoo48CJBZ8BvDMdQ4Eg7Umg wKDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=tpzwZ+RNeBqt/RBUQJuOWXGZTsvoBXF446IDuijvCXI=; fh=TaIMO6VqurOlFtSkuOdlPBpqoEGRWJJ8lInFKm6Jv5A=; b=aIYi0fjyZTgF54OqSvPQwkGXo5LeQunL7J/HTZ7lmrKPQ/ipl3gvNrzVlIpXzxZNQl qGdKWZggyK4MCNDgivHIwXkfECTtQ6IvRrmucw3G3W2jtcJnVS1c2u4h7eOEwOYc63Xq wwB0F5w2YgbnnEGfornRp5E0fJmlZpW5BLoELWvrsYobnovCjfmYpv9R7+4KGDBBIlZ0 zgfWj3aSYVc8wu2Rn5aV8ihMdNGDe1WeXGK1UguLlGo9gAS83fRUqO87QBFlWBKYLlZR sZMZfcA4EDQWEzGO+7gdGPY/6O5hwgI86JRQNcC+Xr8p5wFHX9Ppo6XgajyY9hMRg56M zzPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=kJ9Ekaoo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b6-20020a056a00114600b00690cd91cee7si16766818pfm.287.2023.10.13.01.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 01:10:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=kJ9Ekaoo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A5DFC81B4AC5; Fri, 13 Oct 2023 01:10:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229998AbjJMIKS (ORCPT + 99 others); Fri, 13 Oct 2023 04:10:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbjJMIKR (ORCPT ); Fri, 13 Oct 2023 04:10:17 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8309CC9 for ; Fri, 13 Oct 2023 01:10:15 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-99357737980so297990666b.2 for ; Fri, 13 Oct 2023 01:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1697184614; x=1697789414; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=tpzwZ+RNeBqt/RBUQJuOWXGZTsvoBXF446IDuijvCXI=; b=kJ9EkaoogYB8jyX6l1iFyAJ3s7hSB02WpYBbOOVQodugp1bR8SG1UF51YbKsnJvX7b DxcGX0qjJBxYr1s5M2tB50SFxwAso4qUntOoQ4/27Qs8Gjqq6346K/VhrPTR9SB3jzsB qFASt53uqQZJPw4GUjVDwYUU5U0OIkUeMHZz3OSj/C02vDesb/TDcJ7Z7wJaaCinTOAe DfX8tf2ff/GTDiTMrAdO2eBazQ0D1ovW2LBZds9d+fTV0Z9zm7AQc6CuRFJDQbmtwxFv IBtYDfNCzZfEsICROYZ2YW9Mg+8psjR5hn7I8UUgZShJImyA1OS4wehql9Te77ttTBGL kAAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697184614; x=1697789414; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tpzwZ+RNeBqt/RBUQJuOWXGZTsvoBXF446IDuijvCXI=; b=FZHoqmjKaGbSRIj/7e3lnoQqo4SYzMkQZgawV8g+KLPiWt46/49YbRBK0ZYJ+zmxei FgyGa/p2W/I5vtLz/ctuqmnrOUtR5EK53it08qkW5iO3R5ewK9cLCQAZ14FXuR3O8gXw ouQ0RGrk/jvWCjDLiZgDloiBUWmz5DmXFK0N+GIjwOyunf/uaMeAJQ1xLTCfT5sX5cMf pzlwz6NBpldSJxCcN13KY1uhe5eZfA2yPAHcQIaoJIFXbO2tCMJoKcVSFHA5QdlUzAmJ pxSeng3F7nT+89d7E1y9xBC2YfT1s0A0GjPau+Rg3ZqN65Xd8PkvxfQCJD7vqhhVeQOd Ef0Q== X-Gm-Message-State: AOJu0YzQ9UizG809UFC6eFdEnOcptBjIA9299VMH3tmgE+5LGMjkEB/X Yob4urM8n/c9Iiv34w39ku8HSQ== X-Received: by 2002:a17:906:311b:b0:9b0:169b:eedf with SMTP id 27-20020a170906311b00b009b0169beedfmr24945565ejx.7.1697184613862; Fri, 13 Oct 2023 01:10:13 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id q14-20020a170906360e00b009a5f1d1564dsm11910761ejb.126.2023.10.13.01.10.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 01:10:13 -0700 (PDT) From: Luca Weiss Subject: [PATCH 0/4] Add Fairphone 5 thermals (PMK7325, PM7250B, PM7325) Date: Fri, 13 Oct 2023 10:09:52 +0200 Message-Id: <20231013-fp5-thermals-v1-0-f14df01922e6@fairphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFD7KGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDA0Nj3bQCU92SjNSi3MScYl2jJGNDi2QLU8uUFBMloJaCotS0zAqwcdG xtbUA2B40Pl4AAAA= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 13 Oct 2023 01:10:28 -0700 (PDT) Configure the necessary components to register some thermal zones in Linux for the different thermistors found on the Fairphone 5. The names for the thermal zones and ADCs were taken from the downstream kernel but double checked against hardware schematics. Signed-off-by: Luca Weiss --- Luca Weiss (4): iio: adc: Add PM7325 PMIC7 ADC bindings arm64: dts: qcom: qcm6490-fairphone-fp5: Add PM7250B thermals arm64: dts: qcom: qcm6490-fairphone-fp5: Add PMK7325 thermals arm64: dts: qcom: qcm6490-fairphone-fp5: Add PM7325 thermals arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 221 +++++++++++++++++++++ include/dt-bindings/iio/qcom,spmi-adc7-pm7325.h | 69 +++++++ 2 files changed, 290 insertions(+) --- base-commit: 7c0d0c1272e82888aa01017818d00245d452b895 change-id: 20231013-fp5-thermals-2b318c859dd4 Best regards, -- Luca Weiss