Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3270249yba; Tue, 16 Apr 2019 08:03:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9PN4WcfVQr4cpZ4j/j+BIKuje2vrF5j462+TgfjhWtIHb470W2dqBoQxwcG0MRDiujxNH X-Received: by 2002:a63:e051:: with SMTP id n17mr77087092pgj.19.1555427005173; Tue, 16 Apr 2019 08:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555427005; cv=none; d=google.com; s=arc-20160816; b=ydZa5AehMnRYWxtVJdfkxoryRToerdzM+tGg23othDpaqkdTbQITTqH8u+TTtU0iRZ nedLS42nhl4ilGotOyRqXy6hnfRPh2DhVvmfQorQLkjSAqpDcGhjwodkWdrwkt8nxN02 Vd1uBfugOGwyqu+voSkNzZB06eTHf3dQyBSX47aUQ/st6Am6A2URI4XF56UII9wFBGl2 /RQ08LbdRm2iCYFsb72+Kew0ZnsyDRO+0NDdVR6UHQC8jliNvC88bWZfJdOm23QZQced iS9pnHnO/C76d4FRJblWNiGpdcNs1ZBjPqw6VUhni3NFXw4l9+MOFYL8ZLJAVzOPWTLi HJLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=wUnCIvw+6I++nSX5OtETLfKYEXLZanzvWWyNUY0bQuk=; b=IGGidH2TsUsGPgPe+laP/Q89Sdd+97EPsyWfuR3Lna3KeiZdq3mK6EHEG5eowd8QrO ft4UDUpg8tyu3+SyQS/ZDF3qTo8BCZ/r+OSg419vZxZsATIB99iR9N78g98bc9CCLp1B 6G1Kli02e6THl/Kx/Nyv5UHxdAVUYdnwFMdgynmOybtIr4Zhz8jHujqqB4OyXGIsBdg6 l5dj17WfG9MNBZdknQg244EvmoF0EAERmlT1lr1suXCttDwDM3LuBm+mwlxmdemYPS3M S9wxSVWkqBrGAukiukw/xX/kU8mbQjKSwqzo01zXvU+37oko+9RQf3FJ/Mq9FDyj1pEg rkvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=PUQ+9+T9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g123si52366365pfb.24.2019.04.16.08.03.06; Tue, 16 Apr 2019 08:03:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=PUQ+9+T9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729405AbfDPPCP (ORCPT + 99 others); Tue, 16 Apr 2019 11:02:15 -0400 Received: from smtprelay.synopsys.com ([198.182.47.9]:60346 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbfDPPCP (ORCPT ); Tue, 16 Apr 2019 11:02:15 -0400 Received: from mailhost.synopsys.com (dc2-mailhost2.synopsys.com [10.12.135.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id A6E8B24E06C5; Tue, 16 Apr 2019 08:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1555426934; bh=LC5TU8VFuhVFWv6cEDYLq8pPel05C6uccJ2vJ4UdcVI=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=PUQ+9+T9nETPcLLUMzr31867j67lk74YCjINy2wFQ3ovi5udWpuGXtT8VHqZ+0U5Q p6qIYhcS81tD8Ljk/HWFkF8YYoZTlC30yROOl0MaSXq8DC0K2kFuPmDrIofT1MW5KA W8jhDCWbmyLLrJAARQxuBCFKV7EhZVqNyH5VZFitdsDjwi/z2FiUhOl+pqEz59U2t8 cVucEA/QoUJXWmDZowiEfzaXRTP6tLNBZY6RtYuHYkPmQoUx22iTLbstg0FeDdGJfG ribiEV0emWW0foB260YiSdj+YYkL4GGPr3BNfyfvTKAl7bgxLvuBBy7SGzto0DXvXM hiWhB6/ZF/W4A== Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2.internal.synopsys.com [10.12.239.237]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 96C0AA00AE; Tue, 16 Apr 2019 15:02:14 +0000 (UTC) Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 16 Apr 2019 08:02:14 -0700 Received: from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099]) by DE02WEHTCB.internal.synopsys.com ([::1]) with mapi id 14.03.0415.000; Tue, 16 Apr 2019 17:02:12 +0200 From: Vitor Soares To: Boris Brezillon , Vitor Soares CC: "linux-iio@vger.kernel.org" , "linux-i3c@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "pmeerw@pmeerw.net" , "lars@metafoo.de" , "knaack.h@gmx.de" , "jic23@kernel.org" , "lorenzo.bianconi83@gmail.com" , "bbrezillon@kernel.org" , "rafael@kernel.org" , "gregkh@linuxfoundation.org" , "broonie@kernel.org" , "joao.pinto@synopsys.com" Subject: RE: [PATCH 3/3] iio: imu: st_lsm6dsx: Add i3c basic support Thread-Topic: [PATCH 3/3] iio: imu: st_lsm6dsx: Add i3c basic support Thread-Index: AQHU88BDdPWsnuXu6UGzgTXZFjsXn6Y+MWOAgACxfJA= Date: Tue, 16 Apr 2019 15:02:11 +0000 Message-ID: <13D59CF9CEBAF94592A12E8AE55501350A6159E0@DE02WEMBXB.internal.synopsys.com> References: <302f8296299d6cd25b3689f5eca1c510a3290db3.1555354268.git.vitor.soares@synopsys.com> <20190416082539.2f12b38f@collabora.com> In-Reply-To: <20190416082539.2f12b38f@collabora.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc29hcmVzXGFw?= =?us-ascii?Q?cGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEy?= =?us-ascii?Q?OWUzNWJcbXNnc1xtc2ctOWFmYWZkNDYtNjA1OC0xMWU5LTgyM2EtZDQ4MWQ3?= =?us-ascii?Q?ODUxODBmXGFtZS10ZXN0XDlhZmFmZDQ4LTYwNTgtMTFlOS04MjNhLWQ0ODFk?= =?us-ascii?Q?Nzg1MTgwZmJvZHkudHh0IiBzej0iODU4IiB0PSIxMzE5OTkwMDUyOTUyMDkw?= =?us-ascii?Q?MDkiIGg9ImFmRDRlQWlEQ3p1eTY5cWx4SHZ6TzlhOG9vVT0iIGlkPSIiIGJs?= =?us-ascii?Q?PSIwIiBibz0iMSIgY2k9ImNBQUFBRVJIVTFSU1JVRk5DZ1VBQUJRSkFBQXhh?= =?us-ascii?Q?bE5kWmZUVUFiRzdXMi93aVFKUXNidGJiL0NKQWxBT0FBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFIQUFBQUNrQ0FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFF?= =?us-ascii?Q?QUFRQUJ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BQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFKNEFBQUJ6?= =?us-ascii?Q?QUc0QWNBQnpBRjhBYkFCcEFHTUFaUUJ1QUhNQVpRQmZBSFFBWlFCeUFHMEFY?= =?us-ascii?Q?d0J6QUhRQWRRQmtBR1VBYmdCMEFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBRUFBQUFBQUFBQUFnQUFBQUFBbmdBQUFIWUFad0JmQUdzQVpRQjVB?= =?us-ascii?Q?SGNBYndCeUFHUUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQVFBQUFBQUFB?= =?us-ascii?Q?QUFDQUFBQUFBQT0iLz48L21ldGE+?= x-originating-ip: [10.107.25.87] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris, From: Boris Brezillon Date: Tue, Apr 16, 2019 at 07:25:39 > > +MODULE_DEVICE_TABLE(i3c, st_lsm6dsx_i3c_ids); > > + > > +static struct i3c_driver st_lsm6dsx_driver =3D { > > + .driver.name =3D "st_lsm6dsx_i3c", > > + .probe =3D st_lsm6dsx_i3c_probe, > > + .id_table =3D st_lsm6dsx_i3c_ids, >=20 > You should probably set the pm_ops here (st_lsm6dsx_pm_ops). Yes, I missed that.=20 >=20 > > +}; > > +module_i3c_driver(st_lsm6dsx_driver); > > + > > +MODULE_AUTHOR("Vitor Soares "); > > +MODULE_DESCRIPTION("STMicroelectronics st_lsm6dsx i3c driver"); > > +MODULE_LICENSE("GPL v2"); > > + >=20 > You can remove this blank line. Thanks for your feedback. Best regards, Vitor Soares