From patchwork Mon Sep 24 22:13:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10612899 Return-Path: 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 C37D11390 for ; Mon, 24 Sep 2018 22:13:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4D82297C4 for ; Mon, 24 Sep 2018 22:13:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8939297F2; Mon, 24 Sep 2018 22:13:32 +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 559CE297C4 for ; Mon, 24 Sep 2018 22:13:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727589AbeIYERw (ORCPT ); Tue, 25 Sep 2018 00:17:52 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38098 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727586AbeIYERw (ORCPT ); Tue, 25 Sep 2018 00:17:52 -0400 Received: by mail-wr1-f67.google.com with SMTP id j8-v6so17499099wrw.5 for ; Mon, 24 Sep 2018 15:13:30 -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:mime-version :content-transfer-encoding; bh=WBCcW88aZhFsBtkezuMVxFzPZLqoPUskAwZNDVVbFOg=; b=BtyWtdHTg8VdEpA5Me0Ep8Kg1ng+PNk43HjVfXII0Nl523OpyQe5aroxyjtsWnDpP7 BtF/hurLILijdEiNtxPQv1s1ulA6v+mG3t9P4hOhp1h0O1OmTcqX0xULkz5jCzqy7U+4 LIuNwZV/2xoKMhBEMVgU0y1OxG6aC4oAKnU+ewq2oaNMqifS8nQkpWP2ObbR2FscA1uu uIfbOxCbIi1okpeJhCV9ZN3i8BXBGNCjLnbQ1+6nqu+w1FnAHoNw65HlpcfvbzpLQroD xgKWV44qNkWgsPZh6ZJD8Ua52Uj8+0OtF+9lrrlRVdm8XB6iOsllLHwkCxlF4BLxMPkY Ug+w== 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=WBCcW88aZhFsBtkezuMVxFzPZLqoPUskAwZNDVVbFOg=; b=X0Gf5dK4CvKyru6Ld4kyeDBSKJmhgt7nDSjW1IdJevbIJoja2Ltlvm2ZuEbKK97bhw GWkqQHMeIbSrLlHMfy1pUm1eWw05+FwRS4N+rr6+V2Yq7Xqa9yeOrJLC2UiV6QsdasLL Kby3sE1b68dZhaynXb2UAg4VIIvVFJXmz/IRbzOndCK9xaQ5A/RQsAr7n7aHjG6w1FPv QhNPNphQeiTXxg84e02pWR2kQF9fZhr0TQ9tKgUxe+e3yYODLgj/PpsbViuyfnYnYLF+ f14c/hcNyVe/EqCJfcYhwYU7JHTZDxOFRFYBLhW+Ppf1AghVsmYywVGfmZHs0D8wVdhF 5mVw== X-Gm-Message-State: ABuFfoiZfXGvtOOPq8UPto/5zkHBhs93OcE+JAvYA+ggS+7lb02rnn0m pPF7M9204Gtc5SkknqVcus4= X-Google-Smtp-Source: ACcGV62SE3sJthahTWbWn1R25MxvfX/UPf/bFLp/XoM+Ke1tMAuZFxXZFIizkrzDuLiNnKMmOJ2SZw== X-Received: by 2002:a5d:4d52:: with SMTP id a18-v6mr594521wru.40.1537827209268; Mon, 24 Sep 2018 15:13:29 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD74AC3003CB4EEA9EBE1F156.dip0.t-ipconnect.de. [2003:dc:d74a:c300:3cb4:eea9:ebe1:f156]) by smtp.googlemail.com with ESMTPSA id 139-v6sm464742wmp.4.2018.09.24.15.13.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Sep 2018 15:13:28 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-iio@vger.kernel.org Cc: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, Martin Blumenstingl Subject: [PATCH 0/2] meson-saradc: preparations for temperature sensor support Date: Tue, 25 Sep 2018 00:13:24 +0200 Message-Id: <20180924221326.2871-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is a follow-up of my previous series "meson-saradc: small code improvements" from [0]. I broke these smaller patches out of my big "add support for the chip's temperature sensor" patch to make that easier to review. That patch will also depend on a change to the clock controller's dt-bindings on Meson8, Meson8b and Meson8m2 - see my patch "dt-bindings: clock: meson8b: use the registers from the HHI syscon" from [1]. I can also post an RFC version of the actual temperature sensor patches if it makes the code-review of these smaller ones easier (so you see the "big picture"). Regards Martin [0] https://www.spinics.net/lists/linux-iio/msg40632.html [1] https://patchwork.kernel.org/patch/10539027/ Martin Blumenstingl (2): iio: adc: meson-saradc: do not use meson_sar_adc_iio_channels directly iio: adc: meson-saradc: use the address attribute from iio_chan_spec drivers/iio/adc/meson_saradc.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-)