From patchwork Tue Oct 2 11:58:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Ardelean X-Patchwork-Id: 10623517 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 7A0CC175A for ; Tue, 2 Oct 2018 12:01:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CF9327FC0 for ; Tue, 2 Oct 2018 12:01:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5FD142871E; Tue, 2 Oct 2018 12:01:54 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 470EF27FC0 for ; Tue, 2 Oct 2018 12:01:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727609AbeJBSot (ORCPT ); Tue, 2 Oct 2018 14:44:49 -0400 Received: from mail-eopbgr700052.outbound.protection.outlook.com ([40.107.70.52]:59445 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727434AbeJBSot (ORCPT ); Tue, 2 Oct 2018 14:44:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector1-analog-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xrT/KBU7jc+BIcgicSPqgb0/EVRTnC/X2RhRAqwoNZA=; b=WMUc6sCDcSxleCGzGov116O5Zjn1GAEAGEv8fD39cfBJDyNYKt/p8fcuUxD0GRXGLHZmaNJzOGP52gOPQbrPGo+7kYDqkiJFzuASsZIwoN5rm5WzCahtLQdw9oaFeJVnJ5F164E10Z9pBzFN0tzp5Ax/NpSfT+BjKU4kMHZL9DI= Received: from MWHPR03CA0025.namprd03.prod.outlook.com (2603:10b6:301:3b::14) by CY1PR0301MB1226.namprd03.prod.outlook.com (2a01:111:e400:4c5a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.18; Tue, 2 Oct 2018 11:58:57 +0000 Received: from BN1AFFO11FD019.protection.gbl (2a01:111:f400:7c10::112) by MWHPR03CA0025.outlook.office365.com (2603:10b6:301:3b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1207.18 via Frontend Transport; Tue, 2 Oct 2018 11:58:56 +0000 Authentication-Results: spf=pass (sender IP is 137.71.25.55) smtp.mailfrom=analog.com; gmx.de; dkim=none (message not signed) header.d=none;gmx.de; 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 BN1AFFO11FD019.mail.protection.outlook.com (10.58.52.79) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1164.13 via Frontend Transport; Tue, 2 Oct 2018 11:58:56 +0000 Received: from NWD2HUBCAS8.ad.analog.com (nwd2hubcas8.ad.analog.com [10.64.69.108]) by nwd2mta1.analog.com (8.13.8/8.13.8) with ESMTP id w92BwuHV006530 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 2 Oct 2018 04:58:56 -0700 Received: from zeus.spd.analog.com (10.64.82.11) by NWD2HUBCAS8.ad.analog.com (10.64.69.108) with Microsoft SMTP Server id 14.3.301.0; Tue, 2 Oct 2018 07:58:56 -0400 Received: from saturn.analog.com ([10.50.1.244]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id w92BwKjK012604; Tue, 2 Oct 2018 07:58:47 -0400 From: Alexandru Ardelean To: , , , CC: , , Dragos Bogdan , Alexandru Ardelean Subject: [PATCH 4/4] staging: iio: ad5933: Add of_device_id table Date: Tue, 2 Oct 2018 14:58:00 +0300 Message-ID: <20181002115800.12399-4-alexandru.ardelean@analog.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181002115800.12399-1-alexandru.ardelean@analog.com> References: <20181002115800.12399-1-alexandru.ardelean@analog.com> MIME-Version: 1.0 X-ADIRoutedOnPrem: True X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.55;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(346002)(396003)(376002)(39860400002)(136003)(2980300002)(438002)(189003)(199004)(478600001)(86362001)(336012)(316002)(16586007)(77096007)(26005)(8676002)(110136005)(54906003)(53416004)(186003)(106466001)(106002)(107886003)(476003)(126002)(246002)(8936002)(446003)(11346002)(356003)(50226002)(305945005)(7636002)(44832011)(4326008)(7696005)(51416003)(50466002)(2616005)(36756003)(76176011)(48376002)(486006)(426003)(47776003)(5660300001)(2906002)(6666003)(2201001)(1076002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0301MB1226;H:nwd2mta1.analog.com;FPR:;SPF:Pass;LANG:en;PTR:nwd2mail10.analog.com;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD019;1:MfIdVRgp85/6VY5e+3h+Vu6VVpgG2RUn8MblGEp6083G4nHfbCO1z0shKrkwN5IllgTAlAZpmRyiDNPSlN4/gDBc9VifdoZSPagnFcwvFOEk3a2iVc1vcHX4v+xZy016 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 250793e2-876c-4ab2-71e4-08d6285e6e60 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:CY1PR0301MB1226; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB1226;3:9K+WKlgdt5ceeB38PcRDARWN+8KnO5J0r8QakionzAq02bOT77RQkQZc1/rYLPSjSJ3M5jjtuRzlEnBo2gvC7KGLrwRzchfM5p0XJi/VGqywjFY8eZryG/tx3kkXJLXANsrH1CS9pfv0QHW8DxEiMpvnB9LpwlXFUCXdLp2v96ztbzlMkJOpl+W68pgT0SyOduBKKaaDAnSvRsuoIyUwyQ8Pa+vZAp7vNWhltZbyOf2aZZ/Mk5WsN1k/f8X44ddGkJkYs3jwXJw7qReI+F39ZTmj1ekM62dh0j3oS+1Cn2NuSyeiAHlOw2mtHB+8jpsaSuBn9BVWVYRJt2j//aqC8e8x3jXIW1WaM24Huq09cJs=;25:o9MqWBk0zkXlH95DSGOGPc71egOvyAP5p2/ap0nuyeqnllOAYXEq+OnXZWA0pzkRTuSjhiw+PT7wtkirlytsFU0EmTqxEacfh0eaYSN71WFlt2GHqyaTMngtC8nb3NHB2Fg3Xo7a6EDTMindWqCPcfHU2C+i+dsTCcw97UmLp7FEPgd4JzfDHp2L0JIXi5s9Gmf6JQkIU+gTXL/UQZZVavtg5OMLvigIGb7U9fiIcwECCArZL/81uEQmuyqdAaYx8QwppL9dwhFrwbVRGd1qQBbuwrS0jXt/jVRdo0O1bqjTdlx34Dd60nQO0GfT3XqKQxrpQ85vfBET0PB/IawPRcBxjtJ6rXuJadrXrsW/LOE= X-MS-TrafficTypeDiagnostic: CY1PR0301MB1226: X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB1226;31:TVwvRrk6mznLwi4UV7yVi3c9Ei13GQ3rqNWpzxQ03toQAK8gMXqen+BZ93ozzY83J3qH7BjOlevoHAivgOFmd7JTpas1h2x/ZN2IcGpwAWGKl5Ht4yFMPQQX8Y+Mwv8d00wnyqqxi+SfGxRLZjtiKo00EeqD9LJzA/lnHph4NhgL1CRMfMVOPeNlqgziF1Q5/4IN/VI8OivQ1CrB5npDD8PcqptIIvESm1cv3XpR8vI=;20:nnRl/FuHM79kPViZRSfYIiXy7nc2Q9JfZfiMjQIz8vFccMgthQ4TQY8OcSdzwF+9g5sygmgER+fqOorb1/ShvOCSAhn1gz4JyH4D0s0gfE0OfM9QCXF2LHngN/NZSeWBkbWcp76jksamglAcLjlakLzvlQC7NXMhk93b8z61F76j6igFbAEDvyl/bByvOpkUr664mJwYyxwUrc0Eq4xh9nUEGGh1epDpSXPJAZmsgAdbKUmdrEW/KdZFqfPcAlnnB8flj+kV+e5qKiSl1W9HMWDLHazxLb5Q84uCe791yfUaiPLrTebvr7ZTiT/nOfIr5po70L6laoFQORPbwiVfJ/od+dcKH1xkBVMTmpY8iuODNAi20eJB7lz88Hdyxanfw9HdnAwCT6178eHFkY86zUe8Wl9C0iQvp1ludK1nxCqhsp56FrmJN1QukHnEdhwvzYbXWMbz1PXpm3gdSWphaakndbKmhLaioXKEAmHasWSmXm7zLgXSF5Tn9ThU6xLm X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(232431446821674); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93004095)(3231355)(944501410)(52105095)(3002001)(10201501046)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051);SRVR:CY1PR0301MB1226;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1226; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB1226;4:/BRGowAQS1BOo2qJ/TUBC9+FIiULZjZHe/4bstq0scUIEKtYGjfMOYfxlTO2Dh/luG1vtv9o3b6cvPD/lMRBbo8OCXsW135geKfpxbum4YfU38KfLR8KzyhOw7WgfYknqChrsgcLb+kxVSWRtJQSWP39YhXUL7Fp83XG3RywzBVb0+hycqwHqg3mVpLORNpGhVq33UTZ2ib5Mnp/ObSEm7BRBUyy/499EryqjGQ/N370nP9cGKCw2idQBdR6U7rpjHrFE8NrAvNnN/SfyasEkU6VDAnlHZAfmAIa1M3Xnzd5eTArSro7EQDVdOrcpYzx X-Forefront-PRVS: 0813C68E65 X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB1226;23:rnuFtgUTGdf3OTNZmewShZ9Q3I0aHsEMW6gYFjHkUdVyQ7Ar2aSOsOzkdPiesEhpH1OAqwbCyWrjSnjPIJyTP+gSrJXP0Ej44O+HLeEdaJyMBhwb/apkFCMtf4MqlMKdPwtbRxgkk7DkezqP3wyR+QB89esrsoI2I0Nke8063O+St6BRgvoKsvHamswftkeBa7R7hxxlX0UgOLIJ0358YfY+AFHj/YZwkoDqhsJTAWGcsELdZC9iYH6dhepD38nVMsQLDuJ1hqgzLFac/5z+qoH6NLHR3NNQ7q4SvMRey0zTrGnrfW1e9ZRfLzm1XnC31xpjuiFBUpqKoLDXjCrkeaXQYSCrUCG9XgXCNkml1OVYUgnrU8ls/pHRHToDAHkLn5I/X2rDeBDoLDAj781OnbvFRUml1MQkietCVmLtDap8+qC06o8Kr3bnpMNi86N8S9VJ6KgIGNrs61871X2RgaqFhZsBwOVyUReImF1mPqUy147Z0ZQLuacs2/mMky26WGsa7cawbMapkXNM9GSss/pGOnhmYWJJXDEPfThExq/c62qRbrtt4KD9yAxrnELN31isUt4qlFNWJEfjtLURQT6hUjBdnUDWI3ktXyVWRff4q9if0wZG9ApXIu7Rl/l3m/VtGrbmW1QLgVnBx2uwoV4ADeOqSbXeETNNJ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QDWO/Gwx5nz3Gn1hxb7mIaZJmS9BKRVghuKSQbHwZKMlaMIW4camTenbNGRZkM3JYgdSZJFs/73vvn7RutIJtNM3VwMPbKsftzG2vbsAA/FYWmUcgiQ2qQT+C9tAPzlMYF3HHtGXdY0N32wh/NFRDLVrIZDKtNI7GTHlkGZDbtYzOmITWfe8mr4X7faFyPjlUXQs8Rtzb068BzskI2Txbx/eCwbt0V9/XVEz3uUtVU6oq23h6XQx6haLnobjwjipdecACqtLGcWkP7U1wgJQKQ==;5:VDKHagwYX53Wb1/mFF3QRg8qgNmyO0FxN3yPrcEeppuhOMU8XZy+6f7EeCAjo9JhTi2BFNt1+qRJxZp07bpjeR14Zsb2BM9T+R96okvdyJfJd9noERO87G3zm75tfrttMe0OYpcTe1mX9tk1nVX7kMM6eJVQdWUHq7ycCYOo8XI=;7:W6zSvWHm0aX7a6w4r59BeXH+6w+fq4CdQLaeMn6xbPFSneGtDZGHf0HWRvnL7+X3eDdr2NQVZN/8wQUu5/38Yesd0hYkWETRe5MxluhEVJIf0IUs7EMH34Di2axB42+o6FqtFnJXZ6ngTxhjv/Sv/MCbS5JOq3ROQTk81Y3pt/lAw7i1V6n/9onuPWq3GqDyy3MBhEYl3RpDh8S0w6PWnJoLhbPAnzWUYSa+Ne608t13jchSqlnfpLSY7ICnKcKt SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2018 11:58:56.2262 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 250793e2-876c-4ab2-71e4-08d6285e6e60 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: CY1PR0301MB1226 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 From: Dragos Bogdan As part of finalizing the device-tree support for this driver, this patch adds the of_device_id table with supported devices. Signed-off-by: Dragos Bogdan Signed-off-by: Alexandru Ardelean --- drivers/staging/iio/impedance-analyzer/ad5933.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c index 04208a1df48e..ab8b93fd39ed 100644 --- a/drivers/staging/iio/impedance-analyzer/ad5933.c +++ b/drivers/staging/iio/impedance-analyzer/ad5933.c @@ -809,6 +809,14 @@ static int ad5933_remove(struct i2c_client *client) return 0; } +static const struct of_device_id of_ad5933_match[] = { + { .compatible = "adi,ad5933", 0}, + { .compatible = "adi,ad5934", 0}, + {}, +}; + +MODULE_DEVICE_TABLE(of, of_ad5933_match); + static const struct i2c_device_id ad5933_id[] = { { "ad5933", 0 }, { "ad5934", 0 },