From patchwork Thu Oct 4 00:14:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10625413 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 949C515A7 for ; Thu, 4 Oct 2018 00:14:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8627928D7D for ; Thu, 4 Oct 2018 00:14:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A66228D86; Thu, 4 Oct 2018 00:14:56 +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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 8741E28D7D for ; Thu, 4 Oct 2018 00:14:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727353AbeJDHFc (ORCPT ); Thu, 4 Oct 2018 03:05:32 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42239 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727218AbeJDHFb (ORCPT ); Thu, 4 Oct 2018 03:05:31 -0400 Received: by mail-pf1-f195.google.com with SMTP id f26-v6so2298035pfn.9 for ; Wed, 03 Oct 2018 17:14:51 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZWduqTwgwfDOeaimfj42x9KLb8S33udAqWz+FCqhHPI=; b=c08M7pIYGsdlWg/bsb5YM6DuU7bpR4psBC/6eivru0ecvIjESBZJBMpsibhDZr4+2q gzJPNqWi6q1trMfwzEbw9I4AtuuUCCMoX7AiDnrQhU0FLpanOxxFQi7rGyAwzLYEYtMt b1Mwmvyik2CR52CvKucFkP1swOE9JCH8Bb0k0= 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=ZWduqTwgwfDOeaimfj42x9KLb8S33udAqWz+FCqhHPI=; b=n7ln2HxsOnkvYHPLL1Byx/gUJEByg+FI1y3mYhIHrVD48uGxzJ8ptl7uZpY+z34dHj lR5icSqudojQD3nEjz9oeZB8jg5dHJwNWsn+hB3/N0p0tvvwSvm8ZwbU2db4e9j6EYlc gdIEHcDQ9jWiVoFYdOo7m9Vkf8rGf9WgTu7DTn3ep+dR2QvJJka5twB6HCQn7CvJDhxM DxUco9dDYqk88s6g0nu0KAMr9HlSy4w0r3ucJvj0n60SbLHV4RatZdrC7e2M60+TUj5s AJJf2Dk8KMDHYJfJtuTfH2+veBieni8Zbe/ir6ec8Q153Z2i4/AaZI17ZWHyIJFSI8pt bfew== X-Gm-Message-State: ABuFfohmIqwcew4lawlnYg2zpKTQtMwAD+g4TBV0K0gF/QRBzc12ld4a BeQ64trRDNKWL5vhq4k+GaWYYQ== X-Google-Smtp-Source: ACcGV60Ewj5cp/mqZg2GRKq9uUotjhOdrB+SndlJSo/g0YolMS2bnXLLuSEAbq56Z5AycWmn7IE3aQ== X-Received: by 2002:a62:2845:: with SMTP id o66-v6mr4028595pfo.17.1538612091007; Wed, 03 Oct 2018 17:14:51 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id b81-v6sm6497051pfm.96.2018.10.03.17.14.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Oct 2018 17:14:50 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke Subject: [PATCH v5 1/2] dt-bindings: iio: vadc: Update example to include unit address for node 'usb-id-nopull' Date: Wed, 3 Oct 2018 17:14:31 -0700 Message-Id: <20181004001432.21218-2-mka@chromium.org> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog In-Reply-To: <20181004001432.21218-1-mka@chromium.org> References: <20181004001432.21218-1-mka@chromium.org> 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 The node has a reg property, therefore its name should include a unit address. Also change the name from 'usb_id_nopull' to 'usb-id-nopull' to follow DT conventions. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v4: - patch added to the series --- Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt index d0c188e5c922..ff7aa5038ba6 100644 --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt @@ -112,7 +112,7 @@ Example: io-channel-ranges; /* Channel node */ - usb_id_nopull { + usb-id-nopull@VADC_LR_MUX10_USB_ID { reg = ; qcom,decimation = <512>; qcom,ratiometric; From patchwork Thu Oct 4 00:14:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10625415 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 B6E0814BD for ; Thu, 4 Oct 2018 00:14:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4BA328D7B for ; Thu, 4 Oct 2018 00:14:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98EEE28D7D; Thu, 4 Oct 2018 00:14:56 +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,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 3BD2B28D7B for ; Thu, 4 Oct 2018 00:14:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727370AbeJDHFd (ORCPT ); Thu, 4 Oct 2018 03:05:33 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46159 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727221AbeJDHFc (ORCPT ); Thu, 4 Oct 2018 03:05:32 -0400 Received: by mail-pg1-f195.google.com with SMTP id a5-v6so2263327pgv.13 for ; Wed, 03 Oct 2018 17:14:52 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=yjCdwjVblOuE0rbT1WEw8RU8kvqJNXEgtd9ixVw2O8s=; b=CG40vsk2jHN/5EW7l4QPN9k6bINw8c4I8NNFrbiDNAXdaJFE9fuNcT/WU3YlHOZ/b4 ipl4yrrTlBiSKXKCEUOKBOkckIEu0BwU6sqTOeTqU2uERJ8J5ST9msAatvuD+Al4brLb Zjq9Run5INNRkLehPJ3g0cxVIpa0HesUbHoHE= 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=yjCdwjVblOuE0rbT1WEw8RU8kvqJNXEgtd9ixVw2O8s=; b=r4YN+MJZdKR3ubHQnwrUj7Hx56FRjfwLzAHRXfCAsgqFQsLFRp0MNvCY2YaYhmhLeZ gomhzmizx3IEnKXU1cOgezeGwopQ4Iu9cXFJgutWtpfxhkPaHWvkSgN8+mGolK/Hewt4 L55BzJsEEOwfxjnblfwf7GzeG86J4qI2vavCDIEAVdJ7j7ukbk1t3jZy5tpAZnWYnmWK isZQ22qctpzeLZJeG8fROzWqSUf00FrCwyyQtw6wE33zr3U1wKxkieeCk4SOVmnfpRhH ZUS3NYmlHW0p8XyZ3Q1TMJI++tiUs+qKR3vfdCvfmpnLlKnwx143PF4e1VvBORM5Gak5 hhcg== X-Gm-Message-State: ABuFfojWtMKRiBffzM2oUoysQqNbrKCW8THsuLmEyl3O6aoCs6DqrJD6 F32ofBqUXZHusAXLLjeMyyIEMg== X-Google-Smtp-Source: ACcGV61QBotVraPgPIgkRYWRv1nu0MxtJ3WouaoppIHAvFb/pBQhzR6vNre4r5vOVSrx1Zx+dxSFUg== X-Received: by 2002:a62:5a83:: with SMTP id o125-v6mr4064370pfb.117.1538612092133; Wed, 03 Oct 2018 17:14:52 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id b81-v6sm6497051pfm.96.2018.10.03.17.14.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Oct 2018 17:14:51 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke Subject: [PATCH v5 2/2] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC Date: Wed, 3 Oct 2018 17:14:32 -0700 Message-Id: <20181004001432.21218-3-mka@chromium.org> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog In-Reply-To: <20181004001432.21218-1-mka@chromium.org> References: <20181004001432.21218-1-mka@chromium.org> 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 Add a channel node for the die temperature to the ADC. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v4: - added unit address to 'die-temp' node --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index 048f19fa0150..32b141637d13 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -75,6 +75,11 @@ #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; + + die-temp@ADC5_DIE_TEMP { + reg = ; + label = "die_temp"; + }; }; rtc@6000 {