From patchwork Fri Sep 22 20:12:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ismail Kose X-Patchwork-Id: 9967031 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 639F460381 for ; Fri, 22 Sep 2017 20:13:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55A3C285D3 for ; Fri, 22 Sep 2017 20:13:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A34F2882E; Fri, 22 Sep 2017 20:13:49 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 DE66F285D3 for ; Fri, 22 Sep 2017 20:13:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752078AbdIVUNd (ORCPT ); Fri, 22 Sep 2017 16:13:33 -0400 Received: from mail-sn1nam01on0098.outbound.protection.outlook.com ([104.47.32.98]:58463 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751878AbdIVUNa (ORCPT ); Fri, 22 Sep 2017 16:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maximintegrated.onmicrosoft.com; s=selector1-maximintegrated-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4pRHCqHjTk2w6hDViHoVleG4KG+GK9ckX4hu4meTLmY=; b=3IU6PzMs7ytf/R1vjolm372lX5H5gD6nrDanReasf0psWW+Kcp4+Y7S94qWdH4j/kkykoyFPtrFhG8dWQh+B7hFTvWi70OCrHoIRA93hmjJK++ru05X0LYQBMtKNeLaNgxi99bCJUk+ExYJj/BVAEefXbot7Ljh3iu3AAe7d3vo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ismail.Kose@maximintegrated.com; Received: from kose.maxim-ic.com (204.17.143.20) by BN6PR11MB1857.namprd11.prod.outlook.com (10.175.99.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 22 Sep 2017 20:13:25 +0000 From: "Ismail H. Kose" Cc: ihkose@gmail.com, Ismail.Kose@maximintegrated.com, Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , Maxime Roussin-Belanger , Fabrice Gasnier , Mike Looijmans , Peter Rosin , Jean-Francois Dagenais , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/2] iio:dac: Add DT binding documentation for ds4424 Date: Fri, 22 Sep 2017 13:12:09 -0700 Message-Id: <20170922201226.23721-2-Ismail.Kose@maximintegrated.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170922201226.23721-1-Ismail.Kose@maximintegrated.com> References: <20170922201226.23721-1-Ismail.Kose@maximintegrated.com> MIME-Version: 1.0 X-Originating-IP: [204.17.143.20] X-ClientProxiedBy: CY4PR0601CA0102.namprd06.prod.outlook.com (52.132.96.171) To BN6PR11MB1857.namprd11.prod.outlook.com (10.175.99.149) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8722d272-93e2-4eca-996b-08d501f662a1 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR11MB1857; X-Microsoft-Exchange-Diagnostics: 1; BN6PR11MB1857; 3:kl4dsfCccAjhKsuYlm+ik7/INqu1aDM1GRxd67kVenDQVuzSn6GnKImWPiX4VrFUCkEp0G1llE+g+JNMYqwh40x33X1WKYGSLk55aeTy67OWlmp4hYkFBuN+B7K8h7+2jClb/RqvBbgRuc/+hj+bSYBd5hgcziByq6HUvhFG+3HF0y1XIpSczUYmyG6IkbjQ1xZFBgiMc9k/TyF7pno2hJpm3xBzT6/zVSEVYD90ru9NyzcfUd858uNkf9M742A6; 25:Zo2FwGN1jkj6Ddw/9t77WhqbqIsOU+3SS5C7U4wBEOnV43TCfvtYuUCeVmtqOXX4ZBMK7Oj2P9rrdz1gNsE3Z5dWM2ZOTlROZ7pMis9V+PzwXUy8k7puTvagTDVDkaWmb2xWPa36cAy/UPsTNplL+N0GnhDxLLCHw3967/XeL4ywYPmLRe4dPH/BzFPZpDtJvGQse73IzddE5a4uw8zzEGPKPMih325YowiPk8Fwnfi1U4qKq8vqnt/6dq6cM/RX5JvI2xFLkpZl2gjkFJ5w060EiFgqbN8ROjlegzkmaRCVfDYCJ8eFtFTv3ilnPefllm122Mw1rMqBbNKMwR4uYg==; 31:SiQY+56GO+JwklreJXIXVc7fcrUA5EwDYuWvEfa3XX/EJxsn5NhiPD3c2BlfKUZ318dCR8bTgcdau9R1a+FQmXVoS5qAYunzMWEPeH+GIooQLX8YcBqvgnU6g53VAKPkQlAJXBlUDVfhhg+/a2Z2BpNvwuFq2I8mnjsTeJ/rrYjvuPASZTHTi1tEUFZj97yEXXlVgP3hmfLtidjuKnoth+4mn5Mzsjtc/l2R7LTmMIY= X-MS-TrafficTypeDiagnostic: BN6PR11MB1857: X-Microsoft-Exchange-Diagnostics: 1; BN6PR11MB1857; 20:KpLiul+eXoCVHsYd059cXVC2MhAx2r5kXc97IqlI3kkF83OOKN1wyLGK+NjtXkOHsE77vwmAUfN+p9C+GnPOSDCL9y6vXa/0vOf4LGk6wxNku4D8AECDbkCuOBdib/vxJCwueVd5dS3rLwKa88UNXyrC2NAEBGv/ZEEn2t+5LRR6J4gh1EqUwYqd9beMY35FGuYBKOQTOdp5MhwduPrsjLRDtdPzKC5vvPfHB2iDJO3478traURTN133i+vwSyE6xCPbOc7T+wlPuW6JYRR8ysRc8I9V/OCHmagCIcmOoyVkEbJ984jvLvwRU1jxo0CkUbazimHnDUqY9hoF4Oc70J6tAoBh66ZDlvrpxjlIBKpF+31wJ411hQYaLJYH8KRmInUJCRn1rZiNB3faTnqhbM/KVmesqIgb1tiS6B6HAKa/EbWqOIIaqNA+zRRU1X2iV7fxZ3Jl+2sfyNdwSunGI6a9RHLDeYDv7THTDhw23Oozu8npP/StMVJY9CF3Kf5J; 4:xiTYXKyfGnD/VvuFA7wBZq4U3eUB7H+qRK5rtcn0aCCE77MfUY8Zgnd5vCZwKR1ifGBvduiWHaZbd7tUAH1aIr4rcPe5z1qa8VI1RzOGu3rOP+R/t0EJCm5C3vx0bav4OW8df7C4sx9imj9yyuRgM0EEL4EDlU697ug7La0QKrbYzD5sude0NHxHv//TSDhtcJZCp6hpoK7dozO8dXjPAtkJFvIX85xd03YawDvS+/0vygupC+WAiIJTceESfUVb4OiNkyvovihyLNa0cPd8hguHdbLJHM25lw/Xlh1tIxE= X-Exchange-Antispam-Report-Test: UriScan:(108721460000369); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR11MB1857; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR11MB1857; X-Forefront-PRVS: 0438F90F17 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(346002)(376002)(39860400002)(189002)(199003)(86362001)(25786009)(16526017)(6666003)(36756003)(53936002)(316002)(48376002)(105586002)(2950100002)(81156014)(50226002)(106356001)(6486002)(54906003)(16586007)(2906002)(8676002)(97736004)(3846002)(8936002)(109986005)(50466002)(6306002)(8666007)(5660300001)(6512007)(81166006)(1671002)(305945005)(76176999)(72206003)(47776003)(68736007)(7416002)(6506006)(5003940100001)(7736002)(4326008)(1076002)(69596002)(50986999)(6116002)(66066001)(39060400002)(189998001)(53416004)(101416001)(478600001)(266003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR11MB1857; H:kose.maxim-ic.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: maximintegrated.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR11MB1857; 23:l8styAEnufZMYWM6gv7Pz02f2fCT8GffvsrPaAFYd?= =?us-ascii?Q?M/aglnqx5d5tqHmmyiomPJu0RBHNM7C/oUNqxa6l2Qpz43xjegZG6XV6vdvB?= =?us-ascii?Q?yc7wpb4irz3lp03iN0tOi+ZgiyzzprFupPZUOpLguSXkPt+dFwLQ5LIVjBZg?= =?us-ascii?Q?iygC/BuvYnbmqOgBEC6yEH8Rh5YeOWYsfTqTi24ZsHXE0mlx3ykXHOjtHpDf?= =?us-ascii?Q?EdZ6x3WRLDywquA49ZjMtUx8MWOQYIO6kIJVztdmLRBaGvOwbkPQHSDh1/vb?= =?us-ascii?Q?jknxj1A0deY9K8MV9Uxre8Jdsq+qRSD5V438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PM X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2017 20:13:25.5039 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fbd909df-ea69-4788-a554-f24b7854ad03 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1857 To: unlisted-recipients:; (no To-header on input) 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 Signed-off-by: Ismail H. Kose Signed-off-by: Ismail H. Kose Acked-by: Rob Herring --- v6: * Removed reference resistors property * Fixed regulator property v3: * Removed iio-map v2: * Removed min/max rfs, ifs-scale, etc values Documentation/devicetree/bindings/iio/dac/ds4424.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ds4424.txt diff --git a/Documentation/devicetree/bindings/iio/dac/ds4424.txt b/Documentation/devicetree/bindings/iio/dac/ds4424.txt new file mode 100644 index 000000000000..eaebbf8dab40 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/ds4424.txt @@ -0,0 +1,20 @@ +Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC Device Driver + +Datasheet publicly available at: +https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf + +Required properties: + - compatible: Should be one of + maxim,ds4422 + maxim,ds4424 + - reg: Should contain the DAC I2C address + +Optional properties: + - vcc-supply: Power supply is optional. If not defined, driver will ignore it. + +Example: + ds4224@10 { + compatible = "maxim,ds4424"; + reg = <0x10>; /* When A0, A1 pins are ground */ + vcc-supply = <&vcc_3v3>; + };