From patchwork Fri Mar 27 13:18:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11462391 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D5FB481 for ; Fri, 27 Mar 2020 13:18:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B384C20838 for ; Fri, 27 Mar 2020 13:18:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MBSaBSYH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727549AbgC0NSm (ORCPT ); Fri, 27 Mar 2020 09:18:42 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:45000 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgC0NSl (ORCPT ); Fri, 27 Mar 2020 09:18:41 -0400 Received: by mail-qk1-f196.google.com with SMTP id j4so10625761qkc.11; Fri, 27 Mar 2020 06:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=L+Che3BA8te7SV8wCt917Jrt1vzM2zOvTpRhsfZRSOk=; b=MBSaBSYHh5ibQIRQ6rtpannGv3SXckH/zbCFRhqk9bizgnOgzpCIQGLdypyroudV72 2j5UlDCtLV2Euwdz9Nww74Y5RQRIfM7G/FOQQSwWbpiHnl0fQj7JnE0V3hh5jplDt6W9 X7SgZp63JaqB/cloPK3QcYuvIM2M3Vj6thOz1RrZPRZD4pejLLXICPmHQvjC2ApS59IS HFBVy88sNYzHq+QLci6iPcPJ7yV70ED2Dzzp58aCnGhNY+AaKGFmCgwhSRjYbwlrEwnV Jo2sHivCzRx4D9YOdCh0Nm9YmAMsDrac928FbgLfpERnHdvX8V5yDdiJiHKjgBbn73yN SUWw== 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; bh=L+Che3BA8te7SV8wCt917Jrt1vzM2zOvTpRhsfZRSOk=; b=Zlppr1UIVqedClgRgnlAP77T0zwL5jvT1kbrNqVXL8n3RfLkKBXwIjzoBge/sIIQ6Z RegRKbUXUHB09l2WhSSKMN8r8pkAyYQysDuRwwC+EKMBkHA4as8erdJRc0g124w2Ljjw H/QL7QSyj9TvvqBNp64QR2xVFBfC4DhjRLmorLCZNrVsUkLH2ixnCdiMsfttP+mVWhoj md45C0n9y0SCfYMpahZMDjuHRjjplAys9wHgO7i4NY4xx8L05PX44rMGVJo6YUDYNBwe GLnVG0348x190hDthOIR6Gkp1/+x5agKL706m0FzdHZOnPiL2QL9b1IovBRXZnF4K7+Z e/og== X-Gm-Message-State: ANhLgQ1+v76YZdrN5LMVhuG+Y73Aa9XNvDRBBtrPFlkx/fh8ddkw3eT9 QxNdMbFu+svonaK4SGjb6BE= X-Google-Smtp-Source: ADFU+vu4VmSp+OlpO90Fqymv+3eN4TkDMPdmrJ/4hmrUKas0ka1MGoazzD11DgP15SgpkgXbVzWlGw== X-Received: by 2002:a05:620a:348:: with SMTP id t8mr11062886qkm.407.1585315120277; Fri, 27 Mar 2020 06:18:40 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:5bb::4]) by smtp.gmail.com with ESMTPSA id o186sm3663914qke.39.2020.03.27.06.18.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 06:18:39 -0700 (PDT) From: Fabio Estevam To: jic23@kernel.org Cc: robh+dt@kernel.org, alexandru.tachici@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH 1/3] dt-bindings: iio: dac: ad5770r: Add vendor to compatible string Date: Fri, 27 Mar 2020 10:18:23 -0300 Message-Id: <20200327131825.23650-1-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org The compatible string in the example misses the vendor information. Pass the "adi" vendor to fix it. Signed-off-by: Fabio Estevam Acked-by: Rob Herring --- Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml index d9c25cf4b92f..f937040477ec 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml @@ -144,7 +144,7 @@ examples: #size-cells = <0>; ad5770r@0 { - compatible = "ad5770r"; + compatible = "adi,ad5770r"; reg = <0>; spi-max-frequency = <1000000>; vref-supply = <&vref>; From patchwork Fri Mar 27 13:18:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11462393 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D968281 for ; Fri, 27 Mar 2020 13:18:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B814E208E0 for ; Fri, 27 Mar 2020 13:18:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Jt8OGO4S" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727575AbgC0NSo (ORCPT ); Fri, 27 Mar 2020 09:18:44 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:38050 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgC0NSo (ORCPT ); Fri, 27 Mar 2020 09:18:44 -0400 Received: by mail-qt1-f194.google.com with SMTP id z12so8453066qtq.5; Fri, 27 Mar 2020 06:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=T7eY4a/HYQ1VC4MYo7ru+bOccPR0lnPmCuIuMoGep/w=; b=Jt8OGO4S8HwNCjo7ObiAfdKl3BtkbBC+oA5jObUN2wqJocvAe977Q/uf1u3Kx+W64t YyeQKLbFd1zOtPXUulQtcCWECyZ6YVl9n1RzAg4BEdK/L8WG3cyc8aIdS4ZFLdiq5b9g TexefD2jdvBAdkll+HiJ9SqdSW7N4fCrFTtwgMq5oVSdQ6QItoCxn91Sim37q23f8oB/ 4zZGeA3eJwLNKlmpevDzQFyU1LDkxftQOwOYHwoLKDSh+jxJdVVpLAHOUvS/c1sK+Utz P4FDEPzxujZpaT2Stk1nuhOmRELiWvS0TFnRWjhZePDkgXq9rmdkG5NXdm2tQOw3cFLc a4Zg== 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; bh=T7eY4a/HYQ1VC4MYo7ru+bOccPR0lnPmCuIuMoGep/w=; b=M1MZvbP9tlwFEjG1QlGlNqAnYc3j0QQUzudx3uEVA1p4ROQipGO5xMxveEYOMCnf/V iRfgCfIgYv6SCrfMLUEoaIbjowt24LtiQztjJ5vHXEk3E/aQo72H/tdmMAa2jc2AyVW3 XCQA2DaMQmE+05YrWoSlSCzpAFsdRT4K9ZkKs6k3Wt+QFDuWj12vW4+Mtw83BeWWI5eb HALRbQCvPfSszrIvLzhSpV4QjTHhEPa9XqMFpRgToSLiTwg/WBxrBldw2MNSJyZvJ9Za FgSm+Mz9Ca6UhcQbjFHx05s+TFfnLCJbtQDMLrVgd2V7uqVaCMROJ/aDNc70ZAc+QPOl g+aA== X-Gm-Message-State: ANhLgQ3P+wk7cIXrGL7uD1fG6wU7joYI1SuHPbQeq9+DMQYSD2zBFKXg FEyoJr0oKw4gdxOnTLFRIsE= X-Google-Smtp-Source: ADFU+vuqJFGro+uqvxFCrqTmxleF3uzivT1N4KpCgw4ewJef8Pf7D/9jc9OjrDz2kaB9+MDVQDcmbQ== X-Received: by 2002:ac8:378d:: with SMTP id d13mr13996056qtc.227.1585315123155; Fri, 27 Mar 2020 06:18:43 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:5bb::4]) by smtp.gmail.com with ESMTPSA id o186sm3663914qke.39.2020.03.27.06.18.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 06:18:42 -0700 (PDT) From: Fabio Estevam To: jic23@kernel.org Cc: robh+dt@kernel.org, alexandru.tachici@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH 2/3] dt-bindings: iio: dac: ad5770r: Remove unneeded unit names Date: Fri, 27 Mar 2020 10:18:24 -0300 Message-Id: <20200327131825.23650-2-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200327131825.23650-1-festevam@gmail.com> References: <20200327131825.23650-1-festevam@gmail.com> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org The following warnings are seen with 'make dt_binding_check': Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:29.35-32.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@0: node has a unit name, but no reg or ranges property Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:34.35-37.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@1: node has a unit name, but no reg or ranges property Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:39.35-42.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@2: node has a unit name, but no reg or ranges property Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:44.35-47.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@3: node has a unit name, but no reg or ranges property Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:49.35-52.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@4: node has a unit name, but no reg or ranges property Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:54.35-57.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@5: node has a unit name, but no reg or ranges property Fix them by removing the unneeded unit addresses. Signed-off-by: Fabio Estevam --- .../devicetree/bindings/iio/dac/adi,ad5770r.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml index f937040477ec..fa86ef52b121 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml @@ -151,32 +151,32 @@ examples: adi,external-resistor; reset-gpios = <&gpio 22 0>; - channel@0 { + channel0 { num = <0>; adi,range-microamp = <(-60000) 300000>; }; - channel@1 { + channel1 { num = <1>; adi,range-microamp = <0 140000>; }; - channel@2 { + channel2 { num = <2>; adi,range-microamp = <0 55000>; }; - channel@3 { + channel3 { num = <3>; adi,range-microamp = <0 45000>; }; - channel@4 { + channel4 { num = <4>; adi,range-microamp = <0 45000>; }; - channel@5 { + channel5 { num = <5>; adi,range-microamp = <0 45000>; }; From patchwork Fri Mar 27 13:18:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 11462395 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EAC311668 for ; Fri, 27 Mar 2020 13:18:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C95032082E for ; Fri, 27 Mar 2020 13:18:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gJsRc5fX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726959AbgC0NSr (ORCPT ); Fri, 27 Mar 2020 09:18:47 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:39871 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgC0NSr (ORCPT ); Fri, 27 Mar 2020 09:18:47 -0400 Received: by mail-qt1-f195.google.com with SMTP id f20so8457432qtq.6; Fri, 27 Mar 2020 06:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jqrals/DlRSRzD2FBJsMSNR0STEdfCIvgqrhwYb6xjM=; b=gJsRc5fXU04/ti7uaCr4CL1DP+JU/xVSVn6U+PWdIryDySbegTXzeD2pH0PaKylODk nRYOcb7v7hA+khl3sFdOdfUT059XMdjgqyBngiOeERUZ9orE0jZRsfH2jAwz4arMWu3C 7LY/iUP5xUuI/7PIhZzl2cjBoR/RYXjqZ/ODBm+eCUzNjSS5/+z9bZc3loXrYe/9AjR1 E3YToCMYyHTYnhWqGpcHDLSOBG1sARvef+Ym7uzmK8wUf+De4lpSZK0bmDEgJEN8OxNG CpYCe4fI7mz5xJ0vHK/mMlkbIVIGVTPiLE7wfPbndWkhTASzZbMciaV3zrQwtPpb82nh Flww== 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; bh=jqrals/DlRSRzD2FBJsMSNR0STEdfCIvgqrhwYb6xjM=; b=Zr9pSbGhDWEdvc/dxSPBnAvNxq2n9cCm3QoSel2yY5TAe7rrU8L8LnlW9GSovXfoGN fvsoTGPR2ZHPNw1y5LvePZVgXa7KIkRKmrYvSfrvsCIB3dcWQyGpPjPI0VNH/ioTOphs pTkSXcBiGOkqbi2WzYoSR1I064FRb98vAA7uAePVCGfhxf04f1iHxLqmPPbKPda0gEE5 kLYTXMjju5fEpALfsfIjGicI07PNBZWmmTBjHleRYWUfsttiy/kPOcoHhOD9xOJw/gTa xyxmpsux/iqPLY4KPbicDRX35KIQFsCLWltGvDzNokxuY8eecgYHKnmKduMJAQmAs9h8 EqEw== X-Gm-Message-State: ANhLgQ36ktLNsYvXPDEBhIgOD1v29l8hskbiA3tRumwgUEphm/XBXu8d QHKobly3FPylw5BXruoq5cf653DnMRk= X-Google-Smtp-Source: ADFU+vu11Qis7wLq8KGvKi1TOOj827610u/IrA2NxQGaVGrPCd3k+OGfLG5jmqbejtfv8+ra9LXhuA== X-Received: by 2002:ac8:2f15:: with SMTP id j21mr14259609qta.55.1585315125952; Fri, 27 Mar 2020 06:18:45 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:5bb::4]) by smtp.gmail.com with ESMTPSA id o186sm3663914qke.39.2020.03.27.06.18.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 06:18:45 -0700 (PDT) From: Fabio Estevam To: jic23@kernel.org Cc: robh+dt@kernel.org, alexandru.tachici@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH 3/3] dt-bindings: iio: dac: ad5770r: Fix the file path Date: Fri, 27 Mar 2020 10:18:25 -0300 Message-Id: <20200327131825.23650-3-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200327131825.23650-1-festevam@gmail.com> References: <20200327131825.23650-1-festevam@gmail.com> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org The following warning is seen with 'make dt_binding_check': Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml: $id: relative path/filename doesn't match actual path or filename Fix it by removing the "bindings" directory from the file path. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml index fa86ef52b121..5661d62b994f 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml @@ -2,7 +2,7 @@ # Copyright 2020 Analog Devices Inc. %YAML 1.2 --- -$id: http://devicetree.org/schemas/bindings/iio/dac/adi,ad5770r.yaml# +$id: http://devicetree.org/schemas/iio/dac/adi,ad5770r.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Analog Devices AD5770R DAC device driver