Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp786982rbb; Sun, 25 Feb 2024 04:08:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVoH2AjUHylyYchseMe0mc44a8kPBaX5ptbD9uTl/+eBtWGKOgKyN4XSyuVhH8R/q0CvcKDSoDfFkjeMEKxKcwO1CuPBcHqP/159P7HJg== X-Google-Smtp-Source: AGHT+IGzyULkyvRrFfnSX6OopEFJxTk0o148wZkTf+5G5fN1wYtb2T/wnpAsyhSVGUX/9BI4n9xb X-Received: by 2002:a05:622a:149:b0:42e:7f07:af9e with SMTP id v9-20020a05622a014900b0042e7f07af9emr1180284qtw.50.1708862929882; Sun, 25 Feb 2024 04:08:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708862929; cv=pass; d=google.com; s=arc-20160816; b=qwYkWpp3U8W5i8yX/Bp5mtitm/az8bxpVhe2oHdPFr9X5V9ILsGuMDMUorYX6jBoup 48sWlYrP44+SjlKcSXtisvT3zDr6ZVtSdu6i6O6KQGGTWYCOVQeewjtALtzkw5xWqZTy zGHmYqZl4sLnQaxz+iFFM9CkYDj0e24xKsJvwttMpt3BsPVA41OznvFf9VGkPeJprTYb xYd2Dk+iZ/eUfogoK3TSquWIr/hoMgBWUKxMFWmTDGxjfXzdgJkknDWLcqdTb89UbJZI VtXkL8r7EaiJkZvJROiA4PObRgm+5VMFJWCMWWDK1gtHHzTVALmNZI7IM2xAl3O8gkGg Rx4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=fhXkzoXry7r5iKxhxPyLdDq+9YwPV7IdkM37Iqe3c0k=; fh=U1jYxVsb6iPjzk5EciiHwdMk3+EzqeaWQrykDM5qbn8=; b=h3R5Ui5s3Sz6FmhQ2fJZOF0zkY+8fH41a9W1CMnNx1jjFKceslEm1994vzqK268J84 5wd3eJqH7UYdRS4GBCfCw+NR6MAVeabqsPkVdOxbppBITc1OAj5KHtczvubZJyix6VXO mdeXjXsQynmFWXVWAU8RE4Qo9CFa7iZBFjvkLIkbTASQ2NWr9+MhVSUp7xjd+lXMNqT7 Dq832neDWG5ICeflLcRguQtQ66GePtOumW8OB3/rVKIZrQ3nix7rQLMJRG6GMkK//CVg NBQG0BoyY+fwJmzL8x8FWvw/PMRr9vVo8TxsRk5XkserA1HJT9blKYhItH3HxgnzZhRa clLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A+L3wqwW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80055-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id js25-20020a05622a809900b0042d918da42dsi2903433qtb.37.2024.02.25.04.08.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 04:08:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A+L3wqwW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80055-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A01301C20A43 for ; Sun, 25 Feb 2024 12:08:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F42D11718; Sun, 25 Feb 2024 12:08:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="A+L3wqwW" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FDF510949; Sun, 25 Feb 2024 12:08:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708862922; cv=none; b=iOboOxqtcenGVgFF4L89diiuOhuVecmu+nurnQY/kPgV6/ImwcV//orqrzMOJem35GPcNVS3i+Rj35hAbREkB7RCsiusiP0JK+WCZejhtKqQ/4sGWpug23eYjel+FC/sFIX0WEWIktppT7d7bdjwur69Z9bF7hPJkA+OXxu2sqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708862922; c=relaxed/simple; bh=eydAkpN3ARvz8HNfZbd4wFlBoDliT+NX7NKAijjvth0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gwJrJqxAIRKMGbhiQWO/TRPQBSc44pMcEj9w5yRgYh14oPh2OU+Kru0S3U3CPVYsBBL2RLcrK7GBehU/07lM/tjgJcXZ4jVrDijSiQBjuS1zSuQ1xRRQQci6DJLvVKK3UtS39DgKpqti4B7SwO9zH3bpaVkXf/W/axYXK1Pj0Kw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=A+L3wqwW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F4EFC433C7; Sun, 25 Feb 2024 12:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708862922; bh=eydAkpN3ARvz8HNfZbd4wFlBoDliT+NX7NKAijjvth0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=A+L3wqwW5kU6J1ew7Xy45XRrRdzax5touHVHzCU2p4MqE8B4OSMXHRbH0YN4cfBEn o6EjskXbrNjdiUhT8kJ8qpWqn4kEohKIKk/j2+KRRctfBpYAbnqTbsd/dKsdqciNx0 VB0D+nCPnFxHkeEtl61I7uXjfH0pZNmxCxMeBcGButUY877TcNPbCbi1uwbWdaszqS IwdH/elwQiDmPUeQ3PMf+A9Fyw+u+zgdQyYFLRLxlptyQgPnT9VcJk2JGSExDugtnY 7PDsDAq34WL4Y31fHB/byeQQim9YQj8pUVu95hwx/XyFsoKe7fediSyB5JHv8kqdPw arYhAvRVJCWvA== Date: Sun, 25 Feb 2024 12:08:28 +0000 From: Jonathan Cameron To: =?UTF-8?B?T25kxZllag==?= Jirman Cc: linux-kernel@vger.kernel.org, Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrey Skvortsov , Icenowy Zheng , Dalton Durst , Shoji Keita , linux-iio@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v4 3/4] iio: magnetometer: add a driver for Voltafield AF8133J magnetometer Message-ID: <20240225120828.3ae2d16d@jic23-huawei> In-Reply-To: <20240222011341.3232645-4-megi@xff.cz> References: <20240222011341.3232645-1-megi@xff.cz> <20240222011341.3232645-4-megi@xff.cz> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 22 Feb 2024 02:13:37 +0100 Ond=C5=99ej Jirman wrote: > From: Icenowy Zheng >=20 > AF8133J is a simple I2C-connected magnetometer, without interrupts. >=20 > Add a simple IIO driver for it. >=20 > Co-developed-by: Icenowy Zheng > Signed-off-by: Icenowy Zheng > Signed-off-by: Dalton Durst > Signed-off-by: Shoji Keita > Co-developed-by: Ondrej Jirman > Signed-off-by: Ondrej Jirman > Reviewed-by: Andrey Skvortsov > Tested-by: Andrey Skvortsov One additional tweak from my local build tests. static > +const struct dev_pm_ops af8133j_pm_ops =3D { > + SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) > + RUNTIME_PM_OPS(af8133j_runtime_suspend, af8133j_runtime_resume, NULL) > +};