From patchwork Thu Sep 6 21:04:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10591055 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 331E214BD for ; Thu, 6 Sep 2018 21:05:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CF982B232 for ; Thu, 6 Sep 2018 21:05:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EE422B245; Thu, 6 Sep 2018 21:05:52 +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,RCVD_IN_DNSWL_NONE 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 A9FD52B232 for ; Thu, 6 Sep 2018 21:05:51 +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=3cabdjEUEdQt7WIK13R8holMwvUSdBG1YiCE/UOfPrQ=; b=PvAX/GQvpzHS3w YUvVjHoTRiiKQZcz4H+G4qoLMO3/rKSbTyudhy8537V4GtjE+tCqdTclmljV8z/h7dGSkKbjL6Ekq 9x+A6Bv5986S8s7CuyocaZno+KjMci/gshOcbuFHE8gL8hLD0hWeGqn7E9rGPec31DymJ8OkvTWcJ 3Vb61HaaLs7GzBIpKBU2DYBkQojsT9xsiVWYv53v2BTg/jA/mc6gX22ANYXMq8CgriGIAbzPinhOp KgUrvuKhQdBY8vcD9ROsoGSB5gHbSfZ+v6ZGEddguLF9yWHKg1piwW7YIaz7oACXtR5JFLU3TKphO vwT6DLQf0Yaq3/DhPGxw==; 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 1fy1TG-00047R-U5; Thu, 06 Sep 2018 21:05:46 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fy1TD-000448-QX for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2018 21:05:45 +0000 Received: by mail-pg1-x541.google.com with SMTP id l63-v6so5834734pga.7 for ; Thu, 06 Sep 2018 14:05:33 -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=9IJ8oLUZzM/xspKzJfPCWYqTM9r7WC/yYCvxNC2tgtg=; b=HCKpZE8zVHAbbskP1hNmWI/QEvTCCiszP3f9fGukwG3CWukhbgSD389x7OjyqkmRMo 8siXR+bmHGQiiRgVIVDhh43CrDk1gmm78RIAHul6V0M9fxH95RDgDBvsyU7WrdqdaKry 59i5mMkVytmDDgFps+GirGDLjWSf9kaRh9Euw= 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=9IJ8oLUZzM/xspKzJfPCWYqTM9r7WC/yYCvxNC2tgtg=; b=q9jbbF6MT/Yl4rex1aurkZYoyO+a/PNOKLQJwaXzrOC+y1Ubz3uzHRP2elu+CbOR40 cDPbbKiGb99uSIUhHyUZuBEjPKloDLQ6PMN7u6jzci9rbD9HytViVDAdbTUDXdj7SrMc RvxSU1zZogYWxPOGkwzaamgMm4qRouYd+Gh07K+5RwS5EnLAIzE2tft1OfZB+l/am705 piY4xWOnb86tmCtf6RT3FQpF0jsjU4RuhzAw4MHy5Ne0658w5QccCSDD1BYU7eP+9PUx t9JDzIwHqOPIz/UbFFgXpZaGF+HX4CBb+RZBSTUukRzLs4DBf/j7HIE4z1zXn9RSHecT Vicg== X-Gm-Message-State: APzg51AJkHVkuTErCGfjicbiPPls7wRtd+ufFUYFE/e6txRwag1aW0NT CHhsXL6BNPpnn61HeU6UNK4Y/hPBSTY= X-Google-Smtp-Source: ANB0VdbI3Lsnu+cVRX7GNfHK1IpmK2Wj2u2d+QI9CoVQaMDrreR2bxihyNuCNvawfVOfUz6OTQoSUQ== X-Received: by 2002:a63:1d47:: with SMTP id d7-v6mr4879932pgm.180.1536267932882; Thu, 06 Sep 2018 14:05:32 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id y4-v6sm8271288pfn.123.2018.09.06.14.05.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:05:32 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Subject: [PATCH v2 0/3] arm64: dts: qcom: pm8998: Add ADC node and die temperature channel Date: Thu, 6 Sep 2018 14:04:51 -0700 Message-Id: <20180906210454.247219-1-mka@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180906_140543_860006_7A0A9E0D X-CRM114-Status: GOOD ( 12.97 ) 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, linux-iio@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , 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=e13d757279bbc59776c8435fb94e54b5a58bdd0b 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 | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-)