From patchwork Wed Aug 8 19:13:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10560451 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 5D2B613BB for ; Wed, 8 Aug 2018 19:14:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 484572859A for ; Wed, 8 Aug 2018 19:14:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AE4928CD3; Wed, 8 Aug 2018 19:14:31 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 E106A2859A for ; Wed, 8 Aug 2018 19:14:30 +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: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:In-Reply-To:References: List-Owner; bh=/efXVG5gX3j+kbiCRucZj6OnMwXJDDMbSLCUODalaAM=; b=TWSjGac364W9t3 Grwxk40jSzQBLD9vm7k3hTq+5BFg84H55DGrbPyguVIpPso3FVD8Uh1/PbKlMH15kbLy99X5cMoOe NPAHJK2Ib1YNN2ikXKX0xvEjyIrRC+d8xTaqNWuWnLhJIoFMItdLNFN/Npzkjv8H6pZncLwDSAi46 HPoFi16QEpuRadob5RMyvP+kgwm1dd35OmQn77q7MaIZ/Bht+aZ0BKKNX17nSnllkUsUbGa3gyqWB QYcZDoVyQuhco2F5AUKkYjcWbxXiauZx63JEpHrLciM5Gy9Q2xo5bIe8kw1jFStkAe74u5fc9bxIe AV6uKbLIJOI+6P8jyZUw==; 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 1fnTuc-0006Xk-Je; Wed, 08 Aug 2018 19:14:26 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnTuZ-0006V6-6c for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2018 19:14:24 +0000 Received: by mail-pg1-x542.google.com with SMTP id a11-v6so1528334pgw.6 for ; Wed, 08 Aug 2018 12:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QMRWED+cKPB+pR2VngBwf6nTGoXWIYqIT5aRIpsJTSk=; b=KnVOKtw1gNhx9Eepq9czC/4K3n2KE9YfQpINHSFwxKeXCWrT7lbhG//XsOr14eG8kV b5i8mqcKF5SsRLvFIVF+Lh30EhnFsaZA5DpJ/oT2dJBGnHRnMLxdKsOYyiZR0+k1NmVZ EEWG38GwLD3jh/yz7K4lgVM5Vt5pWb1shEPPY= 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=QMRWED+cKPB+pR2VngBwf6nTGoXWIYqIT5aRIpsJTSk=; b=f1Viy0rJ7KaNTFm+xdhLipsOvfDy7Xst2cStwx1ar3OYypB+x0H/zHbSKlcuGlsfEo Imfj8Nbalm04kFSaTY65ORXfuUCpEAK82bthM7r/L/PhKeA84jPLTcQoPphn4lKLsefJ 7+0jovdUv0WA8aC88RrAEui3uLbq3FHFvI/HSrJc4pVLOvc06Fs/X+qJufAaORbITWIW RJeZGoR+qF+tok9/ze/yrulFJT9vU3RMOux3EdtjFpKaYnwOhlCr7CSOlGbv+Or9R3bF rornPSC52myB8TGdN1BDnJuQDJ1jRbZEzzsVaknd6A0PMPQ4bnEKSU4SJCg9fcGYJ67M Vf7A== X-Gm-Message-State: AOUpUlFrKLwFxxE1pD3AJGciprO4rdEuZsu1aPIPieAHEz3P0M/YrmPZ Z5287o3TPebLGp4gnODVAzgJTA== X-Google-Smtp-Source: AA+uWPxJaomB5ZFA1mnvEpEPPSNp4luGqUTUD2olKdbVAxQebsK8kVKVDY00bgZ9E9GZn/jxKcxCWQ== X-Received: by 2002:a62:571b:: with SMTP id l27-v6mr4232146pfb.29.1533755652121; Wed, 08 Aug 2018 12:14:12 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id f5-v6sm5431136pga.58.2018.08.08.12.14.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Aug 2018 12:14:11 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH 0/3] arm64: dts: qcom: pm8998: Add ADC node and die temperature channel Date: Wed, 8 Aug 2018 12:13:36 -0700 Message-Id: <20180808191339.16875-1-mka@chromium.org> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180808_121423_242274_40619AC4 X-CRM114-Status: GOOD ( 13.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Douglas Anderson , linux-arm-msm@vger.kernel.org, Siddartha Mohanadoss , linux-kernel@vger.kernel.org, Matthias Kaehlcke , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds the DT node for the QCOM SPMI PMIC5 ADC and a channel for the die temperature. The die temperature is going to be used by the temperature alarm driver (https://lore.kernel.org/patchwork/project/lkml/list/?series=361416). My understanding is that some of the ADC channels are/can be universally useful on devices with a pm8998, while the use of others is device specific (e.g. AMUX). Siddartha / QCA folks, are there other generally useful ADC channels that should be added here? The driver for the QCOM SPMI PMIC5 ADC landed in the 'testing' branch of the 'iio' tree: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?h=testing&id=2c909be15f45c96d3dc6a84e56a76e5c3c7a60ae (This series has a trivial conflict with the temp alarm series mentioned above, if desired I can rebase it on that, I wasn't sure whether it's a good idea to create a dependency on it) Matthias Kaehlcke (3): dt-bindings: iio: vadc: Fix documentation of 'reg' arm64: dts: qcom: pm8998: Add adc node arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC .../bindings/iio/adc/qcom,spmi-vadc.txt | 4 ++-- arch/arm64/boot/dts/qcom/pm8998.dtsi | 18 +++++++++++++++++- 2 files changed, 19 insertions(+), 3 deletions(-)