Message ID | 20190112130649.23838-7-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5437091E for <patchwork-linux-amlogic@patchwork.kernel.org>; Sat, 12 Jan 2019 13:07:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43A8F292F8 for <patchwork-linux-amlogic@patchwork.kernel.org>; Sat, 12 Jan 2019 13:07:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37968295E7; Sat, 12 Jan 2019 13:07:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DBAC6292F8 for <patchwork-linux-amlogic@patchwork.kernel.org>; Sat, 12 Jan 2019 13:07:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xyHQ12Y9hsV8z7ga/HpJJrRFQZOJMwOxS/sMO+XIpLs=; b=mlPOHVWDxixhgr aixENY9h360P6SZG+KN/88/IAdhfELkkiVHf+QTVg+O1bAjzFJCgw+IpvESVp0kE0+zqPeU3YJRvK SJeAKMt9inmRXEpR46DDgiNhmY3t3g+EO/NlpIgt8Zm8pN/far9eFamu7oOX0KOs2G8lrqUov3GKM fPy0uaGPYd3svzDeh6CzVylbZXOXvZNIuKh9jEbhoufTTgRkwJykLl/V51td0crmvpo29PuVqyl/F ZTcjB6+BXyXcEUzHJDNfGEiO8hN6GStupCVjR/ozai3Rq4xjI0Pl7YGds2TH2WXJsuY67Yeks4ko6 nu1CI2Wc8KBoU5RgHdHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1giJ0v-0000Gm-Ba; Sat, 12 Jan 2019 13:07:49 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1giJ0A-0007t2-V5; Sat, 12 Jan 2019 13:07:09 +0000 Received: by mail-wr1-x441.google.com with SMTP id j2so18107043wrw.1; Sat, 12 Jan 2019 05:07:02 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=XHAyIX/toFB+9Ta7kl1IOzRCmFz0Mv8bQkAxb45dusY=; b=Bz418p6Jg7WkyPY9KXLFlpbta/vYzsjeaTLzeb6J4i3WYT0eNe4upQPNT76umfNpR1 DeAwnjp/b67tJOm8qsyWeuOSB+wRAvq8hMqqdFMgMBqOLY+wTuroaHo6bqJP23efwvqB YrBmogdcpn4pBaM9741EWTCjAoL/oCbBkEayibpnO24u/zuENoBynQSAKnMwuJ/DAd4P yEGj70Yql5oO0TfqgXogAZhz/LHPaAUToMxymnV+t1dNwwIjtAjtdnJUxhGrvEBJ2MTO Go0u58mnT9mqosC94SQKFk1v2+srJjE9jM6OiaQhosnfZGdckZssIHVnp482ySp2mts8 lOHg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=XHAyIX/toFB+9Ta7kl1IOzRCmFz0Mv8bQkAxb45dusY=; b=XHSA6CLx4/25irroMxYnei3lI25yJdhPMCTyvGAqlfRC3+OsdT12aQ+Tt4bp1m67/K gu0YazGTSKAMvmfOecBAuiTOQM/ra+XFC+VU6EUil6Y5+aHwFxXTBw47+MxQQiqKTrsw rvamafgQzuSjpujC7jUWGqW2JMzpcAvqEwF6hrsLK9+Fjv0Sp3FL3GQr5bLUFnwOt8cD 1Xbs8UCCum8FsMI0L0nK93dSvgfRNTJ8pla6PLLhijb05pSH3LtvxUd0zDnF34anh4z4 2eKu571isNAdQWiumhm2cUQVUgHK0+Uoz3yf8Bj8sDsi0vZWbsnyfPbx/H1d8kSc+TJR ijOA== X-Gm-Message-State: AJcUukc7ZqIxtwCNy6mXOd8UgGYgXActxDdidoOoHs1/KGC3ZmuvV6LY zhdk31NNYV7qV2SO6q570gq2cDLZ X-Google-Smtp-Source: ALg8bN4K4jHCkjSlK5KlzD08vGrljo6QkafYS6/Nb8v4bi9vW6rau54FGsZu+5ommDt4JWW/SS5ouw== X-Received: by 2002:adf:ce02:: with SMTP id p2mr18780598wrn.185.1547298421224; Sat, 12 Jan 2019 05:07:01 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD7329F008D685E3E728ED25E.dip0.t-ipconnect.de. [2003:dc:d732:9f00:8d68:5e3e:728e:d25e]) by smtp.googlemail.com with ESMTPSA id o5sm37804630wmg.25.2019.01.12.05.07.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Jan 2019 05:07:00 -0800 (PST) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 6/6] ARM: dts: meson8m2: mxiii-plus: add iio-hwmon for the chip temperature Date: Sat, 12 Jan 2019 14:06:49 +0100 Message-Id: <20190112130649.23838-7-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190112130649.23838-1-martin.blumenstingl@googlemail.com> References: <20190112130649.23838-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190112_050703_476302_A165C757 X-CRM114-Status: GOOD ( 10.35 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ARM: dts: meson: chip temperature (hwmon) support
|
expand
|
diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index 6ac02beb5fa7..18528101376b 100644 --- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts +++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts @@ -44,6 +44,11 @@ }; }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&saradc 8>; + }; + vcc_3v3: regulator-vcc3v3 { compatible = "regulator-fixed"; regulator-name = "VCC3V3";
SAR ADC enabled channel 8 can be used to measure the chip temperature. This can be made available to the hwmon subsystem by using iio-hwmon. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> --- arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 5 +++++ 1 file changed, 5 insertions(+)