From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 787143FE67D for ; Wed, 29 Apr 2026 13:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777468990; cv=none; b=FkJMAZPNb3ejxV4WMGBz47DKZXkC9Qj8z+o0aH7oIIi5XS4ZpJsSjdBsG2tKJ8gV6yNwyDU2bhevObQbfZtij8+2o7CmKQUuV7j6nDC7OwYyExepNh12e7psbp3+xs+gUfs0r58fU4MKlelz8koHvnGO7qBcOVeM+1+fAxzP9bo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777468990; c=relaxed/simple; bh=XI6T6E8eQ16tquB9SZpNeOdIKNi56M+uqkEzHvHoV1s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=glqFZtS9ADOTlaXhS06XZvjjSqwl3JaZEGMW1U/B/rszfriSRTanJNca5trM6tTt7T0+G2LheO7mmZDO/wyiWC/wJK+miBjHBxKGNzXoXJs3PpY7NSFcI/67jgyLJZoq7GfwdyDDdukMBWvcTkHpHljogv3PspM79eF27WlhTpw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BVfmOJ9+; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BVfmOJ9+" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-82cf636dac8so5431897b3a.3 for ; Wed, 29 Apr 2026 06:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777468989; x=1778073789; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=60u99mHhTFmXU2vBmbXZTzoik2emfTfjOC7hf/f4LX0=; b=BVfmOJ9+YlHkKbVu54sKEb30VDVeFfA5aPiAIhdlajZ4Kn6Ai77RBaYpIHqyOofusP 6y0FJvlXBqyZK2h0Q6dIG9pBLriHUgEa0/Io8XmF4pPUJlYJYrwxwblyItbEzs6MQ3Tj oHHHaRDEUUOihl76sfQJx5V32mAXCChfrBbQd7t41KH5kcijZe8fqg/krAHiMrLxD/p7 OVw5n5mVtnndQxh7uPXkFO8fNDBfeHxttUD2sCQju7Hr92NEGpFTevo0gcn6l/GyWZ8W qQvhbLU/cK5GX5+wDLO+y/sWrK5QGto42oSUTbEs3TDXrr6ot5xLmAMCL/p7mjNEV3yI DnOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777468989; x=1778073789; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=60u99mHhTFmXU2vBmbXZTzoik2emfTfjOC7hf/f4LX0=; b=SP+pc6TD8ydP34hjWvRU7GZ5tPukCJuUxLyrA/1iQ+eQLh7MG/4PLMLW7Rw/CVjkOi sn229VyMJPPKcNjm7x/xbeIkegGIupmsEML4E4wKqhUPZEvVqfQXpK8LPjZex8Q8MGqs j40PF9Eh4fa5YOKkum8xs7HSBZY3iQmn7Bs0peyDlLSHoItYsMifbebQRKrPl/+frq3b Z+CjZQ9+ZdE+d+8CSIpJ9Xo5vgwQyZ1lvcRUKdl5Xx5Wu1aPx0ZNmrzn3WH8+kU5vUJ5 0Pz61ZgS11UzUs3ZePupVXGRf/kcLQ+d2vePPrGEhTQcFz84hUBGpmy+zn3XGo24ybiw Dquw== X-Forwarded-Encrypted: i=1; AFNElJ/OjH39ksLi7YhjsGCWwyg0IlUQo2xHLLuY0k2xFzGscCjBpy/3Z9u9HUHjB4kKiWvDyQimJ/LiI4fO4U0=@vger.kernel.org X-Gm-Message-State: AOJu0Yx19q5xr1REwhFxwtMvaRPp4G5eP1PlE7JA5IDNyvZpNqUEpnRm /iVdrbapg+ACNUzMD+l+aEKKhGA72BHP1PLXRxohC7aJaIQzVumBBkMu X-Gm-Gg: AeBDietqEvgYeuSMWCt+MvKIgh/hf/1Px9BXBbptts8g4rgUW3Z8agu5fgXRCEY3n3p KJRMVI1QPWSph4BIdepaTISPEh8l3nvoqpnyOLRPGOz3uoLtjds8urnXW1/f1fcaUJ3JvPU3Clj Vgy66icggJbZT6lTDOI3aaYRZ04KRvsmwCfabsA03b2nDcSuZ0tevY9hPkUh3Bwb8vEN1BwR5wc QCSGn7+rpvZChRJIqESiCzKDTgnoe72NyiqknccZvjw2YS+oHSfpK4O63qWt9RxT+gm9cuCU49q fZ5fr3itnAwX5nYP8wWeQyTz8OAH1kzb1QfZluwDhc0V8WHOa3Ne9O+my3Np9lIhCTUdG3TKqW9 ZsjzUOK57Ulg15s7KT5p80DSlXxXNffk81Cs8636Cr888e3hYrjflIURLdVg6aRdvumH7BmGMe+ zA5MWNUhkfsI9ILONlHJkidkuuVE0ozGrwtbyuSJngqW7qKZLyPhRxhkkH4oKhQAG9em0IWv/Q0 KZnrokLBCCUIyc= X-Received: by 2002:a05:6a00:1911:b0:82a:6b97:34ae with SMTP id d2e1a72fcca58-834ddbefef5mr7957990b3a.32.1777468988794; Wed, 29 Apr 2026 06:23:08 -0700 (PDT) Received: from localhost.localdomain ([2001:448a:2002:4381:3859:fd0d:505e:362c]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-834ed5cd407sm2091372b3a.13.2026.04.29.06.23.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 29 Apr 2026 06:23:08 -0700 (PDT) From: Muchamad Coirul Anwar To: jic23@kernel.org, linux-iio@vger.kernel.org, rust-for-linux@vger.kernel.org, devicetree@vger.kernel.org Cc: branstj@gmail.com, lars@metafoo.de, ojeda@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, igor.korotin.linux@gmail.com, linux-kernel@vger.kernel.org, Muchamad Coirul Anwar Subject: [RFC PATCH v2 3/4] dt-bindings: iio: position: add ams,as5600 Date: Wed, 29 Apr 2026 20:22:29 +0700 Message-ID: <20260429132234.30514-4-muchamadcoirulanwar@gmail.com> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20260429132234.30514-1-muchamadcoirulanwar@gmail.com> References: <20260429132234.30514-1-muchamadcoirulanwar@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Signed-off-by: Muchamad Coirul Anwar --- .../bindings/iio/position/ams,as5600.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/position/ams,as5600.yaml diff --git a/Documentation/devicetree/bindings/iio/position/ams,as5600.yaml b/Documentation/devicetree/bindings/iio/position/ams,as5600.yaml new file mode 100644 index 000000000000..d29543d85d1a --- /dev/null +++ b/Documentation/devicetree/bindings/iio/position/ams,as5600.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/position/ams,as5600.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ams AS5600 Magnetic Rotary Position Sensor + +maintainers: + - Muchamad Coirul Anwar + +description: | + The ams AS5600 is a 12-bit programmable contactless + magnetic rotary position sensor communicating over I2C. + The device address is fixed at 0x36. + +properties: + compatible: + const: ams,as5600 + + reg: + const: 0x36 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + position-sensor@36 { + compatible = "ams,as5600"; + reg = <0x36>; + }; + }; -- 2.50.0