Message ID | 20190118225227.6516-7-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | a6c94928261a307002c4f8f3c0875c4a655a3a50 |
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 717BC13B4 for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 18 Jan 2019 22:54:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60E95289EC for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 18 Jan 2019 22:54:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55189304B7; Fri, 18 Jan 2019 22:54:08 +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 EC08B289EC for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 18 Jan 2019 22:54:07 +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=NaVBfw3NH2Q6O3EZU7JWmqNTbl7yHlKEMY1CKUFSz7Q=; b=V8tbpSkgaAlkt7 FvF8MAaDoZX+KWgBsT54Lg6UN02fF+IG7kAJYLacH9BVH/Mc+UTgqLBcVSLhFsZcKl7lrWHVq5/Gh vt7gTXRZYhP38xX1XgW8wVq/vIXchavJIoED6DaklCZ12p2lDK1F0vzRONSACDWzODJK4751PIKE8 iM+5rewUMzGZep2Jxa3wAeLfHpySOPG2Vva91XiQ0AQPM0b3sm3XmiqHtIJ4zfL06qmIc7MzLMMqx ScyquiaXv9WKcly3RTk+QqC4QQClnAez/9wHC02dls00tvZyd9AYsf1aRZh8UB28zVU/mHv9CGrLU 661KkmXCXQhRcafrv7Hg==; 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 1gkd1a-0001mL-Du; Fri, 18 Jan 2019 22:54:06 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkd0b-0000pt-Cy; Fri, 18 Jan 2019 22:53:10 +0000 Received: by mail-wm1-x344.google.com with SMTP id y8so5916185wmi.4; Fri, 18 Jan 2019 14:53:04 -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=6l6WolcewijNZ7C3qoRDiIawTtYi7pkKh2E+h6KjBjU=; b=HL+pGmWDAVhAT1PB2aUZ8XgfmbJHy70tti9LHkfD4OsKNxWEOiN3jLbw5z8txIZH6Z DV9IvPL+1MfzcsMyTMejp4MydpgoNQKHMZd4+Ad26AtCJNNTBOzI2lRd/nczVwyp40Db g2jqFz9VAbEj9z6Pp5xdWRsIMjXG9xC66zycUK1BPLX1PP3qalJDhXjl2hyitEpJAF0h RcNqjAp5/e0Z77p/Otg6XRN1F21kCsRAgLf00jl2BMiLgBTGdJAMheoQV3zKZ2j0Of5a SRyDa4qkiDKXm0T9tNZTogEI8YMLlCVFwZsNbCqMyQ773zIuZC03XLivgQmp0LGOGSJD cqsA== 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=6l6WolcewijNZ7C3qoRDiIawTtYi7pkKh2E+h6KjBjU=; b=Fa+ibocNJWp6IHMOKXDtqymThnjIWk5FHmLNJinaDgSRjMWAJFVSz/A1XtpQDr5nEz C5y49alSeKEIUXNxjzkayPaLRAkC7TvgWXBQHw/DrfHk4U+WMJyhwlRhW9aEoSS9MIHd TfKDeGIk4xbRjYpksJ50sDZ6kXANshZ2K7nrqbZW/pexZIYNtSAcdGUCshqOatyClRJi SFrOsegUGhoOEpmz3YqlvJ4fuvVRslL1yABRXB8Unod/UxpZBO6XDK4GU8Z0R/PNCa4A H5mGsU6IyWioBSzzUQHJ/96i/02xG4f5LLLRVR+eqfggaNFnNEHFVgcvss1xLZR2zdVZ 9GDw== X-Gm-Message-State: AJcUukftDhwuzR2p6ej9t3A/tJLRs76QKtzhWJ5kY4nC7UTwEDuLK6ir iz6PpBqyzMbMIAc8S/HpAKAYx/0V X-Google-Smtp-Source: ALg8bN77H2e9JWrslAM3lXtLXmX98Pb1y2gXqef1vDYVPhEZ/qIQTlZCbnUdKnhtyy242R4P5cHKgg== X-Received: by 2002:a1c:410b:: with SMTP id o11mr17324158wma.109.1547851983053; Fri, 18 Jan 2019 14:53:03 -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.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 14:53:02 -0800 (PST) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH v2 6/7] ARM: dts: meson8b: odroidc1: add iio-hwmon for the chip temperature Date: Fri, 18 Jan 2019 23:52:26 +0100 Message-Id: <20190118225227.6516-7-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_145306_014513_371B8124 X-CRM114-Status: GOOD ( 10.30 ) 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-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 0f0a46ddf3ff..8c83590810a8 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -118,6 +118,11 @@ 1800000 1>; }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&saradc 8>; + }; + vcc_1v8: regulator-vcc-1v8 { /* * RICHTEK RT9179 configured for a fixed output voltage of
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-odroidc1.dts | 5 +++++ 1 file changed, 5 insertions(+)