Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4356002pxu; Mon, 21 Dec 2020 10:18:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1Ga1U9ALhJoCNMJOXUScRLlnrUM4996c4sIMZ5K+sxPyHOknCjEg+bT3zCRugem3MqHqJ X-Received: by 2002:a17:906:410e:: with SMTP id j14mr16532521ejk.253.1608574707740; Mon, 21 Dec 2020 10:18:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608574707; cv=none; d=google.com; s=arc-20160816; b=W5ogVLHeCfD7T32TeE13xR/brzA7StwshEaAMgi3XTzk9eMzHbI9NmHNRA85JG6+Fa YPh8l/3bM93uu5MLzubF+hCGWlG0QyX34qqjsbGT9FsgndnNS9MWc+SkLzz4tfBNo9lo iRmKsyfaUIb3FksnajT/zTW/eHdC8V049ER49k1rl9bJ1z/Xr0naqn64QQXz2pXEzgza q0J1HpWtzvDPEEEfLcfqYNbEGJuCAWAdveLJaftMhq+pYn6yLp1bvL9RCwsbtKgGMBZ6 aM2AT1MIR30wiflBp5flTIXIFLVwopitvjeWUMPeBmzZknDXZnHkKGDeaqi0Gbk1gUxi 6w6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GQbcSVOsPCGaFVLHXPexgbeoL6ycThesvgfDmyuAMdM=; b=ryvYD7yIeBfzAMulYUQC0dQiSW+YOJX6/9t1lsglCAynpO8k0HH0ILdq3vhuWatG5o 9CN5/rPQkZNlL/BTSu5rjv0F+oVY/M1dDWlLL+QDj7d9CoxXXaFogrVZ8J2zdejEiXwF aXUKeiPjcF4jiwPrNkaovl/n25M5A+3Y3x/uGTl0PppkteW7hzoQflSrNyqJIuiSpIoX rj4Tlw6kmgR8XdhODjO6f94Bl6TGRsZJr/7WyIcQpPGB+qEHKkSw+hEKzfuTSV28HLhY ps3Yx4UXcDrAgmTvHGZA3Tyxr221Cpk2m+CfHDfVPvhIYeVnsmlA0mE3bhZfOq76ZFF4 i/tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=TjtUeUUL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id de12si10197335edb.421.2020.12.21.10.18.05; Mon, 21 Dec 2020 10:18:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=TjtUeUUL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726144AbgLUSOU (ORCPT + 99 others); Mon, 21 Dec 2020 13:14:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725852AbgLUSOT (ORCPT ); Mon, 21 Dec 2020 13:14:19 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E41D9C0613D6 for ; Mon, 21 Dec 2020 10:13:38 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id k10so10726719wmi.3 for ; Mon, 21 Dec 2020 10:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GQbcSVOsPCGaFVLHXPexgbeoL6ycThesvgfDmyuAMdM=; b=TjtUeUUL8XFB8w6WM2SKsvg2aJrSoj73Ps+COjP65bpxXKmf+Iux57nUTE5ck/el4E DVge4nfCSgjZxjUaztJ0Ly+friOlMb3hp8+9F5BK7Kee6kWndbcgvy4f6mtWVNdYZdw9 k9kzHYOUDppHyaJeUpmxnqDbYbmixx9+pqkq5fVjzIaHAa5zbG0cnHrkKUZH+j/1ydUt j4VeC8GKqaG3uwyWxW6I03yqLRSsbBJn5qyVE1KogmAme0rDftJpZJK5X542UCE7/Vlp hcgXskk9u0+Awtr7QAkIMsOWZpx28nTHsWDEgbMeQ+pXx82T8VDw4ndM0/nGnt4+SaB7 oD9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GQbcSVOsPCGaFVLHXPexgbeoL6ycThesvgfDmyuAMdM=; b=MU1F4jwl9ib+sYlLxpnp4453BIK5un0ikzjnx9dhx6xQ0ySJzI2YAa4g96i/EFNLpp hlxwc3cyZ+jOrsxG1MbCXc3/Fv5CxGfIM5hhiGYVJ2EnYCzGtDrZ5Hf8pw63AbueDOpy gV6rVnzHo5ZeRe6aJKloaSPL3vsHAT7GN7ZYU6Z18GYI1VpVsh4YAokj5+e+5UrZ6/BY r8GBgVkgzkzgzv4rVw/zNgThSveUX4IHjIPjecFhOCKuQt+VoZt4JuffnSZDfXytVwOz DOOAdyhtzIeIi9Kinl72PN899SzLkrVJOTQp4+3OxkmTtFM8HSgdLUNPvejUTqRSEKOm w0Hg== X-Gm-Message-State: AOAM5314v68bEKYuC9sbO1G1DOrbOQ1SVVvqID5L1nZK/bCB7FGcz9hR Cjs6r5z+hU+l1vKIQp330Oo= X-Received: by 2002:a1c:7d88:: with SMTP id y130mr17483165wmc.158.1608574417702; Mon, 21 Dec 2020 10:13:37 -0800 (PST) Received: from localhost.localdomain (p200300f137019000428d5cfffeb99db8.dip0.t-ipconnect.de. [2003:f1:3701:9000:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id m11sm23434936wmi.16.2020.12.21.10.13.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 10:13:37 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, narmstrong@baylibre.com, Martin Blumenstingl Subject: [PATCH 0/5] Thermal zone configuration for Meson8/Meson8b/Meson8m2 Date: Mon, 21 Dec 2020 19:13:01 +0100 Message-Id: <20201221181306.904272-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds the thermal zone configuration on Meson8/Meson8b/Meson8m2 SoCs. The thermal sensor reading is taken from SAR ADC. With "generic-adc-thermal" it is then used to configure the thermal zone. CPU and GPU frequencies can both be managed. The vendor kernel also manages the number of active GPU pixel processor cores. This is not supported yet so we skip it. Martin Blumenstingl (5): ARM: dts: meson: move iio-hwmon for the SoC temperature to meson.dtsi ARM: dts: meson: add the ADC thermal sensor to meson.dtsi ARM: dts: meson8: add the thermal-zones with cooling configuration ARM: dts: meson8b: add the thermal-zones with cooling configuration ARM: multi_v7_defconfig: Enable support for the ADC thermal sensor arch/arm/boot/dts/meson.dtsi | 12 +++++ arch/arm/boot/dts/meson8.dtsi | 54 +++++++++++++++++++++++ arch/arm/boot/dts/meson8b-ec100.dts | 5 --- arch/arm/boot/dts/meson8b-mxq.dts | 5 --- arch/arm/boot/dts/meson8b-odroidc1.dts | 5 --- arch/arm/boot/dts/meson8b.dtsi | 54 +++++++++++++++++++++++ arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 5 --- arch/arm/configs/multi_v7_defconfig | 1 + 8 files changed, 121 insertions(+), 20 deletions(-) -- 2.29.2