From patchwork Mon Oct 12 11:50:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 529062 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 58D2714029E for ; Mon, 12 Oct 2015 22:51:00 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751337AbbJLLu7 (ORCPT ); Mon, 12 Oct 2015 07:50:59 -0400 Received: from mail-by2on0059.outbound.protection.outlook.com ([207.46.100.59]:51271 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751173AbbJLLu5 (ORCPT ); Mon, 12 Oct 2015 07:50:57 -0400 Received: from BY2PR03CA058.namprd03.prod.outlook.com (10.141.249.31) by DM2PR0301MB1261.namprd03.prod.outlook.com (10.160.219.26) with Microsoft SMTP Server (TLS) id 15.1.293.16; Mon, 12 Oct 2015 11:50:55 +0000 Received: from BN1BFFO11FD015.protection.gbl (2a01:111:f400:7c10::1:144) by BY2PR03CA058.outlook.office365.com (2a01:111:e400:2c5d::31) with Microsoft SMTP Server (TLS) id 15.1.293.16 via Frontend Transport; Mon, 12 Oct 2015 11:50:54 +0000 Authentication-Results: spf=pass (sender IP is 137.71.25.55) smtp.mailfrom=analog.com; codeaurora.org; dkim=none (message not signed) header.d=none;codeaurora.org; dmarc=bestguesspass action=none header.from=analog.com; Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.55 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.55; helo=nwd2mta1.analog.com; Received: from nwd2mta1.analog.com (137.71.25.55) by BN1BFFO11FD015.mail.protection.outlook.com (10.58.144.78) with Microsoft SMTP Server (TLS) id 15.1.293.9 via Frontend Transport; Mon, 12 Oct 2015 11:50:53 +0000 Received: from NWD2HUBCAS7.ad.analog.com (nwd2hubcas7.ad.analog.com [10.64.69.107]) by nwd2mta1.analog.com (8.13.8/8.13.8) with ESMTP id t9CBoqdL025104 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 12 Oct 2015 04:50:53 -0700 Received: from zeus.spd.analog.com (10.64.82.11) by NWD2HUBCAS7.ad.analog.com (10.64.69.107) with Microsoft SMTP Server id 14.3.210.2; Mon, 12 Oct 2015 07:50:52 -0400 Received: from carl.ad.analog.com ([10.44.2.243]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id t9CBom83010272; Mon, 12 Oct 2015 07:50:49 -0400 From: Paul Cercueil To: Jonathan Cameron CC: Michael Hennerich , Lars-Peter Clausen , Hartmut Knaack , Peter Meerwald , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , , , , Paul Cercueil Subject: [PATCHv2 1/3] Documentation: ad5064: Added devicetree bindings documentation Date: Mon, 12 Oct 2015 13:50:32 +0200 Message-ID: <1444650634-12025-1-git-send-email-paul.cercueil@analog.com> X-Mailer: git-send-email 2.6.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD015; 1:LE1aZtI1p9BJwbu3gAmLNHGREBekFKFcbT4BcAa+7lv9ZxYmNy9jh+pWJA/NmSN2Hy9l9AQceNdhR5r4u9YpO1HN777xiWoPpDZNQ8ZvTPYs+Nr/i7wBbBaPM7LMhEzNge7nvnd7ITGWmIr0iaSqnIOO97xzoXjE4uEJC+Kme7aM+TlVikS0FwcipfYNgjd1lnHUiS5vLn2iQa7SKe/95uQ9OT4fVXOmr9+DA2E54kZKqVxmhpG+9i9NcTSg2KZx6cq+aJRForLLuohVievu1CqbfbdWt9d36GAWJC8oWAZ5XUJguk5IOq2BUHsvt0n2ClvifTrE5vUBTxt15GWGPYhDTDrg+Yhw2/TuSN8t47NCwTYGIuOccRojRHPEpH8Q8iEGYpBCpIBERhuZCOXuNQSVwhVAB7xq4pATuxJwzF0= X-Forefront-Antispam-Report: CIP:137.71.25.55; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(189002)(199003)(77096005)(5001920100001)(46102003)(5008740100001)(92566002)(6806005)(106466001)(5007970100001)(50226001)(19580405001)(19580395003)(47776003)(86362001)(50466002)(50986999)(87936001)(107886002)(5001970100001)(229853001)(5003940100001)(64706001)(33646002)(189998001)(5003600100002)(110136002)(48376002)(36756003)(7059030)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB1261; H:nwd2mta1.analog.com; FPR:; SPF:Pass; PTR:nwd2mail10.analog.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1261; 2:8R+AB+Kl6t7ym43TgIZvw+tYYAqWWb2dleAr90dKyUd+xjmeji7UsKXGi+pcedvpZmUNCOb5cOAWAWsKLp1BV8oY52N3LHnzlXgPsjYodhBpDRN6CDZ7OzaAZtYbWJmq3d0S7Np71hC0+NIL+u9JRsnCdgHdsSDGTF82iEgEtsI=; 3:ecZztTFYAtxHLhNBOXZf+Bg6telQ4ECL2bFVRx1+ve5B4lJKgeUSzN7XwyeTB1DQlOblLlYejSHupClOINB0bn8uI+W5a/GMfd1gFDHT+8tJstdKM/9TgjChUji2rn3eS3H+Atx/iJt/tkrIct7n+Res232rB+bakJ6/IZLMZFM0naGRZLuaZCOdc3QDszo0YkN2s8MieieqDKDERbk3/XCejuCrrCwwfLeKJtBFDlwGKPRd4tv/3SLmE+jI9anx; 25:OZ2tFNvaZzDkrlfOrZdR7pKQso9JaLyintbHkQ8TA5JEXtqW7ZEQ0HSptBZWMg6shNgnS+6g294G6Gxr1U3J45RUudxFmlSs0+ywTBD0qpjvWw/z62x92d3KHliixpkM/61jKo3mCPJ24qPbhv5dDjuUFI0ONctXVUHTBaFNGOWeWPap4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DF0o3+I= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9192018764339); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001); SRVR:DM2PR0301MB1261; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB1261; X-Forefront-PRVS: 0727122FC6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB1261; 23:0Rr4I+X11M0sCqEVEaFWqAYuQrOOPOFqB0ZH7kd?= =?us-ascii?Q?8trrh+kZ4G8vxUMThaUaGxW/lkmdm7P1NJRKKcXdWp+hsgktlOTXV75+Ng3g?= =?us-ascii?Q?WiFZD/SEGD8AfqDyjCYVaDmwKqQaB3ejwudZvzUAvlc0tAn6a/R5Lm2Vs+IO?= =?us-ascii?Q?ZntqC20+iKpG86j8RGsMaVtbbSDatw8MV1+miL86EDmUIClMfwST7OsNGbWS?= =?us-ascii?Q?ryLa8T/18rOLSzKKtYHoWXN4dSmkxyKvY+CU+oW8CzDONyklhLMJ6SptgBOT?= =?us-ascii?Q?aPz2lri6iFtuHb6qhBoot54Vv3mSIsvfVwaye6S9bFTP+nVLxn6xWgdPEfY9?= =?us-ascii?Q?IvnMduL5/QsOF1brB7+SV1sdulZ4Ct+SDkCFjW7It6dG6bLJqlb3ZZ0TIl0W?= =?us-ascii?Q?wd3oGnT2SaWh1jvqn4KyxZCQ84AQYQrLLnh82h8xBw3lEXcO/OYip3B3QZO9?= =?us-ascii?Q?akfMzebqDRtrpVPWFIBe3ygrq/UgLI1kkhaLAOgwI8UhbIvWwHnf2cKv0+Bn?= =?us-ascii?Q?ea2mWi4QsamF+RHMMJgOhb32bw99XVkU+41sNiA6Lz6GMWVMMBropJKxf0Wl?= =?us-ascii?Q?8inIPCY5e3U6GYAAMWxsq8xT0fhKq1FC23R7xBU52LAmDE7jeduhBM28ep12?= =?us-ascii?Q?CH6S8aqoCuXVuYR8AGtXtFvmBFVARjC/+X7KGKa3Jo1ijBW+bmTGG6ifdlCe?= =?us-ascii?Q?dnh5OODCt9Q+5UOnsj1ZLLMSy6GWSHvqQLVS/EB34buJhpqUqvGDKC9niu4M?= =?us-ascii?Q?Iz3rRB3GGokcQfuQM20U4D06IKkyUMKjcIehdr5DXJraUHaBWmN6WbSU/pZL?= =?us-ascii?Q?lijSyeJ3dID75yySw3QwrlxzlVOc/2ZkcJ7dcVhY9yki6qFj8uPrSMBrCaM/?= =?us-ascii?Q?K3k7G/t6Mhcxk/A9ShUt5osHaQv4mlyxU9W9QFtnSP51rp0XEslla5R+J81t?= =?us-ascii?Q?gzUb7ehVBUWGeSN5M10B14hXK+OGDlOOyykaKfWoIKw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1261; 5:SK23gQhUD1/ejefrn2Jf0bengnX+P3lZtyPmmxK+sqiaoosQi2vcmNonFh/tClv7PkKcfPtRBcPHYgC1+dL2LAPx1fzCinphq30/DQf2apfohcklo4GM0oieg+sFuEg8RtgCzeOOQXstjQuGTR09+g==; 24:FlDf4jhFfp3tRDE5k4/fIEcaqOppLaLP1XTbG95omtZPR2rDGRzv5/Y83M5TfW33Wkfhh3sABsjxAG0dV4+8c3r3on+pmMTOUVdAHPKmhh0=; 20:1Bb94aLA15y4vk2hq5JAnyLypGSDBXSvjRWrSk9mWp0doK9K7EtF8gsDnqVDqK1v3VP/JnOMS+fOdnPhBZvXug== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2015 11:50:53.4559 (UTC) X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a; Ip=[137.71.25.55]; Helo=[nwd2mta1.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB1261 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Paul Cercueil --- .../devicetree/bindings/iio/dac/ad5064.txt | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5064.txt v2: No change in this patch diff --git a/Documentation/devicetree/bindings/iio/dac/ad5064.txt b/Documentation/devicetree/bindings/iio/dac/ad5064.txt new file mode 100644 index 0000000..fa2d328 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/ad5064.txt @@ -0,0 +1,48 @@ +Analog Devices AD5064 DAC device driver + +Required properties: + - compatible: Must be one of: + * "adi,ad5024" + * "adi,ad5025" + * "adi,ad5044" + * "adi,ad5045" + * "adi,ad5064" + * "adi,ad5064-1" + * "adi,ad5065" + * "adi,ad5628-1" + * "adi,ad5628-2" + * "adi,ad5648-1" + * "adi,ad5648-2" + * "adi,ad5666-1" + * "adi,ad5666-2" + * "adi,ad5668-1" + * "adi,ad5668-2" + * "adi,ad5668-3" + - reg: SPI chip select number for the device + - spi-max-frequency: Max SPI frequency to use (< 30000000) + - vrefA-supply, vrefB-supply: phandles to external reference voltage + supplies for channels 0 and 1 respectively. + This property must be present for ad5024, ad5025, ad5044, ad5045, + ad5064, ad5065. + - vrefC-supply, vrefD-supply: phandles to external reference voltage + supplies for channels 2 and 3 respectively. + This property must be present for ad5024, ad5044, ad5064. + +Optional properties: + - vref-supply: phandle to the external reference voltage supply. + This should only be set if there is an external reference voltage + connected to the vref or vref[A-D] pins. + If the property is not set, the internal reference voltage supply + is used if present. + This property can be used with ad5064-1, ad5628-1, ad5628-2, ad5648-1, + ad5648-2, ad5666-1, ad5666-2, ad5668-1, ad5668-2, ad5668-3. + +Example: + + ad5668-2@4 { + compatible = "adi,ad5668-2"; + reg = <4>; + spi-max-frequency = <10000000>; + adi,use-external-reference; + vref-supply = <&vref_supply>; + };