Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2102797lqb; Mon, 27 May 2024 08:00:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWEFg4Z1Z50KgcP05P3aKMfO/C+LoimLG6Wk4qZCfZSlexqJdhk+jKZqQXbNpVPrWP+jjAgIbc4bXpX0vdiNcg0TOGEm87l4X/bg/bCyw== X-Google-Smtp-Source: AGHT+IHNJCeb1FX30qIOTzdM2oyqE+Ju1EZ2KgzRbQ5zsu+iLA2FnC6zs09OtRl9L5263VRRCrwI X-Received: by 2002:adf:f24b:0:b0:34e:93c1:7979 with SMTP id ffacd0b85a97d-3552fdaa2fcmr9088691f8f.38.1716822015971; Mon, 27 May 2024 08:00:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716822015; cv=pass; d=google.com; s=arc-20160816; b=fGphopR/4gM6RUDtHYIhzXwQq++rf+mGEB49Yj60c7HWiZJBCoevPhfG6JfR2H/Fc4 ynIELuT0jelz/gJrxYNnAOqwQDGqm3cTGQ2MB24vNxszAKX1xuyFIslkXuZ8cdFXYl+c mgpVmzce/SeRLzJS8bo2Mq/6eICJsrz2vtkrEgCZWvkdWx2s9QGWWAiNnGTbk5RXdQ/i JnPZa3NIWOIdzKCzW7ij9MJnse301EgL6kA60z0mrrAY8WYqj8b7+sNE2hfAR5S6YjKe lRqZQnms9NIioOZeG3Uk+WJHDE2nsRBNLlYCY5wC+7MdyUaq00Ya//p4gEnHirbOSv7y 95dg== 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 :date:subject:cc:to:from:dkim-signature; bh=3OBYE292Zh9Fhskf2+d0uj1Qw8NWUS0cqPxDEoI2PRk=; fh=yOVc1oRwzUg2DGbxFEFpp8f70hkqiNQeIv2AhohLjA8=; b=CN6khOYHVsJPFhUVgw/UHLRf9jFRcmSyf86WeDqzXvUx72OF+Gfok5Tl1i4iKMz/ze 8XWY34PNAGTFBR9D/lGyPrP/SgqDtHOUPa0HVyH9GdYT2rVCGaRC0dj29ohK2NzYguf7 qt5mw2ILoS2ZTzBRFBRcVVJYaesxykVxYGVOkRqvfyEDPfQEz+1VogbuTlMZQgXAaOrH oTun9JpLZ4ALpHPAn+wbBpEBsW36zOMh4YcV1A5Gi/mB6ncQd2E/xmWVg4S5/1gBe9ze qtKIw88o/5zCJDDBkZfULnsm5Ss0UmCNi+LcnsAQhR3YrmbfaFp29An0AqhkSvAoaPqU VN9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VMGtCWa1; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-190974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc36b72si398011966b.453.2024.05.27.08.00.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:00:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VMGtCWa1; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-190974-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id AC1EB1F20620 for ; Mon, 27 May 2024 15:00:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC71517DE2C; Mon, 27 May 2024 14:26:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VMGtCWa1" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 5793D176FD8; Mon, 27 May 2024 14:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716819997; cv=none; b=OLr1ibf1azXPQ6M244BSKRS79kQ1uhAAt8aCHbtEd09hgXJ0vtrc5sX+wM82Dg/Y75yOxBeWcplM2XW15hHtPpjuLAYJG7WULIh6ESpbcQfg2KstV/VpiUECpvcFM/y1iuX6/6viqgQ78WMys7xYZ0AAmhte2BEsqZOwBey+rUM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716819997; c=relaxed/simple; bh=Dv0xLKCtZ4d76jsw2G+RUKxjBkQEtWQxE0mfjfwmZYY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oU0vU94Sb8uNv2VoS1BE8vKa7rtnFm20NHpsllMH3MSnw/+x2luOXR3YcLr9eHnH+EvjDMg84Ekbg+SwfCuQKbSML8qXL95aWAc2bleueBzbfD/qXEDjKLdNMTF0ScNBZeYh7jhErMfwn7YPY5ZFdM6wQSTQsstUTauy2ZNWc/o= 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=VMGtCWa1; arc=none smtp.client-ip=209.85.128.41 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 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-420298ff5b1so110170635e9.1; Mon, 27 May 2024 07:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716819993; x=1717424793; 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=3OBYE292Zh9Fhskf2+d0uj1Qw8NWUS0cqPxDEoI2PRk=; b=VMGtCWa1EcR7NVRjF++es5tpjNDEjyB2jRwdjummU0Paq3x+ixaUSxzqcljnzWrLS9 HZnAZun27SbT5fPFW8xG8jf8exZtCOM1A70O+ci21Br9my400r3ZMliis/YNg0VBeb+G VZatqw76H+FxMPd65EDBlhF02Hb29a4l8AaRcf7KzMH7ta5B+xUhUwRlrwNWg0GylEMQ GyzGBgDBtsvQBkIj8uOijdSp4YMgBITDpVCSlRPi4BCG15WQi0leSuSYBna9dIn5110p MwsqLwNVkJdb6axSaQNd8QHUFxqgoW36JSQHY/nZFHmgyIASQpQje39v82mPbVQirzb6 Otgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716819993; x=1717424793; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3OBYE292Zh9Fhskf2+d0uj1Qw8NWUS0cqPxDEoI2PRk=; b=UBtYoHhV0FS0BHMF7f1rC5o1tfeVFdKkS1mfL2Isb4Xm5drrAmwR9gCN+3FJHLasuT 0rooD9LT5iRLloiL0BDmh987PD4wzr3ru0zYjmjiXRXxjGi2CCf2ZUhTWB3VjAyvmYH6 L7TiELicNAaXxWzB059PEfKOlzNCIo2cAppfro1g7Jhtag5MLB1KDBZSezeJOQSy3Pll t5MTBDMlbUI4go+zPZwDkcJIwBo7J+l1p7K8T5cHzm+mH/3LzftIeOzZ5DJ/zfUCFTNo IVQzcykuOaJjwvQtV5iCDpbZUx9pzfOTkdd5NmW+eOIEG0JpjFD4473ZAFDJtbDP2eSK 3S6Q== X-Forwarded-Encrypted: i=1; AJvYcCUZXgrpFW1ERfHiUO/g5Kb77P5NJoMPB+cGjfxcsigg4hRbYRuE+OaM+LEu1Egrtz3zyL1xhYanJ+J33LSz88gKG9Fxh3It5C7d6jL+PQ6u4TF3wbtyZceXofKU8abci5m2FdhyUg== X-Gm-Message-State: AOJu0YwVO8Y7z/Hr2NvE3rVm5iVsO1b/xe6whnwlOQ0zjVKpDJfzCgmB yvYO3ecqrese6601X2ElHN2ByX+kQTUNqfqwKgLQJbdJUdB27qKcNchBAy5x+oc= X-Received: by 2002:a05:600c:1c8f:b0:41c:503:9ae4 with SMTP id 5b1f17b1804b1-42108a99c46mr96384175e9.25.1716819993459; Mon, 27 May 2024 07:26:33 -0700 (PDT) Received: from rbolboac.. ([2a02:2f0e:350b:4500:9c9:f6ef:e79b:45ce]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-421089ae976sm110537875e9.38.2024.05.27.07.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 07:26:33 -0700 (PDT) From: Ramona Gradinariu To: linux-kernel@vger.kernel.org, jic23@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, nuno.sa@analog.com Cc: Ramona Gradinariu , Conor Dooley Subject: [PATCH v5 8/9] dt-bindings: iio: imu: Add ADIS1657X family devices compatibles Date: Mon, 27 May 2024 17:26:17 +0300 Message-Id: <20240527142618.275897-9-ramona.bolboaca13@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240527142618.275897-1-ramona.bolboaca13@gmail.com> References: <20240527142618.275897-1-ramona.bolboaca13@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 Add ADIS1657X family devices compatibles and specify the according maximum SPI baudrate. Similarly to other ADIS1650X devices, ADIS1657X supports sync-mode values [0,2]. Each newly added device has a different angular velocity/linear acceleration/ delta velocity scale combination, as follows: Accel dynamic range sensitivity: - 262144000 LSB/g: ADIS16575 - 52428800 LSB/g: ADIS16576, ADIS16577 Gyro dynamic range sensitivity: - 2621440 LSB/deg/sec: ADIS1575-2, ADIS1576-2, ADIS1577-2 - 655360 LSB/deg/sec: ADIS1575-3, ADIS1576-3, ADIS1577-3 Delta velocity sensitivity: - 2^15/100 LSB/m/sec: ADIS16575 - 2^15/125 LSB/m/sec: ADIS16576 - 2^15/400 LSB/m/sec: ADIS16577 Each ADIS1657X device supports FIFO usage and a sample-rate of 4.1KHz, meanwhile the already existing devices do not support FIFO usage and have a maximum sample-rate of 2.1KHz. Reviewed-by: Conor Dooley Signed-off-by: Ramona Gradinariu --- no changes in v5 .../bindings/iio/imu/adi,adis16475.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml index db52e7063116..9d185f7bfdcb 100644 --- a/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml @@ -37,6 +37,12 @@ properties: - adi,adis16507-1 - adi,adis16507-2 - adi,adis16507-3 + - adi,adis16575-2 + - adi,adis16575-3 + - adi,adis16576-2 + - adi,adis16576-3 + - adi,adis16577-2 + - adi,adis16577-3 reg: maxItems: 1 @@ -98,6 +104,12 @@ allOf: - adi,adis16507-1 - adi,adis16507-2 - adi,adis16507-3 + - adi,adis16575-2 + - adi,adis16575-3 + - adi,adis16576-2 + - adi,adis16576-3 + - adi,adis16577-2 + - adi,adis16577-3 then: properties: @@ -114,6 +126,23 @@ allOf: dependencies: adi,sync-mode: [ clocks ] + - if: + properties: + compatible: + contains: + enum: + - adi,adis16575-2 + - adi,adis16575-3 + - adi,adis16576-2 + - adi,adis16576-3 + - adi,adis16577-2 + - adi,adis16577-3 + + then: + properties: + spi-max-frequency: + maximum: 15000000 + unevaluatedProperties: false examples: -- 2.34.1