Message ID | 20240211205211.2890931-1-megi@xff.cz |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-60953-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2100346dyd; Sun, 11 Feb 2024 12:53:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVRZEWngcab5TRz4Zi3cf3vGjA0FzdSLnH+NT5iMeCHxUU/9uo6+qPtvVAtK/TGJUx8oupg9tZtcWQrHvX+swmvR5bTFg== X-Google-Smtp-Source: AGHT+IHWHRb0W7ZyqKn7B010r3Xmg6woOYR66OskgAJIaCpghm4wsk0hw9pIBNjwPMsSqQLPTICU X-Received: by 2002:a17:902:7615:b0:1d7:c94f:44a1 with SMTP id k21-20020a170902761500b001d7c94f44a1mr5122532pll.42.1707684828265; Sun, 11 Feb 2024 12:53:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707684828; cv=pass; d=google.com; s=arc-20160816; b=FxD4TEiPgI5usNvbwWEVcSaAAGLkS8L1dcKDKiPyxSiG+f13gOzOOfpglHu1GhyFFz JJ77GyDyxfSNv5n1HOrAHXv8vBXy/ZPY67HHSl1vnNI6fPhj2jsbIXpc80dY8lJERMDK 0sLf+CDHifjiAav9GZww1k+Yj0zr7FFbUgvB8+VSiiGsUUOTsHVgYy9crnPerJqpulc2 qU51brqFstQDA+wlFMggmsTJOZwr5G5VPcRWjAETZu9BBLATRWnW7jWC4Z6qov9NmFt6 EJl7EtrROhkvlzfA5FMHApknnsmHEcp/9k/ZkUABizL6Nt3mM6L2KiLDNeoHVexvIfVE rEdA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=3bhjyn2KKR8JAv3AHUvFmGL7EuGqWHfsxkc0vou8VQM=; fh=k32HY5PwS2OcPczeEVOo51Muz2k1woMzbg45/IvOQJI=; b=xT5c6ANhBbKU9PDwVFfz93tR6cgvbGCdlmq+X9T23LjQ7U/avxW0ljYq6E8TkLZN/V UVMa7d/Drsr0/VjFRMuSQkTSox3wjarH4aQdTL6sKMxrwD4BWnLJVKFe0Cy4aIva5yDO 9HzFunPPoP/Wf/JQPk/P+z56svgXcIiE04FVM+AeITt64DK3sbXQ95fQ+x9zBsNbnZ2o Gjuq/WNi0ZjLHOnCnekDkXfQOCWsJa3UMNhlfTUQQRc+8SGc5GA5I7jq5ZB8i67WJygY b8djZqmGPaf6tiu5a0cli8Hl2iEV9LhzpoPPTrlUz1+nAVlm1dMTiivrTF55CPfNf7H2 /szg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=Zp81RZnK; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-60953-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60953-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz X-Forwarded-Encrypted: i=2; AJvYcCX4BG1y5OZa5BRUwFG8QZReeePMI/CeTXt6qEkREjWZx3QM2yxvBrcKvbXgxggj5W1WRnikVbRtTtUBTiJHZd+GRcLIGw== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l4-20020a170902f68400b001d91e7378b2si5452647plg.373.2024.02.11.12.53.47 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 12:53:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60953-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=Zp81RZnK; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-60953-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60953-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EE571B21FBD for <ouuuleilei@gmail.com>; Sun, 11 Feb 2024 20:53:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E38B5FDD8; Sun, 11 Feb 2024 20:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b="Zp81RZnK" Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A1FD5D8E4; Sun, 11 Feb 2024 20:52:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.181.215.36 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707684743; cv=none; b=TDpGPjJINvoPvidjB3UFB8gTNV4PtlLP/Aq71t58SzhBUCfkUpru41Ok7qIEz9DI5l03nX0KVq6quBdRvZF3yp8sNrrDAy7+Y+Xul/b7AxbVsGKOlvNRfKHFTwdIwRNQZoy40EaILkVzQZLfGq21X7C4hQICVUhQ+RD/04xkvY0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707684743; c=relaxed/simple; bh=isG0zDsvzsHQP9xgeeXZnasvBjiHGHeSlbDgptfOIG4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=g0zcPFj+TPxbnZmCmf7X3T4zhbib05bfXCAM8l5I+mvpBQeZMKbMyuOSvJZIHPt60uf5WBTQCTiD0vsmFDPP897dSxx9AhlbKK7oKjsw7DTN+M4EpKMX9qBSGmWLjyS0mwmNA1zmADnkJ+C7c6Oz2kdcYDBlfk8kqN97ee+7oh8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz; spf=pass smtp.mailfrom=xff.cz; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b=Zp81RZnK; arc=none smtp.client-ip=195.181.215.36 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xff.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1707684738; bh=isG0zDsvzsHQP9xgeeXZnasvBjiHGHeSlbDgptfOIG4=; h=From:To:Cc:Subject:Date:From; b=Zp81RZnKYt2nKsOUzJECm/D0aCh7Ht9xg+E8ZPmSrjlfUvLZJV3nC9OifCRvHYLWH 5JgXVk0edVVZ1lGXQXiUM5TDyG6bjJKQ+M97Kd2twa8moKnWKYVjJop4wuvENhui4J 2KW+r/O6Shn5Chsmi5dQlQm6EE7HmHR79gXPWYV0= From: =?utf-8?q?Ond=C5=99ej_Jirman?= <megi@xff.cz> To: Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Andrey Skvortsov <andrej.skvortzov@gmail.com> Cc: Ondrej Jirman <megi@xff.cz>, Icenowy Zheng <icenowy@aosc.io>, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Add support for AF8133J magnetometer Date: Sun, 11 Feb 2024 21:51:56 +0100 Message-ID: <20240211205211.2890931-1-megi@xff.cz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790637326479976847 X-GMAIL-MSGID: 1790637326479976847 |
Series |
Add support for AF8133J magnetometer
|
|
Message
Ondřej Jirman
Feb. 11, 2024, 8:51 p.m. UTC
From: Ondrej Jirman <megi@xff.cz>
This series adds support for AF8133J magnetometer sensor. It's a simple
3-axis sensor with two sensitivity options and not much else to it.
This sensor is used on both Pinephone and Pinephone Pro. DT patches
adding it will come later, once this driver is merged.
Please take a look. :)
Thank you very much,
Ondřej Jirman
Icenowy Zheng (3):
dt-bindings: vendor-prefix: Add prefix for Voltafield
dt-bindings: iio: magnetometer: Add DT binding for Voltafield AF8133J
iio: magnetometer: add a driver for Voltafield AF8133J magnetometer
Ondrej Jirman (1):
MAINTAINERS: Add an entry for AF8133J driver
.../iio/magnetometer/voltafield,af8133j.yaml | 58 ++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 6 +
drivers/iio/magnetometer/Kconfig | 12 +
drivers/iio/magnetometer/Makefile | 1 +
drivers/iio/magnetometer/af8133j.c | 525 ++++++++++++++++++
6 files changed, 604 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/voltafield,af8133j.yaml
create mode 100644 drivers/iio/magnetometer/af8133j.c