Message ID | 20181028122629.10144-8-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-iio-owner@kernel.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 D75DF174F for <patchwork-linux-iio@patchwork.kernel.org>; Sun, 28 Oct 2018 12:26:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6FBE29603 for <patchwork-linux-iio@patchwork.kernel.org>; Sun, 28 Oct 2018 12:26:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB246299C6; Sun, 28 Oct 2018 12:26:50 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72D6B299E0 for <patchwork-linux-iio@patchwork.kernel.org>; Sun, 28 Oct 2018 12:26:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727573AbeJ1VLU (ORCPT <rfc822;patchwork-linux-iio@patchwork.kernel.org>); Sun, 28 Oct 2018 17:11:20 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33318 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727565AbeJ1VLT (ORCPT <rfc822;linux-iio@vger.kernel.org>); Sun, 28 Oct 2018 17:11:19 -0400 Received: by mail-wr1-f66.google.com with SMTP id u1-v6so5737853wrn.0; Sun, 28 Oct 2018 05:26:48 -0700 (PDT) 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=3J5GHlWtAlCs+VfsWg4QkmqLnd69uQtdQjrYYdsyxB4=; b=PfcyN/BOGV3BV2HlkQ47S5i9WmknSxc8hLWPK2RnCgMuZvJcsvQfBePWmi8CXka6LY 5hDmjH74u14hFDry0uL62qHXZnk3OXY7xytdNQ3SRvum04hGyYF8YcIqrmr+w/wCSSmF h1DXDOHjIl6X+0Qg0qJDDQ3k/0IMNR5ZazTQG9LHwUgDKvXATpUQycp3RHRfyHYoaJUU UZXLqmdZdck7QK5G+7lHbRrbk+K4MhnF7qbhf47+AUQr5DlVqDRC119rSlkcCzaj3MqM GP4ghlFa9lZIcOdvaqUSCNJoByCk1cPOg1iByoIKMy5Zh8H115p/0qNWKiFgLUzHE+dA PUAg== 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=3J5GHlWtAlCs+VfsWg4QkmqLnd69uQtdQjrYYdsyxB4=; b=I2OirUv2/YsSdi5xrKBl4Tl1lJ3sZn9GCEGmTtuNTtowscItSpFgU/X/NS08MsNli7 oAEc2a5yyamGM0soAvth1GtI12QzxNunAEPFrJ5PHBYdQLTa7lK9fKnQcGdM0XLFUKmx J61gbwik1ECedSIbeT9hxEOI9DefiGCPp9LC7lUuRzPM8YSo9pGtmLSbb0/uCmRuTeKT 5cLNwxqig7tqV24xz3Ew26YX9c3kOyMz42fFqrKiF4zeLPFSVWeOoxuNYskb+kam99+v kJ70u59WOZhUDyaplwiDyjFU6QgPZ4uowfy4BMVVbz9xLPRLLfVBoRtJ3YVR3hRaI0e8 MFRw== X-Gm-Message-State: AGRZ1gK6h3uaCb7zDmfa97ul2G2pyTcQ91eIpnzmBiYriYxsZmaOiyw1 NJYYzX4iqC7dzYwptWydHfzOuUuU X-Google-Smtp-Source: AJdET5chTPzwQ7WDx5/7UYEXfh4zhBaCFjzqcQf2WfY8geykRU/T0qvcVe8TGkbpA+YxrSFo6acFaw== X-Received: by 2002:adf:94a3:: with SMTP id 32-v6mr10587099wrr.98.1540729607918; Sun, 28 Oct 2018 05:26:47 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD7072200691979D1FB980407.dip0.t-ipconnect.de. [2003:dc:d707:2200:6919:79d1:fb98:407]) by smtp.googlemail.com with ESMTPSA id z185-v6sm19334091wmz.47.2018.10.28.05.26.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 05:26:47 -0700 (PDT) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, robh+dt@kernel.org, pmeerw@pmeerw.net, lars@metafoo.de, knaack.h@gmx.de, jic23@kernel.org Cc: khilman@baylibre.com, carlo@caione.org, Martin Blumenstingl <martin.blumenstingl@googlemail.com> Subject: [PATCH 7/7] ARM: dts: meson8m2: mxiii-plus: add iio-hwmon for the chip temperature Date: Sun, 28 Oct 2018 13:26:29 +0100 Message-Id: <20181028122629.10144-8-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181028122629.10144-1-martin.blumenstingl@googlemail.com> References: <20181028122629.10144-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: <linux-iio.vger.kernel.org> X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
meson-saradc: add chip temperature support
|
expand
|
diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index f5853610b20b..d1d3c828c039 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(+)