Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp410116lqb; Fri, 24 May 2024 02:02:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJyi8lKUcqPwdwYEBbKkUcdGTC5eyGEXDBIZ4AOlKmS3TecqY/GZ+tC+An2GsWh+7AstSuFMiGCogthlJoeV7BscMs8cvxDF946nml2Q== X-Google-Smtp-Source: AGHT+IEdr3BjxvifoySw50SDmR4MH1578CkBVc1qnH31WfHkalOqqWlJXND1EDwXagWHC5m0Dxbb X-Received: by 2002:a17:90a:4583:b0:2b5:91d1:3ae8 with SMTP id 98e67ed59e1d1-2bf5bb0d6femr2451357a91.14.1716541377650; Fri, 24 May 2024 02:02:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716541377; cv=pass; d=google.com; s=arc-20160816; b=TnY35qmpx3ZkxPvuBMi/J1eX1Ia4hFbi8v2BUq9ZjLX7Nq1HyO1zD9ikB+UQctG7Zs kGY3pSsYMcDDPdmVnnHfRgfGSd3JMwhIT9pQSU5pX3Wb6cR/+Fld2+Bnb+uxS6kxhgUM YKVzaKsyU9JY9ZH/fr+gjIy2WYUJ9KaeDzFWGXigb0RIuULMDb8aKMRACqvaqWFGkyjC dlnpTTZOUepVCU4wQtRNajwrwiS4WRQJDSIBTqfTRH4AcTr6r8H7sy9FK/CPptbwgQ4M WPHOqWAg+Ah8PWF5KXEouIasPmkJ03CJGuIWEuTtHEiJGxHzTG6gmJGg7rerHPp5//0z +wxw== 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=pmYQ7ZdnVtFOZaMvSmehe73jh+uAhVulow9jBpSSC54=; fh=21tn5hsIfiVFVrmOL0yc+JkC8D1A/guGH73S6HfKIsI=; b=ISQXTKZNaVAVLBbRrJMh/HPxbtT8xPioQAdaH1hGlk8ZjYbVfTRSuKulOk0w4lRRLy gY3RpvCSR3OaIvGdApmwaLAI0JlbWHATToL460NjxG31Yxdg/Dn6Z8BWifcLHnOU8B7R Rpe3Jc2OM78BouUpCGxS/C6Qzp+xfGpiKrmiLJlFCmNECeXFzXohwuZMacr5EG+vGxzD LC9smW1TloPcVso5Jf2Jc/vqsUFRaANpoLrcuQSLaXoNp3ZF4SKFPmOFGh0ucgBJvV1l RZ2o1Ks5DNt4pRTCkbqiyLWSGFsGbV2WUlcgDRLZcdOb4ei1MERaqz5baOjzv6VkN/p0 rFFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=k2z9J8Fe; 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-188508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188508-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf5fac66d1si1056937a91.12.2024.05.24.02.02.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:02:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=k2z9J8Fe; 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-188508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188508-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4878F282D87 for ; Fri, 24 May 2024 09:02:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CA73129E6B; Fri, 24 May 2024 09:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="k2z9J8Fe" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 A35C112AAC3; Fri, 24 May 2024 09:00:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716541253; cv=none; b=ksMqCVp/+XZhxLVeCvvPBUlUJS0x1Bs9Tvu4+ZVlnyokgzFF5PWnEp0Ibi+udj04eKrnoOl+uuZbRApQUgJuI6NUL6Z5gUUHul1phQWRRyM/CcZ1gbTcokJr6ZvG9Rh5uyc/H16qP/emgQv51rXhSu3/VnOvIQzgkgrJaJ7iL6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716541253; c=relaxed/simple; bh=xsQiD1UvO8gRIlIAtOrHigCFRrPOh5n4mRPVrc6X0jM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QA5yMJqTW9ZT8yIYgCwNL1ZnZ8mEMK6xFdBPDP5X4+LAFBZg166rsENSyzajGf+wz+xJKkMCAY4pfCgMgtsVzW2hnDfVM6ymKjDwvCwXtSp5YStT6cFFZoN4nsedq2Eni5pp5okZ6maVkygVs0PQGFKhmD9W0Mc+moMQdXMyvuE= 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=k2z9J8Fe; arc=none smtp.client-ip=209.85.218.53 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-ej1-f53.google.com with SMTP id a640c23a62f3a-a6269ad9a6fso60548666b.2; Fri, 24 May 2024 02:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716541249; x=1717146049; 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=pmYQ7ZdnVtFOZaMvSmehe73jh+uAhVulow9jBpSSC54=; b=k2z9J8FegBE6ETLpKQIxrZ3ncOa2nriAbvT5H7PEBcUijLQzU2bI/Jksn77a0f3he4 Fh3aMnr3D7lM3DGBrZeXhZosp9HedWL1CHhW5Oc/9dpR/cOwtdYiieOkkxLvxarEacYK OlGu7674zOQoQZYSN3MuyQfhygglg/26/yGjEQOtQ4kLZihJxWfqz+JYdpIKtTx3N0Td G2TbVKBSgv1P15guI1j2lVBV5HQbVnb4sMIsm/n9a4JXGRAsSHwdhN9Z+p0tOVwUn69Y 1BzLBmYidvN5dHVrRhiP/tE2KVrlyIg1KqD1B7zGfwQqURmynNF1NkHDByv8djGXBN/Z tiJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716541249; x=1717146049; 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=pmYQ7ZdnVtFOZaMvSmehe73jh+uAhVulow9jBpSSC54=; b=sNuKNFwOnS8owax/A1Mo36/S5UtRPF8M0gnkhYUXT0MG5yh4v4sT6fFbiqP23U1p4a 9cSj4RksFJwnVmiDdiKNgnEdJrxslH22/PWT9wDafZWklgRpoy6C5VlsUy+0sG7oZfff WriFHStrPUfzDPmhy4HUKFfGyE8YarYDqfiUxTXSkRgO5NZEDN+fvlD1YEcCPvPv9Cfd NTs4BV7o6FlNCsu4utKcJv2arxGsrXz4H6fmz5jAd8fSx0CjuPqTgFsy4DlUu0gtEsu8 YC0pszxHXholdQWApjDBNVbayYtt0ctd5QGMDdPR7jelcmkGbPTNHcM+K+5ZFurYwy+z ljyw== X-Forwarded-Encrypted: i=1; AJvYcCUzgfEirMKxv5nVwnUDdjP5zEZPQhJIVmAnOGUSF5/JfT+K6EvFcIoOVnnJvzxr5LBc7g1zM5spgrFAiwxo9B6I220q0CgXeuAEcI8xkFT8ED93Wk+XY3t3FlZ91h4/NyB1D0yxiw== X-Gm-Message-State: AOJu0YzQTPpxvQ7Rpw7e3D14FqMzNpIVX6GZbMNxjO8BsqiAhZCs/QKC jizHtZhdPbw4rHnuRiM/D7EY9qaM231fh1yZ9NsxyiZWpKNTpgDozCfrlF07qts= X-Received: by 2002:a17:906:e52:b0:a59:cb29:3fb8 with SMTP id a640c23a62f3a-a62641a392fmr107991266b.1.1716541249336; Fri, 24 May 2024 02:00:49 -0700 (PDT) Received: from rbolboac.. ([2a02:2f0e:350b:4500:dac3:9bb:ed7a:184b]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c93ae41sm97730466b.62.2024.05.24.02.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:00:48 -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 v4 09/10] dt-bindings: iio: imu: Add ADIS1657X family devices compatibles Date: Fri, 24 May 2024 12:00:30 +0300 Message-Id: <20240524090030.336427-10-ramona.bolboaca13@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240524090030.336427-1-ramona.bolboaca13@gmail.com> References: <20240524090030.336427-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 v4 .../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