Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1203031ybz; Thu, 16 Apr 2020 05:01:09 -0700 (PDT) X-Google-Smtp-Source: APiQypLigH7sTWT+A9kvpSp+jZC/wt13+jMY+utct+vAo6CANV0MSsxybRqIjzrav+IuJvsvja1N X-Received: by 2002:a05:6402:1773:: with SMTP id da19mr9391374edb.2.1587038469364; Thu, 16 Apr 2020 05:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587038469; cv=none; d=google.com; s=arc-20160816; b=mCmxj+uTDD2hlDKAmC8Ncvd6JP6sY4K2N8+safVZniSUcRhOwOfjtfyJiRWWrjLycB Ha9gzPO8xjl6uMORcNb6l30R6yeEIcs2nUuzO3cbHIW8BZeNmxkhejDbwWo4Yh09imiN MGbaq8GqEuuuEyBWfmrrZS9jYoRjTlrOssAIwK03HaudxiE27hf1Bf2OVXXFrk1JvL5D ol8xjwktJzhW1JfhPdPORF4RHNYzlGv0CeCSsqub2625ZtVtz6h1NQF3ItG4izCD9CN/ X9nKnlOEAvu6+dSbjQAQikDl+gKl/O6vGkQ7H/dVySgcicAKY39RNnGGHH9mwZ8WOGPU pkvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=5mvZmu8kZqGKJeqvqkmX1NY0lCwr6gYz5TDsG8H5ooA=; b=kiEh5c3fsqzw5K3YTfFNY/FCKRFm3XBatDAd0OR1i68TdMhKvLynQQCuTM5VVFjDrO ElUP2fteJqho4gyy9A4w9ce1DZJOHoLD53tsOmn6IUtR86qeYyH0PbcD6H5U4PlTuSsJ iUl0kJvOVptT4nCQ9XrlyW8b+JifsFPA3QX+TOfemyVZQrtHXeDU2nx1ycbZgCCwHzPX QY06FD1VYPJaGRS141vVcNN0y3edjrlmDHWRA8Yfr+uxzqRvjgQQydQ8iZHcrbP81/QW kC+G6hmfP3WlRJeDzRQeFK6PtAxFsMs+UWcqaCeJ6Ze+R10apw4QHDpznEogAW3HwdH7 qQOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hh3si11546500ejb.177.2020.04.16.05.00.45; Thu, 16 Apr 2020 05:01:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2634667AbgDPL66 (ORCPT + 99 others); Thu, 16 Apr 2020 07:58:58 -0400 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:58538 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2634544AbgDPL6J (ORCPT ); Thu, 16 Apr 2020 07:58:09 -0400 Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03GBqVpS019700; Thu, 16 Apr 2020 07:58:07 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 30dn9adgm7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Apr 2020 07:58:07 -0400 Received: from SCSQMBX11.ad.analog.com (scsqmbx11.ad.analog.com [10.77.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 03GBw6K9016564 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Thu, 16 Apr 2020 07:58:06 -0400 Received: from SCSQMBX10.ad.analog.com (10.77.17.5) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Thu, 16 Apr 2020 04:58:04 -0700 Received: from zeus.spd.analog.com (10.64.82.11) by SCSQMBX10.ad.analog.com (10.77.17.5) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Thu, 16 Apr 2020 04:58:04 -0700 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 03GBw2DW013213; Thu, 16 Apr 2020 07:58:03 -0400 From: To: , , CC: , Subject: [PATCH v2 0/2] iio: dac: ad5770r: dt bindings fixes Date: Thu, 16 Apr 2020 14:58:46 +0300 Message-ID: <20200416115848.56156-1-alexandru.tachici@analog.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-ADIRoutedOnPrem: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-16_03:2020-04-14,2020-04-16 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 impostorscore=0 bulkscore=0 malwarescore=0 mlxlogscore=709 clxscore=1015 mlxscore=0 priorityscore=1501 suspectscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004160084 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandru Tachici This aims to replace use of num property from dt nodes with reg property both in dt bindings and driver and fix dt bindings errors. 1. read from fwnode reg property instead of num property 2. replace num property with reg property and fix dt bindings errors Changelog v1 -> v2: - replaced "oneOf:" with items for adi,range-microamp - added reg allowed values to each channel Alexandru Tachici (2): iio: dac: ad5770r: read channel nr from reg dt-bindings: iio: dac: AD5570R fix bindings errors .../bindings/iio/dac/adi,ad5770r.yaml | 82 +++++++++---------- drivers/iio/dac/ad5770r.c | 2 +- 2 files changed, 40 insertions(+), 44 deletions(-) -- 2.20.1