Message ID | 20190118225227.6516-6-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 1a4f28ab2556deacd34b925bf419432a59670af6 |
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 43D1813B4 for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 18 Jan 2019 22:54:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FF8E289EC for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 18 Jan 2019 22:54:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FF82308EA; Fri, 18 Jan 2019 22:54:03 +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 C1E7D289EC for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 18 Jan 2019 22:54:02 +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=OgXficcnMKI0/c/aTlDa0KuFz8em7W/Ud2HL3K71xaI=; b=cIEtxEY97XdRXW pdF2W0QPb7qYENhxG1jw27kva7q7Hr/t/uhP0J3a63BA73KfVSJlNjmuPjDJT+9ETSuhjKgywj3Ha Xu1FqQubEikAw+tf2CcfDtPZtG8u+ZVDUuBu0Y5HPhh+ZMP7H49XWmJq7Uw3zGDoU6O5EjW6fulWy kj2EA+voFLFFrnlDWlz60getUfJC52TSf1Xz2BpIhW+VCjZhsywfiA4wQe0ljpZqNZSSZAkmo6+jV tWDCbpzQuisec2kftmmCh/MhBhvy0DfFwEuCMx5hAGTcfrkWeXAIX5fDe0R7qr9/NlRROpPgID8AF ClABm+eSg8kbo0l/aCsQ==; 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 1gkd1T-0001gq-Id; Fri, 18 Jan 2019 22:53:59 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkd0Z-0000ov-Kx; Fri, 18 Jan 2019 22:53:08 +0000 Received: by mail-wm1-x341.google.com with SMTP id y185so1969013wmd.1; Fri, 18 Jan 2019 14:53:03 -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=tvVOVw+uJ/NYlsQPCS926U6L3ZI+t9KgIAVNoiuYO3Q=; b=nvZkz3AiE1dxyyclBHPE2lr0GIAQR0H2GjEGwnDKSgGwzmCvjXvYDYeUETqPUKA1ka 0c52ZkAPQ+3ssNomHuSjyV/MWfu95fTB2RIY0Zt7ZLxW2SgU4J9w+9ALpyJctevmLziG Ptn/4YTTq1ziOetiIRm2SmuWuseqAy/eJPGrtZiua+CgF7uTOCKhI7VcCLjTQHFW63zh 2K8F9TzA6eeIW+1sAnSEdtisNjWJgqcGtkDAYw+CqC7MmWJEIg6UU+RlJu/DVEgMisLx 13Aq0/kVZwz0GncCbkXYxrf9awbqCeA0/5a3yY0DvuM3Rf9mx+2vVrSZFAVKmnRbqSr0 dryA== 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=tvVOVw+uJ/NYlsQPCS926U6L3ZI+t9KgIAVNoiuYO3Q=; b=Ya/HwVtUQsFaNhcq0gn4nYKmXbWSa0TAp3+AHni11rzt6KqND8uP8pN7Ky9x+MRBQQ N32bUDJWawtZgK1rYJCMo8iS42ZFRN5FhcY/yets5Xq+jkKPCRYh0BfQNMG0g/8uOHNy +onngLKfEhtqRE2KkD6cGtANetlAYukcgwRZMDn7tKCY1ATBVvk6gVjpe2DA2MV+HL3k SOhHErZqYciNvBUfeFtmLz+djwV8pzWPn7wP3RCE5vAfMVDhxkZlbi8VOAw32KYBsgu1 R3TuXTW+ZCmRt0k2laSVvAGOzRqOmBRcGLqxlwIe60EJLfgNtY+VtQyZQ/5zpfiXSXJw y6rA== X-Gm-Message-State: AJcUukd0ZOQl8nhPN64dS68bsO2J6HRzwkuZ7LXn56UsVg0hxtEVtfld UaD9zXjy3O1FK1iScZeNgfrvSDuK X-Google-Smtp-Source: ALg8bN6up0q3vhV1gscILKcvjXn2DcWjvO6ZrLKaLxu54MUOLJeIujFcYcYsmQCUs6W9JWvlipdznQ== X-Received: by 2002:a7b:c142:: with SMTP id z2mr17908657wmi.102.1547851981905; Fri, 18 Jan 2019 14:53:01 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD73A810039E290CB771389D7.dip0.t-ipconnect.de. [2003:dc:d73a:8100:39e2:90cb:7713:89d7]) by smtp.googlemail.com with ESMTPSA id x186sm51197352wmg.41.2019.01.18.14.53.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 14:53:01 -0800 (PST) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH v2 5/7] ARM: dts: meson8b: ec100: add iio-hwmon for the chip temperature Date: Fri, 18 Jan 2019 23:52:25 +0100 Message-Id: <20190118225227.6516-6-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118225227.6516-1-martin.blumenstingl@googlemail.com> References: <20190118225227.6516-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-20190118_145304_085202_5DDDE955 X-CRM114-Status: GOOD ( 10.40 ) 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/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index d50fc2f60fa3..cba0006e2de0 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -64,6 +64,11 @@ timeout-ms = <20000>; }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&saradc 8>; + }; + leds { compatible = "gpio-leds";
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/meson8b-ec100.dts | 5 +++++ 1 file changed, 5 insertions(+)