From patchwork Fri Oct 13 08:09:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13420339 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2B24CDB484 for ; Fri, 13 Oct 2023 08:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230051AbjJMIKU (ORCPT ); Fri, 13 Oct 2023 04:10:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230015AbjJMIKT (ORCPT ); Fri, 13 Oct 2023 04:10:19 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87CC0D8 for ; Fri, 13 Oct 2023 01:10:15 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-99357737980so297990866b.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=oq5pRTlZRevv69OEfd7SzFjrxjyrOJnQAnkY9fPDNo4loXQgYDECs7p+cAQLg+ciFa ohjGeWfWFoXnN1iSDdpfo4/DBDrKRz1RVWoSc96Ncgz69NO4iJcYIQCaetLa8MsuRrYB 4YWo/wK3FcYSmI9Nka28jtIXDq2mHcLZwmZZHa3fLpXe4ZQu3oIM9b5oEnXAyLRctSPL RiPWGxh+HKkQoVd6o5BW6XibRjPBb5UpBhLaUeQcQoNY1EKgzWaRIAVYaV0rheiFRDJO u3F/DYlxyMdXfRKEck+CrpUdnZId51LFee+83e2Jtd6f8kRxuRjXebG29xucBv8CBlYZ s/kQ== X-Gm-Message-State: AOJu0YxZm7pkBONmolefZha1vYGBLtPCQKiIFU/tkCBGwdTxgvOxNyYZ 1ljCYWt3erZ+5OrjrAv0NfwF/Q== X-Google-Smtp-Source: AGHT+IElyBa/M08l1OcsNaeLT3o4FcMgzP19oxx4R3SJSqBBmUcsZEoHvdxs+bocsEUyU4kW0WXBxA== 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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,